Bug 106079 - [CI] igt@drv_module_reload@basic-reload - dmesg-warn - WARN_ON(fbc->crtc->active) and WARNING: possible circular locking dependency detected
Summary: [CI] igt@drv_module_reload@basic-reload - dmesg-warn - WARN_ON(fbc->crtc->act...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-16 15:36 UTC by Martin Peres
Modified: 2018-06-19 14:25 UTC (History)
1 user (show)

See Also:
i915 platform: CNL
i915 features: display/Other


Attachments

Description Martin Peres 2018-04-16 15:36:00 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_9/fi-cnl-y3/igt@drv_module_reload@basic-reload.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_10/fi-cnl-y3/igt@drv_module_reload@basic-reload.html

	
[  114.143138] [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:51:pipe A] flip_done timed out
[  124.383130] [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:75:pipe B] flip_done timed out
[  134.623138] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:51:pipe A] flip_done timed out
[  144.863132] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:75:pipe B] flip_done timed out
[  155.103135] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [PLANE:28:plane 1A] flip_done timed out
[  165.343136] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [PLANE:52:plane 1B] flip_done timed out
[  175.583139] [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:51:pipe A] flip_done timed out
[  185.823131] [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:75:pipe B] flip_done timed out
[  185.823643] ------------[ cut here ]------------
[  185.823671] WARN_ON(fbc->crtc->active)
[  185.823768] WARNING: CPU: 3 PID: 1212 at drivers/gpu/drm/i915/intel_fbc.c:1247 intel_fbc_global_disable+0x6b/0x70 [i915]
[  185.823772] Modules linked in: vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915(-) snd_hda_codec x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul snd_hwdep crc32_pclmul ghash_clmulni_intel snd_hda_core snd_pcm e1000e mei_me prime_numbers mei [last unloaded: snd_hda_intel]
[  185.823840] CPU: 3 PID: 1212 Comm: drv_module_relo Tainted: G     U           4.16.0-rc7-gbefd0b655b91-drmtip_9+ #1
[  185.823844] Hardware name: Intel Corporation CannonLake Client Platform/CannonLake Y LPDDR4 RVP, BIOS CNLSFWR1.R00.X122.B01.1801151045 01/15/2018
[  185.823912] RIP: 0010:intel_fbc_global_disable+0x6b/0x70 [i915]
[  185.823916] RSP: 0018:ffffa5270045fdd8 EFLAGS: 00010292
[  185.823923] RAX: 000000000000001a RBX: ffff893c49100000 RCX: 0000000000000001
[  185.823926] RDX: 0000000080000001 RSI: ffffffff850ea8d9 RDI: 00000000ffffffff
[  185.823930] RBP: ffff893c49107a60 R08: ffff893c4c264940 R09: 000000008984e609
[  185.823933] R10: ffffa5270045fdd8 R11: 0000000000000000 R12: ffffffffc06e97e0
[  185.823936] R13: ffffffffc06e9850 R14: ffff893c64d5aef8 R15: ffffffffc06e98d0
[  185.823941] FS:  00007f2744896980(0000) GS:ffff893c6f980000(0000) knlGS:0000000000000000
[  185.823944] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  185.823948] CR2: 00007f66b832c780 CR3: 000000024a83e004 CR4: 0000000000760ee0
[  185.823951] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  185.823954] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  185.823957] PKRU: 55555554
[  185.823961] Call Trace:
[  185.824031]  intel_modeset_cleanup+0x8f/0x110 [i915]
[  185.824105]  i915_driver_unload+0x98/0x110 [i915]
[  185.824156]  i915_pci_remove+0x10/0x20 [i915]
[  185.824164]  pci_device_remove+0x31/0xa0
[  185.824173]  device_release_driver_internal+0x15b/0x230
[  185.824182]  driver_detach+0x35/0x70
[  185.824189]  bus_remove_driver+0x53/0xd0
[  185.824197]  pci_unregister_driver+0x39/0xa0
[  185.824208]  SyS_delete_module+0x180/0x1d0
[  185.824215]  ? do_syscall_64+0x19/0x1a0
[  185.824223]  ? trace_hardirqs_on_caller+0xde/0x1c0
[  185.824228]  do_syscall_64+0x65/0x1a0
[  185.824237]  entry_SYSCALL_64_after_hwframe+0x42/0xb7
[  185.824242] RIP: 0033:0x7f2743f4b1b7
[  185.824246] RSP: 002b:00007ffe389c7a98 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[  185.824253] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2743f4b1b7
[  185.824257] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 000055c2d929cae8
[  185.824261] RBP: 000055c2d929ca80 R08: 000055c2d929caec R09: 00007ffe389c7ad8
[  185.824264] R10: 00007ffe389c6a94 R11: 0000000000000206 R12: 000055c2d906c200
[  185.824268] R13: 00007ffe389c7cb0 R14: 0000000000000000 R15: 0000000000000000
[  185.824287] Code: ff ff 48 89 ef e8 d6 db 32 c4 48 8d bb 78 7c 00 00 5b 5d e9 f8 35 ae c3 48 c7 c6 56 d5 64 c0 48 c7 c7 45 d3 64 c0 e8 75 55 ac c3 <0f> 0b eb cb 90 f6 87 a8 0b 00 00 02 74 0b 0f b6 87 a3 7b 00 00 
[  185.824556] WARNING: CPU: 3 PID: 1212 at drivers/gpu/drm/i915/intel_fbc.c:1247 intel_fbc_global_disable+0x6b/0x70 [i915]
[  185.824560] ---[ end trace 8b6827a84b9608b9 ]---
[  185.826287] WARNING: CPU: 2 PID: 1212 at drivers/gpu/drm/drm_mode_config.c:439 drm_mode_config_cleanup+0x248/0x2a0
[  185.826296] Modules linked in: vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915(-) snd_hda_codec x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul snd_hwdep crc32_pclmul ghash_clmulni_intel snd_hda_core snd_pcm e1000e mei_me prime_numbers mei [last unloaded: snd_hda_intel]
[  185.826406] CPU: 2 PID: 1212 Comm: drv_module_relo Tainted: G     U  W        4.16.0-rc7-gbefd0b655b91-drmtip_9+ #1
[  185.826412] Hardware name: Intel Corporation CannonLake Client Platform/CannonLake Y LPDDR4 RVP, BIOS CNLSFWR1.R00.X122.B01.1801151045 01/15/2018
[  185.826422] RIP: 0010:drm_mode_config_cleanup+0x248/0x2a0
[  185.826428] RSP: 0018:ffffa5270045fd90 EFLAGS: 00010287
[  185.826439] RAX: ffff893c4c8e12c0 RBX: ffff893c49100760 RCX: 0000000000000001
[  185.826445] RDX: ffff893c49100708 RSI: ffffffff850ea8d9 RDI: 00000000ffffffff
[  185.826451] RBP: ffff893c49100000 R08: ffff893c4c264918 R09: 00000000b217a781
[  185.826457] R10: 0000000000000000 R11: 0000000000000000 R12: ffff893c49100768
[  185.826462] R13: ffffffffc06e9850 R14: ffff893c64d5aef8 R15: ffffffffc06e98d0
[  185.826469] FS:  00007f2744896980(0000) GS:ffff893c6f900000(0000) knlGS:0000000000000000
[  185.826475] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  185.826481] CR2: 00007f66b8328200 CR3: 000000024a83e005 CR4: 0000000000760ee0
[  185.826488] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  185.826493] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  185.826498] PKRU: 55555554
[  185.826504] Call Trace:
[  185.826620]  intel_modeset_cleanup+0xa3/0x110 [i915]
[  185.826697]  i915_driver_unload+0x98/0x110 [i915]
[  185.826772]  i915_pci_remove+0x10/0x20 [i915]
[  185.826783]  pci_device_remove+0x31/0xa0
[  185.826796]  device_release_driver_internal+0x15b/0x230
[  185.826810]  driver_detach+0x35/0x70
[  185.826820]  bus_remove_driver+0x53/0xd0
[  185.826832]  pci_unregister_driver+0x39/0xa0
[  185.826848]  SyS_delete_module+0x180/0x1d0
[  185.826858]  ? do_syscall_64+0x19/0x1a0
[  185.826869]  ? trace_hardirqs_on_caller+0xde/0x1c0
[  185.826877]  do_syscall_64+0x65/0x1a0
[  185.826890]  entry_SYSCALL_64_after_hwframe+0x42/0xb7
[  185.826897] RIP: 0033:0x7f2743f4b1b7
[  185.826903] RSP: 002b:00007ffe389c7a98 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[  185.826914] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2743f4b1b7
[  185.826920] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 000055c2d929cae8
[  185.826926] RBP: 000055c2d929ca80 R08: 000055c2d929caec R09: 00007ffe389c7ad8
[  185.826931] R10: 00007ffe389c6a94 R11: 0000000000000206 R12: 000055c2d906c200
[  185.826937] R13: 00007ffe389c7cb0 R14: 0000000000000000 R15: 0000000000000000
[  185.826967] Code: 48 8d bd f0 05 00 00 48 81 c5 58 05 00 00 e8 90 48 30 00 48 8b 45 00 48 39 c5 75 52 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 <0f> 0b 48 89 e6 48 89 ef 48 c7 c3 80 05 0c 85 e8 24 9c ff ff eb 
[  185.827280] WARNING: CPU: 2 PID: 1212 at drivers/gpu/drm/drm_mode_config.c:439 drm_mode_config_cleanup+0x248/0x2a0
[  185.827286] ---[ end trace 8b6827a84b9608ba ]---
[  185.827351] [drm:drm_mode_config_cleanup] *ERROR* connector eDP-1 leaked!
[  185.827503] [drm:drm_mode_config_cleanup] *ERROR* connector HDMI-A-1 leaked!
[  185.869505] WARNING: CPU: 1 PID: 1212 at drivers/gpu/drm/drm_vblank.c:405 drm_vblank_cleanup+0x40/0x70
[  185.869510] Modules linked in: vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915(-) snd_hda_codec x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul snd_hwdep crc32_pclmul ghash_clmulni_intel snd_hda_core snd_pcm e1000e mei_me prime_numbers mei [last unloaded: snd_hda_intel]
[  185.869566] CPU: 1 PID: 1212 Comm: drv_module_relo Tainted: G     U  W        4.16.0-rc7-gbefd0b655b91-drmtip_9+ #1
[  185.869569] Hardware name: Intel Corporation CannonLake Client Platform/CannonLake Y LPDDR4 RVP, BIOS CNLSFWR1.R00.X122.B01.1801151045 01/15/2018
[  185.869573] RIP: 0010:drm_vblank_cleanup+0x40/0x70
[  185.869577] RSP: 0018:ffffa5270045fe08 EFLAGS: 00010202
[  185.869582] RAX: ffffffffc06e9600 RBX: 0000000000000000 RCX: 0000000000000001
[  185.869585] RDX: ffff893c658f5d28 RSI: ffffffff850ea8d9 RDI: ffff893c658f5d28
[  185.869588] RBP: ffff893c49100000 R08: ffff893c4c264918 R09: 00000000b217a781
[  185.869591] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffc06e97e0
[  185.869594] R13: ffffffffc06e9850 R14: ffff893c64d5aef8 R15: ffffffffc06e98d0
[  185.869597] FS:  00007f2744896980(0000) GS:ffff893c6f880000(0000) knlGS:0000000000000000
[  185.869600] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  185.869603] CR2: 00005653a301b0e0 CR3: 000000024a83e001 CR4: 0000000000760ee0
[  185.869606] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  185.869608] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  185.869611] PKRU: 55555554
[  185.869613] Call Trace:
[  185.869620]  drm_dev_fini+0x9/0xb0
[  185.869664]  i915_driver_release+0x11/0x20 [i915]
[  185.869669]  pci_device_remove+0x31/0xa0
[  185.869676]  device_release_driver_internal+0x15b/0x230
[  185.869683]  driver_detach+0x35/0x70
[  185.869687]  bus_remove_driver+0x53/0xd0
[  185.869693]  pci_unregister_driver+0x39/0xa0
[  185.869701]  SyS_delete_module+0x180/0x1d0
[  185.869706]  ? do_syscall_64+0x19/0x1a0
[  185.869712]  ? trace_hardirqs_on_caller+0xde/0x1c0
[  185.869716]  do_syscall_64+0x65/0x1a0
[  185.869723]  entry_SYSCALL_64_after_hwframe+0x42/0xb7
[  185.869726] RIP: 0033:0x7f2743f4b1b7
[  185.869729] RSP: 002b:00007ffe389c7a98 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[  185.869735] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2743f4b1b7
[  185.869737] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 000055c2d929cae8
[  185.869740] RBP: 000055c2d929ca80 R08: 000055c2d929caec R09: 00007ffe389c7ad8
[  185.869743] R10: 00007ffe389c6a94 R11: 0000000000000206 R12: 000055c2d906c200
[  185.869746] R13: 00007ffe389c7cb0 R14: 0000000000000000 R15: 0000000000000000
[  185.869760] Code: d0 48 c1 e0 06 48 01 d0 48 8b 95 40 03 00 00 48 8d 3c c2 0f b6 87 00 02 00 00 84 c0 74 0f 48 8b 45 20 f6 80 79 01 00 00 20 74 02 <0f> 0b 48 83 c7 50 83 c3 01 e8 72 5c b3 ff 39 9d 20 04 00 00 77 
[  185.869907] WARNING: CPU: 1 PID: 1212 at drivers/gpu/drm/drm_vblank.c:405 drm_vblank_cleanup+0x40/0x70
[  185.869910] ---[ end trace 8b6827a84b9608bb ]---
[  185.869979] WARNING: CPU: 1 PID: 1212 at drivers/gpu/drm/drm_vblank.c:405 drm_vblank_cleanup+0x40/0x70
[  185.869982] Modules linked in: vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915(-) snd_hda_codec x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul snd_hwdep crc32_pclmul ghash_clmulni_intel snd_hda_core snd_pcm e1000e mei_me prime_numbers mei [last unloaded: snd_hda_intel]
[  185.870035] CPU: 1 PID: 1212 Comm: drv_module_relo Tainted: G     U  W        4.16.0-rc7-gbefd0b655b91-drmtip_9+ #1
[  185.870037] Hardware name: Intel Corporation CannonLake Client Platform/CannonLake Y LPDDR4 RVP, BIOS CNLSFWR1.R00.X122.B01.1801151045 01/15/2018
[  185.870041] RIP: 0010:drm_vblank_cleanup+0x40/0x70
[  185.870045] RSP: 0018:ffffa5270045fe08 EFLAGS: 00010202
[  185.870050] RAX: ffffffffc06e9600 RBX: 0000000000000001 RCX: 0000000000000001
[  185.870053] RDX: ffff893c658f5d28 RSI: ffffffff850ea8d9 RDI: ffff893c658f5f30
[  185.870055] RBP: ffff893c49100000 R08: ffff893c4c264918 R09: 00000000b217a781
[  185.870058] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffc06e97e0
[  185.870060] R13: ffffffffc06e9850 R14: ffff893c64d5aef8 R15: ffffffffc06e98d0
[  185.870063] FS:  00007f2744896980(0000) GS:ffff893c6f880000(0000) knlGS:0000000000000000
[  185.870066] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  185.870069] CR2: 00005653a301b0e0 CR3: 000000024a83e001 CR4: 0000000000760ee0
[  185.870071] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  185.870074] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  185.870076] PKRU: 55555554
[  185.870079] Call Trace:
[  185.870085]  drm_dev_fini+0x9/0xb0
[  185.870127]  i915_driver_release+0x11/0x20 [i915]
[  185.870133]  pci_device_remove+0x31/0xa0
[  185.870139]  device_release_driver_internal+0x15b/0x230
[  185.870146]  driver_detach+0x35/0x70
[  185.870151]  bus_remove_driver+0x53/0xd0
[  185.870156]  pci_unregister_driver+0x39/0xa0
[  185.870164]  SyS_delete_module+0x180/0x1d0
[  185.870168]  ? do_syscall_64+0x19/0x1a0
[  185.870173]  ? trace_hardirqs_on_caller+0xde/0x1c0
[  185.870177]  do_syscall_64+0x65/0x1a0
[  185.870182]  entry_SYSCALL_64_after_hwframe+0x42/0xb7
[  185.870185] RIP: 0033:0x7f2743f4b1b7
[  185.870188] RSP: 002b:00007ffe389c7a98 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[  185.870193] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2743f4b1b7
[  185.870196] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 000055c2d929cae8
[  185.870199] RBP: 000055c2d929ca80 R08: 000055c2d929caec R09: 00007ffe389c7ad8
[  185.870201] R10: 00007ffe389c6a94 R11: 0000000000000206 R12: 000055c2d906c200
[  185.870204] R13: 00007ffe389c7cb0 R14: 0000000000000000 R15: 0000000000000000
[  185.870218] Code: d0 48 c1 e0 06 48 01 d0 48 8b 95 40 03 00 00 48 8d 3c c2 0f b6 87 00 02 00 00 84 c0 74 0f 48 8b 45 20 f6 80 79 01 00 00 20 74 02 <0f> 0b 48 83 c7 50 83 c3 01 e8 72 5c b3 ff 39 9d 20 04 00 00 77 
[  185.870371] WARNING: CPU: 1 PID: 1212 at drivers/gpu/drm/drm_vblank.c:405 drm_vblank_cleanup+0x40/0x70
[  185.870374] ---[ end trace 8b6827a84b9608bc ]---
[  185.870735] ------------[ cut here ]------------
[  185.870983] ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x10
[  185.871007] WARNING: CPU: 1 PID: 1212 at lib/debugobjects.c:301 debug_print_object+0xa9/0xd0
[  185.871019] Modules linked in: vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915(-) snd_hda_codec x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul snd_hwdep crc32_pclmul ghash_clmulni_intel snd_hda_core snd_pcm e1000e mei_me prime_numbers mei [last unloaded: snd_hda_intel]
[  185.871078] CPU: 1 PID: 1212 Comm: drv_module_relo Tainted: G     U  W        4.16.0-rc7-gbefd0b655b91-drmtip_9+ #1
[  185.871092] Hardware name: Intel Corporation CannonLake Client Platform/CannonLake Y LPDDR4 RVP, BIOS CNLSFWR1.R00.X122.B01.1801151045 01/15/2018
[  185.871111] RIP: 0010:debug_print_object+0xa9/0xd0
[  185.871120] RSP: 0018:ffffa5270045fc20 EFLAGS: 00010082
[  185.871129] RAX: 0000000000000061 RBX: ffff893c5dce6488 RCX: 0000000000000002
[  185.871140] RDX: 0000000080000002 RSI: ffffffff850769ae RDI: 00000000ffffffff
[  185.871150] RBP: ffffffff852488e0 R08: 0000000000000000 R09: 0000000000000000
[  185.871161] R10: ffffa5270045fcd8 R11: ffffffff840efcbb R12: ffffffff85074c3c
[  185.871173] R13: ffffffff8409ce60 R14: 0000000000000001 R15: ffffffff867b1ba8
[  185.871184] FS:  00007f2744896980(0000) GS:ffff893c6f880000(0000) knlGS:0000000000000000
[  185.871196] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  185.871205] CR2: 00005653a301b0e0 CR3: 000000024a83e001 CR4: 0000000000760ee0
[  185.871217] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  185.871228] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  185.871238] PKRU: 55555554
[  185.871244] Call Trace:
[  185.871255]  ? lock_acquire+0xaf/0x200
[  185.871263]  ? debug_check_no_obj_freed+0xa4/0x230
[  185.871276]  debug_check_no_obj_freed+0x1ef/0x230
[  185.871288]  __free_pages_ok+0xff/0x730
[  185.871297]  ? pci_device_remove+0x31/0xa0
[  185.871307]  pci_device_remove+0x31/0xa0
[  185.871316]  device_release_driver_internal+0x15b/0x230
[  185.871327]  driver_detach+0x35/0x70
[  185.871335]  bus_remove_driver+0x53/0xd0
[  185.871344]  pci_unregister_driver+0x39/0xa0
[  185.871354]  SyS_delete_module+0x180/0x1d0
[  185.871363]  ? do_syscall_64+0x19/0x1a0
[  185.871372]  ? trace_hardirqs_on_caller+0xde/0x1c0
[  185.871381]  do_syscall_64+0x65/0x1a0
[  185.871391]  entry_SYSCALL_64_after_hwframe+0x42/0xb7
[  185.871400] RIP: 0033:0x7f2743f4b1b7
[  185.871408] RSP: 002b:00007ffe389c7a98 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[  185.871421] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2743f4b1b7
[  185.871432] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 000055c2d929cae8
[  185.871443] RBP: 000055c2d929ca80 R08: 000055c2d929caec R09: 00007ffe389c7ad8
[  185.871454] R10: 00007ffe389c6a94 R11: 0000000000000206 R12: 000055c2d906c200
[  185.871465] R13: 00007ffe389c7cb0 R14: 0000000000000000 R15: 0000000000000000
[  185.871480] Code: 02 01 e8 0b 1a 05 00 8b 43 10 4d 89 e9 4c 89 e6 8b 4b 14 4c 8b 45 00 48 c7 c7 c0 87 09 85 48 8b 14 c5 a0 3b e4 84 e8 67 ef c1 ff <0f> 0b 48 c7 c7 00 88 09 85 e8 2e fd c8 ff be 02 00 00 00 48 89 
[  185.871567] WARNING: CPU: 1 PID: 1212 at lib/debugobjects.c:301 debug_print_object+0xa9/0xd0
[  185.871579] ---[ end trace 8b6827a84b9608bd ]---
[  185.871587] ODEBUG: ODEBUG: debug object originally initialized at:
[  185.871649]    intel_dp_init_connector+0xb69/0xf70 [i915]
[  185.871712]    intel_ddi_init+0x3a4/0x4f0 [i915]
[  185.871774]    intel_modeset_init+0xeef/0x1a30 [i915]
[  185.871820]    i915_driver_load+0xa08/0x1020 [i915]
[  185.871868]    i915_pci_probe+0x2e/0x90 [i915]
[  185.871879]    pci_device_probe+0x9c/0x120
[  185.871887]    driver_probe_device+0x2a4/0x480
[  185.871893]    __driver_attach+0xd9/0xe0
[  185.871899]    bus_for_each_dev+0x50/0x90
[  185.871904]    bus_add_driver+0x168/0x260
[  185.871910]    driver_register+0x52/0xc0
[  185.871916]    do_one_initcall+0x39/0x150
[  185.871921]    do_init_module+0x56/0x1ef
[  185.871927]    load_module+0x236b/0x2dc0
[  185.871933]    SyS_finit_module+0xa5/0xe0
[  185.871939]    do_syscall_64+0x65/0x1a0
[  185.871945]    entry_SYSCALL_64_after_hwframe+0x42/0xb7

