l4linux booting problem
fei li
tezuka158 at gmail.com
Mon Jul 21 17:06:29 CEST 2008
Hi,all
I have compiled l4linux and tried to boot it in qemu environment. My
hardware environment is
CPU: Celeron D 2.53G,512M memor.
Next is my menu.lst
title L4Linux
kernel /bootstrap -serial -modaddr 0x2000000
module /fiasco -serial_esc -comport 1
module /sigma0
module /roottask task modname "bmodfs" attached 5 modules
module /names
module /l4io
module /events
module /dm_phys
module /simple_ts
module /rtc
module /con --vbemode 0x117
module /bmodfs
module /vmlinuz
module /l4linux.cfg
module /libloader.s.so
module /libld-l4.s.so
module /drops-rd.rd
module /loader --fprov=BMODFS l4linux.cfg
In l4linux.cfg, I wrote
sleep 1
task "vmlinuz" "mem=64M load_ramdisk=1 ramdisk_size=16384 root=/dev/ram
l4env_rd=drops-rd.rd"
all_sects_writable
allow_cli
allow_vga
and I use qemu -serial stdio -m 200 -cdrom image.iso to boot, at fisrt it
told me qemu didn't have enough main memory, so I assigned 200M, then I got
the errors below
*simplets| Configured for 64 tasks.
*rtc | Date:21.07.2008 Time:13:55:24
*bmodfs | Passed the following modules:
*bmodfs | module "/vmlinuz" (3143kB)
*bmodfs | module "/l4linux.cfg" (1kB)
*bmodfs | module "/libloader.s.so" (636kB)
*bmodfs | module "/libld-l4.s.so" (484kB)
*bmodfs | module "/drops-rd.rd" (16384kB)
*io | Using platform configuration 'x86'
*io | PCI: Using configuration type 1
*io | PCI: Probing PCI hardware
*io | PCI: Probing PCI hardware (bus 00)
*io | PCI: PIIX3: Enabling Passive Release on 00:01.0
*io | Limiting direct PCI/PCI transfers.
*io | Activating ISA DMA hang workarounds.
*io | 00000000-ffffffff : PCI mem
*io | e0000000-e1ffffff : Cirrus Logic GD 5446
*io | e2000000-e2000fff : Cirrus Logic GD 5446
*io | 0000-ffff : PCI IO
*io | 0cf8-0cff : PCI conf1
*io | 1000-100f : Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton
II]
*io | 1400-14ff : Realtek Semiconductor Co., Ltd. RTL-8029(AS)
*io | b100-b11f : Intel Corporation 82371AB/EB/MB PIIX4 ACPI
*con | Using fast memcpy.
*io | Available IRQs=[ <!0> 1 <!2> 3 <!4> 5 6 7 8 9 a b c d e f 10 11 ]
*con | Character size is 8x14, font has 256 characters
*con | Trying execution of ``set VBE mode'' using x86emu
*con | Found VESA BIOS version 2.0
*con | OEM VGABIOS Cirrus extension
*con | VBE mode 0x117 successfully set.
*con | VESA reports 1024x768 at 16 2048bpl (00bb) [4096kB]
*con | Color mapping: red=11:5 green=5:6 blue=0:5 res=0:0
*con | No supported accelerated graphics card detected
*con | Mapped I/O video mem e0000000 => 00400000 [4096kB] via l4io
*con | Using MMXEXT for colorspace transform
*con | L4INPUT native mode activated
*con | L4INPUT: !!! W A R N I N G !!!
*con | L4INPUT: Please, do not use Fiasco's "-esc" with L4INPUT.
*con | L4INPUT: !!! W A R N I N G !!!
*con | L4INPUT: Registered 0xb03d90 for callbacks.
ROOT: Sending ports 0060-006f to task #06
*con | serio: i8042 AUX port at 0x60,0x64 irq 12
*con | serio: i8042 KBD port at 0x60,0x64 irq 1
*con | input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
*con | input: AT Translated Set 2 keyboard on isa0060/serio0
*con | input: PC Speaker
*con | input: L4 input event injector
*con | L4 input event injector: IRQ handler up
*con | connect "ImExPS/2 Generic Explorer Mouse", isa0060/serio1/input0
*con | connect "AT Translated Set 2 keyboard", isa0060/serio0/input0
*con | connect "PC Speaker", isa0061/input0
*con | connect "L4 input event injector", l4/sys
*con | Running as B.02. Video mode is 1024x768 at 16.
*loader | sleeping for 1000 ms
*loader | vmlinuz: Starting application using libld-l4.s.so
*loader | vmlinuz,#e: Loading binary
*loader | vmlinuz,#e: Loading ldso
*loader | vmlinuz,#e: Starting libld-l4.s.so at 000138b0 via 0000cf3c
*l4lx | ======> L4Linux 2.6 starting... <========
*l4lx | Linux version 2.6.23-l4 (licy at licy) (gcc version 4.1.3 20070929
(prer
*l4lx : elease) (Ubuntu 4.1.2-16ubuntu2)) #1 Mon Jul 21 16:23:26 CST 2008
*l4lx | Binary name: vmlinuz
*l4lx | Kernel command line (5 args): mem=64M load_ramdisk=1
ramdisk_size=163
*l4lx : 84 root=/dev/ram l4env_rd=drops-rd.rd
*l4lx | Image: 00400000 - 007b4000 [3792 KiB].
*l4lx | Areas: Text: 00400000 - 006b4000 [2768kB] (a bit longer)
*l4lx | Data: 006b4000 - 006d307c [124kB]
*l4lx | Initdata: 006d6000 - 00710000 [232kB]
*l4lx | BSS: 00712000 - 007b1080 [636kB]
*l4lx | l4lx_thread_create: Created thread 0e.03 (tamer0)
*l4lx | Tamer0 is 0e.03
*l4lx | Using tamed mode.
*l4lx | Connecting to l4io server.
*l4lx | l4env_linux_startup thread 4.
*l4lx | l4lx_thread_create: Created thread 0e.04 (cpu0)
*l4lx | main thread will be 0e.04
*l4lx | l4env_register_pointer_section: addr = 00400000 size = 3215360
*l4lx | sec-w-init: virt: 0x00400000 to 0x00710fff [3140 KiB]
*l4lx | Noncontiguous region for sec-w-init
*l4lx | sec-w-init: Number of physical regions: 5, 3215360 Bytes
*l4lx | sec-w-init: 1: Phys: 0x0108a000 to 0x010ea000, Size:
393216
*l4lx | sec-w-init: 2: Phys: 0x012f2000 to 0x01300000, Size:
57344
*l4lx | sec-w-init: 3: Phys: 0x001aa000 to 0x002ad000, Size:
1060864
*l4lx | sec-w-init: 4: Phys: 0x01419000 to 0x01500000, Size:
946176
*l4lx | sec-w-init: 5: Phys: 0x01347000 to 0x01400000, Size:
757760
*l4lx | main thread: received startup message.
*l4lx | Main thread running, waiting...
*l4lx | setup_l4env_memory: Forcing superpages for main memory
*l4lx | Main memory size: 64MB
*l4lx | Main memory: virt: 0x00800000 to 0x047fffff [65536 KiB]
*l4lx | Main memory: Number of physical regions: 1, 67108864 Bytes
*l4lx | Main memory: 1: Phys: 0x03c00000 to 0x07c00000, Size:
67108864
*l4lx | Filling lower ptabs...
*l4lx | Done (1032 entries).
*l4lx | l4env_register_pointer_section: addr = 00712000 size = 663552
*l4lx | end: virt: 0x00712000 to 0x007b3fff [648 KiB]
*l4lx | end: Number of physical regions: 1, 663552 Bytes
*l4lx | end: 1: Phys: 0x01250000 to 0x012f2000, Size:
663552
*l4lx | l4env_rd_path: drops-rd.rd
*l4lx | Loading: drops-rd.rd
*l4lx | INITRD: Size of RAMdisk is 16384KiB
*l4lx | RAMdisk from 04800000 to 05800000 [16384KiB]
*l4lx | l4lx_thread_create: Created thread 0e.05 (timer.i0)
*l4lx | Jumping over 4x 'hlt' at 0x6df7e0
*l4lx | L4RM: [PF] read at 0x00000000, ip 00000000, src E.02
*l4lx | [E.0] l4rm/lib/src/pagefault.c:81:__unknown_pf():
*l4lx | unhandled page fault
--PANIC, 'g' for exit------------------------------------IP:
a00b3754
[l4lx.rm] (e.00) jdb:
At last lines you will see the problem, and I checked the fiasco, it was
ok. I found someone had similar problems but not the same, and Adam
said L4Linux
is not allowed to do port accesses (except it is explicitely allowed). I
don't know what my problem is and I hope someone will give me some advice
and thanks a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20080721/ae00a336/attachment.html>
More information about the l4-hackers
mailing list