I'm having problems getting L4 to boot using grub and tftp. My grub config looks like this:
title = ChacmOS on Sopwith kernel = (nd)/tftpboot/chacmos/rmgr -sigma0 -roottask module = (nd)/tftpboot/chacmos/x86-kernel module = (nd)/tftpboot/chacmos/sigma0 module = (nd)/tftpboot/chacmos/booter module = (nd)/tftpboot/chacmos/memsvr module = (nd)/tftpboot/chacmos/namesvr module = (nd)/tftpboot/chacmos/ext2fs module = (nd)/tftpboot/chacmos/ramdisk module = (nd)/tftpboot/chacmos/shell
It gets as far as retrieving rmgr via tftp (I see it get requested in the logs), but the machine reboots itself as it is loading the rmgr image. It prints out the "[Multiboot-elf blah blah" stuff and does a reboot before anything related to x86-kernel is printed to the screen. This happens very quickly.
If I move the first two files to the boot floppy I am using, things boot fine. This config works:
title = ChacmOS on Sopwith (Floppy) kernel = (fd0)/rmgr -sigma0 -roottask module = (fd0)/x86-kernel module = (nd)/tftpboot/chacmos/sigma0 module = (nd)/tftpboot/chacmos/booter module = (nd)/tftpboot/chacmos/memsvr module = (nd)/tftpboot/chacmos/namesvr module = (nd)/tftpboot/chacmos/ext2fs module = (nd)/tftpboot/chacmos/ramdisk module = (nd)/tftpboot/chacmos/shell
There is something in the grub/tftp boot process that differs from what it does when loading the files from floppy that causes problems. It seems that maybe it is starting to execute stuff before it has everything in place? I am using grub 0.90 from the Debian source.
Any ideas? What else can I do to try to track down the problem?
--Ian
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ian Duggan ian@ianduggan.net http://www.ianduggan.net
On Sunday 04 November 2001 03:50, Ian Duggan wrote:
It gets as far as retrieving rmgr via tftp (I see it get requested in the logs), but the machine reboots itself as it is loading the rmgr image. It prints out the "[Multiboot-elf blah blah" stuff and does a reboot before anything related to x86-kernel is printed to the screen. This happens very quickly.
If I move the first two files to the boot floppy I am using, things boot fine. This config works:
A well know bug: Older releases of GRUB (including our own grub version on os.inf.tu-dresden.de) have problems when seeking back a file which comes from tftp.
Bugfix: Upgrade to the latest GRUB release in CVS.
Workaround: Strip your kernel image (rmgr): strip rmgr. When stripping your image, GRUB doesn't have to seek back the image because there are no other sections than code and data.
Greetings,
Frank
l4-hackers@os.inf.tu-dresden.de