Kernel Panic: new kernel can't mount root FS (huh?)

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ok, I've installed dozens of kernels in the past, but today I'm totally defeated. Notable differances are: 1. I've always used lilo in the past now I"m using GRUB (hey, I thought GRUB was supposed to be easier ;-) 2. I've never used make rpm before, but I doubt that's the problem. I have tried adding the new kernel to grub both manually and with YaST2. initrd created with the following command: mk_initrd -k "vmlinuz-2.4.20.4suse.ll.1" -i "initrd-2.4.20.4suse.ll.1" -m "aic7xxx reiserfs" -d /dev/hda6 Please note that my fs is on an ATA drives, not a SCSI drive, so the aic7xxx is completely irrelivent. FYI this is on a uniprocessor Athlon XP 1500+, FIC mainboard, one stick of 256 DDR RAM. What happens is when I boot up the new kernel (I have the 2 default SuSE kernels and a Win2k install and a backup kernel I made from the SuSE one, all of those work fine) I get the following mesages: <a bunch of stuff about USB> <something about telephony> TCP: Hash tables configured <lalala> NET4: Unix domain sockets 1.0/SMP for Linux NET$.0 ds: no socket drviers loaded! Kernel Panic: VFS: Unable to mount root fs on 16:06 / is /dev/hdc6, this works fine for the other 3 kernels /boot is /dev/hdc2 Both ar reiserfs. I have _never_ had problems with /boot being ReiserFS in the past, so I"m not inclined to blame it this time. Here's my grub menu.list: cadmium:~ # cat /boot/grub/menu.lst # Modified by YaST2. Last modification on Sat Feb 1 14:19:45 2003 gfxmenu (hd2,1)/message color white/blue black/light-gray default 0 timeout 12 title linux kernel (hd2,1)/vmlinuz root=/dev/hdc6 vga=788 initrd (hd2,1)/initrd title built4suse2 kernel (hd2,1)/vmlinuz-2.4.20.4suse.ll.1 root=/dev/hdc6 initrd (hd2,1)/initrd title Win2k root (hd0,0) chainloader +1 makeactive title SuSE 8.0 kernel (hd2,0)/vmlinuz root=/dev/hdc5 vga=788 initrd (hd2,0)/initrd title SuSE8.1def kernel (hd2,1)/vmlinuz.susedef root=/dev/hdc6 vga=788 initrd (hd2,1)/initrd.susedef title failsafe kernel (hd2,1)/vmlinuz.shipped root=/dev/hdc6 ide=nodma apm=off acpi=off vga=normal nosmp maxcpus=0 disableapic 3 initrd (hd2,1)/initrd.shipped title floppy root (fd0) chainloader +1 cadmium:~ # Please note the the wierd name of the vmlinuz and initrd were created by my EXTRAVERSION variable, and not by renaming the file. Kernel compiled with make menuconfig, reiserfs as module, "second exttended fs support" compiled directly in (not as module), make dep ; make rpm ; rpm -ihv <kernel> No errors produced durning kernel build. LowLatency and 04_TIOCGDEV patches applied, both applied cleanly with no errors. No manual hacking besides EXTRAVERSION mod. So, any ideas what I'm doing wrong? - -- - ---------------------------------------------------- Jonathan Wilson Cedar Creek Software http://www.cedarcreeksoftware.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+PDS3Q5u80xXOLBcRAmzyAJ0X5PtdrMPqs/pJsPMTkmhoDZNrhgCgs9Ol gdZuH1Y2ZviU9vyEwO7NEak= =ZIzK -----END PGP SIGNATURE-----

On Sat, 2003-02-01 at 21:57, JW wrote:
title linux kernel (hd2,1)/vmlinuz root=/dev/hdc6 vga=788 initrd (hd2,1)/initrd
Observe filename
title built4suse2 kernel (hd2,1)/vmlinuz-2.4.20.4suse.ll.1 root=/dev/hdc6 initrd (hd2,1)/initrd
Observe filename
So, any ideas what I'm doing wrong?
I think I have some ideas -- Anders Johansson <andjoh@rydsbo.net>

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 01 February 2003 15:15, Anders Johansson wrote:
title built4suse2 kernel (hd2,1)/vmlinuz-2.4.20.4suse.ll.1 root=/dev/hdc6 initrd (hd2,1)/initrd
I think I have some ideas
No no no. Clasic case of working so long on something you screw something else up. The _actual_ rel-life entry is correct: cadmium:~ # cat /boot/grub/menu.lst # Modified by YaST2. Last modification on Sat Feb 1 15:25:25 2003 gfxmenu (hd2,1)/message color white/blue black/light-gray default 0 timeout 12 title linux kernel (hd2,1)/vmlinuz root=/dev/hdc6 vga=788 initrd (hd2,1)/initrd title built4suse2 kernel (hd2,1)/vmlinuz-2.4.20.4suse.ll.1 root=/dev/hdc6 initrd (hd2,1)/initrd-2.4.20.4suse.ll.1 <snip> cadmium:~ # ls -l /boot/initrd-2.4.20.4suse.ll.1 - -rw-r--r-- 1 root root 312692 Feb 1 14:13 /boot/initrd-2.4.20.4suse.ll.1 Sorry, naughty typo. Verifyed, trpble-checked, gurb ran again and rebooted just for grins, still the same. so s@/initrd@/initrd-2.4.20.4suse.ll.1@g and _try again_ please. (in other words, that is _not_ the problem) Thank you. Thanks. - -- - ---------------------------------------------------- Jonathan Wilson Cedar Creek Software http://www.cedarcreeksoftware.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+PD13Q5u80xXOLBcRAkSRAJ4vASQpl5r0Z1vX0LjDoOxJHbHNOQCfetsY kvbcjrU+8LaKkuG5dsWbQuI= =5o+u -----END PGP SIGNATURE-----

