anholt / linux

Other
134 stars 24 forks source link

Crash in drm_atomic_helper_wait_for_vblanks on 4.13.x #113

Closed nullr0ute closed 6 years ago

nullr0ute commented 7 years ago

Fedora 27 with 4.13.2, mesa 7.2.0 and gnome 3.26, we get a series of crashes in drm_atomic_helper_wait_for_vblanks during the early boot process while X/wayland/gdm is starting up, and sometimes during use, although I'm not testing using thoroughly atm. There seems to be a couple of variations of the crash so I've included them all.

[   53.750617] ------------[ cut here ]------------
[   53.750743] WARNING: CPU: 1 PID: 461 at drivers/gpu/drm/drm_atomic_helper.c:1236 drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper]
[   53.750750] [CRTC:66:crtc-2] vblank wait timed out
[   53.750754] Modules linked in: vc4(+) snd_soc_core ac97_bus snd_pcm_dmaengine snd_seq snd_seq_device snd_pcm hci_uart brcmfmac btbcm btqca brcmutil btintel snd_timer cfg80211 bluetooth snd soundcore drm_kms_helper ecdh_generic rfkill drm fb_sys_fops syscopyarea sysfillrect sysimgblt bcm2835_wdt bcm2835_thermal bcm2835_rng leds_gpio smsc95xx usbnet mii mmc_block sdhci_iproc sdhci_pltfm crc32_arm_ce dwc2 udc_core sdhci pwm_bcm2835 bcm2835 i2c_bcm2835 bcm2835_dma phy_generic
[   53.750942] CPU: 1 PID: 461 Comm: systemd-udevd Tainted: G        W       4.13.2-300.fc27.armv7hl #1
[   53.750947] Hardware name: Generic DT based system
[   53.750966] [] (unwind_backtrace) from [] (show_stack+0x18/0x1c)
[   53.750981] [] (show_stack) from [] (dump_stack+0xa0/0xd8)
[   53.750996] [] (dump_stack) from [] (__warn+0xe4/0x104)
[   53.751009] [] (__warn) from [] (warn_slowpath_fmt+0x3c/0x4c)
[   53.751137] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper])
[   53.751342] [] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x7c/0xbc [vc4])
[   53.751510] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x180/0x190 [vc4])
[   53.751711] [] (vc4_atomic_commit [vc4]) from [] (restore_fbdev_mode+0x94/0x24c [drm_kms_helper])
[   53.751953] [] (restore_fbdev_mode [drm_kms_helper]) from [] (drm_fb_helper_restore_fbdev_mode_unlocked+0x38/0x70 [drm_kms_helper])
[   53.752192] [] (drm_fb_helper_restore_fbdev_mode_unlocked [drm_kms_helper]) from [] (drm_fb_helper_set_par+0x54/0x64 [drm_kms_helper])
[   53.752320] [] (drm_fb_helper_set_par [drm_kms_helper]) from [] (fbcon_init+0x2cc/0x454)
[   53.752336] [] (fbcon_init) from [] (visual_init+0xc8/0x118)
[   53.752351] [] (visual_init) from [] (do_bind_con_driver+0x26c/0x2dc)
[   53.752366] [] (do_bind_con_driver) from [] (do_take_over_console+0x174/0x1a8)
[   53.752381] [] (do_take_over_console) from [] (do_fbcon_takeover+0x58/0xc0)
[   53.752397] [] (do_fbcon_takeover) from [] (notifier_call_chain+0x84/0xb0)
[   53.752413] [] (notifier_call_chain) from [] (__blocking_notifier_call_chain+0x48/0x60)
[   53.752429] [] (__blocking_notifier_call_chain) from [] (blocking_notifier_call_chain+0x1c/0x24)
[   53.752443] [] (blocking_notifier_call_chain) from [] (register_framebuffer+0x234/0x278)
[   53.752569] [] (register_framebuffer) from [] (drm_fb_helper_initial_config+0x1c0/0x3a8 [drm_kms_helper])
[   53.752807] [] (drm_fb_helper_initial_config [drm_kms_helper]) from [] (drm_fbdev_cma_init_with_funcs+0xb8/0xf4 [drm_kms_helper])
[   53.753008] [] (drm_fbdev_cma_init_with_funcs [drm_kms_helper]) from [] (vc4_kms_load+0xd0/0x108 [vc4])
[   53.753175] [] (vc4_kms_load [vc4]) from [] (vc4_drm_bind+0xe4/0x128 [vc4])
[   53.753268] [] (vc4_drm_bind [vc4]) from [] (try_to_bring_up_master+0x1ec/0x254)
[   53.753285] [] (try_to_bring_up_master) from [] (component_master_add_with_match+0xc0/0xec)
[   53.753376] [] (component_master_add_with_match) from [] (vc4_platform_drm_probe+0x74/0xb0 [vc4])
[   53.753469] [] (vc4_platform_drm_probe [vc4]) from [] (platform_drv_probe+0x58/0xa4)
[   53.753484] [] (platform_drv_probe) from [] (driver_probe_device+0x28c/0x424)
[   53.753498] [] (driver_probe_device) from [] (__driver_attach+0x90/0x100)
[   53.753513] [] (__driver_attach) from [] (bus_for_each_dev+0x84/0x94)
[   53.753531] [] (bus_for_each_dev) from [] (bus_add_driver+0x1bc/0x234)
[   53.753547] [] (bus_add_driver) from [] (driver_register+0xa8/0xe8)
[   53.753562] [] (driver_register) from [] (do_one_initcall+0x130/0x158)
[   53.753578] [] (do_one_initcall) from [] (do_init_module+0x60/0x1dc)
[   53.753593] [] (do_init_module) from [] (load_module+0x2430/0x24d8)
[   53.753609] [] (load_module) from [] (SyS_finit_module+0xb0/0xc4)
[   53.753626] [] (SyS_finit_module) from [] (__sys_trace_return+0x0/0x10)
[   53.753670] ---[ end trace b2e9be4e1ce19772 ]---
[   63.987758] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:66:crtc-2] flip_done timed out
[   63.987947] Console: switching to colour frame buffer device 240x75
[   64.038622] ------------[ cut here ]------------
[   64.038753] WARNING: CPU: 1 PID: 461 at drivers/gpu/drm/drm_atomic_helper.c:1236 drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper]
[   64.038760] [CRTC:66:crtc-2] vblank wait timed out
[   64.038765] Modules linked in: vc4(+) snd_soc_core ac97_bus snd_pcm_dmaengine snd_seq snd_seq_device snd_pcm hci_uart brcmfmac btbcm btqca brcmutil btintel snd_timer cfg80211 bluetooth snd soundcore drm_kms_helper ecdh_generic rfkill drm fb_sys_fops syscopyarea sysfillrect sysimgblt bcm2835_wdt bcm2835_thermal bcm2835_rng leds_gpio smsc95xx usbnet mii mmc_block sdhci_iproc sdhci_pltfm crc32_arm_ce dwc2 udc_core sdhci pwm_bcm2835 bcm2835 i2c_bcm2835 bcm2835_dma phy_generic
[   64.038968] CPU: 1 PID: 461 Comm: systemd-udevd Tainted: G        W       4.13.2-300.fc27.armv7hl #1
[   64.038973] Hardware name: Generic DT based system
[   64.039002] [] (unwind_backtrace) from [] (show_stack+0x18/0x1c)
[   64.039020] [] (show_stack) from [] (dump_stack+0xa0/0xd8)
[   64.039037] [] (dump_stack) from [] (__warn+0xe4/0x104)
[   64.039052] [] (__warn) from [] (warn_slowpath_fmt+0x3c/0x4c)
[   64.039180] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper])
[   64.039399] [] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x7c/0xbc [vc4])
[   64.039568] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x180/0x190 [vc4])
[   64.039769] [] (vc4_atomic_commit [vc4]) from [] (drm_fb_helper_pan_display+0xa8/0x1d8 [drm_kms_helper])
[   64.039902] [] (drm_fb_helper_pan_display [drm_kms_helper]) from [] (fb_pan_display+0xf4/0x130)
[   64.039924] [] (fb_pan_display) from [] (bit_update_start+0x1c/0x38)
[   64.039942] [] (bit_update_start) from [] (fbcon_switch+0x3b4/0x46c)
[   64.039960] [] (fbcon_switch) from [] (redraw_screen+0x104/0x1d8)
[   64.039976] [] (redraw_screen) from [] (do_bind_con_driver+0x184/0x2dc)
[   64.039991] [] (do_bind_con_driver) from [] (do_take_over_console+0x174/0x1a8)
[   64.040007] [] (do_take_over_console) from [] (do_fbcon_takeover+0x58/0xc0)
[   64.040024] [] (do_fbcon_takeover) from [] (notifier_call_chain+0x84/0xb0)
[   64.040041] [] (notifier_call_chain) from [] (__blocking_notifier_call_chain+0x48/0x60)
[   64.040057] [] (__blocking_notifier_call_chain) from [] (blocking_notifier_call_chain+0x1c/0x24)
[   64.040072] [] (blocking_notifier_call_chain) from [] (register_framebuffer+0x234/0x278)
[   64.040197] [] (register_framebuffer) from [] (drm_fb_helper_initial_config+0x1c0/0x3a8 [drm_kms_helper])
[   64.040436] [] (drm_fb_helper_initial_config [drm_kms_helper]) from [] (drm_fbdev_cma_init_with_funcs+0xb8/0xf4 [drm_kms_helper])
[   64.040639] [] (drm_fbdev_cma_init_with_funcs [drm_kms_helper]) from [] (vc4_kms_load+0xd0/0x108 [vc4])
[   64.040806] [] (vc4_kms_load [vc4]) from [] (vc4_drm_bind+0xe4/0x128 [vc4])
[   64.040901] [] (vc4_drm_bind [vc4]) from [] (try_to_bring_up_master+0x1ec/0x254)
[   64.040919] [] (try_to_bring_up_master) from [] (component_master_add_with_match+0xc0/0xec)
[   64.041010] [] (component_master_add_with_match) from [] (vc4_platform_drm_probe+0x74/0xb0 [vc4])
[   64.041104] [] (vc4_platform_drm_probe [vc4]) from [] (platform_drv_probe+0x58/0xa4)
[   64.041120] [] (platform_drv_probe) from [] (driver_probe_device+0x28c/0x424)
[   64.041135] [] (driver_probe_device) from [] (__driver_attach+0x90/0x100)
[   64.041150] [] (__driver_attach) from [] (bus_for_each_dev+0x84/0x94)
[   64.041169] [] (bus_for_each_dev) from [] (bus_add_driver+0x1bc/0x234)
[   64.041185] [] (bus_add_driver) from [] (driver_register+0xa8/0xe8)
[   64.041200] [] (driver_register) from [] (do_one_initcall+0x130/0x158)
[   64.041219] [] (do_one_initcall) from [] (do_init_module+0x60/0x1dc)
[   64.041237] [] (do_init_module) from [] (load_module+0x2430/0x24d8)
[   64.041253] [] (load_module) from [] (SyS_finit_module+0xb0/0xc4)
[   64.041271] [] (SyS_finit_module) from [] (__sys_trace_return+0x0/0x10)
[   64.041321] ---[ end trace b2e9be4e1ce19773 ]---
[   74.227770] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:66:crtc-2] flip_done timed out
[   77.455914] vc4-drm soc:gpu: fb0:  frame buffer device
[   77.529634] ------------[ cut here ]------------
[   77.529781] WARNING: CPU: 2 PID: 504 at drivers/gpu/drm/drm_atomic_helper.c:1236 drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper]
[   77.529794] [CRTC:66:crtc-2] vblank wait timed out
[   77.529798] Modules linked in: vc4 snd_soc_core ac97_bus snd_pcm_dmaengine snd_seq snd_seq_device snd_pcm hci_uart brcmfmac btbcm btqca brcmutil btintel snd_timer cfg80211 bluetooth snd soundcore drm_kms_helper ecdh_generic rfkill drm fb_sys_fops syscopyarea sysfillrect sysimgblt bcm2835_wdt bcm2835_thermal bcm2835_rng leds_gpio smsc95xx usbnet mii mmc_block sdhci_iproc sdhci_pltfm crc32_arm_ce dwc2 udc_core sdhci pwm_bcm2835 bcm2835 i2c_bcm2835 bcm2835_dma phy_generic
[   77.530008] CPU: 2 PID: 504 Comm: setfont Tainted: G        W       4.13.2-300.fc27.armv7hl #1
[   77.530013] Hardware name: Generic DT based system
[   77.530046] [] (unwind_backtrace) from [] (show_stack+0x18/0x1c)
[   77.530064] [] (show_stack) from [] (dump_stack+0xa0/0xd8)
[   77.530082] [] (dump_stack) from [] (__warn+0xe4/0x104)
[   77.530096] [] (__warn) from [] (warn_slowpath_fmt+0x3c/0x4c)
[   77.530228] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper])
[   77.530430] [] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x7c/0xbc [vc4])
[   77.530573] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x180/0x190 [vc4])
[   77.530766] [] (vc4_atomic_commit [vc4]) from [] (drm_fb_helper_pan_display+0xa8/0x1d8 [drm_kms_helper])
[   77.530901] [] (drm_fb_helper_pan_display [drm_kms_helper]) from [] (fb_pan_display+0xf4/0x130)
[   77.530923] [] (fb_pan_display) from [] (bit_update_start+0x1c/0x38)
[   77.530941] [] (bit_update_start) from [] (fbcon_switch+0x3b4/0x46c)
[   77.530959] [] (fbcon_switch) from [] (redraw_screen+0x104/0x1d8)
[   77.530976] [] (redraw_screen) from [] (fbcon_do_set_font+0x1e8/0x1f8)
[   77.530994] [] (fbcon_do_set_font) from [] (fbcon_set_font+0x1e8/0x230)
[   77.531010] [] (fbcon_set_font) from [] (con_font_op+0x1a8/0x4b0)
[   77.531027] [] (con_font_op) from [] (vt_ioctl+0x1668/0x16fc)
[   77.531045] [] (vt_ioctl) from [] (tty_ioctl+0x9c0/0xa78)
[   77.531063] [] (tty_ioctl) from [] (vfs_ioctl+0x28/0x3c)
[   77.531078] [] (vfs_ioctl) from [] (do_vfs_ioctl+0x9c/0x968)
[   77.531093] [] (do_vfs_ioctl) from [] (SyS_ioctl+0x58/0x74)
[   77.531110] [] (SyS_ioctl) from [] (__sys_trace_return+0x0/0x10)
[   77.531165] ---[ end trace b2e9be4e1ce19774 ]---
[   87.539766] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:66:crtc-2] flip_done timed out
[   87.616616] ------------[ cut here ]------------
[   87.616756] WARNING: CPU: 1 PID: 34 at drivers/gpu/drm/drm_atomic_helper.c:1236 drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper]
[   87.616763] [CRTC:66:crtc-2] vblank wait timed out
[   87.616768] Modules linked in: vc4 snd_soc_core ac97_bus snd_pcm_dmaengine snd_seq snd_seq_device snd_pcm hci_uart brcmfmac btbcm btqca brcmutil btintel snd_timer cfg80211 bluetooth snd soundcore drm_kms_helper ecdh_generic rfkill drm fb_sys_fops syscopyarea sysfillrect sysimgblt bcm2835_wdt bcm2835_thermal bcm2835_rng leds_gpio smsc95xx usbnet mii mmc_block sdhci_iproc sdhci_pltfm crc32_arm_ce dwc2 udc_core sdhci pwm_bcm2835 bcm2835 i2c_bcm2835 bcm2835_dma phy_generic
[   87.616976] CPU: 1 PID: 34 Comm: kworker/1:1 Tainted: G        W       4.13.2-300.fc27.armv7hl #1
[   87.616981] Hardware name: Generic DT based system
[   87.617106] Workqueue: events output_poll_execute [drm_kms_helper]
[   87.617139] [] (unwind_backtrace) from [] (show_stack+0x18/0x1c)
[   87.617156] [] (show_stack) from [] (dump_stack+0xa0/0xd8)
[   87.617173] [] (dump_stack) from [] (__warn+0xe4/0x104)
[   87.617188] [] (__warn) from [] (warn_slowpath_fmt+0x3c/0x4c)
[   87.617314] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper])
[   87.617513] [] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x7c/0xbc [vc4])
[   87.617657] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x180/0x190 [vc4])
[   87.617846] [] (vc4_atomic_commit [vc4]) from [] (restore_fbdev_mode+0x94/0x24c [drm_kms_helper])
[   87.618084] [] (restore_fbdev_mode [drm_kms_helper]) from [] (drm_fb_helper_restore_fbdev_mode_unlocked+0x38/0x70 [drm_kms_helper])
[   87.618323] [] (drm_fb_helper_restore_fbdev_mode_unlocked [drm_kms_helper]) from [] (drm_fb_helper_set_par+0x54/0x64 [drm_kms_helper])
[   87.618562] [] (drm_fb_helper_set_par [drm_kms_helper]) from [] (drm_fb_helper_hotplug_event+0x9c/0xac [drm_kms_helper])
[   87.618798] [] (drm_fb_helper_hotplug_event [drm_kms_helper]) from [] (output_poll_execute+0x174/0x188 [drm_kms_helper])
[   87.618927] [] (output_poll_execute [drm_kms_helper]) from [] (process_one_work+0x43c/0x83c)
[   87.618942] [] (process_one_work) from [] (worker_thread+0x290/0x40c)
[   87.618961] [] (worker_thread) from [] (kthread+0x14c/0x168)
[   87.618981] [] (kthread) from [] (ret_from_fork+0x14/0x24)
[   87.619025] ---[ end trace b2e9be4e1ce19775 ]---
[   97.779746] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:66:crtc-2] flip_done timed out
[   99.922634] ------------[ cut here ]------------
[   99.922779] WARNING: CPU: 0 PID: 518 at drivers/gpu/drm/drm_atomic_helper.c:1236 drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper]
[   99.922798] [CRTC:66:crtc-2] vblank wait timed out
[   99.922803] Modules linked in: vc4 snd_soc_core ac97_bus snd_pcm_dmaengine snd_seq snd_seq_device snd_pcm hci_uart brcmfmac btbcm btqca brcmutil btintel snd_timer cfg80211 bluetooth snd soundcore drm_kms_helper ecdh_generic rfkill drm fb_sys_fops syscopyarea sysfillrect sysimgblt bcm2835_wdt bcm2835_thermal bcm2835_rng leds_gpio smsc95xx usbnet mii mmc_block sdhci_iproc sdhci_pltfm crc32_arm_ce dwc2 udc_core sdhci pwm_bcm2835 bcm2835 i2c_bcm2835 bcm2835_dma phy_generic
[   99.923031] CPU: 0 PID: 518 Comm: setfont Tainted: G        W       4.13.2-300.fc27.armv7hl #1
[   99.923037] Hardware name: Generic DT based system
[   99.923070] [] (unwind_backtrace) from [] (show_stack+0x18/0x1c)
[   99.923087] [] (show_stack) from [] (dump_stack+0xa0/0xd8)
[   99.923105] [] (dump_stack) from [] (__warn+0xe4/0x104)
[   99.923120] [] (__warn) from [] (warn_slowpath_fmt+0x3c/0x4c)
[   99.923246] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper])
[   99.923445] [] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x7c/0xbc [vc4])
[   99.923588] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x180/0x190 [vc4])
[   99.923778] [] (vc4_atomic_commit [vc4]) from [] (drm_fb_helper_pan_display+0xa8/0x1d8 [drm_kms_helper])
[   99.923911] [] (drm_fb_helper_pan_display [drm_kms_helper]) from [] (fb_pan_display+0xf4/0x130)
[   99.923933] [] (fb_pan_display) from [] (bit_update_start+0x1c/0x38)
[   99.923951] [] (bit_update_start) from [] (fbcon_switch+0x3b4/0x46c)
[   99.923969] [] (fbcon_switch) from [] (redraw_screen+0x104/0x1d8)
[   99.923985] [] (redraw_screen) from [] (fbcon_do_set_font+0x1e8/0x1f8)
[   99.924003] [] (fbcon_do_set_font) from [] (fbcon_set_font+0x1e8/0x230)
[   99.924019] [] (fbcon_set_font) from [] (con_font_op+0x1a8/0x4b0)
[   99.924036] [] (con_font_op) from [] (vt_ioctl+0x1668/0x16fc)
[   99.924053] [] (vt_ioctl) from [] (tty_ioctl+0x9c0/0xa78)
[   99.924071] [] (tty_ioctl) from [] (vfs_ioctl+0x28/0x3c)
[   99.924086] [] (vfs_ioctl) from [] (do_vfs_ioctl+0x9c/0x968)
[   99.924100] [] (do_vfs_ioctl) from [] (SyS_ioctl+0x58/0x74)
[   99.924117] [] (SyS_ioctl) from [] (__sys_trace_return+0x0/0x10)
[   99.924189] ---[ end trace b2e9be4e1ce19776 ]---
[  110.068275] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:66:crtc-2] flip_done timed out
[  141.717652] [drm:vc4_get_tiling_ioctl [vc4]] *ERROR* Failed to look up GEM BO 0
[  142.722867] [drm:vc4_get_tiling_ioctl [vc4]] *ERROR* Failed to look up GEM BO 0
[  151.165754] ------------[ cut here ]------------
[  151.165919] WARNING: CPU: 3 PID: 838 at drivers/gpu/drm/drm_atomic_helper.c:1236 drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper]
[  151.165937] [CRTC:66:crtc-2] vblank wait timed out
[  151.165952] Modules linked in: xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables bnep sunrpc vc4 snd_soc_core ac97_bus snd_pcm_dmaengine snd_seq snd_seq_device snd_pcm hci_uart brcmfmac btbcm btqca brcmutil btintel snd_timer cfg80211 bluetooth snd soundcore drm_kms_helper ecdh_generic rfkill drm fb_sys_fops syscopyarea sysfillrect sysimgblt bcm2835_wdt
[  151.166507]  bcm2835_thermal bcm2835_rng leds_gpio smsc95xx usbnet mii mmc_block sdhci_iproc sdhci_pltfm crc32_arm_ce dwc2 udc_core sdhci pwm_bcm2835 bcm2835 i2c_bcm2835 bcm2835_dma phy_generic
[  151.166744] CPU: 3 PID: 838 Comm: gnome-shell Tainted: G        W       4.13.2-300.fc27.armv7hl #1
[  151.166760] Hardware name: Generic DT based system
[  151.166800] [] (unwind_backtrace) from [] (show_stack+0x18/0x1c)
[  151.166828] [] (show_stack) from [] (dump_stack+0xa0/0xd8)
[  151.166863] [] (dump_stack) from [] (__warn+0xe4/0x104)
[  151.166888] [] (__warn) from [] (warn_slowpath_fmt+0x3c/0x4c)
[  151.167026] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper])
[  151.167239] [] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x7c/0xbc [vc4])
[  151.167393] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x180/0x190 [vc4])
[  151.167595] [] (vc4_atomic_commit [vc4]) from [] (drm_atomic_helper_update_plane+0xc4/0xe8 [drm_kms_helper])
[  151.168011] [] (drm_atomic_helper_update_plane [drm_kms_helper]) from [] (__setplane_internal+0x1b4/0x1e0 [drm])
[  151.168555] [] (__setplane_internal [drm]) from [] (drm_mode_cursor_universal+0x154/0x1a4 [drm])
[  151.169107] [] (drm_mode_cursor_universal [drm]) from [] (drm_mode_cursor_common+0xd4/0x1c4 [drm])
[  151.169641] [] (drm_mode_cursor_common [drm]) from [] (drm_ioctl+0x2c4/0x364 [drm])
[  151.169925] [] (drm_ioctl [drm]) from [] (vfs_ioctl+0x28/0x3c)
[  151.169956] [] (vfs_ioctl) from [] (do_vfs_ioctl+0x9c/0x968)
[  151.169980] [] (do_vfs_ioctl) from [] (SyS_ioctl+0x58/0x74)
[  151.170009] [] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x1c)
[  151.170079] ---[ end trace b2e9be4e1ce19777 ]---
[  217.120064] [drm:vc4_get_tiling_ioctl [vc4]] *ERROR* Failed to look up GEM BO 0
[  217.289859] [drm:vc4_get_tiling_ioctl [vc4]] *ERROR* Failed to look up GEM BO 0
[  217.508433] [drm:vc4_get_tiling_ioctl [vc4]] *ERROR* Failed to look up GEM BO 0
[  217.541885] [drm:vc4_get_tiling_ioctl [vc4]] *ERROR* Failed to look up GEM BO 0
[  217.560036] [drm:vc4_get_tiling_ioctl [vc4]] *ERROR* Failed to look up GEM BO 0
[  217.564225] [drm:vc4_get_tiling_ioctl [vc4]] *ERROR* Failed to look up GEM BO 0
[  217.581358] [drm:vc4_get_tiling_ioctl [vc4]] *ERROR* Failed to look up GEM BO 0
[  217.706925] [drm:vc4_get_tiling_ioctl [vc4]] *ERROR* Failed to look up GEM BO 0
[  218.534162] ------------[ cut here ]------------
[  218.534355] WARNING: CPU: 3 PID: 838 at drivers/gpu/drm/drm_atomic_helper.c:1236 drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper]
[  218.534384] [CRTC:66:crtc-2] vblank wait timed out
[  218.534410] Modules linked in: xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables bnep sunrpc vc4 snd_soc_core ac97_bus snd_pcm_dmaengine snd_seq snd_seq_device snd_pcm hci_uart brcmfmac btbcm btqca brcmutil btintel snd_timer cfg80211 bluetooth snd soundcore drm_kms_helper ecdh_generic rfkill drm fb_sys_fops syscopyarea sysfillrect sysimgblt bcm2835_wdt
[  218.535040]  bcm2835_thermal bcm2835_rng leds_gpio smsc95xx usbnet mii mmc_block sdhci_iproc sdhci_pltfm crc32_arm_ce dwc2 udc_core sdhci pwm_bcm2835 bcm2835 i2c_bcm2835 bcm2835_dma phy_generic
[  218.539465] CPU: 3 PID: 838 Comm: gnome-shell Tainted: G        W       4.13.2-300.fc27.armv7hl #1
[  218.539488] Hardware name: Generic DT based system
[  218.539534] [] (unwind_backtrace) from [] (show_stack+0x18/0x1c)
[  218.539563] [] (show_stack) from [] (dump_stack+0xa0/0xd8)
[  218.539591] [] (dump_stack) from [] (__warn+0xe4/0x104)
[  218.539616] [] (__warn) from [] (warn_slowpath_fmt+0x3c/0x4c)
[  218.539766] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper])
[  218.539982] [] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x7c/0xbc [vc4])
[  218.540138] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x180/0x190 [vc4])
[  218.540338] [] (vc4_atomic_commit [vc4]) from [] (drm_atomic_helper_set_config+0x60/0x84 [drm_kms_helper])
[  218.540763] [] (drm_atomic_helper_set_config [drm_kms_helper]) from [] (__drm_mode_set_config_internal+0x44/0xd8 [drm])
[  218.541304] [] (__drm_mode_set_config_internal [drm]) from [] (drm_mode_setcrtc+0x3f0/0x48c [drm])
[  218.541837] [] (drm_mode_setcrtc [drm]) from [] (drm_ioctl+0x2c4/0x364 [drm])
[  218.542122] [] (drm_ioctl [drm]) from [] (vfs_ioctl+0x28/0x3c)
[  218.542150] [] (vfs_ioctl) from [] (do_vfs_ioctl+0x9c/0x968)
[  218.542174] [] (do_vfs_ioctl) from [] (SyS_ioctl+0x58/0x74)
[  218.542203] [] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x1c)
[  218.542391] ---[ end trace b2e9be4e1ce19778 ]---
[  228.852354] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:66:crtc-2] flip_done timed out
[  228.904258] ------------[ cut here ]------------
[  228.904440] WARNING: CPU: 3 PID: 338 at drivers/gpu/drm/drm_atomic_helper.c:1236 drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper]
[  228.904460] [CRTC:66:crtc-2] vblank wait timed out
[  228.904474] Modules linked in: xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables bnep sunrpc vc4 snd_soc_core ac97_bus snd_pcm_dmaengine snd_seq snd_seq_device snd_pcm hci_uart brcmfmac btbcm btqca brcmutil btintel snd_timer cfg80211 bluetooth snd soundcore drm_kms_helper ecdh_generic rfkill drm fb_sys_fops syscopyarea sysfillrect sysimgblt bcm2835_wdt
[  228.905035]  bcm2835_thermal bcm2835_rng leds_gpio smsc95xx usbnet mii mmc_block sdhci_iproc sdhci_pltfm crc32_arm_ce dwc2 udc_core sdhci pwm_bcm2835 bcm2835 i2c_bcm2835 bcm2835_dma phy_generic
[  228.905397] CPU: 3 PID: 338 Comm: kworker/3:2 Tainted: G        W       4.13.2-300.fc27.armv7hl #1
[  228.905412] Hardware name: Generic DT based system
[  228.905511] Workqueue: events vc4_seqno_cb_work [vc4]
[  228.905566] [] (unwind_backtrace) from [] (show_stack+0x18/0x1c)
[  228.905596] [] (show_stack) from [] (dump_stack+0xa0/0xd8)
[  228.905624] [] (dump_stack) from [] (__warn+0xe4/0x104)
[  228.905649] [] (__warn) from [] (warn_slowpath_fmt+0x3c/0x4c)
[  228.905796] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0xe0/0x1f4 [drm_kms_helper])
[  228.906010] [] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x7c/0xbc [vc4])
[  228.906109] [] (vc4_atomic_complete_commit [vc4]) from [] (process_one_work+0x43c/0x83c)
[  228.906136] [] (process_one_work) from [] (worker_thread+0x290/0x40c)
[  228.906164] [] (worker_thread) from [] (kthread+0x14c/0x168)
[  228.906194] [] (kthread) from [] (ret_from_fork+0x14/0x24)
[  228.906262] ---[ end trace b2e9be4e1ce19779 ]---
nullr0ute commented 6 years ago

