Hello,
I am having trouble getting the ore arping test to work under fiasco or fiasco-ux.
When I run under fiasco-ux:
./fiasco -N -s -l names -l dm_phys -l log -l "l4io --noirq" -l ore -l ore_test_arping
Roottask. Found Fiasco-UX.
64512kB ( 63MB) total RAM (reported by bootloader) 57208kB ( 56MB) received RAM from Sigma0 7628kB ( 8MB) reserved RAM for RMGR Received no I/O ports Attached irqs = [ <!0> 1 2 3 4 5 6 7 8 9 A B C D E F ]
Roottask: Loading 6 modules. #05: loading "names" from [0399a000-039e0a2a] to [002d0000-002d774a][002d8000-002e4000] entry at 0000c060 via trampoline page code symbols at [039ee000-039f0000] (8kB), lines at [039e7000-039ee000] (28kB) #06: loading "dm_phys" from [0391c000-039996f4] to [01500000-0151304a][01514000-0151e000] entry at 0000d060 via trampoline page code symbols at [039e3000-039e7000] (16kB), lines at [039d5000-039e3000] (56kB) #07: loading "log" from [038d9000-0391b69c] to [00400000-00407eaa][00408000-0043a890] entry at 0000e05c via trampoline page code symbols at [039d3000-039d5000] (8kB), lines at [039cc000-039d3000] (28kB) #08: loading "l4io --noirq" from [036f0000-038d8801] to [00b80000-00ba32ce][00ba4000-00bf0000] entry at 0000f068 via trampoline page code symbols at [03994000-039cc000] (224kB), lines at [0397a000-03994000] (104kB) #09: loading "ore" from [034bf000-036ef46b] to [01800000-0182f3e6][01830000-01865000] entry at 0001005c via trampoline page code symbols at [03972000-0397a000] (32kB), lines at [0394e000-03972000] (144kB) #0a: loading "ore_test_arping" from [03411000-034be85e] to [00980000-0099872e][00999000-009b9000] entry at 00011068 via trampoline page code symbols at [03949000-0394e000] (20kB), lines at [03936000-03949000] (76kB)
io | do_args(): Disabling internal IRQ handling. arping | main(): Hello from the ORe arping shared memory client arping | main(): string ipc receive arping | main(): sending with string ipc arping | l4ore_open(): called ore | l4dde_mm_init(): Using ... ore | 16 MB at 0x00100000 (vmem) ore | 16 MB in 1 regions (kmem) ore | 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 at names... ore | main(): Ready for service. arping | ore_lookup_server(): ORe = 9.02 arping | l4ore_open(): descriptor: 0 arping | ore_do_open(): called ore | [9.2] ore/server/src/clients.c:208:setup_connection(): ore | Error: no device found. arping | ore_do_open(): opened. worker = 7FF.7F arping | [A.2] ore/lib/client/lib.c:153:l4ore_open(): arping | Error: ore_open() returned INVALID_ID arping | main(): opened eth0: -1 for 00:00:00:00:00:00 arping | [A.2] ore/examples/arping/main.c:243:main(): arping | Error: could not open eth0! arping | arping | Exiting with 1
Would appreciate any suggestions
Thanks
Jeff
Hello,
When I run under fiasco-ux:
./fiasco -N -s -l names -l dm_phys -l log -l "l4io --noirq" -l ore -l ore_test_arping
First, please add "-n9" to your command line. This enables task 9 (ore) to execute native system calls using int80.
ore | main(): Initialized 1 network devices. ore | Device = lo, IRQ = 0, MAC = 00:00:00:00:00:00
There should be 2 network devices: lo and eth0. The arping test tries to open eth0 and this fails because of the missing device.
Please do a "make cleanall" in your l4/pkg/ore directory. Then "make config" in l4/pkg/ore/server and configure the server to run with Fiasco UX only. Thereafter rebuild the ORe directory. This will compile the ux_net driver into the ORe server, which in turn will provide an eth0 interface.
Note that "make cleanall" also erases configuration files. A subsequent "make" will use the default config from l4/pkg/ore/server/defconfig. By default this builds ORe with a real network driver again. If you are only using UX, you might copy your .config to defconfig so that "make cleanall && make" builds ORe for UX.
So far Bjoern
l4-hackers@os.inf.tu-dresden.de