Hi Thanks for your helpo, when I add module /log, it works but have some problems, the output is below:
L4 Bootstrapper move modules to 2000000 with offset 1d22000 move module 18 start f88000 -> 2caa000 move module 17 start f0f000 -> 2c31000 move module 16 start e70000 -> 2b92000 move module 15 start e6f000 -> 2b91000 move module 14 start b57000 -> 2879000 move module 13 start ab1000 -> 27d3000 move module 12 start 9d5000 -> 26f7000 move module 11 start 84c000 -> 256e000 move module 10 start 81d000 -> 253f000 move module 9 start 7d0000 -> 24f2000 move module 8 start 736000 -> 2458000 move module 7 start 6f6000 -> 2418000 move module 6 start 487000 -> 21a9000 move module 5 start 44a000 -> 216c000 move module 4 start 409000 -> 212b000 move module 3 start 36e000 -> 2090000 move module 2 start 337000 -> 2059000 move module 1 start 2de000 -> 2000000 Scanning /fiasco -serial_esc -comport 1 Scanning /sigma0 Scanning /roottask task modname "bmodfs" attached 5 modules Bootloader MMAP: [ 0, 9fc00) RAM (1) [ 9fc00, a0000) reserved (2) [ e8000, 100000) reserved (2) [ 100000, c800000) RAM (1) [ fffc0000, 100000000) reserved (2) Relocated mbi to [0x61000-0x6128b] Loading /fiasco Loading /sigma0 Loading /roottask find kernel info page... found kernel info page at 0x1000 [ 1000, 60fff] Kern /fiasco [ 61000, 61388] Root Multiboot info [ 9fc00, 9ffff] Arch BIOS [ e8000, fffff] Arch BIOS [ 100000, 10937f] Sigma0 /sigma0 [ 110000, 2adfff] Root /roottask [ 2d0000, 2dab7f] Boot bootstrap [ 300000, 38fd5f] Kern /fiasco [ 212b000, 3ca9fff] Root Modules Memory [ fffc0000, ffffffff] Arch BIOS API Version: (87) experimental Sigma0 config ip:001047b8 sp:002da740 Roottask config ip:00110000 sp:00000000 Starting kernel /fiasco at 003008b8
Welcome to Fiasco(ia32)! DD-L4(v2)/ia32 microkernel (C) 1998-2008 TU Dresden Rev: rUNKNOWN compiled with gcc 4.1.3 for Intel Pentium [] Performance-critical config option(s) detected: CONFIG_NDEBUG is off
Enabling special fully nested mode for PIC Using the PIT (i8254) on IRQ 0 for scheduling SERIAL ESC: allocated IRQ 4 for serial uart SERIAL ESC: allocated IRQ 4 for serial uart Not using serial hack in slow timer handler. Absolute KIP Syscalls using: Sysenter CPU: GenuineIntel (6:3:3:0) Model: Unknown CPU at 2573 MHz
8 KB L1 I Cache (4-way associative, 32 bytes per line)
Freeing init code/data: 20480 bytes (5 pages)
Calibrating timer loop... done. SIGMA0: Hello! KIP @ 1000 Found Fiasco: KIP syscalls: yes allocated 4KB for maintenance structures
Roottask. Command line found: "/roottask task modname "bmodfs" attached 5 modules "
204415kB ( 199MB) total RAM (reported by bootloader) 182380kB ( 179MB) received RAM from Sigma0 29808kB ( 30MB) reserved RAM for RMGR Received I/O ports 0000-ffff Attached irqs = [ <!0> 1 <!2> 3 <!4> 5 6 7 8 9 A B C D E F 10 11 ]
Roottask: Parsing command line config. configured task 0x00 (bmodfs): vm_offs:0 irq:3ffff lmcp:ffff allow_cli:0 mcp:ff prio:10 small:ff mods:5
Roottask: Loading 15 modules. #05: loading "/names" from [0212b000-0216b0ef] to [002d0000-002d67d7][002d7000-002e2000] entry at 0005c060 via trampoline page code symbols at [0b7fe000-0b800000] (8kB), lines at [0b7f8000-0b7fe000] (24kB) #06: loading "/log" from [0216c000-021a8add] to [00400000-00406fca][00407000-00439848] entry at 0005d060 via trampoline page code symbols at [0b7f6000-0b7f8000] (8kB), lines at [0b7f0000-0b7f6000] (24kB) #07: loading "/l4io" from [021a9000-02417b56] to [00c20000-00c44a25][00c45000-00cb3000] entry at 0005e060 via trampoline page code symbols at [0b79a000-0b7f0000] (344kB), lines at [0b780000-0b79a000] (104kB) #08: loading "/events" from [02418000-02457320] to [01540000-01548d50][01549000-0155e5b0] entry at 0005f060 via trampoline page code symbols at [0b77e000-0b780000] (8kB), lines at [0b777000-0b77e000] (28kB) #09: loading "/dm_phys" from [02458000-024f16a8] to [01500000-01513ad7][01514000-0151e000] entry at 00060064 via trampoline page code symbols at [0b772000-0b777000] (20kB), lines at [0b764000-0b772000] (56kB) #0a: loading "/simple_ts" from [024f2000-0253e2f6] to [01400000-01408bca][01409000-01418608] entry at 00062064 via trampoline page code symbols at [0b762000-0b764000] (8kB), lines at [0b75a000-0b762000] (32kB) #0b: loading "/rtc" from [0253f000-0256d623] to [01080000-01084660][01085000-0108a000] entry at 00063060 via trampoline page code symbols at [0b758000-0b75a000] (8kB), lines at [0b753000-0b758000] (20kB) #0c: loading "/con --vbemode 0x117" from [0256e000-026f676b] to [00b00000-00b51791][00b52000-00b72000] entry at 00064070 via trampoline page code symbols at [0b746000-0b753000] (52kB), lines at [0b713000-0b746000] (204kB) #0d: loading "/loader --fprov=BMODFS l4linux.cfg" from [026f7000-027d26f1] to [01300000-01327fb1][01328000-01347000] entry at 0006507c via trampoline page code symbols at [0b70c000-0b713000] (28kB), lines at [0b6f2000-0b70c000] (104kB) #0e: loading "/bmodfs" from [027d3000-02878d12] to [01220000-01238551][01239000-01250000] passing module /vmlinuz [ 02879000-02b90930 ] passing module /l4linux.cfg [ 02b91000-02b91090 ] passing module /libloader.s.so [ 02b92000-02c30cb8 ] passing module /libld-l4.s.so [ 02c31000-02ca9cdd ] passing module /drops-rd.rd [ 02caa000-03caa000 ] entry at 000660fc via trampoline page code symbols at [0b6ed000-0b6f2000] (20kB), lines at [0b6da000-0b6ed000] (76kB)
simplets| Configured for 64 tasks. rtc | Date:23.07.2008 Time:03:23:08 con | Using fast memcpy. 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 bmodfs | Passed the following modules: bmodfs | module "/vmlinuz" (3167kB) 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 | 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 loader | sleeping for 1000 ms con | VBE mode 0x117 successfully set. con | VESA reports 1024x768@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 #07 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 C.02. Video mode is 1024x768@16. loader | vmlinuz: Starting application using libld-l4.s.so loader | vmlinuz,#f: Loading binary loader | vmlinuz,#f: Loading ldso loader | vmlinuz,#f: Starting libld-l4.s.so at 000138b0 via 0000cf3c l4lx | ======> L4Linux 2.6 starting... <======== l4lx | Linux version 2.6.23-l4 (dingy@dingy-desktop) (gcc version 4.0.3 (Ubu l4lx : ntu 4.0.3-1ubuntu5)) #1 Sun Mar 9 15:58:57 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 - 007b9000 [3812 KiB]. l4lx | Areas: Text: 00400000 - 006b9000 [2788kB] (a bit longer) l4lx | Data: 006b9000 - 006d9054 [128kB] l4lx | Initdata: 006dc000 - 00716000 [232kB] l4lx | BSS: 00718000 - 007b6f80 [635kB] l4lx | l4lx_thread_create: Created thread 0f.03 (tamer0) l4lx | Tamer0 is 0f.03 l4lx | Using tamed mode. l4lx | Connecting to l4io server. l4lx | l4env_linux_startup thread 4. l4lx | l4lx_thread_create: Created thread 0f.04 (cpu0) l4lx | main thread will be 0f.04 l4lx | l4env_register_pointer_section: addr = 00400000 size = 3239936 l4lx | sec-w-init: virt: 0x00400000 to 0x00716fff [3164 KiB] l4lx | Noncontiguous region for sec-w-init l4lx | sec-w-init: Number of physical regions: 5, 3239936 Bytes l4lx | sec-w-init: 1: Phys: 0x002e2000 to 0x00347000, Size: 413696 l4lx | sec-w-init: 2: Phys: 0x012f1000 to 0x01300000, Size: 61440 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: 0x07400000 to 0x0b400000, Size: 67108864 l4lx | Filling lower ptabs... l4lx | Done (1027 entries). l4lx | l4env_register_pointer_section: addr = 00718000 size = 659456 l4lx | end: virt: 0x00718000 to 0x007b8fff [644 KiB] l4lx | end: Number of physical regions: 1, 659456 Bytes l4lx | end: 1: Phys: 0x01250000 to 0x012f1000, Size: 659456 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 0f.05 (timer.i0) l4lx | Jumping over 4x 'hlt' at 0x6e5878 l4lx | idler0: utcb=0xbff00400 0f.04 l4lx | l4lx_thread_create: Created thread 0f.06 (idler0) l4lx | Starting L4FB via CON con | vc_loop(): vc[1] running as C.07 l4lx | l4lx_thread_create: Created thread 0f.07 (L4ConInput) con | vc[1] 1024x768@16, bpl:2048, gmode:0x35, evprt:F.07 save:0 l4lx | l4fb:con: 1024x750@16 2bypp, size: 1540096 l4lx | l4fb:con 5:6:5 11:5:0 linelen=2048 visual=2 con | Mapped client FB to 00800000 size 00178000 l4lx | l4lx_thread_create: Created thread 0f.08 (CON refresher) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 24. l4lx | acquire_irq: Error attaching to IRQ 24 l4lx | l4lx_thread_create: Created thread 0f.09 (IRQ24) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 23. l4lx | acquire_irq: Error attaching to IRQ 23 l4lx | l4lx_thread_create: Created thread 0f.0a (IRQ23) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 22. l4lx | acquire_irq: Error attaching to IRQ 22 l4lx | l4lx_thread_create: Created thread 0f.0b (IRQ22) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 21. l4lx | acquire_irq: Error attaching to IRQ 21 l4lx | l4lx_thread_create: Created thread 0f.0c (IRQ21) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 20. l4lx | acquire_irq: Error attaching to IRQ 20 l4lx | l4lx_thread_create: Created thread 0f.0d (IRQ20) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 19. l4lx | acquire_irq: Error attaching to IRQ 19 l4lx | l4lx_thread_create: Created thread 0f.0e (IRQ19) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 18. l4lx | acquire_irq: Error attaching to IRQ 18 l4lx | l4lx_thread_create: Created thread 0f.0f (IRQ18) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 17. l4lx | l4lx_thread_create: Created thread 0f.10 (IRQ17) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 16. l4lx | l4lx_thread_create: Created thread 0f.11 (IRQ16) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 15. l4lx | l4lx_thread_create: Created thread 0f.12 (IRQ15) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 14. l4lx | l4lx_thread_create: Created thread 0f.13 (IRQ14) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 13. l4lx | l4lx_thread_create: Created thread 0f.14 (IRQ13) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 12. l4lx | acquire_irq: Error attaching to IRQ 12 l4lx | l4lx_thread_create: Created thread 0f.15 (IRQ12) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 11. l4lx | l4lx_thread_create: Created thread 0f.16 (IRQ11) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 10. l4lx | l4lx_thread_create: Created thread 0f.17 (IRQ10) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 9. l4lx | l4lx_thread_create: Created thread 0f.18 (IRQ9) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 8. l4lx | l4lx_thread_create: Created thread 0f.19 (IRQ8) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 7. l4lx | l4lx_thread_create: Created thread 0f.1a (IRQ7) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 6. l4lx | l4lx_thread_create: Created thread 0f.1b (IRQ6) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 5. l4lx | l4lx_thread_create: Created thread 0f.1c (IRQ5) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 4. l4lx | acquire_irq: Error attaching to IRQ 4 l4lx | l4lx_thread_create: Created thread 0f.1d (IRQ4) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 3. l4lx | l4lx_thread_create: Created thread 0f.1e (IRQ3) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 2. l4lx | acquire_irq: Error attaching to IRQ 2 l4lx | l4lx_thread_create: Created thread 0f.1f (IRQ2) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 1. l4lx | acquire_irq: Error attaching to IRQ 1 l4lx | l4lx_thread_create: Created thread 0f.20 (IRQ1)
In the last rows we see that there are errors in IRQs, then I add showpfexc=1 in the l4linux.cfg, it's the same thing, another thing is what does this mean? If you need more information, I'll show you next time and thanks for your help a second time.
2008/7/23 Adam Lackorzynski adam@os.inf.tu-dresden.de:
Hi Fei,
On Mon Jul 21, 2008 at 23:06:29 +0800, fei li wrote:
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
Please also add module /log here.
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"
Please add showpfexc=1 to the parameter list. This will show lots more output and hopefully give more information on what's going on.
*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.
We'll hopefullly see with more output.
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/http://os.inf.tu-dresden.de/%7Eadam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers