![]() |
initrd and generic kernel fails to boot with errors after using mkinitrd generator
I'm just starting out with Slackware, so sorry for any stupid mistakes.
As suggested,I tried to switch to a generic kernel. I used the mkinitrd command generator script: Code:
./mkinitrd_command_generator.sh /boot/vmlinuz-generic-smp-2.6.33.4-smpCode:
mkinitrd -c -k 2.6.33.4-smp -f ext4 -r /dev/sda1 -m jbd2:mbcache:ext4 -o /boot/initrd.gzQuote:
After reboot I got the error: Code:
/boot/initrd.gz: loading kernel modules from initrd.image:My hardware: (old for learning purposes) Linux mirkwood 2.6.33.4-smp #2 SMP Wed May 12 22:47:36 CDT 2010 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz GenuineIntel GNU/Linux I'm running an adaptec scsi controller which the huge kernel seems to run with the: Quote:
I followed the instructions in README.initrd with all the expected results. I checked this forum and it seems that others have had similar problems. http://www.linuxquestions.org/questi...orking-800757/ http://www.linuxquestions.org/questi...tor-sh-793557/ However, the fixes suggested involved things I was not sure about like changing symlinks in /boot (no mention of such in the docs) or things I had already done. In light of other posts I am enclosing the output of the mkinitrd command generator,current lilo.conf and ls -al /boot Quote:
Thanks. Adam |
Maybe it needs some more time to detect your hard drive.
Code:
mkinitrd -c -k 2.6.33.4-smp -f ext4 -r /dev/sda1 -m jbd2:mbcache:ext4 -w 10 -o /boot/initrd.gz |
Check the kernel names you have in /boot. I think 13.1 introduced a kernel name change to vmlinuz-generic-2.6.33.4. The smp is included in the kernel and no longer referenced in the name.
|
I have an Adaptec AHA-2940U2W card and I found that the boot will be totally bungled up without the driver included in the -m. You need to add aic7xxx module to the initrd if you want the kernel to properly decipher your drives. It does not matter whether you have the boot on the card or not, you will still need the module loaded at boot time.You might try:
Code:
mkinitrd -c -k 2.6.33.4-smp -f ext4 -r /dev/sda1 -m jbd2:mbcache:ext4:iac7xxx -w 10 -o /boot/initrd.gz |
The aic7xxx module is definitely missing. I Have no idea why the mkinitrd_command_generator.sh script failed to find out that the module needs to be loaded if the root partition is on a SCSI drive.
Just add "aic7xxx" as an additional module to the "-m" parameter of mkinitrd, and then re-run lilo to make it permanent. Quote:
Eric |
kernel 2.6.33.4
I thought that the one without the smp in the name is the kernel included for machines that can't run smp kernels.
Besides,which,this is a fresh install and as far as I know the kernels in /boot are the ones that come with a "full" install. |
Quote:
|
Problem Solved
Mr.Hameleers and Ryerke,
You were apparently both correct: uname -a Linux mirkwood 2.6.33.4-smp #1 SMP Wed May 12 21:39:37 CDT 2010 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz GenuineIntel GNU/Linux Thank you very much for an unprecedented (for me)response. Adam |
Quote:
|
| All times are GMT -5. The time now is 04:28 PM. |