Suse 8.2 kernel compile problems
With Suse 7.2 I compiled kernels many time with no problem With Suse 8.2 every attempt has been a disaster, luckily I have a 2nd install on a removeable hard disk for tinkering, dabbling and learning... I've followed the Admin guide instructions to the letter, but no luck. One question: in 7.2 the "make bzlilo" seems to do more than rename the kernel to .old and copy the map file, is that an area I should look at? I am using GRUB. The latest attempt resulted in: Kernel panic:VFS:unable to mount root fs on 03:43 I compiled the reiserfs support into the kernel, not as a module. (but I have tried modules as well) so what am I doing wrong? Thanks, Charles
The latest attempt resulted in: Kernel panic:VFS:unable to mount root fs on 03:43
I compiled the reiserfs support into the kernel, not as a module. (but I have tried modules as well)
so what am I doing wrong?
What kind of disk controller holds your root filesystem?? and is this built into your kernel as well? -jim
On Monday 29 September 2003 11:00, Jim Bonnet wrote:
The latest attempt resulted in: Kernel panic:VFS:unable to mount root fs on 03:43
I compiled the reiserfs support into the kernel, not as a module. (but I have tried modules as well)
so what am I doing wrong?
What kind of disk controller holds your root filesystem?? and is this built into your kernel as well?
-jim
If you are using GRUB as your boot manager, the default kernel install script will mess you up. If you look in /usr/src/linux/arch/i386/boot at install.sh (the script which is called by "make install") you will find if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi is the last line. Comment it out before running your make install, and that will help. That will not, however, solve all your problems. Leave reiserfs support to be built as a module, and simply add it to the list in YaST2->System->Sysconfig->System->Kernel->INITRD_MODULES Then, when you run mk_initrd, it will add the reiserfs module to your customized initrd and all should be well. I usually approach it this way: - download kernel-source-<version>.i586.rpm from the mantel directory (I am building 2.4.21-99 as I write this) - install it using "rpm -ivh --force --nodeps \ kernel-source-<version>.i586.rpm - make mrproper - make cloneconfig (to match it to my running kernel) - make menuconfig (I am convinced now as well that make xconfig has problems) - make bzImage modules - make install modules_install (if everything went well the previous step) - mk_initrd -k "vmlinuz vmlinuz.<old version>" \ -i "initrd initrd.<old version>" (this allows me to boot the old version if need be by editing /boot/grub/menu.lst accordingly) My grub config looks like this: color white/blue black/light-gray default 0 gfxmenu (hd0,4)/message timeout 8 title SuSE-2.4.21-99 kernel (hd0,4)/vmlinuz root=/dev/hda8 vga=0x374 initrd (hd0,4)/initrd title SuSE-2.4.21-67 kernel (hd0,4)/vmlinuz.2.4.21-67 root=/dev/hda8 vga=0x374 initrd (hd0,4)/initrd.2.4.21-67 title Windows 2000 root (hd0,0) chainloader +1 title Floppy root (fd0) chainloader +1 title Failsafe (SuSE-2.4.20-4GB) kernel (hd0,4)/vmlinuz.shipped root=/dev/hda8 showopts ide=nodma apm=off acpi=off vga=normal nosmp noapic maxcpus=0 3 initrd (hd0,4)/initrd.shipped I'm running it on a Sony VAIO GRX-570 laptop, with KDE 3.1.4 under SuSE Pro 8.2. Works great. Let me know if I can help any other way. Mark Almeida -- Powered by SuSE Linux Pro 8.2/Kmail 1.5.4
- make menuconfig (I am convinced now as well that make xconfig has
Mark I just remembered - I used make menuconfig (not make xconfig) as I only wanted to make to make a couple of changes, that's when I got it to work It looks as though your'e right, make xconfig seems to have a problem Charles problems)
- make bzImage modules - make install modules_install (if everything went well the previous step) - mk_initrd -k "vmlinuz vmlinuz.<old version>" \ -i "initrd initrd.<old version>" (this allows me to boot the old version if need be by editing /boot/grub/menu.lst accordingly)
My grub config looks like this:
color white/blue black/light-gray default 0 gfxmenu (hd0,4)/message timeout 8
title SuSE-2.4.21-99 kernel (hd0,4)/vmlinuz root=/dev/hda8 vga=0x374 initrd (hd0,4)/initrd
title SuSE-2.4.21-67 kernel (hd0,4)/vmlinuz.2.4.21-67 root=/dev/hda8 vga=0x374 initrd (hd0,4)/initrd.2.4.21-67
title Windows 2000 root (hd0,0) chainloader +1
title Floppy root (fd0) chainloader +1
title Failsafe (SuSE-2.4.20-4GB) kernel (hd0,4)/vmlinuz.shipped root=/dev/hda8 showopts ide=nodma apm=off acpi=off vga=normal nosmp noapic maxcpus=0 3 initrd (hd0,4)/initrd.shipped
I'm running it on a Sony VAIO GRX-570 laptop, with KDE 3.1.4 under SuSE Pro 8.2. Works great.
Let me know if I can help any other way.
Mark Almeida --
Powered by SuSE Linux Pro 8.2/Kmail 1.5.4
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Thanks for the very speedy replies: I just tried something: to make sure the modules were being compiled correctly, I edited the makefile to: extraversion = charles this showed up in /lib/modules correctly and guess what? the kernel booted up, all the modules loaded fine, all is now well... must be module confusion... anyway, thanks Jim & The Wizard, your responses will be printed out and go in my kernel file, no doubt one day your input will save the day Charles ----- Original Message ----- From: "Charles.99" <charles.99@zen.co.uk> To: <suse-linux-e@suse.com> Sent: Monday, September 29, 2003 6:11 PM Subject: [SLE] Suse 8.2 kernel compile problems With Suse 7.2 I compiled kernels many time with no problem With Suse 8.2 every attempt has been a disaster, luckily I have a 2nd install on a removeable hard disk for tinkering, dabbling and learning... I've followed the Admin guide instructions to the letter, but no luck. One question: in 7.2 the "make bzlilo" seems to do more than rename the kernel to .old and copy the map file, is that an area I should look at? I am using GRUB. The latest attempt resulted in: Kernel panic:VFS:unable to mount root fs on 03:43 I compiled the reiserfs support into the kernel, not as a module. (but I have tried modules as well) so what am I doing wrong? Thanks, Charles
participants (3)
-
Charles.99
-
Jim Bonnet
-
The Wizard