Hi,
Just I could boot L4-Linux and execute "ls" etc on 486,
without rebooting. At present, it seems that Fiasco must be
recent version, but the version of L4-Linux does not matter.
Both of the previous snapshot (L4-Linux 2.0.21) and the
anonymous CVS version (linux22 which I checked out July/26)
are working. I remember, after the announcement of linux22
availability via CVS, I experienced several 486 rebooting
caused by "ls". So I will continue to search the critical
point.
After several trying of remote debug, I think "kernel"-debugger
is not so much powerful to detect how L4-Linux "server" breaks down.
It's not easy for me to understand what happens in the server
program from the system calls. Therefore, now I'm looking for
a remote-debug-stub for server program on Fiasco.
The document of the OSKit tells that the debug-stub in the OSKit
is easy to re-use for user-spaced programs, I will try.
But there's any working debug-stub?
suzuki
P.S.
By the way, wait_for_keypress() (linux22/drivers/char/tty_io.c)
of the latest linux22 works well? It is called when mounting
the root filesystem on floppy, or on ramdisk loaded via floppy,
like:
printk(KERN_NOTICE "VFS: Insert root floppy and press ENTER\n");
wait_for_keypress();
(from linux/fs/super.c). In my testing, the latest linux22
is killed when it calls wait_for_keypress(). But the previous
snapshot of L4-Linux (2.0.21) safely passes wait_for_keypress().
The message from the debugger (when linux22 is killed) is
like this:
grub> kernel=(fd0)/rmgr -nopentium -configfile -sigma0
[Multiboot-elf, <0x100000:0x20320:0x0>,<0x121320:0x418:0x26dac>,entry=0x100000]
grub> module=(fd0)/main -nokdb -nojdb
[Multiboot-module @ 0x149000, 0x24200 bytes]
grub> module=(fd0)/sigma0
[Multiboot-module @ 0x16e000, 0xcb26 bytes]
grub> module=(fd0)/rmgr.cfg
[Multiboot-module @ 0x17b000, 0x56d bytes]
grub> module=(fd0)/glinux.gz init=/bin/sh root=/dev/fd1
[Multiboot-module @ 0x17c000, 0xe428 bytes]
RMGR: loading task (fd0)/glinux.gz init=/bin/sh root=/dev/fd1
from 0x17c000-0x260238
to [ 0x3ff000-0x4b2170 0x4b4000-0x4fe034 ]
RMGR: starting task (fd0)/glinux.gz init=/bin/sh root=/dev/fd1
from 0x17c000-0x260238
at entry 0x3ff000 via trampoline page code 0x26114c
[...snip...]
VFS: Insert root floppy and press ENTER
Dump of trap_state at 0xc0141fb4:
EAX 00000000 EBX 00000001 ECX 004e1646 EDX 00000001
ESI 00000000 EDI 00000000 EBP 00000000 ESP 00d05f5c
EIP 00000003 EFLAGS 00013a92
CS 0023 SS 002b DS 002b FS 002b GS 002b
trapno 6, error 00000000, from user mode