Re: booting lx_ginger.iso

Matthias Lange <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Hi,

> On 21.07.2014, at 18:22, cem akpolat <[email protected]> wrote:
> 
> Hi,
> 
> There is also issues while booting lx_ginger.iso (from l4android.org), it stems from the lx_ginger.cfg file.
> 
> 
> akpolat@akpolatX240:~/Desktop$ qemu-system-x86_64 -cdrom lx_ginger.iso -m 512 -serial stdio
> 
> Welcome to Fiasco.OC (ia32)!
> L4/Fiasco.OC ia32 microkernel (C) 1998-2011 TU Dresden
> Rev: r30 compiled with gcc 4.4.3 for Intel Pentium    [.up]
> Build: #32 Tue Feb 15 10:07:33 CET 2011
> 
> Performance-critical config option(s) detected:
>   CONFIG_NDEBUG is off
>   CONFIG_NO_FRAME_PTR is off
> 
> Superpages: yes
> Kmem:: cpu page at 1fff8000 (4096Bytes)
> Enabling SVM support
> NASID: 0x10
> ACPI-Init
> ACPI: RSDP = 0xf09e0   pRSDT = 1ffffbc1   pXSDT =                0
> ACPI: OEM: BOCHS 
> MADT = 0x203ffb11
> IO-APIC[ 0]: struct: 0x203ffb45 adr=fec00000
> IO-APIC[ 0]: pins 23
>   PIN[ 0m]: vector=20, del=0, dm=physical, dest=0 (high, edge)
>   PIN[ 1m]: vector=21, del=0, dm=physical, dest=0 (high, edge)
>   PIN[ 2m]: vector=22, del=0, dm=physical, dest=0 (high, edge)
>   PIN[ 3m]: vector=23, del=0, dm=physical, dest=0 (high, edge)
>   PIN[ 4m]: vector=24, del=0, dm=physical, dest=0 (high, edge)
>   PIN[ 5m]: vector=25, del=0, dm=physical, dest=0 (high, edge)
>   PIN[ 6m]: vector=26, del=0, dm=physical, dest=0 (high, edge)
>   PIN[ 7m]: vector=27, del=0, dm=physical, dest=0 (high, edge)
>   PIN[ 8m]: vector=28, del=0, dm=physical, dest=0 (high, edge)
>   PIN[ 9m]: vector=29, del=0, dm=physical, dest=0 (high, edge)
>   PIN[10m]: vector=2a, del=0, dm=physical, dest=0 (high, edge)
>   PIN[11m]: vector=2b, del=0, dm=physical, dest=0 (high, edge)
>   PIN[12m]: vector=2c, del=0, dm=physical, dest=0 (high, edge)
>   PIN[13m]: vector=2d, del=0, dm=physical, dest=0 (high, edge)
>   PIN[14m]: vector=2e, del=0, dm=physical, dest=0 (high, edge)
>   PIN[15m]: vector=2f, del=0, dm=physical, dest=0 (high, edge)
>   PIN[16m]: vector=30, del=0, dm=physical, dest=0 (high, edge)
>   PIN[17m]: vector=31, del=0, dm=physical, dest=0 (high, edge)
>   PIN[18m]: vector=32, del=0, dm=physical, dest=0 (high, edge)
>   PIN[19m]: vector=33, del=0, dm=physical, dest=0 (high, edge)
>   PIN[20m]: vector=34, del=0, dm=physical, dest=0 (high, edge)
>   PIN[21m]: vector=35, del=0, dm=physical, dest=0 (high, edge)
>   PIN[22m]: vector=36, del=0, dm=physical, dest=0 (high, edge)
>   PIN[23m]: vector=37, del=0, dm=physical, dest=0 (high, edge)
> IO-APIC: dual 8259: yes
> IO-APIC: ovr[ 0] 00 -> 2
> IO-APIC: ovr[ 1] 05 -> 5
> IO-APIC: ovr[ 2] 09 -> 9
> IO-APIC: ovr[ 3] 0a -> a
> IO-APIC: ovr[ 4] 0b -> b
> Allocate cpu_mem @ 0xfeff6000
> Local APIC[00]: version=11 max_lvt=5
> APIC ESR value before/after enabling: 00000000/00000000
> Using the Local APIC timer on vector 90 (Periodic Mode) 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[0:0]: AuthenticAMD (6:6:3:0)[00000663] Model: Athlon (Palomino) at 2694 MHz
> 
>  255/512 Entry I TLB (4K pages)    255 Entry I TLB (4M pages)
>  255/512 Entry D TLB (4K pages)    255 Entry D TLB (4M pages)
>   64 KB L1 I Cache (2-way associative, 64 bytes per line)
>   64 KB L1 D Cache (2-way associative, 64 bytes per line)
>  512 KB L2 U Cache (8-way associative, 64 bytes per line)
> 
> Freeing init code/data: 28672 bytes (7 pages)
> 
> VMX: Not supported
> Calibrating timer loop... done.
> SIGMA0: Hello!
>   KIP @ 400000
>   Found Fiasco: KIP syscalls: yes
>   allocated 4KB for maintenance structures
> SIGMA0: Dump of all resource maps
> RAM:------------------------
> [0:1000;9efff]
> [0:10c000;13ffff]
> [4:140000;18ffff]
> [0:190000;2dbfff]
> [4:2dc000;2dcfff]
> [0:2dd000;3fffff]
> [0:469000;137dfff]
> [4:137e000;7883fff]
> [0:7884000;1d70ffff]
> IOMEM:----------------------
> [0:0;fff]
> [0:9f000;fffff]
> [0:1fffe000;febfffff]
> [0:fec01000;fedfffff]
> [0:fee01000;ffffffff]
> IO PORTS--------------------------
> [0:0;fffffff]
> MOE: Hello world
> MOE: found 377736 KByte free memory
> MOE: found RAM from 1000 to 1d710000
> MOE: allocated 471 KByte for the page array @0x1000
> MOE: virtual user address space [0-bfffffff]
> MOE: rom name space cap -> [C:501000]
>   BOOTFS: [137e000-146d25c] [C:503000] l4re
>   BOOTFS: [146e000-165555b] [C:504000] ned
>   BOOTFS: [1656000-1ea917f] [C:505000] io
>   BOOTFS: [1eaa000-1f82d39] [C:506000] rtc
>   BOOTFS: [1f83000-22812f8] [C:507000] mag
>   BOOTFS: [2282000-23d7cf5] [C:508000] fb-drv
>   BOOTFS: [908a000-908a83b] [C:509000] lx_ginger.cfg
>   BOOTFS: [9064000-90643b7] [C:50a000] x86-legacy.devs
>   BOOTFS: [9080000-908086f] [C:50b000] x86_android.vbus
>   BOOTFS: [23d8000-28179f3] [C:50c000] vmlinuz.android
>   BOOTFS: [2818000-2912000] [C:50d000] root-x86-ginger.img
>   BOOTFS: [2913000-7884000] [C:50e000] system-x86-ginger.img
> MOE: cmdline: moe rom/lx_ginger.cfg
> MOE: Starting: rom/ned rom/lx_ginger.cfg
> MOE: loading 'rom/ned'
> Ned says: Hi World!
> Ned: loading file: 'rom/lx_ginger.cfg'
> io      | Io service
> io      | Hello from L4-ACPICA
> io      | Find root Pointer
> io      | AcpiOsMapMemory(40e, 2) = 40040e
> io      | AcpiOsMapMemory(9fc00, 400) = 49fc00
> io      | AcpiOsMapMemory(e0000, 20000) = 4e0000
> io      | Find root Pointer: f09e0
> io      | AcpiOsMapMemory(f09e0, 24) = 4f09e0
> io      | ACPI: RSDP 0xf09e0 00014 (v00 BOCHS )
> io      | AcpiOsMapMemory(1ffffbc1, 24) = bffbc1
> io      | ACPI: RSDT 0x1ffffbc1 00034 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
> io      | AcpiOsMapMemory(1ffffbc1, 34) = bffbc1
> io      | AcpiOsMapMemory(1ffff1c0, 24) = bff1c0
> io      | ACPI: FACP 0x1ffff1c0 00074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
> io      | AcpiOsMapMemory(1ffff1c0, 74) = bff1c0
> io      | AcpiOsMapMemory(1fffe040, 24) = bfe040
> io      | ACPI: DSDT 0x1fffe040 01180 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
> io      | AcpiOsMapMemory(1fffe000, 24) = bfe000
> io      | ACPI: FACS 0x1fffe000 00040
> io      | AcpiOsMapMemory(1ffff234, 24) = bff234
> io      | ACPI: SSDT 0x1ffff234 008DD (v01 BOCHS  BXPCSSDT 00000001 BXPC 00000001)
> io      | AcpiOsMapMemory(1ffffb11, 24) = bffb11
> io      | ACPI: APIC 0x1ffffb11 00078 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
> io      | AcpiOsMapMemory(1ffffb89, 24) = bffb89
> io      | ACPI: HPET 0x1ffffb89 00038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
> io      | AcpiOsMapMemory(1fffe040, 1180) = bfe040
> io      | Parsing all Control Methods:
> io      | Table [DSDT](id 0001) - 144 Objects with 18 Devices 52 Methods 8 Regions
> io      | AcpiOsMapMemory(1ffff234, 8dd) = bff234
> io      | Parsing all Control Methods:
> io      | Table [SSDT](id 0002) - 155 Objects with 32 Devices 42 Methods 1 Regions
> io      |  tbxface-0601 [02] TbLoadNamespace       : ACPI Tables successfully acquired
> io      | enable ACPI subsystem
> io      | evxfevnt-0184 [02] Enable                : Transition to ACPI mode successful
> io      | AcpiOsMapMemory(1fffe000, 40) = bfe000
> io      | evgpeblk-1129 [04] EvCreateGpeBlock      : GPE 00 to 0F [_GPE] 2 regs on int 0x9
> io      | /home/mlange/projects/l4re/src/l4/pkg/acpica/lib-acpi/src/osl-basic.cc:57:AcpiOsInstallInterruptHandler: UNINPLEMENTED
> io      | initialize ACPI objects
> io      | Completing Region/Field/Buffer/Package initialization:.....................................
> io      | Initialized 9/9 Regions 2/2 Fields 21/21 Buffers 5/5 Packages (308 nodes)
> io      | Initializing Device/Processor/Thermal objects by executing _INI methods:
> io      | Executed 0 _INI methods requiring 1 _STA executions (examined 53 objects)
> io      | evgpeblk-1234 [03] EvInitializeGpeBlock  : Found 0 Wake, Enabled 16 Runtime GPEs in this block
> io      | Interpreter enabled
> io      | scanning for PCI root bridge
> io      | Found PCI root bridge...
> io      | Using IOAPIC for interrupt routing
> io      | ACPICA-Version:20091214, System in ACPI MODE, 32bit timer
> io      | WARNING: phys mmio resource allocation failed
> io      | IOMEM * [000000000a0000-000000000bffff 20000] non-pref (32bit) (align=1ffff flags=c002)
> io      | WARNING: phys mmio resource allocation failed
> io      | IOMEM * [000000000a0000-000000000bffff 20000] non-pref (32bit) (align=1ffff flags=c002)
> io      | IGNORE ACPI RES: 1
> io      | WARNING: phys mmio resource allocation failed
> io      | IOMEM   [000000000c0000-000000000fffff 40000] non-pref (32bit) (align=3ffff flags=c002)
> io      | WARNING: phys mmio resource allocation failed
> io      | IOMEM   [000000000c0000-000000000fffff 40000] non-pref (32bit) (align=3ffff flags=c002)
> io      | WARNING: phys mmio resource allocation failed
> io      | IOMEM   [0000000009f000-0000000009ffff 1000] non-pref (32bit) (align=fff flags=c002)
> io      | WARNING: phys mmio resource allocation failed
> io      | IOMEM   [0000000009f000-0000000009ffff 1000] non-pref (32bit) (align=fff flags=c002)
> io      | WARNING: phys mmio resource allocation failed
> io      | IOMEM   [00000000000000-00000000000fff 1000] non-pref (32bit) (align=fff flags=c002)
> io      | WARNING: phys mmio resource allocation failed
> io      | IOMEM   [00000000000000-00000000000fff 1000] non-pref (32bit) (align=fff flags=c002)
> io      | WARNING: phys mmio resource allocation failed
> io      | IOMEM   [000000000a0000-000000000bffff 20000] non-pref (32bit) (align=1ffff flags=c002)
> io      | WARNING: phys mmio resource allocation failed
> io      | IOMEM   [000000000a0000-000000000bffff 20000] non-pref (32bit) (align=1ffff flags=c002)
> io      | WARNING: device 'PS2' already assigned to an other virtual bus.
> io      | WARNING: device 'S18_' already assigned to an other virtual bus.
> io      | Service registration failed: 'froyo_bus'
> io      | Ready. Waiting for request.
> mag     | Hello from MAG
> fb      | Trying execution of ``set VBE mode'' using x86emu
> fb      | VBE BIOS not present.
> fb      | Failed to setup Framebuffer

The framebuffer driver failed to start because it could not find the VBE bios. That's why mag (see below) couldn't get the fb capability and thus a mag client could not use the factory interface (lua create() methode) to create a mag session.

Which version of qemu are you using?

Matthias.

> mag     | Error: Exception: Void capability invoked: requesting goos info: backtrace ...
> mag     | 1002e2f
> mag     | 103f4a5
> mag     | 1000dcb
> mag     | 10026de
> mag     | 105390c
> mag     | 10000e1
> mag     | 
> mag     | MAG: destroy FB svc
> Ned[lua]: Hm, cpapbility 436000 does not support the meta protocol: -2004
> Ned: ERROR: rom/lx_ginger.cfg:82: attempt to call method 'create' (a nil value)
> rtc     | Date:21.07.2014 Time:16:18:35
> 
> Br,
> Cem Akpolat
> _______________________________________________
> l4-hackers mailing list
> [email protected]
> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers

[email protected] - Tel. 0351-41 888 614

Kernkonzept GmbH.  Sitz: Dresden.  Amtsgericht Dresden, HRB 31129.
Geschäftsführer: Dr.-Ing. Michael Hohmuth

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.