Problem with l4linux on real hardware

Shashi Sharma ssharma at viosoft.com
Thu Oct 6 23:24:31 CEST 2011


On Thu, 2011-10-06 at 23:09 +0200, Adam Lackorzynski wrote:
> On Tue Oct 04, 2011 at 17:54:28 -0700, Shashi Sharma wrote:
> > I am trying to run l4linux on an AMD based server platform with 2 CPU
> > with 16 cores in total.
> > 
> > I built L4 and fiasco with default configuration. And then built
> > l4linux-3.0 with x86-ux_defconfig.
> > 
> > And here is the kernel command line.
> > 
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++
> >   " mem=128M earlyprintk=yes showpfexc=1 console=ttyLv0
> > l4x_rd=rom/drops-rd.rd root=1:0 ramdisk_size=20000 init=/bin/sh");
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > 
> > I am able to run this under qemu. and it works great.
> > 
> > But when I run it on the real Hardware I get following error. Can you
> > please help me with this.
> 
> Is this reproducible?

Yes it happens every time. But I dont thik you can reproduce it on your
end. Because it happens on this particular hardware I have.

I have attached the complete log. Please see if you can help me identify
to problem area.

-Shashi
> 
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > 
> > l4linux | INITRD: Size of RAMdisk is 16384KiB
> > l4linux | RAMdisk from 10800000 to 11800000 [16384KiB]
> > Linux version 3.0.0-l4-svn23 (shashi at shashi-desktop) (gcc version 4.4.3
> > (Ubuntu 4.4.3-4ubuntu5) ) #53 Tue Oct 4 17:02:52 PDT 2011
> > [Firmware Bug]: TSC doesn't count with P0 frequency!
> > BIOS-provided physical RAM map:
> >  L4Lx-Memory: 0000000000000000 - 0000000000400000 (reserved)
> >  L4Lx-Memory: 0000000000400000 - 0000000000728000 (usable)
> >  L4Lx-Memory: 0000000000728000 - 0000000000800000 (unusable)
> >  L4Lx-Memory: 0000000000800000 - 0000000008800000 (usable)
> > Notice: NX (Execute Disable) protection cannot be enabled: non-PAE
> > kernel!
> > last_pfn = 0x8800 max_arch_pfn = 0x100000
> > init_memory_mapping: 0000000000000000-0000000008800000
> > INITRD: 10800000 - 11800000
> > 136MB LOWMEM available.
> >   mapped low ram: 0 - 08800000
> >   low ram: 0 - 08800000
> > Zone PFN ranges:
> >   DMA      0x00000400 -> 0x00000000
> >   Normal   0x00000000 -> 0x00008800
> > Movable zone start PFN for each node
> > early_node_map[2] active PFN ranges
> >     0: 0x00000400 -> 0x00000728
> >     0: 0x00000800 -> 0x00008800
> > Allocating PCI resources starting at 8800000 (gap: 8800000:f7800000)
> > Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
> > 33312
> > Kernel command line: mem=128M earlyprintk=yes showpfexc=1 console=ttyLv0
> > l4x_rd=rom/drops-rd.rd root=1:0 ramdisk_size=20000 init=/bin/sh
> > console [earlykdb0] enabled
> > PID hash table entries: 1024 (order: 0, 4096 bytes)
> > Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
> > Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
> > Initializing CPU#0
> > l4linux | Page fault: addr = 00000000 pc = 00476cf6 (ro)
> > l4linux | Page fault (non-resolved): pfa=0 pc=476cf6
> > l4linux | EX: 0: pc = 00476cf6 sp = 0063fcf0 trapno = 0xe err/pfa = 0x0
> > r
> > Die message: Trap: 14
> > Trap: 14: 0004 [#1] 
> > Modules linked in:
> > 
> > Pid: 0, comm: swapper Not tainted 3.0.0-l4-svn23 #53  
> > EIP: 0000:[<00476cf6>] EFLAGS: 00010206 CPU: 0
> > EIP is at kmem_cache_alloc+0x26/0x80
> > EAX: b3000600 EBX: 00000020 ECX: 00000020 EDX: 00000020
> > ESI: 00000000 EDI: 00000001 EBP: 0063fd00 ESP: 0063fce8
> >  DS: 0000 ES: 0000 FS: 0023 GS: 0043 SS: 0023
> > Process swapper (pid: 0, ti=0063e000 task=00643000 task.ti=0063e000)
> > Stack:
> >  0063fcf0 00000000 00000000 0000000b 00649d80 00000001 0063fd24 00427835
> >  00000000 0000ffff 0000000b 0063fd38 00643000 0063fd6c 00000000 0063fd44
> >  004281c5 00000001 00643258 0000000b 0000000b 00643000 00000000 0063fd64
> > Call Trace:
> >  [<00427835>] __sigqueue_alloc+0x45/0xc0
> >  [<004281c5>] T.954+0x95/0x210
> >  [<004297cc>] force_sig_info+0x5c/0xb0
> >  [<00403443>] l4x_deliver_signal+0x43/0x70
> >  [<004faa07>] ? number+0x357/0x370
> >  [<004faa07>] ? number+0x357/0x370
> >  [<00400700>] ? l4x_vcpu_handle_kernel_exc+0x50/0x60
> >  [<004046af>] l4x_vcpu_entry_kern+0x54f/0xaa0
> >  [<004fc2aa>] ? vsnprintf+0x2da/0x430
> >  [<0041fffc>] ? timespec_add_safe+0x1c/0x70
> >  [<0041c805>] ? console_unlock+0x165/0x1b0
> >  [<00662c79>] ? xstate_enable_boot_cpu+0x8d/0x210
> >  [<004fc2aa>] ? vsnprintf+0x2da/0x430
> >  [<0041c10f>] ? print_tainted+0x8f/0xc0
> >  [<00404c00>] ? l4x_vcpu_entry_kern+0xaa0/0xaa0
> >  [<0040543b>] l4x_vcpu_entry+0x83b/0x1580
> >  [<0041c805>] ? console_unlock+0x165/0x1b0
> >  [<0041cc13>] ? vprintk+0x143/0x340
> >  [<00668fb0>] ? alloc_large_system_hash+0x1ac/0x1d8
> >  [<00404c00>] ? l4x_vcpu_entry_kern+0xaa0/0xaa0
> >  [<00673601>] ? xsave_init+0x20/0x22
> >  [<00674094>] ? cpu_init+0x71/0x76
> >  [<00660fb9>] ? trap_init+0x224/0x22c
> >  [<0065d4d1>] ? start_kernel+0x132/0x294
> >  [<0065d1c9>] ? kernel_init+0x102/0x102
> >  [<00418000>] ? dequeue_task_idle+0x10/0x30
> >  [<00418000>] ? dequeue_task_idle+0x10/0x30
> >  [<0066316f>] ? i386_start_kernel+0x82/0x8a
> >  [<00418000>] ? dequeue_task_idle+0x10/0x30
> >  [<006601c3>] ? l4x_linux_startup+0x2d9/0x2e1
> >  [<00411000>] ? x86_pmu_del+0xa0/0xc0
> > Code: 27 00 00 00 00 55 89 e5 83 ec 10 89 5d f4 8b 1d 30 b6 65 00 89 75
> > f8 89 c6 89 7d fc 21 d3 e8 62 c8 f8 ff 89 45 f0 e8 2a c8 f8 ff <8b 
> > EIP: [<00476cf6>] kmem_cache_alloc+0x26/0x80 SS:ESP 0023:0063fce8
> > ---[ end trace 4eaa2a86a8e2da22 ]---
> > Kernel panic - not syncing: Attempted to kill the idle task!
> > Pid: 0, comm: swapper Tainted: G      D     3.0.0-l4-svn23 #53
> > Call Trace:
> >  [<005c161a>] panic+0x57/0x143
> >  [<0041f3b7>] do_exit+0x5f7/0x630
> >  [<0041c464>] ? kmsg_dump+0x34/0xc0
> >  [<005c171e>] ? printk+0x18/0x1a
> >  [<0040da52>] oops_end+0x62/0x90
> >  [<0040db15>] die+0x45/0x70
> >  [<00476cf6>] ? kmem_cache_alloc+0x26/0x80
> >  [<00427835>] ? __sigqueue_alloc+0x45/0xc0
> >  [<004281c5>] ? T.954+0x95/0x210
> >  [<004297cc>] ? force_sig_info+0x5c/0xb0
> >  [<00403443>] ? l4x_deliver_signal+0x43/0x70
> >  [<004faa07>] ? number+0x357/0x370
> 
> 
> 
> Adam

-------------- next part --------------
L4 Bootstrapper                                                                 
  Build: #1 Fri Sep 16 16:42:38 PDT 2011, x86-32, 4.4.3                         
  Limiting RAM region   [   100000,  dfdaffff] { dfcb0000} to   [   100000,  bcffffff] { bcf00000} due to 3024 MB limit
  Dropping RAM region   [100000000, 61effffff] {51f000000} due to 3024 MB limit 
  RAM: 0000000000000000 - 000000000009a7ff: 618kB                               
  RAM: 0000000000100000 - 00000000bcffffff: 3095552kB                           
  Total RAM: 3023MB                                                             
  Moving 14 modules to 1100000 with offset 5927b000                            
  moving module 14 { a94f1000-aa4f1000 } -> { 276c000-376c000 }
  moving module 13 { a91b3000-a94f057b } -> { 242e000-276b57b }
  moving module 12 { dfd62000-dfd622ce } -> { 38fdd000-38fdd2ce }
  moving module 11 { dfd41000-dfd413b6 } -> { 38fbc000-38fbc3b6 }
  moving module 10 { a9052000-a91b272f } -> { 22cd000-242d72f }
  moving module 09 { a8d30000-a90515ab } -> { 1fab000-22cc5ab }
  moving module 08 { a8c48000-a8d2fe04 } -> { 1ec3000-1faae04 }
  moving module 07 { a83e3000-a8c47b00 } -> { 165e000-1ec2b00 }
  moving module 06 { a81eb000-a83e2bac } -> { 1466000-165dbac }
  moving module 05 { a80fd000-a81ea71f } -> { 1378000-146571f }
  moving module 04 { dfd40000-dfd40723 } -> { 38fbb000-38fbb723 }
  moving module 03 { a7f3b000-a80fc8d6 } -> { 11b6000-13778d6 }
  moving module 02 { a7efa000-a7f3a5ad } -> { 1175000-11b55ad }
  moving module 01 { a7e85000-a7ef9c94 } -> { 1100000-1174c94 }
  Scanning fiasco -serial_esc0000000)
  Scanning sigma0ror 00000008(00000000)
  Scanning moe rom/l4linux.cfg000000)
  Bootloader MMAP:
    [        0,     9a800) RAM (1)
    [    9a800,     a0000) reserved (2)
    [    e6000,    100000) reserved (2)
    [   100000,  dfdb0000) RAM (1)
    [ dfdb0000,  dfdc2000) reserved (2)
    [ dfdc2000,  dfdd0000) ACPI NVS (4)
    [ dfdd0000,  dfde0000) reserved (2)
    [ dfded000,  f0000000) reserved (2)
    [ ffc00000, 100000000) reserved (2)
    [100000000, 61f000000) RAM (1)
  Relocated mbi to [0x2dd000-0x2dd1bd]
  Loading fiasco
  Loading sigma0
  Loading moe
  find kernel info page...
  found kernel info page at 0x400000
Regions of list regions
    [        0,       fff] {     1000} Arch   BIOS
    [     1000,      1fff] {     1000} Kern   fiasco
    [    9a800,     9ffff] {     5800} Arch   BIOS
    [    e6000,     fffff] {    1a000} Arch   BIOS
    [   100000,    10a1b3] {     a1b4} Sigma0 sigma0
    [   140000,    18b0df] {    4b0e0} Root   moe
    [   2d0000,    2e13e7] {    113e8} Boot   bootstrap
    [   2dd000,    2dd2ba] {      2bb} Root   Multiboot info
    [   300000,    38ffff] {    90000} Kern   fiasco
    [   400000,    478fff] {    79000} Kern   fiasco
    [  1378000,   376bfff] {  23f4000} Root   Modules Memory
    [ dfdb0000,  dfdc1fff] {    12000} Arch   BIOS
    [ dfdc2000,  dfdcffff] {     e000} Arch   BIOS
    [ dfdd0000,  dfddffff] {    10000} Arch   BIOS
    [ dfded000,  efffffff] { 10213000} Arch   BIOS
    [ ffc00000,  ffffffff] {   400000} Arch   BIOS
  API Version: (87) experimental
  Sigma0 config    ip:001001dc sp:002dca38
  Roottask config  ip:001401c4 sp:00000000
  Starting kernel fiasco at 00300830

Welcome to Fiasco.OC (ia32)!
L4/Fiasco.OC ia32 microkernel (C) 1998-2011 TU Dresden
Rev: r38 compiled with gcc 4.4.3 for Intel Pentium    []
Build: #5 Tue Oct  4 16:58:47 PDT 2011

Performance-critical config option(s) detected:
  CONFIG_NDEBUG is off
  CONFIG_NO_FRAME_PTR is off

Superpages: yes
Kmem:: cpu page at bcfe2000 (4096Bytes)
Per_cpu_data_alloc: (orig: 0xf006caa0-0xf006d1c0)
ACPI-Init
ACPI: RSDP[0xfa3f0]     r02 OEM:ACPIAM
ACPI: XSDT[0x201b0100]  r01 OEM:072811 OEMTID:XSDT1013
ACPI: RSDT[0x201b0000]  r01 OEM:072811 OEMTID:RSDT1013
ACPI: FACP[0x201b0290]  r04 OEM:072811 OEMTID:FACP1013
ACPI: APIC[0x201b0390]  r02 OEM:072811 OEMTID:APIC1013
ACPI: MCFG[0x201b0480]  r01 OEM:072811 OEMTID:OEMMCFG.
ACPI: OEMB[0x201c2040]  r01 OEM:072811 OEMTID:OEMB1013
ACPI: HPET[0x201ba4c0]  r01 OEM:072811 OEMTID:OEMHPET.
ACPI: SRAT[0x201ba500]  r02 OEM:AMD... OEMTID:AGESA...
ACPI: SLIT[0x201ba6d0]  r01 OEM:AMD... OEMTID:AGESA...
ACPI: SSDT[0x201ba700]  r01 OEM:A.M.I. OEMTID:POWERNOW
IO-APIC: MADT = 0x201b0390
IO-APIC[ 0]: struct: 0x201b043c adr=fec00000
IO-APIC[ 0]: pins 24
  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[ 1]: struct: 0x201b0448 adr=fec20000
IO-APIC[ 1]: pins 32
  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)
  PIN[24m]: vector=38, del=0, dm=physical, dest=0 (high, edge)
  PIN[25m]: vector=39, del=0, dm=physical, dest=0 (high, edge)
  PIN[26m]: vector=3a, del=0, dm=physical, dest=0 (high, edge)
  PIN[27m]: vector=3b, del=0, dm=physical, dest=0 (high, edge)
  PIN[28m]: vector=3c, del=0, dm=physical, dest=0 (high, edge)
  PIN[29m]: vector=3d, del=0, dm=physical, dest=0 (high, edge)
  PIN[30m]: vector=3e, del=0, dm=physical, dest=0 (high, edge)
  PIN[31m]: vector=3f, del=0, dm=physical, dest=0 (high, edge)
IO-APIC[ 2]: struct: 0x201b0454 adr=fa000000
IO-APIC[ 2]: pins 32
  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)
  PIN[24m]: vector=38, del=0, dm=physical, dest=0 (high, edge)
  PIN[25m]: vector=39, del=0, dm=physical, dest=0 (high, edge)
  PIN[26m]: vector=3a, del=0, dm=physical, dest=0 (high, edge)
  PIN[27m]: vector=3b, del=0, dm=physical, dest=0 (high, edge)
  PIN[28m]: vector=3c, del=0, dm=physical, dest=0 (high, edge)
  PIN[29m]: vector=3d, del=0, dm=physical, dest=0 (high, edge)
  PIN[30m]: vector=3e, del=0, dm=physical, dest=0 (high, edge)
  PIN[31m]: vector=3f, del=0, dm=physical, dest=0 (high, edge)
IO-APIC: dual 8259: yes
IO-APIC: ovr[ 0] 00 -> 2
IO-APIC: ovr[ 1] 09 -> 9
Allocate cpu_mem @ 0xfffe4400
Local APIC[10]: version=10 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 (15:1:0:0)[00600f10] Model: AMD Eng Sample, ZS238048U8K44_33/23/20_2/8      at 2299 MHz

  48/512 Entry I TLB (4K pages)     24 Entry I TLB (4M pages)
  32/1024 Entry D TLB (4K pages)     32/1024 Entry D TLB (4M pages)
  64 KB L1 I Cache (2-way associative, 64 bytes per line)
  16 KB L1 D Cache (4-way associative, 64 bytes per line)
2048 KB L2 U Cache (8-way associative, 64 bytes per line)
6144 KB L3 U Cache (12-way associative, 64 bytes per line)

Freeing init code/data: 16384 bytes (4 pages)

MP: detecting APs...
Calibrating timer loop... Per_cpu_data_alloc: (orig: 0xf006caa0-0xf006d1c0)
done.
Allocate 1824 bytes (2KB) for CPU[1] local storage (offset=ff77d60)
SIGMA0: Hello!
  KIP @ 400000
  Found Fiasco: KIP syscalls: yes
  allocated 4KB for maintenance structures
SIGMA0: Dump of all resource maps
RAM:------------------------
Allocate cpu_mem @ 0xffd89000
[Local APIC[11]: version=10 max_lvt=5
0:2000;99fff]
[0:10b000;13ffff]
[4:140000;18bfff]
[0:18c000;2dcfff]
[4:2dd000;2ddfff]
[0:2de000;3fffff]
[0:475000;1377fff]
APIC ESR value before/after enabling: 00000000/00000000
[Using the Local APIC timer on vector 90 (Periodic Mode) for scheduling
4CPU[1:1]: AuthenticAMD (15:1:0:0)[00600f10] Model: AMD Eng Sample, ZS238048U8K44_33/23/20_2/8      at 2299 MHz

:  48/512 Entry I TLB (4K pages)     24 Entry I TLB (4M pages)
1378000  32/1024 Entry D TLB (4K pages);     32/1024 Entry D TLB (4M pages)
  64 KB L1 I Cache (2-way associative, 64 bytes per line)
  16 KB L1 D Cache (4-way associative, 64 bytes per line)
2048 KB L2 U Cache (8-way associative, 64 bytes per line)
6144 KB L3 U Cache (12-way associative, 64 bytes per line)

3CPU allocation failed for CPU4, disabling CPU.
7CPU allocation failed for CPU14, disabling CPU.
6Per_cpu_data_alloc: (orig: 0xf006caa0-0xf006d1c0)
CPU[1]: goes to idle loop
Allocate 1824 bytes (2KB) for CPU[2] local storage (offset=fd1cd60)
bfff]
[0:376c000;b93fffff]
IOMEM:----------------------
[0:0;fff]
[0:9a000;fffff]
[0:bd000000;f9ffffff]
[0:fa001000;febfffff]
[0:fec01000;Allocate cpu_mem @ 0xffd89400
fec1fffLocal APIC[12]: version=10 max_lvt=5
f]
[0:fec21000;fedfffff]
[0:fee01000;ffffffff]
IO PORTS--------------------------
[0:0;fffffff]
MOE: Hello world
MOE: found 2997084 KByte free memory
APIC ESR value before/after enabling: 00000000/00000000
MOE: found Using the Local APIC timer on vector 90 (Periodic Mode) for scheduling
RAM from 2000 to b9400000
CPU[2:2]: AuthenticAMD (15:1:0:0)[00600f10] Model: AMD Eng Sample, ZS238048U8K44_33/23/20_2/8      at 2300 MHz

M  48/512 Entry I TLB (4K pages)O     24 Entry I TLB (4M pages)
E:  32/1024 Entry D TLB (4K pages) allocated 296     32/1024 Entry D TLB (4M pages)
3 KByte for the page array @0x47500  64 KB L1 I Cache (2-way associative, 64 bytes per line)
0  16 KB L1 D Cache (4-way associative, 64 bytes per line)
2048 KB L2 U Cache (8-way associative, 64 bytes per line)

6144 KB L3 U Cache (12-way associative, 64 bytes per line)
M
OCPU allocation failed for CPU15, disabling CPU.
CPU[2]: goes to idle loop
E: virtuCPU allocation failed for CPU6, disabling CPU.
aPer_cpu_data_alloc: (orig: 0xf006caa0-0xf006d1c0)
lAllocate 1824 bytes (2KB) for CPU[3] local storage (offset=fcd7560)
 user address space [0-bfffffff]
MOE: rom name space cap -> [C:501000]
  BOOTFS: [38fbb000-38fbb723] [C:503000] l4linux.cfg
  BOOTFS: [1378000-146571f] [C:504000] l4re
  BOOTFS: [1466000-165dbac] [C:505000] ned
  BOOTFAllocate cpu_mem @ 0xffd44800
S:Local APIC[21]: version=10 max_lvt=5
 [165e000-1ec2b00] [C:506000] io
  BOOTFS: [1ec3000-1faae04] [C:507000] rtc
  BOOTFS: [1fab000-22cc5ab] [C:508000] mag
  BOOTFS: [22cd000-242d72f] [C:509000] fb-drv
  BOOTFS: [38fbc000-38fbc3b6] [C:50a000] x86-legacy.devs
APIC ESR value before/after enabling: 00000000/00000000
 Using the Local APIC timer on vector 90 (Periodic Mode) for scheduling
 BOOTFS: [38fdd000-38fdd2ce] [C:50b000] l4lx-x86.io
CPU[3:17]: AuthenticAMD (15:1:0:0)[00600f10] Model: AMD Eng Sample, ZS238048U8K44_33/23/20_2/8      at 2300 MHz

   48/512 Entry I TLB (4K pages)     24 Entry I TLB (4M pages)
   32/1024 Entry D TLB (4K pages)B     32/1024 Entry D TLB (4M pages)
  64 KB L1 I Cache (2-way associative, 64 bytes per line)
  16 KB L1 D Cache (4-way associative, 64 bytes per line)
2048 KB L2 U Cache (8-way associative, 64 bytes per line)
6144 KB L3 U Cache (12-way associative, 64 bytes per line)

OCPU[3]: goes to idle loop
CPU allocation failed for CPU9, disabling CPU.
OTFCPU allocation failed for CPU10, disabling CPU.
S:CPU allocation failed for CPU13, disabling CPU.
 [CPU allocation failed for CPU11, disabling CPU.
24CPU allocation failed for CPU5, disabling CPU.
2CPU allocation failed for CPU8, disabling CPU.
CPU allocation failed for CPU12, disabling CPU.
eCPU allocation failed for CPU7, disabling CPU.
000-276b57b] [C:50c000] vmlinuz
  BOOTFS: [276c000-376c000] [C:50d000] drops-rd.rd