[  185.871953] ======================================================
[  185.871953] WARNING: possible circular locking dependency detected
[  185.871953] 4.16.0-rc7-gbefd0b655b91-drmtip_9+ #1 Tainted: G     U  W       
[  185.871954] ------------------------------------------------------
[  185.871954] drv_module_relo/1212 is trying to acquire lock:
[  185.871955]  ((console_sem).lock){-.-.}, at: [<00000000685fb348>] down_trylock+0xa/0x30

[  185.871957] but task is already holding lock:
[  185.871957]  (&obj_hash[i].lock){-.-.}, at: [<0000000005ade2f6>] debug_check_no_obj_freed+0xa4/0x230

[  185.871959] which lock already depends on the new lock.


[  185.871960] the existing dependency chain (in reverse order) is:

[  185.871960] -> #3 (&obj_hash[i].lock){-.-.}:
[  185.871962]        __debug_object_init+0x63/0x490
[  185.871962]        hrtimer_init+0x1b/0x150
[  185.871962]        init_dl_task_timer+0x17/0x30
[  185.871963]        __sched_fork.isra.16+0xa7/0x100
[  185.871963]        init_idle+0x53/0x270
[  185.871963]        sched_init+0x42f/0x4a5
[  185.871964]        start_kernel+0x20e/0x3f0
[  185.871964]        secondary_startup_64+0xa5/0xb0

