[CentOS] Installing from a custom kernel

Sat May 5 13:39:13 UTC 2007
David G. Miller <dave at davenjudy.org>

n Fri, 2007-05-04 at 16:46 -0400, Ruslan Sivak wrote:

> > Since the built in kernel doesn't have the raid10 module for some 
> > reason, I would like to custom compile a kernel that does, and install 
> > with it.  How would I go about doing this?
>   
Are you sure it's not there?  I see the RAID0 module configured in the 
config file and the module is present after installation:

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m <-- Here it is
CONFIG_MD_RAID1=m
CONFIG_MD_RAID10=m
CONFIG_MD_RAID456=m
CONFIG_MD_RAID5_RESHAPE=y
CONFIG_MD_MULTIPATH=m
CONFIG_MD_FAULTY=m
CONFIG_BLK_DEV_DM=m

and:

[root at fold ~]# ls /lib/modules/2.6.18-8.1.3.el5/kernel/drivers/md/
dm-crypt.ko  dm-mirror.ko  dm-multipath.ko    dm-snapshot.ko  faulty.ko  
multipath.ko  raid10.ko  raid456.ko
dm-emc.ko    dm-mod.ko     dm-round-robin.ko  dm-zero.ko      linear.ko  
raid0.ko      raid1.ko   xor.ko
                                                                                                                            
^
And here's the installed module 
-----------------------------------------------------------+

[root at fold ~]# uname -a
Linux fold.local.davenjudy.org 2.6.18-8.1.3.el5 #1 SMP Mon Apr 30 
19:55:44 EDT 2007 i686 i686 i386 GNU/Linux
[root at fold ~]# cat /etc/redhat-release
CentOS release 5 (Final)

Cheers,
Dave

-- 
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce