Fail to compile Linux kernel on L4Linux

Jugwan Eom zugwan at postech.ac.kr
Wed Dec 6 15:27:02 CET 2006


Hi,

I tried compiling Linux (not L4Linux) kernel on L4Linux. But unhandled 
page fault was generated during compiling. I use the ubuntu breezy as a 
root partition.

This is the log.
------------------------
L4 Bootstrapper
  Scaning (nd)/l4/fiasco_org/fiasco -nowait -nokdb -serial_esc -comport 1
  Scaning (nd)/l4/bin_org/sigma0
  Scaning (nd)/l4/bin_org/roottask
  Relocated mbi to [0x5f000-0x5f6d0]
  Loading (nd)/l4/fiasco_org/fiasco
  Loading (nd)/l4/bin_org/sigma0
  Loading (nd)/l4/bin_org/roottask
  find kernel info page...
  found kernel info page at 0x1000
  API Version: (87) experimental
  Sigma0 config    ip:00094be0 sp:00105100
  Roottask config  ip:00120000 sp:00108528
  [00001000-00002000) (nd)/l4/fiasco_org/fiasco
  [00002000-00051dc0) (nd)/l4/fiasco_org/fiasco
  [00051dc0-00059bd0) (nd)/l4/fiasco_org/fiasco
  [0005a000-0005d4de) (nd)/l4/fiasco_org/fiasco
  [0005d4e0-0005f000) (nd)/l4/fiasco_org/fiasco
  [00090000-000993a4) (nd)/l4/bin_org/sigma0
  [0009f000-00100000) BIOS area
  [00100000-00108764) bootstrap
  [00120000-00133670) (nd)/l4/bin_org/roottask
  [00134000-0013e87e) (nd)/l4/bin_org/roottask
  [0013f880-002bda14) (nd)/l4/bin_org/roottask
  [00300000-00301980) (nd)/l4/fiasco_org/fiasco
  [00302000-0038f408) (nd)/l4/fiasco_org/fiasco
  [02000000-028bbb08) Modules Memory
  [2fffc000-ffffffff) Deep Space
  Starting kernel (nd)/l4/fiasco_org/fiasco at 003007e8

Welcome to Fiasco(ia32)!
DD-L4(v2)/x86 microkernel (C) 1998-2006 TU Dresden
Rev: Sun Dec  3 20:42:26 2006 compiled with gcc 3.4.6 for Intel Pentium 4
Performance-critical config option(s) detected:
  CONFIG_ASSEMBLER_IPC_SHORTCUT is off
  CONFIG_NDEBUG is off
  CONFIG_NO_FRAME_PTR is off

Enabling special fully nested mode for PIC
Found Local APIC version 0x14 id 0x00
APIC ESR value before/after enabling: 00000000/00000000
Using the Local APIC timer on vector 3d (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: GenuineIntel (F:1:2:8) Model: Pentium 4 (Willamette/Foster) at 1513 MHz

  64 Entry I TLB (4K or 4M pages)
  64 Entry D TLB (4k or 4M pages)
 12K µ-ops T Cache (8-way associative)
   8 KB L1 D Cache (4-way associative, 64 bytes per line)
 256 KB L2 U Cache (8-way associative, 64 bytes per line)

Freeing init code/data: 20480 bytes (5 pages)

SIGMA0: Hello!
  KIP @ 1000
  Found Fiasco: KIP syscalls: yes
  allocated 4kB for maintainance structures


Roottask.
  Command line found: "(nd)/l4/bin_org/roottask"

  786031kB ( 767MB) total RAM (reported by bootloader)
  718912kB ( 703MB) received RAM from Sigma0
    9388kB (  10MB) 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 ]

Roottask: Loading 10 modules.
#05: loading "(nd)/l4/bin_org/events"
     from [02130000-02175a9a] to [01540000-015491e4][0154a000-0154c934]
     entry at 0005a370 via trampoline page code
     symbols at [2c3fe000-2c400000] (8kB), lines at [2c3f7000-2c3fe000] 
(28kB)
#06: loading "(nd)/l4/bin_org/names --events"
     from [02176000-021b7e64] to [002d0000-002d614a][002d7000-002e3000]
     entry at 0005b378 via trampoline page code
     symbols at [2c3f5000-2c3f7000] (8kB), lines at [2c3ef000-2c3f5000] 
