Dear all: Now I add the serial port to VMware machine and connected the serial port to output file The following is the serial output while booting L4Linux ======Beginning of Serial Output===== Welcome to Fiasco(ia32)! DD-L4(v2)/ia32 microkernel (C) 1998-2008 TU Dresden Rev: r422 compiled with gcc 4.3.2 for Intel Pentium Pro [] Found VMware: Using (normal) fully nested PIC mode 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:F:B:0) Model: Core 2 (Merom) at 2194 MHz 128 Entry I TLB (4K pages) 272 Entry D TLB (4K pages) 48 Entry D TLB (4M pages) 32 KB L1 I Cache (8-way associative, 64 bytes per line) 32 KB L1 D Cache (8-way associative, 64 bytes per line) 4096 KB L2 U Cache (16-way associative, 64 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: "/common/roottask -symbols -lines task modname "loader" \ boot_priority 0xA0 allow_cli task modname "bmodfs" attached 7 modules" 522814kB ( 510MB) total RAM (reported by bootloader) 473864kB ( 463MB) received RAM from Sigma0 31572kB ( 31MB) 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 (loader): vm_offs:0 irq:3ffff lmcp:ffff allow_cli:1 mcp:ff prio:a0 small:ff mods:0 configured task 0x00 (bmodfs): vm_offs:0 irq:3ffff lmcp:ffff allow_cli:0 mcp:ff prio:10 small:ff mods:7 Roottask: Loading 16 modules. #05: loading "/common/names" from [02171000-021b2b5e] to [002d0000-002d6a57][002d7000-002e2000] entry at 00058368 via trampoline page code symbols at [1d5c3000-1d5c5000] (8kB), lines at [1d5bd000-1d5c3000] (24kB) #06: loading "/common/log" from [021b3000-021f0dbb] to [00400000-00406eea][00407000-00439808] entry at 00059364 via trampoline page code symbols at [1d5bb000-1d5bd000] (8kB), lines at [1d5b5000-1d5bb000] (24kB) #07: loading "/common/dm_phys --isa=0x00800000" from [021f1000-0228bcd8] to [01500000-01513cb7][01514000-0151e000] entry at 0005a37c via trampoline page code symbols at [1d5b0000-1d5b5000] (20kB), lines at [1d5a2000-1d5b0000] (56kB) #08: loading "/common/simple_ts -t 300" from [0228c000-022d93c8] to [01400000-01408dea][01409000-014185e8] entry at 0005b374 via trampoline page code symbols at [1d5a0000-1d5a2000] (8kB), lines at [1d598000-1d5a0000] (32kB) #09: loading "/common/rtc" from [022da000-023099c8] to [01080000-010845e0][01085000-0108a000] entry at 0005c364 via trampoline page code symbols at [1d596000-1d598000] (8kB), lines at [1d591000-1d596000] (20kB) #0a: loading "/common/l4io" from [0230a000-02549c35] to [00c20000-00c44ccd][00c45000-00cb3000] entry at 0005e368 via trampoline page code symbols at [1d53b000-1d591000] (344kB), lines at [1d521000-1d53b000] (104kB) #0b: loading "/common/l4dope" from [0254a000-026c06fa] to [01b00000-01b45859][01b46000-01b8b000] entry at 0005f368 via trampoline page code symbols at [1d513000-1d521000] (56kB), lines at [1d4e5000-1d513000] (184kB) #0c: loading "/common/bmodfs" from [026c1000-0276854b] to [01220000-01238089][01239000-01250000] passing module /common/cfg/l4linux26.cfg [ 02769000-027690e3 ] passing module /common/libloader.s.so [ 0276a000-02807ea3 ] passing module /common/libld-l4.s.so [ 02808000-02881801 ] passing module /common/vmlinuz [ 02882000-02c15353 ] passing module /common/drops.rd [ 02c16000-03c16000 ] passing module /common/proxygon [ 03c16000-03ce372f ] passing module /common/run [ 03ce4000-03d31588 ] entry at 00060468 via trampoline page code symbols at [1d4e0000-1d4e5000] (20kB), lines at [1d4cd000-1d4e0000] (76kB) #0d: loading "/common/loader --fprov=BMODFS proxygon run l4linux26.cfg" from [03d32000-03e1110e] to [01300000-013287e9][01329000-01348000] entry at 00061394 via trampoline page code symbols at [1d4c6000-1d4cd000] (28kB), lines at [1d4ac000-1d4c6000] (104kB) ROOT: Sending ports 0070-0070 to task #09 ROOT: Sending ports 0080-0080 to task #09 ROOT: Sending ports 0071-0071 to task #09 simplets| Configured for 300 tasks. rtc | Date:13.01.2009 Time:14:12:32 loader | Can't map tbuf status page io | Using platform configuration 'x86' ROOT: Sending ports 0cfb-0cfb to task #0a ROOT: Sending ports 0cf8-0cfb to task #0a ROOT: Sending ports 0cfe-0cff to task #0a io | PCI: Using configuration type 1 io | PCI: Probing PCI hardware io | PCI: Probing PCI hardware (bus 00) ROOT: Sending ports 0cfc-0cff to task #0a io | Transparent bridge - PCI device 15ad:0790 (VMware Inc) io | Limiting direct PCI/PCI transfers. io | 00000000-ffffffff : PCI mem io | d0000000-d7ffffff : VMware Inc [VMware SVGA II] PCI Display Adapter io | d8000000-d87fffff : VMware Inc [VMware SVGA II] PCI Display Adapter io | d8800000-d880001f : BusLogic BT-946C (BA80C30) [MultiMaster 10] io | d9300000-d93fffff : PCI Bus #03 io | d9400000-d94fffff : PCI Bus #0b io | d9500000-d95fffff : PCI Bus #13 io | d9600000-d96fffff : PCI Bus #1b io | d9700000-d97fffff : PCI Bus #04 io | d9800000-d98fffff : PCI Bus #0c io | d9900000-d99fffff : PCI Bus #14 io | d9a00000-d9afffff : PCI Bus #1c io | d9b00000-d9bfffff : PCI Bus #05 io | d9c00000-d9cfffff : PCI Bus #0d io | d9d00000-d9dfffff : PCI Bus #15 io | d9e00000-d9efffff : PCI Bus #1d io | d9f00000-d9ffffff : PCI Bus #06 io | da000000-da0fffff : PCI Bus #0e io | da100000-da1fffff : PCI Bus #16 io | da200000-da2fffff : PCI Bus #1e io | da300000-da3fffff : PCI Bus #07 io | da400000-da4fffff : PCI Bus #0f io | da500000-da5fffff : PCI Bus #17 io | da600000-da6fffff : PCI Bus #1f io | da700000-da7fffff : PCI Bus #08 io | da800000-da8fffff : PCI Bus #10 io | da900000-da9fffff : PCI Bus #18 io | daa000000-ffff : PCI IO io | 0cf8-0cff : PCI conf1 io | 1000-103f : Intel Corporation 82371AB/EB/MB PIIX4 ACPI io | 1040-105f : Intel Corporation 82371AB/EB/MB PIIX4 ACPI io | 1080-10bf : PCI device 15ad:0740 (VMware Inc) io | 10c0-10df : BusLogic BT-946C (BA80C30) [MultiMaster 10] io | 10e0-10ef : Intel Corporation 82371AB/EB/MB PIIX4 IDE io | 10f0-10ff : VMware Inc [VMware SVGA II] PCI Display Adapter io | 2000-207f : Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] io | 2080-20bf : Ensoniq ES1371 [AudioPCI-97] io | 4000-4fff : PCI Bus #03 io | 5000-5fff : PCI Bus #0b io | 6000-6fff : PCI Bus #13 io | 7000-7fff : PCI Bus #1b io | 8000-8fff : PCI Bus #04 io | 9000-9fff : PCI Bus #0c io | a000-afff : PCI Bus #14 io | b000-bfff : PCI Bus #1c io | c000-cfff : PCI Bus #05 io | d000-dfff : PCI Bus #0d io | e000-efff : PCI Bus #15 io | f000-ffff : PCI Bus #1d bmodfs | Passed the following modules: bmodfs | module "/common/cfg/l4linux26.cfg" (1kB) bmodfs | module "/common/libloader.s.so" (632kB) bmodfs | module "/common/libld-l4.s.so" (487kB) bmodfs | module "/common/vmlinuz" (3661kB) bmodfs | module "/common/drops.rd" (16384kB) bmodfs | module "/common/proxygon" (822kB) bmodfs | module "/common/run" (310kB) io | Available IRQs=[ <!0> 1 <!2> 3 <!4> 5 6 7 8 9 a b c d e f 10 11 ] l4dope | L4INPUT native mode activated l4dope | L4INPUT: !!! W A R N I N G !!! l4dope | L4INPUT: Please, do not use Fiasco's "-esc" with L4INPUT. l4dope | L4INPUT: !!! W A R N I N G !!! ROOT: Sending ports 0060-006f to task #0a loader | "proxygon" is a valid binary image loader | proxygon: Starting sigma0-style application loader | proxygon: Loading binary loader | proxygon,#e: Entry at 00009c88 => 00b00000 loader | proxygon,#e: Started loader | "run" needs libld-l4.s.so loader | run: Starting application using libld-l4.s.so loader | run,#f: Loading binary loader | run,#f: Loading ldso loader | run,#f: Starting libld-l4.s.so at 000138e0 via 0000cc8c loader | sleeping for 1000 ms l4dope | serio: i8042 AUX port at 0x60,0x64 irq 12 l4dope | serio: i8042 KBD port at 0x60,0x64 irq 1 l4dope | input: ImPS/2 Generic Wheel Mouse on isa0060/serio1 l4dope | input: AT Translated Set 2 keyboard on isa0060/serio0 l4dope | input: PC Speaker l4dope | input: L4 input event injector l4dope | L4 input event injector: IRQ handler up l4dope | connect "ImPS/2 Generic Wheel Mouse", isa0060/serio1/input0 l4dope | connect "AT Translated Set 2 keyboard", isa0060/serio0/input0 l4dope | connect "PC Speaker", isa0061/input0 l4dope | connect "L4 input event injector", l4/sys l4dope | SharedMem(alloc): hl.raw=e0000, id=70, size=800 l4dope | SharedMem(get_adr): address = 0x6000 l4dope | SharedMem(alloc): hl.raw=e0000, id=71, size=800 l4dope | SharedMem(get_adr): address = 0x7000 l4dope | SharedMem(alloc): hl.raw=e0000, id=72, size=800 l4dope | SharedMem(get_adr): address = 0xd000 l4dope | SharedMem(alloc): hl.raw=e0000, id=73, size=800 l4dope | SharedMem(get_adr): address = 0xe000 l4dope | SharedMem(alloc): hl.raw=e0000, id=74, size=800 l4dope | SharedMem(get_adr): address = 0xf000 l4dope | SharedMem(alloc): hl.raw=e0000, id=75, size=800 l4dope | SharedMem(get_adr): address = 0x15000 l4dope | SharedMem(alloc): hl.raw=e0000, id=76, size=800 l4dope | SharedMem(get_adr): address = 0x16000 l4dope | SharedMem(alloc): hl.raw=e0000, id=7b, size=484 l4dope | SharedMem(get_adr): address = 0x20000 l4dope | dope: paddr=d0000000 size=131072KiB l4dope | Mapped video memory at d0000000 to 08000000+000000 [131072kB] via L4I l4dope : O l4dope | mapping: vaddr=0x8000000 size=134217728(0x8000000) offset=0(0x0) l4dope | Frame buffer base: 0x8000000 l4dope | Resolution: 1024x768x16 l4dope | Bytes per scanline: 2048 l4dope | Current video mode is 1024x768 red=11:5 green=5:6 blue=0:5 res=0:0 proxygon| calling dm_mem_allocate_named(4096, vc1 sbuf) l4dope | SharedMem(alloc): hl.raw=e0000, id=85, size=96000 l4dope | SharedMem(get_adr): address = 0x400000 run | contxt_init(): 640x480, cols:80, lines:40, sb_lines:1040 loader | vmlinuz: Starting application using libld-l4.s.so loader | vmlinuz,#10: Loading binary loader | vmlinuz,#10: Loading ldso loader | vmlinuz,#10: Starting libld-l4.s.so at 000138e0 via 0000cc24 DOUBLE FAULT! EAX=c01407d0 ESI=c0140000 DS=0023 EBX=c0400000 EDI=00000000 ES=0023 ECX=1fca0000 EBP=c01406e8 GS=0043 EDX=00000000 ESP=c04007cc SS=0010 ESP0=c0140800 EFL=00010087 EIP=f002ad96 CS=0008 Return reboots, "k" tries to enter the L4 kernel debugger... Rebooting... ======Ending of Serial Output===== The above is my current circumstanceļ¼can someone give me some advice how to solve this problem? Thanks!! Best Regards. Adam Chang -- Adam Hung-Hsiang Chang windbread@gmail.com +886-987-335398 Wireless Networking and Embedded Systems Lab Graduate Institute of Networking and Multimedia National Taiwan University On Wed, Jan 7, 2009 at 7:25 AM, Adam Lackorzynski <adam@os.inf.tu-dresden.de> wrote:
On Mon Jan 05, 2009 at 12:21:38 +0800, Adam Chang wrote:
module /common/roottask -symbols -lines task modname "loader" boot_priority 0xA0 allow_cli task modname "bmodfs" attached 7 modules module /common/Lines module /common/Symbols
Those need to be in the same order as the options as the on the roottask command line, i.e. Lines and Symbols need to be the other way around.
module /common/names module /common/log module /common/dm_phys --isa=0x00800000 module /common/simple_ts -t 300 module /common/rtc module /common/l4io module /common/l4dope module /common/bmodfs module /common/cfg/l4linux26.cfg module /common/libloader.s.so module /common/libld-l4.s.so module /common/vmlinuz module /common/drops.rd module /common/proxygon module /common/run module /common/loader --fprov=BMODFS proxygon run l4linux26.cfg vbeset 0x117 =====End of menu.lst=========
And the following is the loader script for L4linux
=====Begin of l4linux26.cfg========= #l4linux cfg
verbose 0 sleep 1 task "vmlinuz" "mem=64M video=l4fb:refreshsleep:200 load_ramdisk=1 ramdisk_size=16384 root=/dev/ram l4env_rd=drops.rd" allow_cli priority 0xA0 all_sects_writable allow_vga
=====End of l4linux26.cfg=========
It still black screen forever for using l4con. And for using Dope I can see the graphic environment and the console titled "proxygon", but when I clicked the windows and press L key, then the Vmware machine rebooted. sometimes the cursor can't be moved through my
Ok, strange.
mouse. sometimes I saw only the background without console.It confused me. So the above is my current circumstanceļ¼can someone give me some advice how to solve this problem?
You need to get the serial line out of the Vmware to see what's going on. Long back when I tried this this worked by switching the guest first serial to some named socket on the host. E.g. minicom can attach to this when using unix#/file/to/socket as a device name. Maybe qemu is a better choice here, since it's easy with 'qemu -serial stdio'.
Adam -- Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
_______________________________________________ l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers