Bug 1114160 - WARNING: CPU: 0 PID: 369 at drivers/gpu/drm/drm_modeset_lock.c:91 drm_modeset_drop_locks+0x71/0x80 [drm]()
Summary: WARNING: CPU: 0 PID: 369 at drivers/gpu/drm/drm_modeset_lock.c:91 drm_modeset...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Rob Clark
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-28 00:26 UTC by Vinson Lee
Modified: 2014-09-23 05:00 UTC (History)
11 users (show)

Fixed In Version: kernel-3.16.2-300.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-28 14:41:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vinson Lee 2014-06-28 00:26:17 UTC
Description of problem:


Version-Release number of selected component (if applicable):
3.16.0-0.rc2.git3.1.fc21.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
[    5.082609] ------------[ cut here ]------------
[    5.083548] WARNING: CPU: 0 PID: 369 at drivers/gpu/drm/drm_modeset_lock.c:91 drm_modeset_drop_locks+0x71/0x80 [drm]()
[    5.084483] Modules linked in: vmwgfx(+) drm_kms_helper ttm drm mptspi scsi_transport_spi e1000 mptscsih mptbase i2c_core ata_generic pata_acpi
[    5.085536] CPU: 0 PID: 369 Comm: systemd-udevd Not tainted 3.16.0-0.rc2.git3.1.fc21.x86_64 #1
[    5.086689] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/31/2013
[    5.088693]  0000000000000000 0000000054dc8e0c ffff880036e27910 ffffffff81807c4c
[    5.090714]  0000000000000000 ffff880036e27948 ffffffff8109b3ed ffff880039073000
[    5.091584]  ffff8800391ee900 ffff8800391ee900 ffff88003890fe00 ffff880000400000
[    5.092662] Call Trace:
[    5.093311]  [<ffffffff81807c4c>] dump_stack+0x4d/0x66
[    5.093867]  [<ffffffff8109b3ed>] warn_slowpath_common+0x7d/0xa0
[    5.094562]  [<ffffffff8109b51a>] warn_slowpath_null+0x1a/0x20
[    5.095241]  [<ffffffffa00a8eb1>] drm_modeset_drop_locks+0x71/0x80 [drm]
[    5.095773]  [<ffffffffa009996e>] drm_modeset_unlock_all+0x2e/0x70 [drm]
[    5.096196]  [<ffffffffa009b557>] drm_crtc_init_with_planes+0xa7/0x110 [drm]
[    5.096659]  [<ffffffffa00d7343>] drm_crtc_init+0x33/0x40 [drm_kms_helper]
[    5.097050]  [<ffffffffa01135b9>] vmw_kms_init_screen_object_display+0x1a9/0x260 [vmwgfx]
[    5.098174]  [<ffffffffa0105b69>] vmw_kms_init+0x59/0x70 [vmwgfx]
[    5.098725]  [<ffffffffa0107dd0>] vmw_driver_load+0x8d0/0xda0 [vmwgfx]
[    5.099129]  [<ffffffffa009424d>] drm_dev_register+0xad/0x100 [drm]
[    5.099486]  [<ffffffffa009707d>] drm_get_pci_dev+0x8d/0x200 [drm]
[    5.099900]  [<ffffffffa0106b25>] vmw_probe+0x15/0x20 [vmwgfx]
[    5.100274]  [<ffffffff8142fee5>] local_pci_probe+0x45/0xa0
[    5.100626]  [<ffffffff814311c5>] ? pci_match_device+0xe5/0x110
[    5.100959]  [<ffffffff81431329>] pci_device_probe+0xf9/0x150
[    5.101286]  [<ffffffff8151fba3>] driver_probe_device+0xa3/0x400
[    5.101589]  [<ffffffff8151ffcb>] __driver_attach+0x8b/0x90
[    5.101934]  [<ffffffff8151ff40>] ? __device_attach+0x40/0x40
[    5.102242]  [<ffffffff8151d823>] bus_for_each_dev+0x73/0xc0
[    5.102545]  [<ffffffff8151f5fe>] driver_attach+0x1e/0x20
[    5.102808]  [<ffffffff8151f1c8>] bus_add_driver+0x188/0x260
[    5.103075]  [<ffffffff81520aa4>] driver_register+0x64/0xf0
[    5.103352]  [<ffffffff8142f790>] __pci_register_driver+0x60/0x70
[    5.103616]  [<ffffffffa00972fa>] drm_pci_init+0x10a/0x140 [drm]
[    5.103913]  [<ffffffffa012e000>] ? 0xffffffffa012dfff
[    5.104176]  [<ffffffffa012e018>] vmwgfx_init+0x18/0x1000 [vmwgfx]
[    5.104482]  [<ffffffff81002148>] do_one_initcall+0xd8/0x210
[    5.104745]  [<ffffffff81206e8a>] ? __vunmap+0xba/0x120
[    5.105015]  [<ffffffff8113aff0>] load_module+0x2110/0x2740
[    5.105275]  [<ffffffff81136260>] ? store_uevent+0x70/0x70
[    5.105551]  [<ffffffff810fc23f>] ? lock_release_holdtime.part.28+0xf/0x200
[    5.105951]  [<ffffffff811025e6>] ? lock_release_non_nested+0x3c6/0x3d0
[    5.106357]  [<ffffffff8113b707>] SyS_init_module+0xe7/0x140
[    5.106849]  [<ffffffff81811869>] system_call_fastpath+0x16/0x1b
[    5.107162] ---[ end trace 225f20829bb0d8e8 ]---

Expected results:


Additional info:

