Bug 1472579 - VC4 driver related kernel oops on raspberry pi 3
VC4 driver related kernel oops on raspberry pi 3
Status: NEW
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
26
armv7l Linux
unspecified Severity high
: ---
: ---
Assigned To: Kernel Maintainer List
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-18 23:37 EDT by Jussi Eloranta
Modified: 2017-07-23 14:16 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jussi Eloranta 2017-07-18 23:37:52 EDT
Description of problem: Often the system log is flooded with the following messages:

Oct 26 21:17:17 localhost kernel: ------------[ cut here ]------------
Oct 26 21:17:17 localhost kernel: WARNING: CPU: 2 PID: 1997 at drivers/gpu/drm/drm_atomic_helper.c:1121 drm_atomic_helper_wait_for_vblanks+0x1c8/0x1e8 [drm_kms_helper]
Oct 26 21:17:17 localhost kernel: [CRTC:48] vblank wait timed out
Oct 26 21:17:17 localhost kernel: Modules linked in: joydev smsc95xx usbnet mii vc4 drm_kms_helper drm fb_sys_fops syscopyarea sysfillrect dwc2 sysimgblt udc_core bcm2835_rng bcm2835_dma bcm2835_wdt leds_gpio nfsd auth_rpcgss nfs_acl lockd grace sunrpc mmc_block sdhci_iproc sdhci_pltfm sdhci mmc_core pwm_bcm2835 i2c_bcm2835
Oct 26 21:17:17 localhost kernel: CPU: 2 PID: 1997 Comm: Xorg Tainted: G        W       4.8.4-301.fc25.armv7hl #1
Oct 26 21:17:17 localhost kernel: Hardware name: Generic DT based system
Oct 26 21:17:17 localhost kernel: [<c02192f4>] (unwind_backtrace) from [<c0214108>] (show_stack+0x18/0x1c)
Oct 26 21:17:17 localhost kernel: [<c0214108>] (show_stack) from [<c05164e4>] (dump_stack+0x80/0x9c)
Oct 26 21:17:17 localhost kernel: [<c05164e4>] (dump_stack) from [<c0254f10>] (__warn+0xe4/0x104)
Oct 26 21:17:17 localhost kernel: [<c0254f10>] (__warn) from [<c0254f6c>] (warn_slowpath_fmt+0x3c/0x4c)
Oct 26 21:17:17 localhost kernel: [<c0254f6c>] (warn_slowpath_fmt) from [<bf2808dc>] (drm_atomic_helper_wait_for_vblanks+0x1c8/0x1e8 [drm_kms_helper])
Oct 26 21:17:17 localhost kernel: [<bf2808dc>] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [<bf2afa28>] (vc4_atomic_complete_commit+0x5c/0x84 [vc4])
Oct 26 21:17:17 localhost kernel: [<bf2afa28>] (vc4_atomic_complete_commit [vc4]) from [<bf2afbd8>] (vc4_atomic_commit+0x188/0x198 [vc4])
Oct 26 21:17:17 localhost kernel: [<bf2afbd8>] (vc4_atomic_commit [vc4]) from [<bf281250>] (drm_atomic_helper_update_plane+0xcc/0x104 [drm_kms_helper])
Oct 26 21:17:17 localhost kernel: [<bf281250>] (drm_atomic_helper_update_plane [drm_kms_helper]) from [<bf21fc2c>] (__setplane_internal+0x1c4/0x1f4 [drm])
Oct 26 21:17:17 localhost kernel: [<bf21fc2c>] (__setplane_internal [drm]) from [<bf21fdb4>] (drm_mode_cursor_universal+0x158/0x1ac [drm])
Oct 26 21:17:17 localhost kernel: [<bf21fdb4>] (drm_mode_cursor_universal [drm]) from [<bf21feb0>] (drm_mode_cursor_common+0xa8/0x18c [drm])
Oct 26 21:17:17 localhost kernel: [<bf21feb0>] (drm_mode_cursor_common [drm]) from [<bf2142cc>] (drm_ioctl+0x264/0x41c [drm])
Oct 26 21:17:17 localhost kernel: [<bf2142cc>] (drm_ioctl [drm]) from [<c03c3d54>] (vfs_ioctl+0x28/0x3c)
Oct 26 21:17:17 localhost kernel: [<c03c3d54>] (vfs_ioctl) from [<c03c3efc>] (do_vfs_ioctl+0x8c/0x8b4)
Oct 26 21:17:17 localhost kernel: [<c03c3efc>] (do_vfs_ioctl) from [<c03c4778>] (SyS_ioctl+0x54/0x78)
Oct 26 21:17:17 localhost kernel: [<c03c4778>] (SyS_ioctl) from [<c020fb80>] (ret_fast_syscall+0x0/0x3c)
Oct 26 21:17:17 localhost kernel: ---[ end trace 80568b09a2f24fb1 ]---
Oct 26 21:17:17 localhost kernel: ------------[ cut here ]------------
Oct 26 21:17:17 localhost kernel: WARNING: CPU: 2 PID: 1997 at drivers/gpu/drm/drm_atomic_helper.c:1121 drm_atomic_helper_wait_for_vblanks+0x1c8/0x1e8 [drm_kms_helper]
Oct 26 21:17:17 localhost kernel: [CRTC:48] vblank wait timed out
Oct 26 21:17:17 localhost kernel: Modules linked in: joydev smsc95xx usbnet mii vc4 drm_kms_helper drm fb_sys_fops syscopyarea sysfillrect dwc2 sysimgblt udc_core bcm2835_rng bcm2835_dma bcm2835_wdt leds_gpio nfsd auth_rpcgss nfs_acl lockd grace sunrpc mmc_block sdhci_iproc sdhci_pltfm sdhci mmc_core pwm_bcm2835 i2c_bcm2835
Oct 26 21:17:17 localhost kernel: CPU: 2 PID: 1997 Comm: Xorg Tainted: G        W       4.8.4-301.fc25.armv7hl #1
Oct 26 21:17:17 localhost kernel: Hardware name: Generic DT based system
Oct 26 21:17:17 localhost kernel: [<c02192f4>] (unwind_backtrace) from [<c0214108>] (show_stack+0x18/0x1c)
Oct 26 21:17:17 localhost kernel: [<c0214108>] (show_stack) from [<c05164e4>] (dump_stack+0x80/0x9c)
Oct 26 21:17:17 localhost kernel: [<c05164e4>] (dump_stack) from [<c0254f10>] (__warn+0xe4/0x104)
Oct 26 21:17:17 localhost kernel: [<c0254f10>] (__warn) from [<c0254f6c>] (warn_slowpath_fmt+0x3c/0x4c)
Oct 26 21:17:17 localhost kernel: [<c0254f6c>] (warn_slowpath_fmt) from [<bf2808dc>] (drm_atomic_helper_wait_for_vblanks+0x1c8/0x1e8 [drm_kms_helper])
Oct 26 21:17:17 localhost kernel: [<bf2808dc>] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [<bf2afa28>] (vc4_atomic_complete_commit+0x5c/0x84 [vc4])
Oct 26 21:17:17 localhost kernel: [<bf2afa28>] (vc4_atomic_complete_commit [vc4]) from [<bf2afbd8>] (vc4_atomic_commit+0x188/0x198 [vc4])
Oct 26 21:17:17 localhost kernel: [<bf2afbd8>] (vc4_atomic_commit [vc4]) from [<bf281250>] (drm_atomic_helper_update_plane+0xcc/0x104 [drm_kms_helper])
Oct 26 21:17:17 localhost kernel: [<bf281250>] (drm_atomic_helper_update_plane [drm_kms_helper]) from [<bf21fc2c>] (__setplane_internal+0x1c4/0x1f4 [drm])
Oct 26 21:17:17 localhost kernel: [<bf21fc2c>] (__setplane_internal [drm]) from [<bf21fdb4>] (drm_mode_cursor_universal+0x158/0x1ac [drm])
Oct 26 21:17:17 localhost kernel: [<bf21fdb4>] (drm_mode_cursor_universal [drm]) from [<bf21feb0>] (drm_mode_cursor_common+0xa8/0x18c [drm])
Oct 26 21:17:17 localhost kernel: [<bf21feb0>] (drm_mode_cursor_common [drm]) from [<bf2142cc>] (drm_ioctl+0x264/0x41c [drm])
Oct 26 21:17:17 localhost kernel: [<bf2142cc>] (drm_ioctl [drm]) from [<c03c3d54>] (vfs_ioctl+0x28/0x3c)
Oct 26 21:17:17 localhost kernel: [<c03c3d54>] (vfs_ioctl) from [<c03c3efc>] (do_vfs_ioctl+0x8c/0x8b4)
Oct 26 21:17:17 localhost kernel: [<c03c3efc>] (do_vfs_ioctl) from [<c03c4778>] (SyS_ioctl+0x54/0x78)
Oct 26 21:17:17 localhost kernel: [<c03c4778>] (SyS_ioctl) from [<c020fb80>] (ret_fast_syscall+0x0/0x3c)
Oct 26 21:17:17 localhost kernel: ---[ end trace 80568b09a2f24fb2 ]---
Oct 26 21:17:17 localhost kernel: ------------[ cut here ]------------
Oct 26 21:17:17 localhost kernel: WARNING: CPU: 2 PID: 1997 at drivers/gpu/drm/drm_atomic_helper.c:1121 drm_atomic_helper_wait_for_vblanks+0x1c8/0x1e8 [drm_kms_helper]
Oct 26 21:17:17 localhost kernel: [CRTC:48] vblank wait timed out
Oct 26 21:17:17 localhost kernel: Modules linked in: joydev smsc95xx usbnet mii vc4 drm_kms_helper drm fb_sys_fops syscopyarea sysfillrect dwc2 sysimgblt udc_core bcm2835_rng bcm2835_dma bcm2835_wdt leds_gpio nfsd auth_rpcgss nfs_acl lockd grace sunrpc mmc_block sdhci_iproc sdhci_pltfm sdhci mmc_core pwm_bcm2835 i2c_bcm2835This is on kernel 4.9.10

This is running Xorg and XFCE.

Version-Release number of selected component (if applicable): This is on kernel 4.9.10

How reproducible: Happens almost every time.
Comment 1 Jussi Eloranta 2017-07-23 14:16:27 EDT
Sorry, the kernel version above is incorrect. I meant 4.11.10.

Still keeps happening with 4.11.11. After this the above messages are also followed by repeated:

[  352.839044] vc4_hdmi 3f902000.hdmi: ASoC: can't open interface 3f902000.hdmi: -19

At least for me vc4 is very unstable and had to revert to non-accelerated framebuffer driver (by blacklisting vc4). Actually, with the normal framebuffer driver the system is also faster (probably because of the repeated errors with vc4)!

uname -a of this system is:

Linux localhost 4.11.11-300.fc26.armv7hl #1 SMP Mon Jul 17 17:51:32 UTC 2017 armv7l armv7l armv7l GNU/Linux

Note You need to log in before you can comment on or make changes to this bug.