(24kB)
#07: loading "(nd)/l4/bin_org/log --prio 0xA1"
     from [021b8000-021f6961] to [00400000-00406c4a][00407000-00439890]
     entry at 0005c378 via trampoline page code
     symbols at [2c3ed000-2c3ef000] (8kB), lines at [2c3e7000-2c3ed000] 
(24kB)
#08: loading "(nd)/l4/bin_org/dm_phys --events"
     from [021f7000-02283b76] to [01500000-01511faa][01512000-0151c000]
     entry at 0005d37c via trampoline page code
     symbols at [2c3e2000-2c3e7000] (20kB), lines at [2c3d5000-2c3e2000] 
(52kB)
#09: loading "(nd)/l4/bin_org/simple_ts -t 800 --events"
     from [02284000-022d076b] to [01400000-014086aa][01409000-0141b070]
     entry at 0005e384 via trampoline page code
     symbols at [2c3d3000-2c3d5000] (8kB), lines at [2c3cc000-2c3d3000] 
(28kB)
#0a: loading "(nd)/l4/bin_org/rtc"
     from [022d1000-02302cd8] to [01080000-010841e0][01085000-0108a000]
     entry at 0006036c via trampoline page code
     symbols at [2c3ca000-2c3cc000] (8kB), lines at [2c3c5000-2c3ca000] 
(20kB)
#0b: loading "(nd)/l4/bin_org/l4io --noirq"
     from [02303000-02551e7b] to [00b80000-00ba291c][00ba3000-00c0e000]
     entry at 00061378 via trampoline page code
     symbols at [2c376000-2c3c5000] (316kB), lines at 
[2c35c000-2c376000] (104kB)
#0c: loading "(nd)/l4/bin_org/tftp -i"
     from [02552000-0264e6ab] to [01000000-01027dd4][01028000-01061000]
     entry at 00062370 via trampoline page code
     symbols at [2c355000-2c35c000] (28kB), lines at [2c337000-2c355000] 
(120kB)
#0d: loading "(nd)/l4/bin_org/con --l4io --events"
     from [0264f000-027e017c] to [00b00000-00b4d040][00b4e000-00b79000]
     entry at 0006337c via trampoline page code
     symbols at [2c32a000-2c337000] (52kB), lines at [2c2f5000-2c32a000] 
(212kB)
#0e: loading "(nd)/l4/bin_org/loader --events (nd)/l4/bin_org/run 
(nd)/l4/cfg/l4lx26_hd_org.cfg"
     from [027e1000-028bbb08] to [01300000-01324630][01325000-0134f000]
     entry at 000643ac via trampoline page code
     symbols at [2c2ee000-2c2f5000] (28kB), lines at [2c2d5000-2c2ee000] 
(100kB)