On Sat, 2003-02-01 at 22:34, JW wrote:
Sorry, naughty typo. Verifyed, trpble-checked, gurb ran again
grub ran? You don't have to run grub just because you edit the config. That's one of the main selling points of grub.
and rebooted just for grins, still the same.
so s@/initrd@/initrd-2.4.20.4suse.ll.1@g and _try again_ please.
Sorry, that's the best I can come up with. As far as I can see the rest looks correct. The only other idea I have is that you've added some kernel patch that messes up the reiserfs module so it won't work. -- Anders Johansson <andjoh@rydsbo.net>

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 01 February 2003 15:57, Anders Johansson wrote:
On Sat, 2003-02-01 at 22:34, JW wrote:
Sorry, naughty typo. Verifyed, trpble-checked, gurb ran again
grub ran? You don't have to run grub just because you edit the config. That's one of the main selling points of grub.
Sorry for all the typos, I was typing without looking at the screen. I actually haven't been able to "figure out" grub. I find it hard to belive that you don't have to do anything after adding an entry, but I assume you know what you're talking about. I went through the YaST routine to let it do whatever it needed to do to "install it" (I do this even if I modify the menu.lst by hand, because i haven't been able to figure out the grub shell). You're with grub there's no equivelent to "edit /etc/lilo.conf ; /sbin/lilo"?
Sorry, that's the best I can come up with. As far as I can see the rest looks correct. The only other idea I have is that you've added some kernel patch that messes up the reiserfs module so it won't work.
Yeah, as I mentioned in the first post I have applied the low-latency patch and the 04_TIOCGDEV patch (in that order) I was told that you have to have the 04_TIOCGDEV patch for SuSE, because soemthing like "SuSE has modified boot logging", whatever that means. I'm tryign a pure vanilla 2.4.20 un-patched right now to see if that helps. - -- - ---------------------------------------------------- Jonathan Wilson Cedar Creek Software http://www.cedarcreeksoftware.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+PFTEQ5u80xXOLBcRAkZiAJ4gWxegB2yhnXVBAwEEhCf37D8USQCgnsA8 VXNtHInbBxN6n62LpAMKiRU= =ml2b -----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 01 February 2003 15:57, Anders Johansson wrote:
The only other idea I have is that you've added some kernel patch that messes up the reiserfs module so it won't work.
Ok, an un-modified vanilla kernel with rieserfs compiled right in boots fine with the prefious grub settings, so it does have something to do with either one (or both) of the patches or the particular set of options I chose. Gonna keep testing until I figure it out. Thanks. - -- - ---------------------------------------------------- Jonathan Wilson Cedar Creek Software http://www.cedarcreeksoftware.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+PG77Q5u80xXOLBcRAlZiAKC86DP3moQHT/ddxSYyHOJA46KVyACbBiBy mfswz9ic0UO2DizWEt75YcU= =lNC8 -----END PGP SIGNATURE-----

On 02/02/2003 04:57 AM, JW wrote:
I have tried adding the new kernel to grub both manually and with YaST2. initrd created with the following command:
mk_initrd -k "vmlinuz-2.4.20.4suse.ll.1" -i "initrd-2.4.20.4suse.ll.1" -m "aic7xxx reiserfs" -d /dev/hda6
Just an idea. I have found the order of the modules loaded in initrd important. try reversing your module order above. Maybe it needs the reiserfs module to be able to read and load aic7xxx, but since aic7xxx comes first... HTH. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.

The 03.02.01 at 14:57, JW wrote:
Kernel compiled with make menuconfig, reiserfs as module, "second exttended fs support" compiled directly in (not as module), make dep ; make rpm ; rpm -ihv <kernel>
I have not used "make rpm", so I could be wrong; but I think you need a "make modules" in there. Or another typo :-? -- Cheers, Carlos Robinson
participants (4)
-
Anders Johansson
-
Carlos E. R.
-
Joe Morris (NTM)
-
JW