Hey guys,
I need to boot a custom 2.4.32 kernel in FC3 and I am having some troubles.
First, FC3 is a 2.6 environment, so i installed an old modutils package (2.4.27) and then did:
Code:
make dep && make bzImage modules modules_install
cp arch/i386/boot/bzImage /boot/custom-kernel
cd /boot
mkinitrd /boot/initrd-2.4.32.img 2.4.32
I get the following messages from the mkinitrd command:
Code:
cp: cannot stat `lvm2': No such file or directory
cp: cannot stat `/sbin/vgwrapper': No such file or directory
ln: accessing `/tmp/initrd.Vm2683/bin/vgwrapper': No such file or directory
ln: accessing `/tmp/initrd.Vm2683/bin/vgwrapper': No such file or directory
But it still successfully creates the image, so then I add these lines to my grub.conf:
Code:
Title custom-kernel (2.4.32)
root (hd0,2)
kernel /custom-kernel ro root=/dev/VolGroup00/LogVol100 rhgb quiet
initrd /initrd-2.4.32.img
Then I try to boot and get this kernel panic:
Code:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Kernel panic: VFS: Unable to mount root fs on 00:00
So after doing some googling, i found
this.
It seems to suggest making an alias for scsi_hostadapter in /etc/modules.conf for the appropriate scsi adapter. So then I looked up my dell latitute d610's scsi adapter, and found
this which says that HD is attached by SATA, and needs the ata_piix module, so then i created my /etc/modules.conf:
Code:
alias scsi_hostadapter ata_piix
I then rebooted, and get a similar error, the only thing that changed is 00:00 to 08:05. I confirmed that ata_piix is the correct module by booting FC3's normal 2.6 kernel and doing an lsmod:
Code:
lsmod | grep ata
ata_piix 8389 2
libata 40005 1 ata_piix
scsi_mod 117417 3 usb_storage,libata,sd_mod
Can anyone shed any light?
Thanks!
George