rmccabe3701
February 23rd, 2009, 06:55 AM
I am using ubuntu 8.10 and am trying to run an older kernel (2.6.15-5) for some testing purposes. The problem is that the mkinitramfs setup is not made for the older kernel. My steps are as follows:
make mrproper
make menuconfig
make bzImage && make modules && make modules_install && make install
The last "make install" will make the initrd, but it does it for the new (2.6.27-11) kernel. For instance, upon startup, Busybox complains that
libata: unknown parameter 'ignore_hpa'
It turns out that this module parameter wasn't introduced until around 2.6.20 or so. I fixed this by mounting the initrd image and commenting out any mention of "ignore_hpa" -- but it still cannot load the root filesystem, because I am not sure if it has all the modules it needs ...
I have been troubleshooting this for several days and am getting nowhere.
My questions are:
-- Is there a simple way make mkinitramfs make the initrd correctly for an older kernel?
-- If not, can I just compile all the modules into my kernel image so that I don't need a initrd? If I don't use an initrd do I simply leave that line out in the menu.lst?
-- How do I tell which SCSI drivers to compile into the kernel?
Thanks in advance.
make mrproper
make menuconfig
make bzImage && make modules && make modules_install && make install
The last "make install" will make the initrd, but it does it for the new (2.6.27-11) kernel. For instance, upon startup, Busybox complains that
libata: unknown parameter 'ignore_hpa'
It turns out that this module parameter wasn't introduced until around 2.6.20 or so. I fixed this by mounting the initrd image and commenting out any mention of "ignore_hpa" -- but it still cannot load the root filesystem, because I am not sure if it has all the modules it needs ...
I have been troubleshooting this for several days and am getting nowhere.
My questions are:
-- Is there a simple way make mkinitramfs make the initrd correctly for an older kernel?
-- If not, can I just compile all the modules into my kernel image so that I don't need a initrd? If I don't use an initrd do I simply leave that line out in the menu.lst?
-- How do I tell which SCSI drivers to compile into the kernel?
Thanks in advance.