names   | Starting thread listening for `exit' events
simplets| Configured for 800 tasks.
rtc     | Date:06.12.2006 Time:14:06:47
con     | Using fast memcpy.
io      | do_args(): Disabling internal IRQ handling.
io      | CPU supports 8 MTRRs. Allocated:
io      |   0: 00000000-20000000 ( 512MB) type WB
io      |   1: 20000000-30000000 ( 256MB) type WB
io      |   2: f8000000-fc000000 (  64MB) type WC
io      | PCI: Using configuration type 1
io      | PCI: Probing PCI hardware
io      | PCI: Probing PCI hardware (bus 00)
io      | PCI: Enabled i801 SMBus device
io      | Transparent bridge - Intel Corporation 82801 PCI Bridge
io      | PCI: No IRQ known for interrupt pin B of device 00:1f.3. 
Please try u
io      : sing pci=biosirq.
io      | 00000000-ffffffff : PCI mem
io      |   ed000000-ed0fffff : Intel Corporation 82557/8/9 [Ethernet 
Pro 100]
io      |   ed800000-ed800fff : Intel Corporation 82557/8/9 [Ethernet 
Pro 100]
io      |   ee000000-efdfffff : PCI Bus #01
io      |     ee000000-eeffffff : nVidia Corporation NV18 [GeForce4 MX 
440 AGP
io      : 8x]
io      |   eff00000-f7ffffff : PCI Bus #01
io      |     f0000000-f7ffffff : nVidia Corporation NV18 [GeForce4 MX 
440 AGP
io      : 8x]
io      |   f8000000-fbffffff : Intel Corporation 82845 845 (Brookdale) 
Chipset
io      :  Host Bridge
io      | 0000-ffff : PCI IO
io      |   0cf8-0cff : PCI conf1
io      |   a400-a43f : Intel Corporation 82801BA/BAM AC'97 Audio
io      |   a800-a8ff : Intel Corporation 82801BA/BAM AC'97 Audio
io      |   b000-b01f : Intel Corporation 82801BA/BAM USB (Hub #2)
io      |   b400-b41f : Intel Corporation 82801BA/BAM USB (Hub #1)
io      |   b800-b80f : Intel Corporation 82801BA IDE U100
io      |   d800-d83f : Intel Corporation 82557/8/9 [Ethernet Pro 100]
io      |   e800-e80f : Intel Corporation 82801BA/BAM SMBus
con     | Character size is 8x14, font has 256 characters
con     | VESA reports 800x600 at 16 1600bpl (039f) [65536kB]
con     | Color mapping: red=11:5 green=5:6 blue=0:5 res=0:0
con     | No supported accelerated graphics card detected
io      | Remapping I/O memory f0000000-f4000000 cached
io      | Setting MTRR 3 to f0000000-f4000000 type WC
con     | Mapped I/O video mem f0000000 => 08000000+000000 [65536kB] via 
l4io
con     | Using MMXEXT for colorspace transform
tftp    | NICs supported: E1000, EEPRO100, NE2000/PCI, PCNET32/PCI, RTL8139,
tftp    |                 Tulip, VIA 86C100
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 0xb03c50 for callbacks.
tftp    | Found eepro100
tftp    | Ethernet addr: 00:03:47:AF:0A:EF
con     | serio: i8042 AUX port at 0x60,0x64 irq 12
con     | serio: i8042 KBD port at 0x60,0x64 irq 1
tftp    |   Address: 141.223.121.156    Netmask: 255.255.255.0
tftp    |    Server: 141.223.121.59     Gateway: 141.223.121.99
con     | input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
con     | input: AT Raw 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 Raw Set 2 keyboard", isa0060/serio0/input0
con     | connect "PC Speaker", isa0061/input0
con     | connect "L4 input event injector", l4/sys
con     | Running as D.02. Video mode is 800x600 at 16.
tftp    | Loading (nd)/l4/bin_org/run [292kB]
loader  | "(nd)/l4/bin_org/run" needs libld-l4.s.so
loader  | Setting libpath to (nd)/l4/bin_org/
loader  | run: Starting application using libld-l4.s.so
loader  | run,#f: Loading binary
tftp    | Loading (nd)/l4/bin_org/libld-l4.s.so [483kB]
loader  | run,#f: Loading ldso
loader  | Capability support not supported.
loader  | run,#f: Starting libld-l4.s.so at 00013890 via 0000cc7c
tftp    | Loading (nd)/l4/cfg/l4lx26_hd_org.cfg [1kB]
loader  | sleeping for 2000 ms
tftp    | File not found: "./libloader.s.so"
tftp    | Loading (nd)/l4/bin_org//./libloader.s.so [652kB]
tftp    | Loading (nd)/l4/lx_org/vmlinuz26 [14007kB]
loader  | vmlinuz26: Starting application using libld-l4.s.so
loader  | vmlinuz26,#10: Loading binary
tftp    | Loading (nd)/l4/bin_org/run [292kB]
con     | vc_loop(): vc[1] running as D.08
con     | vc_open_out(): vc[1] 800x600 at 16, gmode:0x25
run     | contxt_init(): 800x582, cols:100, lines:41, sb_lines:1041
tftp    | Loading (nd)/l4/bin_org/libld-l4.s.so [483kB]
loader  | vmlinuz26,#10: Loading ldso
loader  | Capability support not supported.
loader  | vmlinuz26,#10: Starting libld-l4.s.so at 00013890 via 0000cc70
tftp    | File not found: "./libloader.s.so"
tftp    | Loading (nd)/l4/bin_org/./libloader.s.so [652kB]
tftp    | File not found: "vmlinuz26"
tftp    | TFTP error 1
tftp    | File not found: "(nd)/l4/bin_org/vmlinuz26"
l4lx    | ======> L4Linux 2.6 starting... <========
l4lx    | Linux version 2.6.18-l4 (zugwan at ubuntu) (gcc version 4.1.2 
20060928 (
l4lx    : prerelease) (Ubuntu 4.1.1-13ubuntu5)) #1 Wed Dec 6 19:42:58 
KST 2006
l4lx    | Binary name: vmlinuz26
l4lx    | Kernel command line (2 args): mem=512M root=/dev/hda1
l4lx    | Image: 00400000 - 0070a000 [3112 KiB].
l4lx    | Areas: Text:     00400000 - 0061f000 [2172kB] (a bit longer)
l4lx    |        Data:     0061f000 - 00660824 [262kB]
l4lx    |        Initdata: 00664000 - 00696000 [200kB]
l4lx    |        BSS:      00698000 - 00708a20 [450kB]
l4lx    | l4lx_thread_create: Created thread 10.03 (server)
l4lx    | main thread will be 10.03
l4lx    | l4env_register_pointer_section: addr = 00662000 size = 217088
l4lx    |      sec-w-init: virt: 0x00662000 to 0x00696fff [212 KiB]
l4lx    |      sec-w-init: Number of physical regions: 1, 217088 Bytes
l4lx    |      sec-w-init: 1: Phys: 0x01562000 to 0x01597000, Size:   217088
l4lx    | l4env_linux_startup thread 3.
l4lx    | main thread: received startup message.
l4lx    | Main thread running, waiting...
l4lx    | setup_l4env_memory: Forcing superpages for main memory
l4lx    | Main memory size: 512MB
l4lx    |     Main memory: virt: 0x00800000 to 0x207fffff [524288 KiB]
l4lx    |     Main memory: Number of physical regions: 1, 536870912 Bytes
l4lx    |     Main memory: 1: Phys: 0x01800000 to 0x21800000, Size: 
536870912
l4lx    | Filling lower ptabs...
l4lx    | Done (1139 entries).
l4lx    | l4lx_thread_create: Created thread 10.04 (timer.i0)
l4lx    | l4lx_thread_create: Created thread 10.05 (Idler)
l4lx    | Starting L4FB via CON
con     | vc_loop(): vc[2] running as D.09
l4lx    | l4lx_thread_create: Created thread 10.06 (L4ConInput)
con     | vc_open_out(): vc[2] 800x600 at 16, gmode:0x25
l4lx    | l4fbcon: 800x582 2bypp, size: 947200
l4lx    | l4lx_thread_create: Created thread 10.07 (CON refresher)
l4lx    | l4lx_thread_create: Created thread 10.08 (IRQ14)
l4lx    | l4lx_thread_create: Created thread 10.09 (IRQ15)
l4lx    | l4lx_thread_create: Created thread 10.0a (IRQ5)
l4lx    | L4RM: [PF] write at 0x6b3da310, ip 00446f79, src 10.02
l4lx    | [10.0] l4rm/lib/src/pagefault.c:78:__unknown_pf():
l4lx    |  unhandled page fault

    --PANIC, 'g' for exit------------------------------------IP: 
a00b634d     
(10.00) jdb: bt thread=10.02

backtrace (thread 10.02, fp=afeffcdc, pc=004017de):
  #1 afeffcdc 004017de
  #2 afeffd8c 0040207b
  #3 afeffdb8 00400d32
  #4 afeffe5c 00400e24
  #5 afefff7c 004027ad
  #6 afefffbc a00b88ea : __startup_main + 0x4a
      /home/zugwan/TUDOS/l4/pkg/l4env/lib/src/startup.c:78
  #7 afefffec a00acb2c : l4th_thread_start + 0x7c
      /home/zugwan/TUDOS/l4/pkg/thread/lib/src/create.c:74
  #8 afeffffc a00afd36 : l4th_thread_entry + 0x16
      /home/zugwan/TUDOS/l4/pkg/thread/lib/src/l4.c:93

 --kernel-bt-follows--
  #0 c040176c f00068c0
  #1 c040176c f000d92a
  #2 c04017c8 f000f33a
  #3 6b3da032 f002a383

(10.00) jdb:

----------------------------------
Is there any one give me an advice or has experienced this?
Best regards,

--
 Jugwan Eom








More information about the l4-hackers mailing list