[Letux-kernel] Debugging 4.11-rc6 on GTA04

H. Nikolaus Schaller hns at goldelico.com
Fri Apr 14 18:52:26 CEST 2017


> Am 13.04.2017 um 18:59 schrieb Andreas Kemnade <andreas at kemnade.info>:
> Hi,
> On Thu, 13 Apr 2017 17:55:12 +0200
> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
>> What I have finally found after numerous hours trying different
>> combinations is that my problems seem to come from these two
>> feature branches:
>> extern/bno055
>> extern/mvduin/patch/tiler-fbdev
>> If I remove both I can merge all others and get device operation as
>> expected. So the musb effects are side-effects of something else.
>> Why the bno055 driver makes problems isn't obvious at all. Maybe it
>> is something with our iio-inputbridge.
> I have also seen kernel oopses regarding bno. But of course not
> reproducable. That would be too nice.

Looks as if I have fixed BNO and TILER.

It boots now with only one warning only, after starting X11 (occurs only once):

letux login: [   52.650482] ------------[ cut here ]------------
[   52.656127] WARNING: CPU: 0 PID: 2409 at drivers/gpu/drm/omapdrm/omap_gem.c:938 omap_gem_put_paddr+0x30/0x60 [omapdrm]
[   52.669342] Modules linked in: bnep bluetooth usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs ipv6 arc4 wl18xx wlcore mac80211 cfg80211 bq27xxx_battery omapdrm drm_kms_helper cfbfillrect syscopyarea cfbimgblt sysfillrect panel_tpo_td028ttec1 sysimgblt fb_sys_fops cfbcopyarea drm snd_soc_simple_card snd_soc_simple_card_utils snd_soc_omap_twl4030 encoder_opa362 twl4030_madc_hwmon wwan_on_off snd_soc_gtm601 pwm_omap_dmtimer connector_analog_tv generic_adc_battery pwm_bl extcon_gpio omap3_isp w1_bq27000 videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_core wlcore_sdio ov9650 omap_hdq v4l2_common omap2430 bmp280_i2c bmg160_i2c at24 bmp280 videodev bmg160_core nvmem_core phy_twl4030_usb bmc150_magn_i2c bmc150_accel_i2c tsc2007 bmc150_magn snd_soc_omap_mcbsp bmc150_accel_core leds_tca6507
[   52.746185]  media industrialio_triggered_buffer bno055 snd_soc_omap kfifo_buf musb_hdrc gpio_twl4030 snd_pcm_dmaengine snd_soc_twl4030 twl4030_madc twl4030_charger twl4030_vibra twl4030_pwrbutton industrialio ehci_omap omapdss
[   52.770324] CPU: 0 PID: 2409 Comm: Xorg Tainted: G        W       4.11.0-rc6-letux+ #966
[   52.778839] Hardware name: Generic OMAP36xx (Flattened Device Tree)
[   52.785491] [<c010f378>] (unwind_backtrace) from [<c010b8fc>] (show_stack+0x10/0x14)
[   52.793670] [<c010b8fc>] (show_stack) from [<c043e080>] (dump_stack+0x98/0xd0)
[   52.801300] [<c043e080>] (dump_stack) from [<c012f458>] (__warn+0xd0/0x100)
[   52.808654] [<c012f458>] (__warn) from [<c012f52c>] (warn_slowpath_null+0x1c/0x24)
[   52.816741] [<c012f52c>] (warn_slowpath_null) from [<bf3a50e8>] (omap_gem_put_paddr+0x30/0x60 [omapdrm])
[   52.826965] [<bf3a50e8>] (omap_gem_put_paddr [omapdrm]) from [<bf3a40c4>] (omap_framebuffer_unpin+0x58/0x6c [omapdrm])
[   52.838531] [<bf3a40c4>] (omap_framebuffer_unpin [omapdrm]) from [<bf378468>] (drm_atomic_helper_cleanup_planes+0x48/0x50 [drm_kms_helper])
[   52.851837] [<bf378468>] (drm_atomic_helper_cleanup_planes [drm_kms_helper]) from [<bf3a1498>] (omap_atomic_complete+0x64/0xc4 [omapdrm])
[   52.864929] [<bf3a1498>] (omap_atomic_complete [omapdrm]) from [<bf3a1ea8>] (omap_atomic_commit+0x1bc/0x1e0 [omapdrm])
[   52.876373] [<bf3a1ea8>] (omap_atomic_commit [omapdrm]) from [<bf37bc1c>] (drm_atomic_helper_set_config+0x50/0xa0 [drm_kms_helper])
[   52.889434] [<bf37bc1c>] (drm_atomic_helper_set_config [drm_kms_helper]) from [<bf2da1c0>] (drm_mode_set_config_internal+0x4c/0xcc [drm])
[   52.902923] [<bf2da1c0>] (drm_mode_set_config_internal [drm]) from [<bf2da928>] (drm_mode_setcrtc+0x354/0x430 [drm])
[   52.914428] [<bf2da928>] (drm_mode_setcrtc [drm]) from [<bf2d3dfc>] (drm_ioctl+0x2f8/0x3c4 [drm])
[   52.923980] [<bf2d3dfc>] (drm_ioctl [drm]) from [<c0282df0>] (vfs_ioctl+0x20/0x34)
[   52.931976] [<c0282df0>] (vfs_ioctl) from [<c02837b4>] (do_vfs_ioctl+0x82c/0x93c)
[   52.939880] [<c02837b4>] (do_vfs_ioctl) from [<c0283910>] (SyS_ioctl+0x4c/0x74)
[   52.947601] [<c0283910>] (SyS_ioctl) from [<c0107040>] (ret_fast_syscall+0x0/0x1c)
[   52.962799] ---[ end trace b425896c1d5a61a2 ]---

And a similar message on poweroff.

Otherwise it seems to work for me (but haven't tested much yet).

New binaries/etc. at:



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170414/11f26db7/attachment.asc>

More information about the Letux-kernel mailing list