running cpu_reserve examples
Andre Puschmann
andre.puschmann at imms.de
Mon Jun 29 15:54:36 CEST 2009
Hi list,
I am playing with the examples in package cpu_reserve (i.e. res_rt_sched).
However, for some reason the code doesn't work as expected.
In the worker-thread the function l4_rt_next_period() returns error nr
32 which is an IPC error, I guess its waiting for a msg from the
reservation server here.
Here is the sample output (qemu log):
Welcome to Fiasco(ia32)!
DD-L4(v2)/ia32 microkernel (C) 1998-2009 TU Dresden
Rev: r429 compiled with gcc 4.2.4 for Intel Pentium []
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: Pentium II (Klamath) at 2528 MHz
32 KB L1 I Cache (8-way associative, 64 bytes per line)
32 KB L1 D Cache (8-way associative, 64 bytes per line)
2048 KB L2 U Cache (8-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: "(nd)/modules/roottask"
260656kB ( 254MB) total RAM (reported by bootloader)
232760kB ( 228MB) received RAM from Sigma0
6604kB ( 7MB) 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 "(nd)/modules/l4io"
from [0212b000-02398e9a] to [00c20000-00c443b5][00c45000-00cb3000]
entry at 0005a06c via trampoline page code
symbols at [0ea31000-0ea87000] (344kB), lines at [0ea17000-0ea31000] (104kB)
#06: loading "(nd)/modules/dm_phys"
from [02399000-02434537] to [01500000-015138d7][01514000-0151e000]
entry at 0005b070 via trampoline page code
symbols at [0ea12000-0ea17000] (20kB), lines at [0ea04000-0ea12000] (56kB)
#07: loading "(nd)/modules/names"
from [02435000-0247685b] to [002d0000-002d67b7][002d7000-002e2000]
entry at 0005c06c via trampoline page code
symbols at [0ea02000-0ea04000] (8kB), lines at [0e9fc000-0ea02000] (24kB)
#08: loading "(nd)/modules/log"
from [02477000-024b5702] to [00400000-00406eca][00407000-00439828]
entry at 0005d06c via trampoline page code
symbols at [0e9fa000-0e9fc000] (8kB), lines at [0e9f4000-0e9fa000] (24kB)
#09: loading "(nd)/modules/cpu_reserved"
from [024b6000-0256af2c] to [009b0000-009cc631][009cd000-009e4000]
entry at 0005e074 via trampoline page code
symbols at [0e9ef000-0e9f4000] (20kB), lines at [0e9da000-0e9ef000] (84kB)
#0a: loading "(nd)/modules/res_rt_sched"
from [0256b000-02601c8b] to [01000000-01017a61][01018000-0102f000]
entry at 00060074 via trampoline page code
symbols at [0e9d5000-0e9da000] (20kB), lines at [0e9c3000-0e9d5000] (72kB)
cpu_rese| Scheduling granularity: 1000�s
res_rt_s| main(): Using cpu reservation server
res_rt_s| [A.3] cpu_reserve/examples/res_rt_sched/main.c:55:worker():
res_rt_s| Error: l4_rt_next_period(): Unknown (unregistered) error
res_rt_s| [A.3] cpu_reserve/examples/res_rt_sched/main.c:68:worker():
res_rt_s| Error: l4_rt_next_period(): Unknown (unregistered) error
res_rt_s| [A.3] cpu_reserve/examples/res_rt_sched/main.c:68:worker():
...
Any ideas what I am doing wrong? Thanks in advance.
Best regards,
Andre
More information about the l4-hackers
mailing list