Seeing worse on 4.14rc7 with mesa 17.2.3, the crashes seem to be all slightly different and UX doesn't start. Also with 4.14 only seems to be happening on a 32 bit kernel.

[   27.139928] vc4_hdmi 3f902000.hdmi: vc4-hdmi-hifi <-> 3f902000.hdmi mapping ok
[   27.160276] vc4_hdmi 3f902000.hdmi: ASoC: no DMI vendor name!
[   27.184125] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[   27.204566] vc4-drm soc:gpu: bound 3f806000.vec (ops vc4_vec_ops [vc4])
[   27.224295] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[   27.224830] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[   27.225184] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[   27.225428] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[   27.289281] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[   27.289300] checking generic (3e914000 6d8c00) vs hw (0 ffffffff)
[   27.289305] fb: switching to vc4drmfb from simple
[   27.341179] Console: switching to colour dummy device 80x30
[   27.349720] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[   27.356532] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   27.363435] [drm] Driver supports precise vblank timestamp query.
[   27.414527] Console: switching to colour frame buffer device 240x67
[   27.486946] vc4-drm soc:gpu: fb0:  frame buffer device
[   27.621441] ------------[ cut here ]------------
[   27.621597] WARNING: CPU: 2 PID: 562 at drivers/gpu/drm/drm_atomic_helper.c:1240 drm_atomic_helper_wait_for_vblanks+0xe0/0x1e4 [drm_kms_helper]
[   27.621602] [CRTC:67:crtc-2] vblank wait timed out
[   27.621605] Modules linked in: rc_cec vc4 snd_soc_core ac97_bus snd_pcm_dmaengine cec rc_core snd_seq snd_seq_device snd_pcm snd_timer snd hci_uart soundcore drm_kms_helper btbcm brcmfmac drm btqca btintel fb_sys_fops brcmutil syscopyarea bluetooth cfg80211 sysfillrect sysimgblt ecdh_generic rfkill bcm2835_wdt bcm2835_thermal bcm2835_rng leds_gpio smsc95xx usbnet mii mmc_block sdhci_iproc sdhci_pltfm crc32_arm_ce dwc2 udc_core sdhci pwm_bcm2835 i2c_bcm2835 bcm2835 bcm2835_dma phy_generic
[   27.621735] CPU: 2 PID: 562 Comm: setfont Not tainted 4.14.0-0.rc7.git0.1.fc28.armv7hl #1
[   27.621738] Hardware name: Generic DT based system
[   27.621769] [] (unwind_backtrace) from [] (show_stack+0x18/0x1c)
[   27.621786] [] (show_stack) from [] (dump_stack+0x80/0xa0)
[   27.621802] [] (dump_stack) from [] (__warn+0xe4/0x104)
[   27.621815] [] (__warn) from [] (warn_slowpath_fmt+0x3c/0x4c)
[   27.621950] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0xe0/0x1e4 [drm_kms_helper])
[   27.622175] [] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x78/0xc8 [vc4])
[   27.622329] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x118/0x124 [vc4])
[   27.622528] [] (vc4_atomic_commit [vc4]) from [] (restore_fbdev_mode_atomic+0x84/0x1bc [drm_kms_helper])
[   27.622787] [] (restore_fbdev_mode_atomic [drm_kms_helper]) from [] (drm_fb_helper_pan_display+0x94/0x174 [drm_kms_helper])
[   27.622930] [] (drm_fb_helper_pan_display [drm_kms_helper]) from [] (fb_pan_display+0xec/0x128)
[   27.622949] [] (fb_pan_display) from [] (bit_update_start+0x1c/0x38)
[   27.622964] [] (bit_update_start) from [] (fbcon_switch+0x3b4/0x464)
[   27.622980] [] (fbcon_switch) from [] (redraw_screen+0x100/0x1d4)
[   27.622996] [] (redraw_screen) from [] (fbcon_do_set_font+0x1e4/0x1f4)
[   27.623011] [] (fbcon_do_set_font) from [] (fbcon_set_font+0x1e4/0x22c)
[   27.623025] [] (fbcon_set_font) from [] (con_font_op+0x194/0x484)
[   27.623043] [] (con_font_op) from [] (vt_ioctl+0x1500/0x1584)
[   27.623062] [] (vt_ioctl) from [] (tty_ioctl+0x988/0xa34)
[   27.623079] [] (tty_ioctl) from [] (vfs_ioctl+0x28/0x3c)
[   27.623093] [] (vfs_ioctl) from [] (do_vfs_ioctl+0x8c/0x850)
[   27.623106] [] (do_vfs_ioctl) from [] (SyS_ioctl+0x58/0x74)
[   27.623122] [] (SyS_ioctl) from [] (__sys_trace_return+0x0/0x10)
[   27.623149] ---[ end trace ea93e886645a3fb4 ]---
[   37.858604] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:67:crtc-2] flip_done timed out
[   37.936431] ------------[ cut here ]------------
[   37.936592] WARNING: CPU: 0 PID: 34 at drivers/gpu/drm/drm_atomic_helper.c:1240 drm_atomic_helper_wait_for_vblanks+0xe0/0x1e4 [drm_kms_helper]
[   37.936604] [CRTC:67:crtc-2] vblank wait timed out
[   37.936607] Modules linked in: rc_cec vc4 snd_soc_core ac97_bus snd_pcm_dmaengine cec rc_core snd_seq snd_seq_device snd_pcm snd_timer snd hci_uart soundcore drm_kms_helper btbcm brcmfmac drm btqca btintel fb_sys_fops brcmutil syscopyarea bluetooth cfg80211 sysfillrect sysimgblt ecdh_generic rfkill bcm2835_wdt bcm2835_thermal bcm2835_rng leds_gpio smsc95xx usbnet mii mmc_block sdhci_iproc sdhci_pltfm crc32_arm_ce dwc2 udc_core sdhci pwm_bcm2835 i2c_bcm2835 bcm2835 bcm2835_dma phy_generic
[   37.936745] CPU: 0 PID: 34 Comm: kworker/0:1 Tainted: G        W       4.14.0-0.rc7.git0.1.fc28.armv7hl #1
[   37.936749] Hardware name: Generic DT based system
[   37.936882] Workqueue: events output_poll_execute [drm_kms_helper]
[   37.936915] [] (unwind_backtrace) from [] (show_stack+0x18/0x1c)
[   37.936932] [] (show_stack) from [] (dump_stack+0x80/0xa0)
[   37.936948] [] (dump_stack) from [] (__warn+0xe4/0x104)
[   37.936961] [] (__warn) from [] (warn_slowpath_fmt+0x3c/0x4c)
[   37.937095] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0xe0/0x1e4 [drm_kms_helper])
[   37.937304] [] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x78/0xc8 [vc4])
[   37.937446] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x118/0x124 [vc4])
[   37.937644] [] (vc4_atomic_commit [vc4]) from [] (restore_fbdev_mode_atomic+0x84/0x1bc [drm_kms_helper])
[   37.937902] [] (restore_fbdev_mode_atomic [drm_kms_helper]) from [] (drm_fb_helper_restore_fbdev_mode_unlocked+0x48/0x7c [drm_kms_helper])
[   37.938161] [] (drm_fb_helper_restore_fbdev_mode_unlocked [drm_kms_helper]) from [] (drm_fb_helper_set_par+0x54/0x64 [drm_kms_helper])
[   37.938421] [] (drm_fb_helper_set_par [drm_kms_helper]) from [] (drm_fb_helper_hotplug_event+0xb8/0xc8 [drm_kms_helper])
[   37.938676] [] (drm_fb_helper_hotplug_event [drm_kms_helper]) from [] (output_poll_execute+0x170/0x184 [drm_kms_helper])
[   37.938813] [] (output_poll_execute [drm_kms_helper]) from [] (process_one_work+0x254/0x42c)
[   37.938827] [] (process_one_work) from [] (worker_thread+0x2d0/0x450)
[   37.938842] [] (worker_thread) from [] (kthread+0x13c/0x154)
[   37.938859] [] (kthread) from [] (ret_from_fork+0x14/0x24)
[   37.938888] ---[ end trace ea93e886645a3fb5 ]---

