RE: kernel panic after changing processor arch

From: Niel Lambrechts
Date: Tue Dec 07 2004 - 13:16:02 EST


> I am trying to recompile using processor architecture
> PENTIUMM instead of i586/i686.
>
> Mkinitrd is used to create an initial ramdisk, but upon reboot I get:
>
> reiserfs: version magic '2.6.8-24.5-default PENTIUMM REGPARM
> gcc-3.3' should be '2.6.8-24.5-default 586 REGPARM gcc-3.3'
> insmod: error inserting
> '/lib/modules/2.6.8-24.5-default/kernel/fs/reiserfs/reiserfs.k
> o': -1 invalid module format Waiting for device /dev/hda3 to
> appear: ok
> rootfs: major=3 minor=3 devn=771
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(3,3)

Problem caused by user error.
lilo.conf boot stanza for the new image was pointing to the wrong kernel
in /boot...

Difficult to spot since the erroneous entry had the same kernel version.
(lame excuse). besides. I was tired.

~ Niel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/