MOE: cmdline: moe rom/l4linux.cfg
MOE: Starting: rom/ned rom/l4linux.cfg
MOE: loading 'rom/ned'
Ned says: Hi World!
Ned: loading file: 'rom/l4linux.cfg'
io      | Io service
io      | Find root Pointer
io      | Find root Pointer: fa3f0
io      | ACPI: RSDP 0xfa3f0 00024 (v02 ACPIAM)
io      | ACPI: XSDT 0xdfdb0100 00064 (v01 072811 XSDT1013 20110728 MSFT 00000097)
io      | ACPI: FACP 0xdfdb0290 000F4 (v04 072811 FACP1013 20110728 MSFT 00000097)
io      | ACPI Warning: Optional field Pm2ControlBlock has zero address or length: 0000000000000000/1 (20091214/tbfadt-655)
io      | ACPI: DSDT 0xdfdb04c0 06182 (v02  8226_ 8226_001 00000001 INTL 20051117)
io      | ACPI: FACS 0xdfdc2000 00040
io      | ACPI: APIC 0xdfdb0390 000EA (v02 072811 APIC1013 20110728 MSFT 00000097)
io      | ACPI: MCFG 0xdfdb0480 0003C (v01 072811 OEMMCFG  20110728 MSFT 00000097)
io      | ACPI: OEMB 0xdfdc2040 000CB (v01 072811 OEMB1013 20110728 MSFT 00000097)
io      | ACPI: HPET 0xdfdba4c0 00038 (v01 072811 OEMHPET  20110728 MSFT 00000097)
io      | ACPI: SRAT 0xdfdba500 001D0 (v02 AMD    AGESA    00000001 AMD  00000001)
io      | ACPI: SLIT 0xdfdba6d0 00030 (v01 AMD    AGESA    00000001 AMD  00000001)
io      | ACPI: SSDT 0xdfdba700 02E04 (v01 A M I  POWERNOW 00000001 AMD  00000001)
io      | Parsing all Control Methods:
io      | Table [DSDT](id 0001) - 1008 Objects with 89 Devices 249 Methods 27 Regions
io      | Parsing all Control Methods:
io      | Table [SSDT](id 0002) - 128 Objects with 0 Devices 16 Methods 0 Regions
io      |  tbxface-0601 [02] TbLoadNamespace       : ACPI Tables successfully acquired
io      | evxfevnt-0184 [02] Enable                : Transition to ACPI mode successful
io      | evgpeblk-1129 [04] EvCreateGpeBlock      : GPE 00 to 1F [_GPE] 4 regs on int 0x9
io      | /home/shashi/Desktop/L4/src/l4/pkg/acpica/lib-acpi/src/osl-basic.cc:57:AcpiOsInstallInterruptHandler: UNINPLEMENTED
io      |   nseval-0527 [03] NsExecModuleCode      : Executed module-level code at 0x9b6590
io      | ACPI: Executed 1 blocks of module-level executable AML code
io      | Completing Region/Field/Buffer/Package initialization:..........................................................................
io      | Initialized 26/27 Regions 76/76 Fields 39/39 Buffers 156/158 Packages (1147 nodes)
io      | Initializing Device/Processor/Thermal objects by executing _INI methods:
io      | Executed 3 _INI methods requiring 0 _STA executions (examined 107 objects)
io      | evgpeblk-1234 [03] EvInitializeGpeBlock  : Found 6 Wake, Enabled 0 Runtime GPEs in this block
io      | ACPICA-Version:20091214, System in ACPI MODE, 24bit timer
io      | ERROR: could not reserve resource
io      | IOPORT  [0000000000ff00-0000000000ff0f 10] non-pref (32bit) (align=f flags=4a03)
io      | ERROR: could not reserve resource
io      | IOPORT  [00000000000000-00000000000007 8] non-pref (32bit) (align=7 flags=4a03)
io      | ERROR: could not reserve resource
io      | IOPORT  [00000000000000-00000000000007 8] non-pref (32bit) (align=7 flags=4a03)
io      | ERROR: could not reserve resource
io      | IOPORT  [00000000000000-00000000000003 4] non-pref (32bit) (align=3 flags=4a03)
io      | WARNING: device 'PS2' already assigned to an other virtual bus.
io      | WARNING: device '' already assigned to an other virtual bus.
io      | WARNING: device 'VGA' already assigned to an other virtual bus.
io      | WARNING: device 'SATA' already assigned to an other virtual bus.
io      | WARNING: device 'VGA' already assigned to an other virtual bus.
io      | WARNING: device 'PS2' already assigned to an other virtual bus.
io      | Ready. Waiting for request.
l4linux | PH  0 (t:        1) offs=00001000 vaddr=00400000 vend=00644000
l4linux |                     phys=00400000 ephys=00644000
l4linux |                     f_sz=00244000 memsz=00244000 flgs=r-x
l4linux | PH  1 (t:        1) offs=00245000 vaddr=00644000 vend=0072e000
l4linux |                     phys=00644000 ephys=0072e000
l4linux |                     f_sz=0004726b memsz=000ea000 flgs=rw-
l4linux | PH  2 (t:        4) offs=001c6838 vaddr=005c5838 vend=005c585c
l4linux |                     phys=005c5838 ephys=005c585c
l4linux |                     f_sz=00000024 memsz=00000024 flgs=---
l4linux | Starting binary at 0x400000, argc=9 argv=0x80007f84 *argv=0xb1007ff4 argv0=rom/vmlinuz
l4linux | External resolver is at 0xa80006e0
l4linux | ======> L4Linux 2.6 starting... <========
l4linux | Linux version 3.0.0-l4-svn23 (shashi at shashi-desktop) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #62 Wed Oct 5 14:15:28 PDT 201
l4linux | Binary name: rom/vmlinuz
l4linux | Linux kernel command line (8 args): mem=128M earlyprintk=yes showpfexc=1 console=ttyLv0 l4x_rd=rom/drops-rd.rd root=1:0 ramdiskh
l4linux | CPU mapping (l:p)[1]: 0:0
l4linux | Image: 00400000 - 0072e000 [3256 KiB].
l4linux | Areas: Text:     00400000 - 00644000 [2320kB] (a bit longer)
l4linux |        Data:     00644000 - 006635c0 [125kB]
l4linux |        Initdata: 00664000 - 0068c000 [160kB]
l4linux |        BSS:      0068c000 - 0071e000 [584kB]
l4linux | gs=43   fs=43
l4linux | Device scan:
l4linux |   Device: 
l4linux |     IRQ: 00000016 - 00000016
l4linux |     PORT: 0000a000 - 0000a007
l4linux |     PORT: 00009000 - 00009003
l4linux |     PORT: 00008000 - 00008007
l4linux |     PORT: 00007000 - 00007003
l4linux |     PORT: 00006000 - 0000600f
l4linux |     MEM: fdefe400 - fdefe7ff
l4linux |   Device: 
l4linux |     IRQ: 00000010 - 00000010
l4linux |     PORT: 000001f0 - 000001f7
l4linux |     PORT: 000003f6 - 000003f6
l4linux |     IRQ: 0000000e - 0000000e
l4linux |     PORT: 00000170 - 00000177
l4linux |     PORT: 00000376 - 00000376
l4linux |     IRQ: 0000000f - 0000000f
l4linux |     PORT: 00000000 - 00000003
l4linux |   Device: 
l4linux |     IRQ: 00000029 - 00000029
l4linux |     MEM: fe9c0000 - fe9dffff
l4linux |     MEM: fe980000 - fe99ffff
l4linux |     PORT: 0000c800 - 0000c81f
l4linux |     MEM: fe940000 - fe943fff
l4linux |   Device: 
l4linux |     IRQ: 00000028 - 00000028
l4linux |     MEM: fe8c0000 - fe8dffff
l4linux |     MEM: fe880000 - fe89ffff
l4linux |     PORT: 0000c400 - 0000c41f
l4linux |     MEM: fe840000 - fe843fff
l4linux |   Device: 
l4linux |     IRQ: 00000030 - 00000030
l4linux |     MEM: feae0000 - feafffff
l4linux |     PORT: 0000d800 - 0000d81f
l4linux |     MEM: feadc000 - feadffff
l4linux |   Device: 
l4linux |     IRQ: 0000002c - 0000002c
l4linux |     PORT: 0000e000 - 0000e0ff
l4linux |     MEM: feb3c000 - feb3ffff
l4linux |     MEM: feb40000 - feb7ffff
l4linux |   Device: PNP0900
l4linux |     PORT: 000003b0 - 000003bf
l4linux |     PORT: 000003c0 - 000003df
l4linux |     MEM: 000a0000 - 000bffff
l4linux |   Device: PNP0303
l4linux |     PORT: 00000060 - 00000060
l4linux |     PORT: 00000064 - 00000064
l4linux |     IRQ: 00000001 - 00000001
l4linux |     IRQ: 0000000c - 0000000c
l4linux | l4x_fiasco_gdt_entry_offset = 9
rtc     | Date:05.10.2011 Time:22:18:29
l4linux | l4lx_thread_create: Created thread 417 (cpu0) (u:b3000400, v:b3000600, sp:00645ff4)
l4linux | main thread will be 417
l4linux | l4x_register_pointer_section: addr = 00644000 size = 958464
l4linux | section-with-init: virt: 0x644000 to 0x72dfff [936 KiB]
l4linux | section-with-init: Phys: 0x0099e000 to 0x00a88000, Size:   958464
l4linux | l4x_linux_startup: thread 417.
l4linux | Main thread running, waiting...
l4linux | main thread: received startup message.
l4linux | WARNING: Unknown rdmsr: c0010015 at 0x67b7f1
l4linux | l4x_setup_memory: Forcing superpages for main memory
l4linux | l4re_global_env: 0xb1007ecc
l4linux | Main memory size: 128MB
l4linux |     Main memory: virt: 0x800000 to 0x87fffff [131072 KiB]
l4linux |     Main memory: Phys: 0x03800000 to 0x0b800000, Size: 134217728
l4linux | Filling lower ptabs...
l4linux | Page fault: addr = 00002002 pc = 00666d98 (rw)
l4linux | Page fault: addr = 00740002 pc = 00666d98 (rw)
l4linux | Done (1206 entries).
l4linux | l4x_register_pointer_section: addr = 00644000 size = 958464
l4linux |             end: virt: 0x644000 to 0x72dfff [936 KiB]
l4linux |             end: Phys: 0x0099e000 to 0x00a88000, Size:   958464
l4linux | l4x_rd_path: rom/drops-rd.rd
l4linux | Loading: rom/drops-rd.rd
l4linux | INITRD: Size of RAMdisk is 16384KiB
l4linux | RAMdisk from 10800000 to 11800000 [16384KiB]
Linux version 3.0.0-l4-svn23 (shashi at shashi-desktop) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #62 Wed Oct 5 14:15:28 PDT 2011
[Firmware Bug]: TSC doesn't count with P0 frequency!
BIOS-provided physical RAM map:
 L4Lx-Memory: 0000000000000000 - 0000000000400000 (reserved)
 L4Lx-Memory: 0000000000400000 - 000000000072e000 (usable)
 L4Lx-Memory: 000000000072e000 - 0000000000800000 (unusable)
 L4Lx-Memory: 0000000000800000 - 0000000008800000 (usable)
Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel!
last_pfn = 0x8800 max_arch_pfn = 0x100000
init_memory_mapping: 0000000000000000-0000000008800000
INITRD: 10800000 - 11800000
136MB LOWMEM available.
  mapped low ram: 0 - 08800000
  low ram: 0 - 08800000