[   67.736511] ------------[ cut here ]------------
[   67.741504] WARNING: CPU: 0 PID: 878 at drivers/gpu/drm/drm_atomic_helper.c:1240 drm_atomic_helper_wait_for_vblanks+0xe0/0x1e4 [drm_kms_helper]
[   67.754749] [CRTC:67:crtc-2] vblank wait timed out
[   67.759699] Modules linked in: xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables bnep sunrpc rc_cec vc4 snd_soc_core ac97_bus snd_pcm_dmaengine cec rc_core snd_seq snd_seq_device snd_pcm snd_timer snd hci_uart soundcore drm_kms_helper btbcm brcmfmac drm btqca btintel fb_sys_fops brcmutil syscopyarea bluetooth cfg80211 sysfillrect sysimgblt ecdh_generic
[   67.832014]  rfkill bcm2835_wdt bcm2835_thermal bcm2835_rng leds_gpio smsc95xx usbnet mii mmc_block sdhci_iproc sdhci_pltfm crc32_arm_ce dwc2 udc_core sdhci pwm_bcm2835 i2c_bcm2835 bcm2835 bcm2835_dma phy_generic
[   67.851294] CPU: 0 PID: 878 Comm: gnome-shell Tainted: G        W       4.14.0-0.rc7.git0.1.fc28.armv7hl #1
[   67.861176] Hardware name: Generic DT based system
[   67.866064] [] (unwind_backtrace) from [] (show_stack+0x18/0x1c)
[   67.873932] [] (show_stack) from [] (dump_stack+0x80/0xa0)
[   67.881270] [] (dump_stack) from [] (__warn+0xe4/0x104)
[   67.888339] [] (__warn) from [] (warn_slowpath_fmt+0x3c/0x4c)
[   67.896072] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0xe0/0x1e4 [drm_kms_helper])
[   67.907919] [] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x78/0xc8 [vc4])
[   67.920936] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x118/0x124 [vc4])
[   67.931716] [] (vc4_atomic_commit [vc4]) from [] (drm_atomic_helper_update_plane+0xc4/0x100 [drm_kms_helper])
[   67.943959] [] (drm_atomic_helper_update_plane [drm_kms_helper]) from [] (__setplane_internal+0x1b4/0x1e0 [drm])
[   67.956608] [] (__setplane_internal [drm]) from [] (drm_mode_cursor_universal+0x154/0x1a4 [drm])
[   67.967830] [] (drm_mode_cursor_universal [drm]) from [] (drm_mode_cursor_common+0xd4/0x1c4 [drm])
[   67.979223] [] (drm_mode_cursor_common [drm]) from [] (drm_ioctl+0x2b8/0x348 [drm])
[   67.989032] [] (drm_ioctl [drm]) from [] (vfs_ioctl+0x28/0x3c)
[   67.996723] [] (vfs_ioctl) from [] (do_vfs_ioctl+0x8c/0x850)
[   68.004235] [] (do_vfs_ioctl) from [] (SyS_ioctl+0x58/0x74)
[   68.011662] [] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x48)
[   68.019492] ---[ end trace ea93e886645a3fb6 ]---
[  106.157490] ------------[ cut here ]------------
[  106.162408] WARNING: CPU: 2 PID: 878 at drivers/gpu/drm/drm_atomic_helper.c:1240 drm_atomic_helper_wait_for_vblanks+0xe0/0x1e4 [drm_kms_helper]
[  106.175562] [CRTC:67:crtc-2] vblank wait timed out
[  106.180493] Modules linked in: xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables bnep sunrpc rc_cec vc4 snd_soc_core ac97_bus snd_pcm_dmaengine cec rc_core snd_seq snd_seq_device snd_pcm snd_timer snd hci_uart soundcore drm_kms_helper btbcm brcmfmac drm btqca btintel fb_sys_fops brcmutil syscopyarea bluetooth cfg80211 sysfillrect sysimgblt ecdh_generic
[  106.252748]  rfkill bcm2835_wdt bcm2835_thermal bcm2835_rng leds_gpio smsc95xx usbnet mii mmc_block sdhci_iproc sdhci_pltfm crc32_arm_ce dwc2 udc_core sdhci pwm_bcm2835 i2c_bcm2835 bcm2835 bcm2835_dma phy_generic
[  106.272045] CPU: 2 PID: 878 Comm: gnome-shell Tainted: G        W       4.14.0-0.rc7.git0.1.fc28.armv7hl #1
[  106.281943] Hardware name: Generic DT based system
[  106.286859] [] (unwind_backtrace) from [] (show_stack+0x18/0x1c)
[  106.294758] [] (show_stack) from [] (dump_stack+0x80/0xa0)
[  106.302128] [] (dump_stack) from [] (__warn+0xe4/0x104)
[  106.309230] [] (__warn) from [] (warn_slowpath_fmt+0x3c/0x4c)
[  106.317001] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0xe0/0x1e4 [drm_kms_helper])
[  106.328885] [] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x78/0xc8 [vc4])
[  106.341943] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x118/0x124 [vc4])
[  106.352848] [] (vc4_atomic_commit [vc4]) from [] (drm_atomic_helper_set_config+0x60/0x9c [drm_kms_helper])
[  106.364912] [] (drm_atomic_helper_set_config [drm_kms_helper]) from [] (__drm_mode_set_config_internal+0x44/0xd8 [drm])
[  106.378262] [] (__drm_mode_set_config_internal [drm]) from [] (drm_mode_setcrtc+0x3e0/0x478 [drm])
[  106.389731] [] (drm_mode_setcrtc [drm]) from [] (drm_ioctl+0x2b8/0x348 [drm])
[  106.399085] [] (drm_ioctl [drm]) from [] (vfs_ioctl+0x28/0x3c)
[  106.406807] [] (vfs_ioctl) from [] (do_vfs_ioctl+0x8c/0x850)
[  106.414349] [] (do_vfs_ioctl) from [] (SyS_ioctl+0x58/0x74)
[  106.421783] [] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x48)
[  106.429534] ---[ end trace ea93e886645a3fb7 ]---
[  116.706063] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:67:crtc-2] flip_done timed out
[  116.767923] ------------[ cut here ]------------
[  116.772838] WARNING: CPU: 0 PID: 5 at drivers/gpu/drm/drm_atomic_helper.c:1240 drm_atomic_helper_wait_for_vblanks+0xe0/0x1e4 [drm_kms_helper]
[  116.785910] [CRTC:67:crtc-2] vblank wait timed out
[  116.790827] Modules linked in: xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables bnep sunrpc rc_cec vc4 snd_soc_core ac97_bus snd_pcm_dmaengine cec rc_core snd_seq snd_seq_device snd_pcm snd_timer snd hci_uart soundcore drm_kms_helper btbcm brcmfmac drm btqca btintel fb_sys_fops brcmutil syscopyarea bluetooth cfg80211 sysfillrect sysimgblt ecdh_generic
[  116.863109]  rfkill bcm2835_wdt bcm2835_thermal bcm2835_rng leds_gpio smsc95xx usbnet mii mmc_block sdhci_iproc sdhci_pltfm crc32_arm_ce dwc2 udc_core sdhci pwm_bcm2835 i2c_bcm2835 bcm2835 bcm2835_dma phy_generic
[  116.882389] CPU: 0 PID: 5 Comm: kworker/u8:0 Tainted: G        W       4.14.0-0.rc7.git0.1.fc28.armv7hl #1
[  116.892183] Hardware name: Generic DT based system
[  116.897125] Workqueue: events_unbound commit_work [vc4]
[  116.902453] [] (unwind_backtrace) from [] (show_stack+0x18/0x1c)
[  116.910320] [] (show_stack) from [] (dump_stack+0x80/0xa0)
[  116.917657] [] (dump_stack) from [] (__warn+0xe4/0x104)
[  116.924727] [] (__warn) from [] (warn_slowpath_fmt+0x3c/0x4c)
[  116.932460] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks+0xe0/0x1e4 [drm_kms_helper])
[  116.944304] [] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x78/0xc8 [vc4])
[  116.957258] [] (vc4_atomic_complete_commit [vc4]) from [] (process_one_work+0x254/0x42c)
[  116.967238] [] (process_one_work) from [] (worker_thread+0x2d0/0x450)
[  116.975544] [] (worker_thread) from [] (kthread+0x13c/0x154)
[  116.983059] [] (kthread) from [] (ret_from_fork+0x14/0x24)
[  116.990478] ---[ end trace ea93e886645a3fb8 ]---
[  127.458082] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:67:crtc-2] flip_done timed out
[  138.722123] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:67:crtc-2] flip_done timed out
nullr0ute commented 6 years ago

Going to close this, I think this is actually a false positive from a dual applied patch on the Fedora kernel.

For reference we had pulled in upstream ca39b44 (drm/vc4: Fix OOPSes from trying to cache a partially constructed BO.) fix, suggested by Eric, some time ago, it seems that git quite happily applied it twice, with extraneous patch removed it seems OK now.