[  185.871964] -> #2 (&rq->lock){-.-.}:
[  185.871966]        task_fork_fair+0x36/0x120
[  185.871966]        sched_fork+0x12f/0x2a0
[  185.871966]        copy_process.part.7+0x5e4/0x1d90
[  185.871967]        _do_fork+0xc0/0x6b0
[  185.871967]        kernel_thread+0x20/0x30
[  185.871967]        rest_init+0x1d/0x220
[  185.871968]        start_kernel+0x3e8/0x3f0
[  185.871968]        secondary_startup_64+0xa5/0xb0

[  185.871968] -> #1 (&p->pi_lock){-.-.}:
[  185.871970]        try_to_wake_up+0x27/0x610
[  185.871971]        up+0x3b/0x50
[  185.871971]        __up_console_sem+0x2e/0x50
[  185.871971]        console_unlock+0x31f/0x650
[  185.871972]        register_framebuffer+0x254/0x320
[  185.871972]        __drm_fb_helper_initial_config_and_unlock+0x229/0x450
[  185.871972]        intel_fbdev_initial_config+0xf/0x20 [i915]
[  185.871973]        async_run_entry_fn+0x2e/0x160
[  185.871973]        process_one_work+0x215/0x620
[  185.871973]        worker_thread+0x48/0x3a0
[  185.871974]        kthread+0xfb/0x130
[  185.871974]        ret_from_fork+0x3a/0x50

