Hi all as my graphic card of my pc can not support l4dope, I boot l4linux from serial console, my grub configuration looks like following
title l4linux root (hd0,0) kernel /l4/bootstrap modaddr 0x02000000 # module /l4/fiasco -serial_esc comspeed 115200 -comport 0 module /l4/fiasco module /l4/sigma0 module /l4/roottask task modname "bmodfs" attached 4 modules module /l4/events module /l4/names --events module /l4/log module /l4/dm_phys --isa=0x00800000 -v --events module /l4/simple_ts -t 300 --events module /l4/rtc --events module /l4/l4io --noirq --events module /l4/bmodfs --events module /l4/libld-l4.s.so module /l4/libloader.s.so module /l4/loadercfg module /l4/vmlinuz26 module /l4/loader --fprov=BMODFS loadercfg # vbeset 0x117 506070
and my loadercfg contains following rules
modpath "(hd0,0)/l4" task "vmlinuz26 earlyprintk=yes mem=64M console=ttyS0,115200 root=/dev/hda2" all_sects_writable allow_cli
the l4linux build config , I check on the CONFIG_L4_EXTERNAL_RTC=y # CONFIG_L4_BLK_DRV is not set # CONFIG_L4_PDSPBLK_DRV is not set # CONFIG_L4_OSHKOSH_DRV is not set # CONFIG_L4_ORE_DRV is not set CONFIG_L4_SERIAL=y CONFIG_L4_SERIAL_CONSOLE=y # CONFIG_L4_NEED_DSI is not set # CONFIG_L4_NEED_INET_NTOA is not set # CONFIG_L4_DROPSCON is not set
......
# CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y # CONFIG_UNIX98_PTYS is not set # CONFIG_LEGACY_PTYS is not set
but as i boot up the system , it shows that l4linux can not open the initial console.
NET: Registered protocol family 17 input: AT Translated Set 2 keyboard as /class/input/input0 kjournald starting. Commit interval 5 seconds EXT3 FS on hda2, internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem). Warning: unable to open an initial console. modprobe: FATAL: Could not load /lib/modules/2.6.18-l4/modules.dep: No such file or directory
udevd[59]: init_uevent_netlink_sock: bind failed: No such file or directory udevd[59]: main: uevent socket not available modprobe: FATAL: Could not load /lib/modules/2.6.18-l4/modules.dep: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.18-l4/modules.dep: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.18-l4/modules.dep: No such file or directory
Restarting system.
anybody give a hand.
best regards
On Sat Dec 23, 2006 at 16:26:30 +0800, halo duan wrote:
as my graphic card of my pc can not support l4dope, I boot l4linux from serial console, my grub configuration looks like following
You can do that. You can also just enable VGA, PS2 (keyboard, mouse) and just use that without dope or con.
title l4linux root (hd0,0) kernel /l4/bootstrap modaddr 0x02000000 # module /l4/fiasco -serial_esc comspeed 115200 -comport 0
The option is -comspeed 115200 or -comspeed=115200
Your version does not have any effect but does not harm because 115200 is the default. Port 0 is also the default.
modpath "(hd0,0)/l4" task "vmlinuz26 earlyprintk=yes mem=64M console=ttyS0,115200 root=/dev/hda2" all_sects_writable allow_cli
the l4linux build config , I check on the CONFIG_L4_EXTERNAL_RTC=y # CONFIG_L4_BLK_DRV is not set # CONFIG_L4_PDSPBLK_DRV is not set # CONFIG_L4_OSHKOSH_DRV is not set # CONFIG_L4_ORE_DRV is not set CONFIG_L4_SERIAL=y CONFIG_L4_SERIAL_CONSOLE=y # CONFIG_L4_NEED_DSI is not set # CONFIG_L4_NEED_INET_NTOA is not set # CONFIG_L4_DROPSCON is not set
console=ttyS0 isn't going to work here as the L4-serial drivers is called ttyLv0, so you need to write console=ttyLv0 Also, the 115200 doesn't make any sense with ttyLv0 as there's no baud-rate involved.
Adam
l4-hackers@os.inf.tu-dresden.de