RE: [SLE] Problem compiling vanilla SuSe 8.0 kernel on Vaio - hangs on reboot - with cloneconfig!
IMHO cloneconfig doesn't do what it says it does. So - just for clarification, my typical process is to go into a vanilla SuSE linux dir and type the following: cd /usr/src/linux-2.4.18.SuSE make mrproper make cloneconfig make menuconfig # <- _change_ to crusoe processor _only_! make dep clean bzImage modules modules_install cp arch/i386/boot/bzImage /boot/vmlinuz.rjsf mk_initrd -k vmlinuz.rjsf -i initrd.suse / lilo lilo entry as follows: image = /boot/vmlinuz.rjsf label = rf root = /dev/hda2 vga = 788 initrd = /boot/initrd append = "ide=nodma apm=off acpi=off ide2=0x180,0x386 mem=256M" result: read_super_block: bread failed (dev 03:02, block 8, size 1024) Kernel panic: VFS: Unable to mount root fs on 03:02 This takes 1.5 hours, to find out ...sigh...! Richard Foley Ciao - shorter than Aufwiedersehen -- ps. sorry about the ubs sig. (below) - can't get rid of it, for the moment :-\ Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.
On Tue, 2002-11-19 at 17:33, Richard.Foley@ubsw.com wrote:
IMHO cloneconfig doesn't do what it says it does.
So - just for clarification, my typical process is to go into a vanilla SuSE linux dir and type the following:
cd /usr/src/linux-2.4.18.SuSE make mrproper make cloneconfig make menuconfig # <- _change_ to crusoe processor _only_! make dep clean bzImage modules modules_install cp arch/i386/boot/bzImage /boot/vmlinuz.rjsf mk_initrd -k vmlinuz.rjsf -i initrd.suse /
Which modules do you need in the initrd. I don't seem to see any at all here, so AFAICS this would create an initrd consisting only of the splash screen graphics
The 02.11.19 at 17:33, Richard.Foley@ubsw.com wrote:
IMHO cloneconfig doesn't do what it says it does.
It doesn't claim to do anything about modules in the initial ramdisk :-)
So - just for clarification, my typical process is to go into a vanilla SuSE linux dir and type the following:
cd /usr/src/linux-2.4.18.SuSE make mrproper
No real need for that: only if you install new sources. Also, I'd edit the Makeconfig file, and put something in the "EXTRAVESION", for example: EXTRAVERSION = _RJFS This way, your new kernel modules stay differentiated from the original, and they do not overwrite.
make cloneconfig make menuconfig # <- _change_ to crusoe processor _only_! make dep clean bzImage modules modules_install
Already clean :-)
cp arch/i386/boot/bzImage /boot/vmlinuz.rjsf mk_initrd -k vmlinuz.rjsf -i initrd.suse /
Er... I wouldn't touch initrd.suse. You could use initrd.rjfs. And I do that by editing the mk_initrd file itself, so that I don't ever forget.
lilo
lilo entry as follows: image = /boot/vmlinuz.rjsf label = rf root = /dev/hda2 vga = 788 initrd = /boot/initrd
This is not the same initrd.suse you wrote above.
append = "ide=nodma apm=off acpi=off ide2=0x180,0x386 mem=256M"
result: read_super_block: bread failed (dev 03:02, block 8, size 1024) Kernel panic: VFS: Unable to mount root fs on 03:02
This takes 1.5 hours, to find out ...sigh...!
No wonder... after a clean, or worse, a mrproper, it takes that long. The second time is faster if you skip that. -- Cheers, Carlos Robinson
participants (3)
-
Anders Johansson
-
Carlos E. R.
-
Richard.Foley@ubsw.com