DDEkit for Linux2.6 from svn

Shakthi Kannan shakthimaan at gmail.com
Thu Jan 1 18:03:55 CET 2009


Hi,

--- On Mon, Oct 27, 2008 at 4:35 AM, Adam Lackorzynski
<adam at os.inf.tu-dresden.de> wrote:
| The GRUB you use does not support the modaddr statement, it's just
| ignored. That's why the overlapping problem. Add -modaddr 0x2000000 to
| the bootstrap command line and it will work.
\--

Sorry for not being able to get back earlier. I have used the above
with svn version 423, and I am making the binaries available under
ore-test.tar.bz2:
http://shakthimaan.com/downloads/trash/ore-test.tar.bz2

When running the following:

 sudo qemu -cdrom cd-image.iso -serial stdio -net
nic,model=rtl8139,vlan=0 -net tap,vlan=0 -m 200

the following is the output on Debian Lenny:

=== OUTPUT ===

$ sudo qemu -cdrom cd-image.iso -serial stdio -net
nic,model=rtl8139,vlan=0 -net tap,vlan=0 -m 200
Could not open '/dev/kqemu' - QEMU acceleration layer not activated

L4 Bootstrapper
  move modules to 2000000 with offset 1d22000
  move module 9 start a0f000 -> 2731000
  move module 8 start 79b000 -> 24bd000
  move module 7 start 528000 -> 224a000
  move module 6 start 4e7000 -> 2209000
  move module 5 start 449000 -> 216b000
  move module 4 start 406000 -> 2128000
  move module 3 start 367000 -> 2089000
  move module 2 start 336000 -> 2058000
  move module 1 start 2de000 -> 2000000
  Scanning /fiasco -serial_esc -comspeed 115200 -comport 1 -nokdb -jdb_cmd=JH
  Scanning /sigma0
  Scanning /roottask
  Bootloader MMAP:
    [        0,     9fc00) RAM (1)
    [    9fc00,     a0000) reserved (2)
    [    e8000,    100000) reserved (2)
    [   100000,   c7f0000) RAM (1)
    [  c7f0000,   c800000) ACPI (3)
    [ fffc0000, 100000000) reserved (2)
  Relocated mbi to [0x5f000-0x5f16e]
  Loading /fiasco
  Loading /sigma0
  Loading /roottask
  find kernel info page...
  found kernel info page at 0x1000
    [     1000,     5efff] Kern   /fiasco
    [    5f000,     5f26b] Root   Multiboot info
    [    9fc00,     9ffff] Arch   BIOS
    [    e8000,     fffff] Arch   BIOS
    [   100000,    10837f] Sigma0 /sigma0
    [   110000,    2acfff] Root   /roottask
    [   2d0000,    2dae5f] Boot   bootstrap
    [   300000,    38fd2f] Kern   /fiasco
    [  2128000,   27cea1d] Root   Modules Memory
    [  c7f0000,   c7fffff] Arch   BIOS
    [ fffc0000,  ffffffff] Arch   BIOS
  API Version: (87) experimental
  Sigma0 config    ip:00103fb8 sp:002daa20
  Roottask config  ip:00110000 sp:00000000
  Starting kernel /fiasco at 003008a0

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 4    []
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 1829 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"

  204351kB ( 199MB) total RAM (reported by bootloader)
  179104kB ( 175MB) received RAM from Sigma0
    8460kB (   9MB) 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: Loading 6 modules.
#05: loading "/names"
     from [02128000-0216aecf] to [002d0000-002d68b7][002d7000-002e2000]
     entry at 0005a060 via trampoline page code
     symbols at [0b7ef000-0b7f1000] (8kB), lines at [0b7e8000-0b7ef000] (28kB)
#06: loading "/dm_phys"
     from [0216b000-0220814c] to [01500000-01513d17][01514000-0151e000]
     entry at 0005b064 via trampoline page code
     symbols at [0b7e3000-0b7e8000] (20kB), lines at [0b7d4000-0b7e3000] (60kB)
#07: loading "/log"
     from [02209000-02249e62] to [00400000-0040702a][00408000-0043a848]
     entry at 0005c060 via trampoline page code
     symbols at [0b7d2000-0b7d4000] (8kB), lines at [0b7cb000-0b7d2000] (28kB)
#08: loading "/l4io"
     from [0224a000-024bc2bb] to [00c20000-00c44ba1][00c45000-00cb3000]
     entry at 0005d060 via trampoline page code
     symbols at [0b775000-0b7cb000] (344kB), lines at