Zone PFN ranges:
  DMA      0x00000400 -> 0x00000000
  Normal   0x00000000 -> 0x00008800
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000400 -> 0x0000072e
    0: 0x00000800 -> 0x00008800
Allocating PCI resources starting at 8800000 (gap: 8800000:f7800000)
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 33318
Kernel command line: mem=128M earlyprintk=yes showpfexc=1 console=ttyLv0 l4x_rd=rom/drops-rd.rd root=1:0 ramdisk_size=20000 init=/bin/sh
console [earlykdb0] enabled
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Initializing CPU#0
l4linux | Page fault: addr = 00000000 pc = 00477266 (ro)
l4linux | Page fault (non-resolved): pfa=0 pc=477266
l4linux | EX: 0: pc = 00477266 sp = 00645cec trapno = 0xe err/pfa = 0x0 r
Die message: Trap: 14
Trap: 14: 0004 [#1] 
Modules linked in:

Pid: 0, comm: swapper Not tainted 3.0.0-l4-svn23 #62  
EIP: 0000:[<00477266>] EFLAGS: 00010206 CPU: 0
EIP is at kmem_cache_alloc+0x26/0x80
EAX: b3000600 EBX: 00000020 ECX: 00000020 EDX: 00000020
ESI: 00000000 EDI: 00000001 EBP: 00645cfc ESP: 00645ce4
 DS: 0000 ES: 0000 FS: 0023 GS: 0043 SS: 0023
Process swapper (pid: 0, ti=00644000 task=00649000 task.ti=00644000)
Stack:
 00645cec 00000000 00000000 0000000b 0064fd80 00000001 00645d20 00427c15
 00000048 00000000 0000000b 006b290b 00649000 00645d68 00000000 00645d40
 004285a5 00000001 00649258 0000000b 0000000b 00649000 00000000 00645d60
Call Trace:
 [<00427c15>] __sigqueue_alloc+0x45/0xc0
 [<004285a5>] T.954+0x95/0x210
 [<00429bac>] force_sig_info+0x5c/0xb0
 [<00403623>] l4x_deliver_signal+0x43/0x70
 [<004fc0f7>] ? number+0x357/0x370
 [<004fc0f7>] ? number+0x357/0x370
 [<004fc0f7>] ? number+0x357/0x370
 [<00400700>] ? l4x_vcpu_handle_kernel_exc+0x50/0x60
 [<0040488f>] l4x_vcpu_entry_kern+0x54f/0xaa0
 [<004fd99a>] ? vsnprintf+0x2da/0x430
 [<0041fffc>] ? mktime+0x2c/0x90
 [<0041cbe5>] ? console_unlock+0x165/0x1b0
 [<00669c86>] ? xstate_enable_boot_cpu+0x8d/0x210
 [<004fd99a>] ? vsnprintf+0x2da/0x430
 [<00404de0>] ? l4x_vcpu_entry_kern+0xaa0/0xaa0
 [<0040561b>] l4x_vcpu_entry+0x83b/0x1780
 [<0041cbe5>] ? console_unlock+0x165/0x1b0
 [<0041cff3>] ? vprintk+0x143/0x340
 [<0066ffbd>] ? alloc_large_system_hash+0x1ac/0x1d8
 [<00404de0>] ? l4x_vcpu_entry_kern+0xaa0/0xaa0
 [<0067a2e8>] ? xsave_init+0x20/0x22
 [<0067ad7b>] ? cpu_init+0x71/0x76
 [<00667fb9>] ? trap_init+0x224/0x22c
 [<006644d1>] ? start_kernel+0x132/0x294
 [<006641c9>] ? kernel_init+0x102/0x102
 [<00418000>] ? wake_up_new_task+0x50/0x60
 [<00418000>] ? wake_up_new_task+0x50/0x60
 [<0066a17c>] ? i386_start_kernel+0x82/0x8a
 [<00418000>] ? wake_up_new_task+0x50/0x60
 [<006671c3>] ? l4x_linux_startup+0x2d9/0x2e1
 [<00411000>] ? intel_pmu_nhm_enable_all+0x180/0x1a0
Code: 27 00 00 00 00 55 89 e5 83 ec 10 89 5d f4 8b 1d 30 24 66 00 89 75 f8 89 c6 89 7d fc 21 d3 e8 d2 c4 f8 ff 89 45 f0 e8 9a c4 f8 ff <8 
EIP: [<00477266>] kmem_cache_alloc+0x26/0x80 SS:ESP 0023:00645ce4
---[ end trace 4eaa2a86a8e2da22 ]---
Kernel panic - not syncing: Attempted to kill the idle task!
Pid: 0, comm: swapper Tainted: G      D     3.0.0-l4-svn23 #62
Call Trace:
 [<005c382a>] panic+0x57/0x143
 [<0041f797>] do_exit+0x5f7/0x630
 [<0041c844>] ? kmsg_dump+0x34/0xc0
 [<005c392e>] ? printk+0x18/0x1a
 [<0040de32>] oops_end+0x62/0x90
 [<0040def5>] die+0x45/0x70
 [<00477266>] ? kmem_cache_alloc+0x26/0x80
 [<00427c15>] ? __sigqueue_alloc+0x45/0xc0
 [<004285a5>] ? T.954+0x95/0x210
 [<00429bac>] ? force_sig_info+0x5c/0xb0
 [<00403623>] ? l4x_deliver_signal+0x43/0x70
 [<004fc0f7>] ? number+0x357/0x370
 [<004fc0f7>] ? number+0x357/0x370
 [<004fc0f7>] ? number+0x357/0x370
 [<00400700>] ? l4x_vcpu_handle_kernel_exc+0x50/0x60
 [<0040488f>] ? l4x_vcpu_entry_kern+0x54f/0xaa0
 [<004fd99a>] ? vsnprintf+0x2da/0x430
 [<0041fffc>] ? mktime+0x2c/0x90
 [<0041cbe5>] ? console_unlock+0x165/0x1b0
 [<00669c86>] ? xstate_enable_boot_cpu+0x8d/0x210
 [<004fd99a>] ? vsnprintf+0x2da/0x430
 [<00404de0>] ? l4x_vcpu_entry_kern+0xaa0/0xaa0
 [<0040561b>] ? l4x_vcpu_entry+0x83b/0x1780
 [<0041cbe5>] ? console_unlock+0x165/0x1b0
 [<0041cff3>] ? vprintk+0x143/0x340
 [<0066ffbd>] ? alloc_large_system_hash+0x1ac/0x1d8
 [<00404de0>] ? l4x_vcpu_entry_kern+0xaa0/0xaa0
 [<0067a2e8>] ? xsave_init+0x20/0x22
 [<0067ad7b>] ? cpu_init+0x71/0x76
 [<00667fb9>] ? trap_init+0x224/0x22c
 [<006644d1>] ? start_kernel+0x132/0x294
 [<006641c9>] ? kernel_init+0x102/0x102
 [<00418000>] ? wake_up_new_task+0x50/0x60
 [<00418000>] ? wake_up_new_task+0x50/0x60
 [<0066a17c>] ? i386_start_kernel+0x82/0x8a
 [<00418000>] ? wake_up_new_task+0x50/0x60
 [<006671c3>] ? l4x_linux_startup+0x2d9/0x2e1
 [<00411000>] ? intel_pmu_nhm_enable_all+0x180/0x1a0
panic: going to sleep forever, bye
l4linux | panic: going to sleep forever, bye



More information about the l4-hackers mailing list