issue while running l4linux on fiasco_x86_32

Stefan Kalkowski stefan.kalkowski at ...1...
Mon May 27 11:22:03 CEST 2013


Hi,

just for completeness:

my mail was a bit overhasty. Raja obviously works on top of x86, where
the USB driver normally isn't used as NIC driver. Therefore, my analysis
was wrong. Nevertheless, I can see from the log output, that he/she
(sorry for my lack of knowledge) uses an older version of Genode.
Nowadays, the L4Linux run script uses the KDB serial driver, and all
logging outout, as well as the Linux kernel console gets printed to the
same serial line. That output would be helpful, to see what NIC driver
is used, or what gets wrong on behalf of the drivers. Alternatively a
look into the "kdb.log" file would help.

On 05/24/2013 05:41 PM, Alexander Tarasikov wrote:
> Hi! Could you please explain why Genode freezes silently in this case
> instead of throwing
> a runtime config parsing error?

Init will throw an "Unavailable" exception to its children, when they
ask for a service, for which no route is existent. In that case the NIC
driver in L4Linux would exit its probing routine, and everything is fine.
But if there is a NIC driver, and init's configuration claims it
provides the service "NIC", then the thread in init, that serves the
parent interface for the L4Linux task, will block until the service
"NIC" becomes available, as soon as L4Linux tries to open that session.
The result is, what I've observed in issue 744. If you state a service
will be provided, but it doesn't get announced, your dependent clients
will block forever.

Regards
Stefan