Comment 1 Vinson Lee 2014-06-28 00:37:08 UTC
3.16.0-0.rc2.git3.1.fc21.x86_64 - bad 
3.16.0-0.rc1.git1.1.fc21.x86_64 - bad
3.16.0-0.rc1.git0.1.fc21.x86_64 - good
3.16.0-0.rc0.git5.1.fc21.x86_64 - good

Comment 2 Vinson Lee 2014-07-03 21:22:44 UTC
[    3.302716] ------------[ cut here ]------------
[    3.302746] WARNING: CPU: 0 PID: 372 at drivers/gpu/drm/drm_modeset_lock.c:91 drm_modeset_drop_locks+0x71/0x80 [drm]()
[    3.302749] Modules linked in: vmwgfx(+) drm_kms_helper ttm drm mptspi scsi_transport_spi mptscsih e1000 i2c_core mptbase ata_generic pata_acpi
[    3.302775] CPU: 0 PID: 372 Comm: systemd-udevd Not tainted 3.16.0-0.rc3.git2.1.fc21.x86_64 #1
[    3.302777] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/31/2013
[    3.302780]  0000000000000000 00000000333cd0f3 ffff880036d23910 ffffffff81807dac
[    3.302788]  0000000000000000 ffff880036d23948 ffffffff8109b3ed ffff880038ff9000
[    3.302795]  ffff880038d75580 ffff880038d75580 ffff880038977a00 ffff8800388c0000
[    3.302803] Call Trace:
[    3.302814]  [<ffffffff81807dac>] dump_stack+0x4d/0x66
[    3.302821]  [<ffffffff8109b3ed>] warn_slowpath_common+0x7d/0xa0
[    3.302825]  [<ffffffff8109b51a>] warn_slowpath_null+0x1a/0x20
[    3.302835]  [<ffffffffa00aff31>] drm_modeset_drop_locks+0x71/0x80 [drm]
[    3.302855]  [<ffffffffa00a09ee>] drm_modeset_unlock_all+0x2e/0x70 [drm]
[    3.302864]  [<ffffffffa00a25d7>] drm_crtc_init_with_planes+0xa7/0x110 [drm]
[    3.302870]  [<ffffffffa00de343>] drm_crtc_init+0x33/0x40 [drm_kms_helper]
[    3.302881]  [<ffffffffa011a5b9>] vmw_kms_init_screen_object_display+0x1a9/0x260 [vmwgfx]
[    3.302889]  [<ffffffffa010cb69>] vmw_kms_init+0x59/0x70 [vmwgfx]
[    3.302897]  [<ffffffffa010edd0>] vmw_driver_load+0x8d0/0xda0 [vmwgfx]
[    3.302905]  [<ffffffffa009b2cd>] drm_dev_register+0xad/0x100 [drm]
[    3.302913]  [<ffffffffa009e0fd>] drm_get_pci_dev+0x8d/0x200 [drm]
[    3.302921]  [<ffffffffa010db25>] vmw_probe+0x15/0x20 [vmwgfx]
[    3.302927]  [<ffffffff814301b5>] local_pci_probe+0x45/0xa0
[    3.302931]  [<ffffffff81431495>] ? pci_match_device+0xe5/0x110
[    3.302936]  [<ffffffff814315f9>] pci_device_probe+0xf9/0x150
[    3.302943]  [<ffffffff8151fe73>] driver_probe_device+0xa3/0x400
[    3.302948]  [<ffffffff8152029b>] __driver_attach+0x8b/0x90
[    3.302953]  [<ffffffff81520210>] ? __device_attach+0x40/0x40
[    3.302957]  [<ffffffff8151daf3>] bus_for_each_dev+0x73/0xc0
[    3.302962]  [<ffffffff8151f8ce>] driver_attach+0x1e/0x20
[    3.302967]  [<ffffffff8151f498>] bus_add_driver+0x188/0x260
[    3.302973]  [<ffffffff81520d74>] driver_register+0x64/0xf0
[    3.302977]  [<ffffffff8142fa60>] __pci_register_driver+0x60/0x70
[    3.302987]  [<ffffffffa009e37a>] drm_pci_init+0x10a/0x140 [drm]
[    3.302994]  [<ffffffffa0135000>] ? 0xffffffffa0134fff
[    3.303002]  [<ffffffffa0135018>] vmwgfx_init+0x18/0x1000 [vmwgfx]
[    3.303022]  [<ffffffff81002148>] do_one_initcall+0xd8/0x210
[    3.303030]  [<ffffffff81206e8a>] ? __vunmap+0xba/0x120
[    3.303037]  [<ffffffff8113aff0>] load_module+0x2110/0x2740
[    3.303044]  [<ffffffff81136260>] ? store_uevent+0x70/0x70
[    3.303053]  [<ffffffff810fc23f>] ? lock_release_holdtime.part.28+0xf/0x200
[    3.303059]  [<ffffffff811025e6>] ? lock_release_non_nested+0x3c6/0x3d0
[    3.303065]  [<ffffffff8113b707>] SyS_init_module+0xe7/0x140
[    3.303074]  [<ffffffff818119a9>] system_call_fastpath+0x16/0x1b
[    3.303079] ---[ end trace f45a7c64ce8ae32b ]---

Comment 3 Vinson Lee 2014-07-13 06:29:08 UTC
[    4.501624] ------------[ cut here ]------------
[    4.501643] WARNING: CPU: 0 PID: 374 at drivers/gpu/drm/drm_modeset_lock.c:91 drm_modeset_drop_locks+0x71/0x80 [drm]()
[    4.501646] Modules linked in: vmwgfx(+) drm_kms_helper ttm drm mptspi scsi_transport_spi e1000 mptscsih mptbase i2c_core ata_generic pata_acpi
[    4.501663] CPU: 0 PID: 374 Comm: systemd-udevd Not tainted 3.16.0-0.rc4.git3.1.fc22.x86_64 #1
[    4.501665] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/31/2013
[    4.501668]  0000000000000000 00000000aa223113 ffff880036cbf910 ffffffff8180840c
[    4.501672]  0000000000000000 ffff880036cbf948 ffffffff8109b3ed ffff8800001ef000
[    4.501676]  ffff8800391f2100 ffff8800391f2100 ffff880038951c00 ffff8800388c0000
[    4.501680] Call Trace:
[    4.501689]  [<ffffffff8180840c>] dump_stack+0x4d/0x66
[    4.501695]  [<ffffffff8109b3ed>] warn_slowpath_common+0x7d/0xa0
[    4.501699]  [<ffffffff8109b51a>] warn_slowpath_null+0x1a/0x20
[    4.501710]  [<ffffffffa00b1f31>] drm_modeset_drop_locks+0x71/0x80 [drm]
[    4.501720]  [<ffffffffa00a29ee>] drm_modeset_unlock_all+0x2e/0x70 [drm]
[    4.501731]  [<ffffffffa00a45d7>] drm_crtc_init_with_planes+0xa7/0x110 [drm]
[    4.501737]  [<ffffffffa00e0343>] drm_crtc_init+0x33/0x40 [drm_kms_helper]
[    4.501749]  [<ffffffffa011c5a9>] vmw_kms_init_screen_object_display+0x1a9/0x260 [vmwgfx]
[    4.501758]  [<ffffffffa010eb69>] vmw_kms_init+0x59/0x70 [vmwgfx]
[    4.501767]  [<ffffffffa0110dd0>] vmw_driver_load+0x8d0/0xda0 [vmwgfx]
[    4.501776]  [<ffffffffa009d2cd>] drm_dev_register+0xad/0x100 [drm]
[    4.501784]  [<ffffffffa00a00fd>] drm_get_pci_dev+0x8d/0x200 [drm]
[    4.501793]  [<ffffffffa010fb25>] vmw_probe+0x15/0x20 [vmwgfx]
[    4.501798]  [<ffffffff814306f5>] local_pci_probe+0x45/0xa0
[    4.501802]  [<ffffffff814319d5>] ? pci_match_device+0xe5/0x110
[    4.501806]  [<ffffffff81431b39>] pci_device_probe+0xf9/0x150
[    4.501812]  [<ffffffff815203b3>] driver_probe_device+0xa3/0x400
[    4.501816]  [<ffffffff815207db>] __driver_attach+0x8b/0x90
[    4.501820]  [<ffffffff81520750>] ? __device_attach+0x40/0x40
[    4.501824]  [<ffffffff8151e033>] bus_for_each_dev+0x73/0xc0
[    4.501828]  [<ffffffff8151fe0e>] driver_attach+0x1e/0x20
[    4.501831]  [<ffffffff8151f9d8>] bus_add_driver+0x188/0x260
[    4.501836]  [<ffffffff815212b4>] driver_register+0x64/0xf0
[    4.501840]  [<ffffffff8142ffa0>] __pci_register_driver+0x60/0x70
[    4.501848]  [<ffffffffa00a037a>] drm_pci_init+0x10a/0x140 [drm]
[    4.501852]  [<ffffffffa0137000>] ? 0xffffffffa0136fff
[    4.501859]  [<ffffffffa0137018>] vmwgfx_init+0x18/0x1000 [vmwgfx]
[    4.501864]  [<ffffffff81002148>] do_one_initcall+0xd8/0x210
[    4.501869]  [<ffffffff812074aa>] ? __vunmap+0xba/0x120
[    4.501874]  [<ffffffff8113afb0>] load_module+0x2110/0x2740
[    4.501879]  [<ffffffff81136220>] ? store_uevent+0x70/0x70
[    4.501885]  [<ffffffff810fc24f>] ? lock_release_holdtime.part.28+0xf/0x200
[    4.501889]  [<ffffffff811025f6>] ? lock_release_non_nested+0x3c6/0x3d0
[    4.501892]  [<ffffffff8113b6c7>] SyS_init_module+0xe7/0x140
[    4.501897]  [<ffffffff81812029>] system_call_fastpath+0x16/0x1b
[    4.501900] ---[ end trace e7637df0cf26dc49 ]---

Comment 4 Vinson Lee 2014-07-17 21:16:06 UTC
[    3.478498] ------------[ cut here ]------------
[    3.478511] WARNING: CPU: 0 PID: 377 at drivers/gpu/drm/drm_modeset_lock.c:91 drm_modeset_drop_locks+0x71/0x80 [drm]()
[    3.478513] Modules linked in: vmwgfx(+) drm_kms_helper ttm drm mptspi scsi_transport_spi mptscsih e1000 mptbase i2c_core ata_generic pata_acpi
[    3.478522] CPU: 0 PID: 377 Comm: systemd-udevd Not tainted 3.16.0-0.rc5.git1.1.fc22.x86_64 #1
[    3.478524] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/31/2013
[    3.478525]  0000000000000000 00000000831ace4f ffff880036ea7910 ffffffff818080d6
[    3.478528]  0000000000000000 ffff880036ea7948 ffffffff8109b3ed ffff880038820000
[    3.478530]  ffff880038e47480 ffff880038e47480 ffff880038947000 ffff880038900000
[    3.478532] Call Trace:
[    3.478538]  [<ffffffff818080d6>] dump_stack+0x4d/0x66
[    3.478542]  [<ffffffff8109b3ed>] warn_slowpath_common+0x7d/0xa0
[    3.478543]  [<ffffffff8109b51a>] warn_slowpath_null+0x1a/0x20
[    3.478550]  [<ffffffffa00a8f31>] drm_modeset_drop_locks+0x71/0x80 [drm]
[    3.478557]  [<ffffffffa00999ee>] drm_modeset_unlock_all+0x2e/0x70 [drm]
[    3.478563]  [<ffffffffa009b5d7>] drm_crtc_init_with_planes+0xa7/0x110 [drm]
[    3.478566]  [<ffffffffa00d7343>] drm_crtc_init+0x33/0x40 [drm_kms_helper]
[    3.478574]  [<ffffffffa01135a9>] vmw_kms_init_screen_object_display+0x1a9/0x260 [vmwgfx]
[    3.478580]  [<ffffffffa0105b69>] vmw_kms_init+0x59/0x70 [vmwgfx]
[    3.478585]  [<ffffffffa0107dd0>] vmw_driver_load+0x8d0/0xda0 [vmwgfx]
[    3.478599]  [<ffffffffa00942cd>] drm_dev_register+0xad/0x100 [drm]
[    3.478605]  [<ffffffffa00970fd>] drm_get_pci_dev+0x8d/0x200 [drm]
[    3.478610]  [<ffffffffa0106b25>] vmw_probe+0x15/0x20 [vmwgfx]
[    3.478616]  [<ffffffff81430655>] local_pci_probe+0x45/0xa0
[    3.478619]  [<ffffffff81431935>] ? pci_match_device+0xe5/0x110
[    3.478623]  [<ffffffff81431a99>] pci_device_probe+0xf9/0x150
[    3.478648]  [<ffffffff81520313>] driver_probe_device+0xa3/0x400
[    3.478650]  [<ffffffff8152073b>] __driver_attach+0x8b/0x90
[    3.478653]  [<ffffffff815206b0>] ? __device_attach+0x40/0x40
[    3.478655]  [<ffffffff8151df93>] bus_for_each_dev+0x73/0xc0
[    3.478657]  [<ffffffff8151fd6e>] driver_attach+0x1e/0x20
[    3.478659]  [<ffffffff8151f938>] bus_add_driver+0x188/0x260
[    3.478662]  [<ffffffff81521214>] driver_register+0x64/0xf0
[    3.478672]  [<ffffffff8142ff00>] __pci_register_driver+0x60/0x70
[    3.478678]  [<ffffffffa009737a>] drm_pci_init+0x10a/0x140 [drm]
[    3.478680]  [<ffffffffa012e000>] ? 0xffffffffa012dfff
[    3.478685]  [<ffffffffa012e018>] vmwgfx_init+0x18/0x1000 [vmwgfx]
[    3.478687]  [<ffffffff81002148>] do_one_initcall+0xd8/0x210
[    3.478690]  [<ffffffff812074aa>] ? __vunmap+0xba/0x120
[    3.478692]  [<ffffffff8113afb0>] load_module+0x2110/0x2740
[    3.478694]  [<ffffffff81136220>] ? store_uevent+0x70/0x70
[    3.478697]  [<ffffffff810fc24f>] ? lock_release_holdtime.part.28+0xf/0x200
[    3.478699]  [<ffffffff811025f6>] ? lock_release_non_nested+0x3c6/0x3d0
[    3.478701]  [<ffffffff8113b6c7>] SyS_init_module+0xe7/0x140
[    3.478704]  [<ffffffff81811ca9>] system_call_fastpath+0x16/0x1b
[    3.478705] ---[ end trace e9ebbf2499616fa1 ]---
[

Comment 5 Vinson Lee 2014-07-23 19:04:15 UTC
[    3.317858] ------------[ cut here ]------------
[    3.317886] WARNING: CPU: 0 PID: 374 at drivers/gpu/drm/drm_modeset_lock.c:91 drm_modeset_drop_locks+0x71/0x80 [drm]()
[    3.317887] Modules linked in: vmwgfx(+) drm_kms_helper ttm drm mptspi scsi_transport_spi e1000 mptscsih ata_generic i2c_core mptbase pata_acpi
[    3.317900] CPU: 0 PID: 374 Comm: systemd-udevd Not tainted 3.16.0-0.rc6.git1.1.fc22.x86_64 #1
[    3.317902] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/31/2013
[    3.317903]  0000000000000000 0000000041071880 ffff880036dc7910 ffffffff818085c6
[    3.317906]  0000000000000000 ffff880036dc7948 ffffffff8109b3ed ffff880038898000
[    3.317908]  ffff88003925e580 ffff88003925e580 ffff8800389c1600 ffff880038940000
[    3.317912] Call Trace:
[    3.317923]  [<ffffffff818085c6>] dump_stack+0x4d/0x66
[    3.317930]  [<ffffffff8109b3ed>] warn_slowpath_common+0x7d/0xa0
[    3.317932]  [<ffffffff8109b51a>] warn_slowpath_null+0x1a/0x20
[    3.317940]  [<ffffffffa00a9f31>] drm_modeset_drop_locks+0x71/0x80 [drm]
[    3.317950]  [<ffffffffa009a9ee>] drm_modeset_unlock_all+0x2e/0x70 [drm]
[    3.317959]  [<ffffffffa009c5d7>] drm_crtc_init_with_planes+0xa7/0x110 [drm]
[    3.317966]  [<ffffffffa00d8343>] drm_crtc_init+0x33/0x40 [drm_kms_helper]
[    3.317980]  [<ffffffffa01145a9>] vmw_kms_init_screen_object_display+0x1a9/0x260 [vmwgfx]
[    3.317987]  [<ffffffffa0106b69>] vmw_kms_init+0x59/0x70 [vmwgfx]
[    3.317992]  [<ffffffffa0108dd0>] vmw_driver_load+0x8d0/0xda0 [vmwgfx]
[    3.317999]  [<ffffffffa00952cd>] drm_dev_register+0xad/0x100 [drm]
[    3.318005]  [<ffffffffa00980fd>] drm_get_pci_dev+0x8d/0x200 [drm]
[    3.318010]  [<ffffffffa0107b25>] vmw_probe+0x15/0x20 [vmwgfx]
[    3.318015]  [<ffffffff81430905>] local_pci_probe+0x45/0xa0
[    3.318017]  [<ffffffff81431be5>] ? pci_match_device+0xe5/0x110
[    3.318020]  [<ffffffff81431d49>] pci_device_probe+0xf9/0x150
[    3.318026]  [<ffffffff81520693>] driver_probe_device+0xa3/0x400
[    3.318028]  [<ffffffff81520abb>] __driver_attach+0x8b/0x90
[    3.318031]  [<ffffffff81520a30>] ? __device_attach+0x40/0x40
[    3.318033]  [<ffffffff8151e313>] bus_for_each_dev+0x73/0xc0
[    3.318035]  [<ffffffff815200ee>] driver_attach+0x1e/0x20
[    3.318037]  [<ffffffff8151fcb8>] bus_add_driver+0x188/0x260
[    3.318040]  [<ffffffff81521594>] driver_register+0x64/0xf0
[    3.318042]  [<ffffffff814301b0>] __pci_register_driver+0x60/0x70
[    3.318048]  [<ffffffffa009837a>] drm_pci_init+0x10a/0x140 [drm]
[    3.318050]  [<ffffffffa012f000>] ? 0xffffffffa012efff
[    3.318055]  [<ffffffffa012f018>] vmwgfx_init+0x18/0x1000 [vmwgfx]
[    3.318059]  [<ffffffff81002148>] do_one_initcall+0xd8/0x210
[    3.318062]  [<ffffffff8120775a>] ? __vunmap+0xba/0x120
[    3.318066]  [<ffffffff8113b210>] load_module+0x2110/0x2740
[    3.318070]  [<ffffffff81136480>] ? store_uevent+0x70/0x70
[    3.318076]  [<ffffffff810fc24f>] ? lock_release_holdtime.part.28+0xf/0x200
[    3.318078]  [<ffffffff811025f6>] ? lock_release_non_nested+0x3c6/0x3d0
[    3.318080]  [<ffffffff8113b927>] SyS_init_module+0xe7/0x140
[    3.318084]  [<ffffffff81812169>] system_call_fastpath+0x16/0x1b
[    3.318085] ---[ end trace 8f878d379140c97e ]---

Comment 6 Vinson Lee 2014-07-30 19:33:14 UTC
[    3.317459] ------------[ cut here ]------------
[    3.317475] WARNING: CPU: 0 PID: 373 at drivers/gpu/drm/drm_modeset_lock.c:91 drm_modeset_drop_locks+0x71/0x80 [drm]()
[    3.317478] Modules linked in: vmwgfx(+) drm_kms_helper ttm drm mptspi scsi_transport_spi mptscsih e1000 i2c_core mptbase ata_generic pata_acpi
[    3.317494] CPU: 0 PID: 373 Comm: systemd-udevd Not tainted 3.16.0-0.rc7.git1.1.fc22.x86_64 #1
[    3.317496] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/31/2013
[    3.317498]  0000000000000000 00000000383e0f32 ffff88003956b910 ffffffff81808855
[    3.317503]  0000000000000000 ffff88003956b948 ffffffff8109b3dd ffff88003936e000
[    3.317506]  ffff880039352980 ffff880039352980 ffff8800390a6c00 ffff880038840000
[    3.317511] Call Trace:
[    3.317519]  [<ffffffff81808855>] dump_stack+0x4d/0x66
[    3.317524]  [<ffffffff8109b3dd>] warn_slowpath_common+0x7d/0xa0
[    3.317527]  [<ffffffff8109b50a>] warn_slowpath_null+0x1a/0x20
[    3.317542]  [<ffffffffa00aff31>] drm_modeset_drop_locks+0x71/0x80 [drm]
[    3.317636]  [<ffffffffa00a09ee>] drm_modeset_unlock_all+0x2e/0x70 [drm]
[    3.317647]  [<ffffffffa00a25d7>] drm_crtc_init_with_planes+0xa7/0x110 [drm]
[    3.317654]  [<ffffffffa00de343>] drm_crtc_init+0x33/0x40 [drm_kms_helper]
[    3.317667]  [<ffffffffa011a5a9>] vmw_kms_init_screen_object_display+0x1a9/0x260 [vmwgfx]
[    3.317676]  [<ffffffffa010cb69>] vmw_kms_init+0x59/0x70 [vmwgfx]
[    3.317685]  [<ffffffffa010edd0>] vmw_driver_load+0x8d0/0xda0 [vmwgfx]
[    3.317695]  [<ffffffffa009b2cd>] drm_dev_register+0xad/0x100 [drm]
[    3.317705]  [<ffffffffa009e0fd>] drm_get_pci_dev+0x8d/0x200 [drm]
[    3.317712]  [<ffffffffa010db25>] vmw_probe+0x15/0x20 [vmwgfx]
[    3.317717]  [<ffffffff81430b05>] local_pci_probe+0x45/0xa0
[    3.317721]  [<ffffffff81431de5>] ? pci_match_device+0xe5/0x110
[    3.317725]  [<ffffffff81431f49>] pci_device_probe+0xf9/0x150
[    3.317731]  [<ffffffff81520893>] driver_probe_device+0xa3/0x400
[    3.317735]  [<ffffffff81520cbb>] __driver_attach+0x8b/0x90
[    3.317738]  [<ffffffff81520c30>] ? __device_attach+0x40/0x40
[    3.317742]  [<ffffffff8151e513>] bus_for_each_dev+0x73/0xc0
[    3.317745]  [<ffffffff815202ee>] driver_attach+0x1e/0x20
[    3.317748]  [<ffffffff8151feb8>] bus_add_driver+0x188/0x260
[    3.317752]  [<ffffffff81521794>] driver_register+0x64/0xf0
[    3.317755]  [<ffffffff814303b0>] __pci_register_driver+0x60/0x70
[    3.317763]  [<ffffffffa009e37a>] drm_pci_init+0x10a/0x140 [drm]
[    3.317767]  [<ffffffffa0135000>] ? 0xffffffffa0134fff
[    3.317774]  [<ffffffffa0135018>] vmwgfx_init+0x18/0x1000 [vmwgfx]
[    3.317779]  [<ffffffff81002148>] do_one_initcall+0xd8/0x210
[    3.317783]  [<ffffffff8120788a>] ? __vunmap+0xba/0x120
[    3.317788]  [<ffffffff8113b200>] load_module+0x2110/0x2740
[    3.317793]  [<ffffffff81136470>] ? store_uevent+0x70/0x70
[    3.317809]  [<ffffffff810fc23f>] ? lock_release_holdtime.part.28+0xf/0x200
[    3.317815]  [<ffffffff811025e6>] ? lock_release_non_nested+0x3c6/0x3d0
[    3.317818]  [<ffffffff8113b917>] SyS_init_module+0xe7/0x140
[    3.317822]  [<ffffffff818123e9>] system_call_fastpath+0x16/0x1b
[    3.317825] ---[ end trace c2b2d9c5c32ffd6e ]---

Comment 7 Vinson Lee 2014-08-14 00:42:50 UTC
[    4.529023] ------------[ cut here ]------------
[    4.529037] WARNING: CPU: 0 PID: 373 at drivers/gpu/drm/drm_modeset_lock.c:91 drm_modeset_drop_locks+0x71/0x80 [drm]()
[    4.529038] Modules linked in: vmwgfx(+) drm_kms_helper ttm drm mptspi e1000 scsi_transport_spi mptscsih mptbase ata_generic pata_acpi
[    4.529049] CPU: 0 PID: 373 Comm: systemd-udevd Not tainted 3.17.0-0.rc0.git4.2.fc22.x86_64 #1
[    4.529051] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/31/2013
[    4.529052]  0000000000000000 00000000cfefa16f ffff88003907b908 ffffffff81827f20
[    4.529055]  0000000000000000 ffff88003907b940 ffffffff810a01bd ffff880036f43000
[    4.529057]  ffff880036d58080 ffff880036d58080 0000000000000000 ffff88003895ae00
[    4.529060] Call Trace:
[    4.529066]  [<ffffffff81827f20>] dump_stack+0x4d/0x66
[    4.529070]  [<ffffffff810a01bd>] warn_slowpath_common+0x7d/0xa0
[    4.529072]  [<ffffffff810a02ea>] warn_slowpath_null+0x1a/0x20
[    4.529080]  [<ffffffffa00a2ab1>] drm_modeset_drop_locks+0x71/0x80 [drm]
[    4.529086]  [<ffffffffa009290e>] drm_modeset_unlock_all+0x2e/0x70 [drm]
[    4.529093]  [<ffffffffa0094e61>] drm_crtc_init_with_planes+0xb1/0x140 [drm]
[    4.529097]  [<ffffffffa00ff393>] drm_crtc_init+0x33/0x40 [drm_kms_helper]
[    4.529106]  [<ffffffffa0127569>] vmw_kms_init_screen_object_display+0x1a9/0x260 [vmwgfx]
[    4.529112]  [<ffffffffa0119c49>] vmw_kms_init+0x59/0x70 [vmwgfx]
[    4.529118]  [<ffffffffa011be90>] vmw_driver_load+0x8d0/0xda0 [vmwgfx]
[    4.529124]  [<ffffffffa008d03d>] drm_dev_register+0xad/0x100 [drm]
[    4.529130]  [<ffffffffa009007d>] drm_get_pci_dev+0x8d/0x200 [drm]
[    4.529135]  [<ffffffffa011ac05>] vmw_probe+0x15/0x20 [vmwgfx]
[    4.529138]  [<ffffffff8143dc45>] local_pci_probe+0x45/0xa0
[    4.529140]  [<ffffffff8143ef65>] ? pci_match_device+0xe5/0x110
[    4.529142]  [<ffffffff8143f0c9>] pci_device_probe+0xf9/0x150
[    4.529145]  [<ffffffff8152e183>] driver_probe_device+0xa3/0x400
[    4.529147]  [<ffffffff8152e5ab>] __driver_attach+0x8b/0x90
[    4.529149]  [<ffffffff8152e520>] ? __device_attach+0x40/0x40
[    4.529151]  [<ffffffff8152be03>] bus_for_each_dev+0x73/0xc0
[    4.529153]  [<ffffffff8152dbde>] driver_attach+0x1e/0x20
[    4.529155]  [<ffffffff8152d7a8>] bus_add_driver+0x188/0x260
[    4.529157]  [<ffffffff8152f084>] driver_register+0x64/0xf0
[    4.529159]  [<ffffffff8143d500>] __pci_register_driver+0x60/0x70
[    4.529165]  [<ffffffffa00902fa>] drm_pci_init+0x10a/0x140 [drm]
[    4.529167]  [<ffffffffa00d7000>] ? 0xffffffffa00d7000
[    4.529172]  [<ffffffffa00d7018>] vmwgfx_init+0x18/0x1000 [vmwgfx]
[    4.529174]  [<ffffffff81002148>] do_one_initcall+0xd8/0x210
[    4.529177]  [<ffffffff81211fda>] ? __vunmap+0xba/0x120
[    4.529180]  [<ffffffff81140644>] load_module+0x21b4/0x2700
[    4.529182]  [<ffffffff8113b790>] ? store_uevent+0x70/0x70
[    4.529185]  [<ffffffff810f5bef>] ? lock_release_holdtime.part.28+0xf/0x200
[    4.529187]  [<ffffffff810fbf96>] ? lock_release_non_nested+0x3c6/0x3d0
[    4.529189]  [<ffffffff81140c77>] SyS_init_module+0xe7/0x140
[    4.529192]  [<ffffffff81831da9>] system_call_fastpath+0x16/0x1b
[    4.529193] ---[ end trace 3c8b2dbeb2099ad8 ]---

Comment 8 Vinson Lee 2014-08-26 17:50:31 UTC
[    3.605191] ------------[ cut here ]------------
[    3.605204] WARNING: CPU: 0 PID: 374 at drivers/gpu/drm/drm_modeset_lock.c:91 drm_modeset_drop_locks+0x71/0x80 [drm]()
[    3.605205] Modules linked in: vmwgfx(+) drm_kms_helper ttm drm mptspi scsi_transport_spi e1000 mptscsih i2ccore mptbase ata_generic pata_acpi
[    3.605215] CPU: 0 PID: 374 Comm: systemd-udevd Not tainted 3.17.0-0.rc1.git3.1.fc22.x86_64 #1
[    3.605217] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/31/2013
[    3.605218]  0000000000000000 000000007d47b567 ffff8800396d7908 ffffffff81823910
[    3.605221]  0000000000000000 ffff8800396d7940 ffffffff810a114d ffff880039602000
[    3.605223]  ffff8800392ec480 ffff8800392ec480 0000000000000000 ffff8800389d3000
[    3.605225] Call Trace:
[    3.605230]  [<ffffffff81823910>] dump_stack+0x4d/0x66
[    3.605234]  [<ffffffff810a114d>] warn_slowpath_common+0x7d/0xa0
[    3.605236]  [<ffffffff810a127a>] warn_slowpath_null+0x1a/0x20
[    3.605243]  [<ffffffffa00b2ab1>] drm_modeset_drop_locks+0x71/0x80 [drm]
[    3.605250]  [<ffffffffa00a290e>] drm_modeset_unlock_all+0x2e/0x70 [drm]
[    3.605256]  [<ffffffffa00a4e61>] drm_crtc_init_with_planes+0xb1/0x140 [drm]
[    3.605260]  [<ffffffffa0118393>] drm_crtc_init+0x33/0x40 [drm_kms_helper]
[    3.605268]  [<ffffffffa0140569>] vmw_kms_init_screen_object_display+0x1a9/0x260 [vmwgfx]
[    3.605274]  [<ffffffffa0132c49>] vmw_kms_init+0x59/0x70 [vmwgfx]
[    3.605280]  [<ffffffffa0134e90>] vmw_driver_load+0x8d0/0xda0 [vmwgfx]
[    3.605285]  [<ffffffffa009d03d>] drm_dev_register+0xad/0x100 [drm]
[    3.605291]  [<ffffffffa00a007d>] drm_get_pci_dev+0x8d/0x200 [drm]
[    3.605296]  [<ffffffffa0133c05>] vmw_probe+0x15/0x20 [vmwgfx]
[    3.605299]  [<ffffffff8143f5e5>] local_pci_probe+0x45/0xa0
[    3.605301]  [<ffffffff81440905>] ? pci_match_device+0xe5/0x110
[    3.605303]  [<ffffffff81440a69>] pci_device_probe+0xf9/0x150
[    3.605306]  [<ffffffff8152fa53>] driver_probe_device+0xa3/0x400
[    3.605308]  [<ffffffff8152fe7b>] __driver_attach+0x8b/0x90
[    3.605310]  [<ffffffff8152fdf0>] ? __device_attach+0x40/0x40
[    3.605312]  [<ffffffff8152d6d3>] bus_for_each_dev+0x73/0xc0
[    3.605314]  [<ffffffff8152f4ae>] driver_attach+0x1e/0x20
[    3.605316]  [<ffffffff8152f078>] bus_add_driver+0x188/0x260
[    3.605318]  [<ffffffff81530954>] driver_register+0x64/0xf0
[    3.605320]  [<ffffffff8143eea0>] __pci_register_driver+0x60/0x70
[    3.605325]  [<ffffffffa00a02fa>] drm_pci_init+0x10a/0x140 [drm]
[    3.605327]  [<ffffffffa00df000>] ? 0xffffffffa00df000
[    3.605332]  [<ffffffffa00df018>] vmwgfx_init+0x18/0x1000 [vmwgfx]
[    3.605334]  [<ffffffff81002148>] do_one_initcall+0xd8/0x210
[    3.605337]  [<ffffffff812132ca>] ? __vunmap+0xba/0x120
[    3.605340]  [<ffffffff811416b4>] load_module+0x21c4/0x2710
[    3.605342]  [<ffffffff8113c860>] ? store_uevent+0x70/0x70
[    3.605345]  [<ffffffff810f6b8f>] ? lock_release_holdtime.part.28+0xf/0x200
[    3.605347]  [<ffffffff810fcf36>] ? lock_release_non_nested+0x3c6/0x3d0
[    3.605349]  [<ffffffff81141ce7>] SyS_init_module+0xe7/0x140
[    3.605352]  [<ffffffff8182d769>] system_call_fastpath+0x16/0x1b
[    3.605354] ---[ end trace 65e810d157d0cf1a ]---

Comment 9 Thomas Hellström 2014-08-27 10:39:11 UTC
Can't reproduce this with latest drm-fixes Ubuntu 13.10. 

It appears you are using fedora 22?
Will give it a shot

/Thomas

Comment 10 Rob Clark 2014-08-27 14:48:27 UTC
btw, really, don't enable CONFIG_DEBUG_WW_MUTEX_SLOWPATH in a production kernel.. even a debug kernel.  It can have pretty significant overhead for gpu's, and it really only makes sense to use if you are actually working on a driver that is using ww_mutex (in which case you are probably building your own kernel).

Disabling the option would make this working go away.  This warning only comes because of the slowpath fault injection.  In reality, there is no way for that lock acquisition to fail.

Nevertheless we should probably use _trylock() there to get rid of the warning if you have CONFIG_DEBUG_WW_MUTEX_SLOWPATH enabled.

Comment 11 Josh Boyer 2014-08-28 13:09:29 UTC
(In reply to Rob Clark from comment #10)
> btw, really, don't enable CONFIG_DEBUG_WW_MUTEX_SLOWPATH in a production
> kernel.. even a debug kernel.  It can have pretty significant overhead for
> gpu's, and it really only makes sense to use if you are actually working on
> a driver that is using ww_mutex (in which case you are probably building
> your own kernel).
> 
> Disabling the option would make this working go away.  This warning only
> comes because of the slowpath fault injection.  In reality, there is no way
> for that lock acquisition to fail.

Thanks Rob.  I'll look at disabling that today.

> Nevertheless we should probably use _trylock() there to get rid of the
> warning if you have CONFIG_DEBUG_WW_MUTEX_SLOWPATH enabled.

Do you want this bug to stay open for that specific change, or is disabling the option enough of a "fix" ?

Comment 12 Rob Clark 2014-08-28 13:55:20 UTC
(In reply to Josh Boyer from comment #11)
> (In reply to Rob Clark from comment #10)
> > btw, really, don't enable CONFIG_DEBUG_WW_MUTEX_SLOWPATH in a production
> > kernel.. even a debug kernel.  It can have pretty significant overhead for
> > gpu's, and it really only makes sense to use if you are actually working on
> > a driver that is using ww_mutex (in which case you are probably building
> > your own kernel).
> > 
> > Disabling the option would make this working go away.  This warning only
> > comes because of the slowpath fault injection.  In reality, there is no way
> > for that lock acquisition to fail.
> 
> Thanks Rob.  I'll look at disabling that today.
> 
> > Nevertheless we should probably use _trylock() there to get rid of the
> > warning if you have CONFIG_DEBUG_WW_MUTEX_SLOWPATH enabled.
> 
> Do you want this bug to stay open for that specific change, or is disabling
> the option enough of a "fix" ?

feel free to use this bug for the config change if you want..  we also have an upstream bug now to track making that code play nicely w/ DEBUG_WW_MUTEX_SLOWPATH=y

https://bugzilla.kernel.org/show_bug.cgi?id=83341

Comment 13 Josh Boyer 2014-08-28 14:41:57 UTC
(In reply to Rob Clark from comment #12)
> (In reply to Josh Boyer from comment #11)
> > (In reply to Rob Clark from comment #10)
> > > btw, really, don't enable CONFIG_DEBUG_WW_MUTEX_SLOWPATH in a production
> > > kernel.. even a debug kernel.  It can have pretty significant overhead for
> > > gpu's, and it really only makes sense to use if you are actually working on
> > > a driver that is using ww_mutex (in which case you are probably building
> > > your own kernel).
> > > 
> > > Disabling the option would make this working go away.  This warning only
> > > comes because of the slowpath fault injection.  In reality, there is no way
> > > for that lock acquisition to fail.
> > 
> > Thanks Rob.  I'll look at disabling that today.
> > 
> > > Nevertheless we should probably use _trylock() there to get rid of the
> > > warning if you have CONFIG_DEBUG_WW_MUTEX_SLOWPATH enabled.
> > 
> > Do you want this bug to stay open for that specific change, or is disabling
> > the option enough of a "fix" ?
> 
> feel free to use this bug for the config change if you want..  we also have
> an upstream bug now to track making that code play nicely w/
> DEBUG_WW_MUTEX_SLOWPATH=y
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=83341

Great, thanks.  I've disabled it on the F20-rawhide branches.  Should be in tomorrow's rawhide kernel and the next builds of the release branches as well.

Thanks again Rob.

Comment 14 Fedora Update System 2014-09-06 12:46:00 UTC
kernel-3.16.2-300.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/kernel-3.16.2-300.fc21

Comment 15 Fedora Update System 2014-09-08 16:25:47 UTC
kernel-3.16.2-200.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/kernel-3.16.2-200.fc20

Comment 16 Fedora Update System 2014-09-13 06:50:52 UTC
kernel-3.16.2-200.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2014-09-23 05:00:06 UTC
kernel-3.16.2-300.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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