[0b759000-0b775000] (112kB)
#09: loading "/ore"
     from [024bd000-02730a50] to [01800000-0184c082][0184d000-01879000]
     entry at 0005e060 via trampoline page code
     symbols at [0b74b000-0b759000] (56kB), lines at [0b70f000-0b74b000] (240kB)
#0a: loading "/ore_test_arping"
     from [02731000-027cea1e] to [00980000-00998881][00999000-009b0000]
     entry at 0006006c via trampoline page code
     symbols at [0b70a000-0b70f000] (20kB), lines at [0b6f6000-0b70a000] (80kB)

arping  | main(): Hello from the ORe arping shared memory client
arping  | main(): verbosity: 0
arping  | main(): connecting to 'ORe'
arping  | main(): interface: 'eth0'
arping  | main(): verbosity: 0
arping  | main(): string ipc receive
arping  | main(): sending with string ipc
arping  | l4ore_open(): called
arping  | l4ore_open(): descriptor: 0
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      |   f0000000-f1ffffff : Cirrus Logic GD 5446
io      |   f2000000-f2000fff : Cirrus Logic GD 5446
io      |   f2001000-f20010ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/
io      : 8139C+
io      | 0000-ffff : PCI IO
io      |   0cf8-0cff : PCI conf1
io      |   b000-b03f : Intel Corporation 82371AB/EB/MB PIIX4 ACPI
io      |   b100-b11f : Intel Corporation 82371AB/EB/MB PIIX4 ACPI
io      |   c000-c00f : Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
io      |   c100-c1ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
io      | Available IRQs=[ <!0> 1 <!2> 3 <!4> 5 6 7 8 9 a b c d e f 10 11 ]
ore     | Softirq daemon starting
ore     | Initializing DDE page cache
ore     | unimplemented: pci_fixup_device
ore     | unimplemented: pci_fixup_device
ore     | _add_ddekit_device: Detected device: 8086:7000
ore     | unimplemented: pci_fixup_device
ore     | unimplemented: pci_fixup_device
ore     | _add_ddekit_device: Detected device: 8086:7010
ore     | unimplemented: pci_fixup_device
ore     | unimplemented: pci_fixup_device
ore     | _add_ddekit_device: Detected device: 8086:7113
ore     | unimplemented: pci_fixup_device
ore     | unimplemented: pci_fixup_device
ore     | _add_ddekit_device: Detected device: 1013:b8
ore     | unimplemented: pci_fixup_device
ore     | unimplemented: pci_fixup_device
ore     | _add_ddekit_device: Detected device: 10ec:8139
ore     | <6>Intel(R) PRO/1000 Network Driver - version 7.3.15-k2
ore     | <6>Copyright (c) 1999-2006 Intel Corporation.
ore     | unimplemented: pci_fixup_device
ore     | unimplemented: pci_fixup_device
ore     | unimplemented: pci_fixup_device
ore     | unimplemented: pci_fixup_device
ore     | unimplemented: pci_fixup_device
ore     | l4dde26_register_rx_callback: New rx callback @ 0x018012f0.
ore     | main(): initialized DDELinux2.6
ore     | main(): loopback: 0
ore     | <6>device lo entered promiscuous mode
ore     | main(): Initialized 1 network devices.
ore     | Device =   lo, IRQ =  0, MAC = 00:00:00:00:00:00
ore     | main(): Registering 'ORe' at names...
ore     | main(): Ready for service.
arping  | ore_lookup_server(): ORe server ORe = 9.02
arping  | ore_do_open(): called
ore     | [9.2] ore/server/src/clients.c:215:setup_connection():
ore     |  Error: no device found.
arping  | ore_do_open(): opened. worker = 7FF.7F
arping  | [A.2] ore/lib/client/lib.c:181:l4ore_open():
arping  |  Error: ore_open() returned INVALID_ID
arping  | main(): opened eth0: -1 for 00:00:64:64:65:6B
arping  | [A.2] ore/examples/arping/main.c:303:main():
arping  |  Error: could not open eth0!
arping  |
arping  | Exiting with 1

=== END ===

Execution of ore with qemu with your provided image works fine though:
http://os.inf.tu-dresden.de/~doebel/downloads/ore_image.iso

Appreciate any inputs,

Thanks!

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com




More information about the l4-hackers mailing list