> 
> 
> 2013/5/24 Stefan Kalkowski <stefan.kalkowski at ...1...
> <mailto:stefan.kalkowski at ...1...>>
> 
>     Hi Raja,
> 
>     to me it seems you've hit a recent bug, have a look at issue #744:
> 
>       https://github.com/genodelabs/genode/issues/744
> 
>     On Genode's current master branch, that issue is already fixed. Could
>     you please update your repository, and give it a try?
> 
>     Regards
>     Stefan
> 
>     On 05/24/2013 07:39 AM, Raja Sekhar wrote:
>     >
>     > Hello to all,
>     >
>     >                    I'm trying to run l4linux on fiasco_x86_32 on QEMU.
>     > But i'm not getting anything on QEMU except 2 penguins... and i'm
>     > getting a console messages as......
>     >
>     >
>     ########################################################################################################################################################
>     > spawn qemu-system-i386 -no-kvm-irqchip -no-kvm -m 128 -serial
>     > file:kdb.log -serial mon:stdio -smp 2,cores=2 -net nic,model=e1000
>     -net
>     > user -cdrom var/run/l4linux.iso
>     > [    0.000000] Linux version 3.5.0-l4+ (rajasekhar at ...193...) (gcc version
>     > 4.7.2 (GCC) ) #15 SMP Fri May 24 10:47:26 IST 2013
>     > [    0.000000] e820: BIOS-provided physical RAM map:
>     > [    0.000000] L4Lx-Memory: [mem
>     0x0000000000000000-0x0000000000400fff]
>     > reserved
>     > [    0.000000] L4Lx-Memory: [mem
>     0x0000000000401000-0x0000000000838fff]
>     > usable
>     > [    0.000000] L4Lx-Memory: [mem
>     0x0000000000839000-0x000000004fffffff]
>     > unusable
>     > [    0.000000] L4Lx-Memory: [mem
>     0x0000000050000000-0x0000000053ffffff]
>     > usable
>     > [    0.000000] Notice: NX (Execute Disable) protection missing in CPU!
>     > [    0.000000] e820: last_pfn = 0x54000 max_arch_pfn = 0x100000
>     > [    0.000000] init_memory_mapping: [mem 0x00000000-0x53ffffff]
>     > [    0.000000] INITRD: 00a00000 - 00d86000
>     > [    0.000000] 1344MB LOWMEM available.
>     > [    0.000000]   mapped low ram: 0 - 54000000
>     > [    0.000000]   low ram: 0 - 54000000
>     > [    0.000000] Zone ranges:
>     > [    0.000000]   DMA      [mem 0x00401000-0xffffffff]
>     > [    0.000000]   Normal   [mem 0x00000000-0x53ffffff]
>     > [    0.000000] Movable zone start for each node
>     > [    0.000000] Early memory node ranges
>     > [    0.000000]   node   0: [mem 0x00401000-0x00838fff]
>     > [    0.000000]   node   0: [mem 0x50000000-0x53ffffff]
>     > [    0.000000] Using APIC driver default
>     > [    0.000000] Intel MultiProcessor Specification v1.0
>     > [    0.000000]     Virtual Wire compatibility mode.
>     > [    0.000000] Processors: 2
>     > [    0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs
>     > [    0.000000] e820: [mem 0x54000000-0xffffffff] available for PCI
>     devices
>     > [    0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2
>     > nr_node_ids:1
>     > [    0.000000] PERCPU: Embedded 11 pages/cpu @53565000 s23296 r0
>     d21760
>     > u45056
>     > [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
>     > Total pages: 14784
>     > [    0.000000] Kernel command line: mem=64M console=ttyS0
>     > l4x_rd=initrd.gz l4x_cpus=2 l4x_cpus_map=0,1
>     > [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
>     > [    0.000000] Dentry cache hash table entries: 8192 (order: 3,
>     32768 bytes)
>     > [    0.000000] Inode-cache hash table entries: 4096 (order: 2,
>     16384 bytes)
>     > [    0.000000] __ex_table already sorted, skipping sort
>     > [    0.000000] Initializing CPU#0
>     > [    0.000000] Memory: 54700k/1376256k available (2428k kernel code,
>     > 10900k reserved, 1047k data, 156k init, 0k highmem)
>     > [    0.000000] virtual kernel memory layout:
>     > [    0.000000]     fixmap  : 0x5c101000 - 0x5c1e8000   ( 924 kB)
>     > [    0.000000]     vmalloc : 0x54000000 - 0x5c000000   ( 128 MB)
>     > [    0.000000]     lowmem  : 0x00000000 - 0x54000000   (1344 MB)
>     > [    0.000000]       .init : 0x0077b000 - 0x007a2000   ( 156 kB)
>     > [    0.000000]       .data : 0x0065f1ac - 0x00764ea4   (1047 kB)
>     > [    0.000000]       .text : 0x00400000 - 0x0065f1ac   (2428 kB)
>     > [    0.000000] Hierarchical RCU implementation.
>     > [    0.000000] NR_IRQS:2304 nr_irqs:2304 192
>     > [    0.000000] Console: colour dummy device 80x25
>     > [    0.000000] console [ttyS0] enabled
>     > [    0.000000] l4timer: Using IRQ65
>     > [    0.000000] Detected 3191.899 MHz processor.
>     > [    0.010436] Calibrating delay loop (skipped), value calculated
>     using
>     > timer frequency.. 6383.79 BogoMIPS (lpj=31918990)
>     > [    0.024002] pid_max: default: 32768 minimum: 301
>     > [    0.041305] Mount-cache hash table entries: 512
>     > [    0.056070] CPU: Physical Processor ID: 0
>     > [    0.060068] CPU: Processor Core ID: 0
>     > [    0.070000] CPU0: Intel QEMU Virtual CPU version 1.0 stepping 03
>     > [    0.085843] Performance Events: Broken PMU hardware detected, using
>     > software events only.
>     > [    0.122737] Booting Node   0, Processors [    0.020000]
>     Initializing
>     > CPU#1
>     >  #1 Ok.
>     > [    0.020000] calibrate_delay_direct() failed to get a good estimate
>     > for loops_per_jiffy.
>     > [    0.020000] Probably due to long platform interrupts. Consider
>     using
>     > "lpj=" boot option.
>     > [    0.973056] Brought up 2 CPUs
>     > [    1.000112] Total of 2 processors activated (64712.47 BogoMIPS).
>     > [    1.034688] devtmpfs: initialized
>     > [    1.055412] NET: Registered protocol family 16
>     > [    1.087708] bio: create slab <bio-0> at 0
>     > [    1.094463] SCSI subsystem initialized
>     > [    1.105275] Switching to clocksource l4kipclk
>     > [    1.149530] NET: Registered protocol family 2
>     > [    1.152000] IP route cache hash table entries: 1024 (order: 0, 4096
>     > bytes)
>     > [    1.171833] TCP established hash table entries: 2048 (order: 2,
>     16384
>     > bytes)
>     > [    1.182288] TCP bind hash table entries: 2048 (order: 2, 16384
>     bytes)
>     > [    1.190346] TCP: Hash tables configured (established 2048 bind
>     2048)
>     > [    1.198648] TCP: reno registered
>     > [    1.200000] UDP hash table entries: 256 (order: 1, 8192 bytes)
>     > [    1.200000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
>     > [    1.221067] NET: Registered protocol family 1
>     > [    1.229921] Unpacking initramfs...
>     > [    1.303639] INITRD: Freeing memory.
>     > [    1.402667] l4x: Checks passed.
>     > [    1.407667] platform rtc_cmos: registered platform RTC device
>     (no PNP
>     > device found)
>     > [    1.427418] msgmni has been set to 106
>     > [    1.440066] Block layer SCSI generic (bsg) driver version 0.4
>     loaded
>     > (major 253)
>     > [    1.450216] io scheduler noop registered
>     > [    1.456057] io scheduler deadline registered
>     > [    1.462793] io scheduler cfq registered (default)
>     > [    1.474577] mousedev: PS/2 mouse device common for all mice
>     > [    1.483294] ttyS0 at MMIO 0x1 (irq = 64) is a L4
>     > [    1.493200] rtc-genode rtc-genode.0: rtc core: registered
>     rtc-genode
>     > as rtc0
>     > [    2.404473] Switching to clocksource tsc
>     > [    7.977091] genode_fb:framebuffer at 0x00c00000, size 4096k
>     > [    8.010534] genode_fb: mode is 1024x768x16
>     > [    8.098633] Console: switching to colour frame buffer device 128x48
>     > [    8.223119] input: Genode input key as
>     /devices/virtual/input/input0
>     > [    8.255879] input: Genode input mouse as
>     /devices/virtual/input/input1
>     > [    8.295787] Genode blk-file driver initialized
>     >
>     ########################################################################################################################################################
>     >
>     > can u please give me the solution........
>     >
>     >
>     > *_Thanks,_*
>     > Raja Sekhar
>     >
>     >
>     >
>     ------------------------------------------------------------------------------
>     > Try New Relic Now & We'll Send You this Cool Shirt
>     > New Relic is the only SaaS-based application performance
>     monitoring service
>     > that delivers powerful full stack analytics. Optimize and monitor your
>     > browser, app, & servers with just a few lines of code. Try New Relic
>     > and get this awesome Nerd Life shirt!
>     http://p.sf.net/sfu/newrelic_d2d_may
>     >
>     >
>     >
>     > _______________________________________________
>     > Genode-main mailing list
>     > Genode-main at lists.sourceforge.net
>     <mailto:Genode-main at lists.sourceforge.net>
>     > https://lists.sourceforge.net/lists/listinfo/genode-main
>     >
> 
>     --
>     Stefan Kalkowski
>     Genode Labs
> 
>     http://www.genode-labs.com/ · http://genode.org/
> 
>     ------------------------------------------------------------------------------
>     Try New Relic Now & We'll Send You this Cool Shirt
>     New Relic is the only SaaS-based application performance monitoring
>     service
>     that delivers powerful full stack analytics. Optimize and monitor your
>     browser, app, & servers with just a few lines of code. Try New Relic
>     and get this awesome Nerd Life shirt!
>     http://p.sf.net/sfu/newrelic_d2d_may
>     _______________________________________________
>     Genode-main mailing list
>     Genode-main at lists.sourceforge.net
>     <mailto:Genode-main at lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/genode-main
> 
> 
> 
> 
> -- 
> Regards, Alexander
> 
> 
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service 
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> 
> 
> 
> _______________________________________________
> Genode-main mailing list
> Genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
> 

-- 
Stefan Kalkowski
Genode Labs

http://www.genode-labs.com/ · http://genode.org/




More information about the users mailing list