[Letux-kernel] QtMoko on Pyra...

H. Nikolaus Schaller hns at goldelico.com
Tue Mar 6 12:07:06 CET 2018

I tried to run the latest QtMoko on the Pyra, but all I get are strange kernel exceptions
during boot and before I can login:

The interesting thing is that it is the "qpe" process (i.e. QtMoko) which should not
really be possible that a user-space process can make such trouble.

I have even tried with creating a new SD card with a minimal wheezy first
and then apt-get installing letux-qtmoko, but it fails at the moment where the installation
process is configuring (and starting) the qpe process...

So this means that there is something in the qpe binary which fails on an otherwise
well working OMAP5/Pyra kernel and user-space.

The same rootfs image works on OMAP3 (GTA04 and OpenPandora).

An excerpt of the log is attached.

Any ideas/hints what drivers/bus/omap_l3_noc.c is doing and what an l3_interrupt_handler
is doing and why it can fail?

Another observation is that the cursor on the MIPI panel is blinking, but irregularily
and somehow synced to the console log activities.

Next I will try to stop qpe from being launched at boot time and run it through strace
or gdb.

BR and thanks,

[   47.252602] ------------[ cut here ]------------
[   47.257511] WARNING: CPU: 0 PID: 3555 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x220/0x324
[   47.267446] 44000000.ocp:L3 Custom Error: MASTER MPU TARGET DMM1 (Read): Data Access in User mode during Functional access
[   47.279096] Modules linked in: bnep rfcomm bluetooth ecdh_generic usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs ipv6 arc4 wl18xx wlcore mac80211 omapdrm drm_kms_helper cfbfillrect syscopyarea cfbimgblt sysfillrect sysimgblt cfg80211 fb_sys_fops cfbcopyarea drm drm_panel_orientation_quirks dwc3 panel_boe_w677l snd_soc_omap_hdmi_audio snd_soc_dmic omapdss snd_soc_omap_abe_twl6040 cec encoder_tpd12s015 connector_hdmi leds_gpio snd_soc_twl6040 omapdss_base wwan_on_off pwm_bl pwm_omap_dmtimer generic_adc_battery ehci_omap wlcore_sdio dwc3_omap ina2xx snd_soc_ts3a227e bq27xxx_battery_i2c bq27xxx_battery bq2429x_charger leds_is31fl319x tsc2007 at24 twl6040_vibra tca8418_keypad as5013 bmg160_i2c bmc150_magn_i2c palmas_gpadc bmc150_accel_i2c bmg160_core palmas_pwrbutton bmc150_magn bmc150_accel_core
[   47.354545]  gpio_twl6040 bno055 industrialio_triggered_buffer usb3503 bmp280_i2c kfifo_buf w2cbw003_bluetooth bmp280 industrialio snd_soc_omap_mcpdm snd_soc_omap_mcbsp snd_soc_omap snd_pcm_dmaengine
[   47.373319] CPU: 0 PID: 3555 Comm: qpe Not tainted 4.16.0-rc4-letux+ #2093
[   47.380588] Hardware name: Generic OMAP5 (Flattened Device Tree)
[   47.386964] [<c010f5a4>] (unwind_backtrace) from [<c010b968>] (show_stack+0x10/0x14)
[   47.395128] [<c010b968>] (show_stack) from [<c06ed3d0>] (dump_stack+0x7c/0x9c)
[   47.402745] [<c06ed3d0>] (dump_stack) from [<c012d9e0>] (__warn+0xd8/0x108)
[   47.410093] [<c012d9e0>] (__warn) from [<c012da44>] (warn_slowpath_fmt+0x34/0x44)
[   47.417988] [<c012da44>] (warn_slowpath_fmt) from [<c041fc64>] (l3_interrupt_handler+0x220/0x324)
[   47.427348] [<c041fc64>] (l3_interrupt_handler) from [<c01739b4>] (__handle_irq_event_percpu+0xa8/0x264)
[   47.437352] [<c01739b4>] (__handle_irq_event_percpu) from [<c0173b88>] (handle_irq_event_percpu+0x18/0x54)
[   47.447531] [<c0173b88>] (handle_irq_event_percpu) from [<c0173bfc>] (handle_irq_event+0x38/0x5c)
[   47.456885] [<c0173bfc>] (handle_irq_event) from [<c0177434>] (handle_fasteoi_irq+0xa8/0x124)
[   47.465879] [<c0177434>] (handle_fasteoi_irq) from [<c0172e08>] (generic_handle_irq+0x18/0x28)
[   47.474963] [<c0172e08>] (generic_handle_irq) from [<c0173340>] (__handle_domain_irq+0x8c/0xb4)
[   47.484134] [<c0173340>] (__handle_domain_irq) from [<c041d2f0>] (gic_handle_irq+0x50/0x98)
[   47.492949] [<c041d2f0>] (gic_handle_irq) from [<c0101df0>] (__irq_usr+0x50/0x80)
[   47.500836] Exception stack(0xed885fb0 to 0xed885ff8)
[   47.506182] 5fa0:                                     002e7900 b470a1e8 02800000 02800000
[   47.514831] 5fc0: 002e7900 002b10f0 000003d0 00000006 befaf460 002b1108 002b2502 002b113c
[   47.523477] 5fe0: b470a1ec befaf320 b5eb25fc b5eb4174 20000010 ffffffff
[   47.530474] ---[ end trace f9ac44d41cce051c ]---
[   47.535568] ------------[ cut here ]------------

More information about the Letux-kernel mailing list