Repository navigation
Description
After upgrading to the latest kernel release on Raspian Stretch, on my Rpi 3b with dtoverlay=vc4-kms-v3d driver, I am getting a steady stream of trace dumps in kernel.log or dmesg when running Weston or kwin_wayland compositors with xwayland.
Seems more of a nuisance for now, but the log file file grows in size quickly. Are the Tainted messages supposed to be there or is there away to keep them from writing continuously to the log?
[31687.060180] ------------[ cut here ]------------
[31687.060221] WARNING: CPU: 0 PID: 29974 at kernel/irq/manage.c:527 __enable_irq+0x54/0x80
[31687.060226] Unbalanced enable for IRQ 40
[31687.060231] Modules linked in: cmac bnep hci_uart btbcm bluetooth evdev joydev panel_raspberrypi_touchscreen hid_logitech_hidpp vc4 drm_kms_helper brcmfmac brcmutil drm cfg80211 snd_soc_core snd_compress rfkill snd_pcm_dmaengine syscopyarea sysfillrect sysimgblt fb_sys_fops snd_bcm2835 snd_pcm i2c_gpio i2c_algo_bit snd_timer snd i2c_bcm2835 bcm2835_gpiomem fixed uio_pdrv_genirq uio hid_logitech_dj ip_tables x_tables ipv6
[31687.060399] CPU: 0 PID: 29974 Comm: kwin_wayland Tainted: G W 4.9.80-v7+ #1098
[31687.060404] Hardware name: BCM2835
[31687.060432] [<8010fa48>] (unwind_backtrace) from [<8010c058>] (show_stack+0x20/0x24)
[31687.060449] [<8010c058>] (show_stack) from [<80457a04>] (dump_stack+0xd4/0x118)
[31687.060468] [<80457a04>] (dump_stack) from [<8011d31c>] (__warn+0xf8/0x110)
[31687.060481] [<8011d31c>] (__warn) from [<8011d37c>] (warn_slowpath_fmt+0x48/0x50)
[31687.060495] [<8011d37c>] (warn_slowpath_fmt) from [<80175da8>] (__enable_irq+0x54/0x80)
[31687.060512] [<80175da8>] (__enable_irq) from [<80175e18>] (enable_irq+0x44/0x7c)
[31687.060594] [<80175e18>] (enable_irq) from [<7f499c40>] (vc4_irq_postinstall+0x24/0x40 [vc4])
[31687.060713] [<7f499c40>] (vc4_irq_postinstall [vc4]) from [<7f49c8f0>] (vc4_v3d_runtime_resume+0x58/0x60 [vc4])
[31687.060784] [<7f49c8f0>] (vc4_v3d_runtime_resume [vc4]) from [<8050391c>] (pm_generic_runtime_resume+0x3c/0x48)
[31687.060802] [<8050391c>] (pm_generic_runtime_resume) from [<80507724>] (__genpd_runtime_resume+0x3c/0x9c)
[31687.060818] [<80507724>] (__genpd_runtime_resume) from [<805091f4>] (genpd_runtime_resume+0xd8/0x1a4)
[31687.060832] [<805091f4>] (genpd_runtime_resume) from [<80504eb4>] (__rpm_callback+0x48/0x98)
[31687.060844] [<80504eb4>] (__rpm_callback) from [<80504f34>] (rpm_callback+0x30/0x90)
[31687.060855] [<80504f34>] (rpm_callback) from [<80506320>] (rpm_resume+0x4bc/0x704)
[31687.060868] [<80506320>] (rpm_resume) from [<805065d8>] (__pm_runtime_resume+0x70/0x9c)
[31687.060931] [<805065d8>] (__pm_runtime_resume) from [<7f49678c>] (vc4_submit_cl_ioctl+0x160/0x954 [vc4])
[31687.061275] [<7f49678c>] (vc4_submit_cl_ioctl [vc4]) from [<7f310c60>] (drm_ioctl+0x20c/0x428 [drm])
[31687.061522] [<7f310c60>] (drm_ioctl [drm]) from [<80283f68>] (do_vfs_ioctl+0xac/0x820)
[31687.061540] [<80283f68>] (do_vfs_ioctl) from [<80284720>] (SyS_ioctl+0x44/0x6c)
[31687.061558] [<80284720>] (SyS_ioctl) from [<801080c0>] (ret_fast_syscall+0x0/0x1c)
[31687.061565] ---[ end trace 843ae48489738508 ]---
Activity
Jamtek commentedon Mar 19, 2018
Another user has opened bug report on Launchpad for the same issue.
Raspbian Launchpad
gfcittolin commentedon Mar 21, 2018
I can confirm this is happening on the same kernel version, with the same stack trace (except from the process that's generatig it, in our case, electron). This happens every time the screen is painted in our setup.
DestyNova commentedon May 27, 2018
I'm seeing this too, same kernel version but with Xorg instead of Wayland:
I only noticed because the root partition ran out of space due to massive
/var/log/(messages|kern.log|syslog)which are all full of the same stack traces (they got to about 800 megs each by the time the disk ran out of space and everything stopped working).pelwell commentedon May 27, 2018
The latest Raspbian image is based on the 4.14 kernel - have you considered updating?
DestyNova commentedon May 27, 2018
Yes I was just coming back to report that it seems fine so far in 4.14.34-v7+ 👍
JamesH65 commentedon Jun 26, 2018
@DestyNova @Jamtek Since we do not plan to make any change to 4.9, and all development is now on 4,.14 (and has been for some time), can you doubly confirm that all is well on 4.14, and if so, close the issue? Thanks.
Jamtek commentedon Jun 29, 2018
@JamesH65 Yes, in 4.14 branch I am no longer seeing the messages.
Thank you