[  185.871974] -> #0 ((console_sem).lock){-.-.}:
[  185.871976]        _raw_spin_lock_irqsave+0x33/0x50
[  185.871976]        down_trylock+0xa/0x30
[  185.871976]        __down_trylock_console_sem+0x20/0x80
[  185.871977]        console_trylock+0xe/0x60
[  185.871977]        vprintk_emit+0x24f/0x4f0
[  185.871977]        printk+0x3e/0x46
[  185.871977]        __warn_printk+0x37/0x70
[  185.871978]        debug_print_object+0xa9/0xd0
[  185.871978]        debug_check_no_obj_freed+0x1ef/0x230
[  185.871978]        __free_pages_ok+0xff/0x730
[  185.871979]        pci_device_remove+0x31/0xa0
[  185.871979]        device_release_driver_internal+0x15b/0x230
[  185.871979]        driver_detach+0x35/0x70
[  185.871980]        bus_remove_driver+0x53/0xd0
[  185.871980]        pci_unregister_driver+0x39/0xa0
[  185.871980]        SyS_delete_module+0x180/0x1d0
[  185.871981]        do_syscall_64+0x65/0x1a0
[  185.871981]        entry_SYSCALL_64_after_hwframe+0x42/0xb7

[  185.871982] other info that might help us debug this:

