Getting error while kernel recompliation

From: Akhthar Parvez. K (akhthar_at_carmatec.com)
Date: 04/24/05

  • Next message: Wiggled Bits: "GRUB Problems"
    To: redhat-list@redhat.com
    Date: Sun, 24 Apr 2005 23:44:04 +0530
    
    

    Hello,

    I am getting the following error message while running mkinitrd during kernel recompilation.

    No module raid1 found for kernel 2.6.11.7-grsec

    As you can see, I am trying to recompile the kernel 2.6.11.7-grsec. I am using Red Hat Linux release 9 (Shrike).
    I have software raid1 installed in the machine and I used the following config for kernel recompilation.

    CONFIG_MD=y
    CONFIG_BLK_DEV_MD=y
    CONFIG_MD_LINEAR=m
    CONFIG_MD_RAID0=m
    CONFIG_MD_RAID1=m
    # CONFIG_MD_RAID10 is not set
    CONFIG_MD_RAID5=m

    I can see that raid1.ko is present in the directory /lib/modules/2.6.11.7-grsec/kernel/drivers/md/

    ll /lib/modules/2.6.11.7-grsec/kernel/drivers/md/
    total 108
    drwxr-xr-x 2 root root 4096 Apr 24 14:07 ./
    drwxr-xr-x 23 root root 4096 Apr 24 14:07 ../
    -rw-r--r-- 1 root root 6300 Apr 24 14:07 linear.ko
    -rw-r--r-- 1 root root 10743 Apr 24 14:07 multipath.ko
    -rw-r--r-- 1 root root 9540 Apr 24 14:07 raid0.ko
    -rw-r--r-- 1 root root 19971 Apr 24 14:07 raid1.ko
    -rw-r--r-- 1 root root 25067 Apr 24 14:07 raid5.ko
    -rw-r--r-- 1 root root 18129 Apr 24 14:07 xor.ko

    Any idea why I am getting the error message and how could I fix it?

    -- 
    With Regards,
    Akhthar 
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Wiggled Bits: "GRUB Problems"