[  185.871982] Chain exists of:
[  185.871983]   (console_sem).lock --> &rq->lock --> &obj_hash[i].lock

[  185.871985]  Possible unsafe locking scenario:

[  185.871986]        CPU0                    CPU1
[  185.871986]        ----                    ----
[  185.871987]   lock(&obj_hash[i].lock);
[  185.871987]                                lock(&rq->lock);
[  185.871988]                                lock(&obj_hash[i].lock);
[  185.871989]   lock((console_sem).lock);

[  185.871990]  *** DEADLOCK ***

[  185.871990] 3 locks held by drv_module_relo/1212:
[  185.871991]  #0:  (&dev->mutex){....}, at: [<0000000010834d14>] device_release_driver_internal+0x21/0x230
[  185.871992]  #1:  (&dev->mutex){....}, at: [<00000000250c3973>] device_release_driver_internal+0x2f/0x230
[  185.871994]  #2:  (&obj_hash[i].lock){-.-.}, at: [<0000000005ade2f6>] debug_check_no_obj_freed+0xa4/0x230

[  185.871997] stack backtrace:
[  185.871997] CPU: 1 PID: 1212 Comm: drv_module_relo Tainted: G     U  W        4.16.0-rc7-gbefd0b655b91-drmtip_9+ #1
[  185.871998] Hardware name: Intel Corporation CannonLake Client Platform/CannonLake Y LPDDR4 RVP, BIOS CNLSFWR1.R00.X122.B01.1801151045 01/15/2018
[  185.871999] Call Trace:
[  185.871999]  dump_stack+0x5f/0x86
[  185.872000]  print_circular_bug.isra.18+0x1d0/0x2c0
[  185.872000]  __lock_acquire+0x14ae/0x1b60
[  185.872001]  ? lock_acquire+0xaf/0x200
[  185.872001]  lock_acquire+0xaf/0x200
[  185.872002]  ? down_trylock+0xa/0x30
[  185.872002]  ? vprintk_emit+0x24f/0x4f0
[  185.872003]  _raw_spin_lock_irqsave+0x33/0x50
[  185.872003]  ? down_trylock+0xa/0x30
[  185.872004]  down_trylock+0xa/0x30
[  185.872004]  __down_trylock_console_sem+0x20/0x80
[  185.872005]  console_trylock+0xe/0x60
[  185.872005]  vprintk_emit+0x24f/0x4f0
[  185.872006]  ? work_on_cpu_safe+0x50/0x50
[  185.872007]  printk+0x3e/0x46
[  185.872007]  ? work_on_cpu_safe+0x50/0x50
[  185.872007]  __warn_printk+0x37/0x70
[  185.872008]  ? work_on_cpu_safe+0x50/0x50
[  185.872008]  debug_print_object+0xa9/0xd0
[  185.872009]  ? lock_acquire+0xaf/0x200
[  185.872009]  ? debug_check_no_obj_freed+0xa4/0x230
[  185.872009]  debug_check_no_obj_freed+0x1ef/0x230
[  185.872010]  __free_pages_ok+0xff/0x730
[  185.872010]  ? pci_device_remove+0x31/0xa0
[  185.872011]  pci_device_remove+0x31/0xa0
[  185.872011]  device_release_driver_internal+0x15b/0x230
[  185.872012]  driver_detach+0x35/0x70
[  185.872012]  bus_remove_driver+0x53/0xd0
[  185.872013]  pci_unregister_driver+0x39/0xa0
[  185.872013]  SyS_delete_module+0x180/0x1d0
[  185.872014]  ? do_syscall_64+0x19/0x1a0
[  185.872014]  ? trace_hardirqs_on_caller+0xde/0x1c0
[  185.872014]  do_syscall_64+0x65/0x1a0
[  185.872015]  entry_SYSCALL_64_after_hwframe+0x42/0xb7
[  185.872015] RIP: 0033:0x7f2743f4b1b7
[  185.872015] RSP: 002b:00007ffe389c7a98 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[  185.872016] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2743f4b1b7
[  185.872017] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 000055c2d929cae8
[  185.872017] RBP: 000055c2d929ca80 R08: 000055c2d929caec R09: 00007ffe389c7ad8
[  185.872017] R10: 00007ffe389c6a94 R11: 0000000000000206 R12: 000055c2d906c200
[  185.872018] R13: 00007ffe389c7cb0 R14: 0000000000000000 R15: 0000000000000000
[  185.932643] [drm] GuC: No firmware known for this platform!
[  185.932661] [drm] HuC: No firmware known for this platform!
[  187.450164] to colour frame buffer device 480x135
[  187.815972] Setting dangerous option reset - tainting kernel
[  194.271328] [drm] GuC: No firmware known for this platform!
[  194.271345] [drm] HuC: No firmware known for this platform!
[  195.794551] Setting dangerous option reset - tainting kernel
Comment 1 Martin Peres 2018-06-19 12:26:35 UTC
Seen twice in a row, then nothing since drmtip_10 (1 month, 4 weeks / 55 runs ago).
Comment 2 Jani Saarinen 2018-06-19 14:25:54 UTC
Closing, thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.