Skip to contentSkip to conversation

circular locking,

Bug 105051 [email protected] 1 participant 8 messages Feb 12, 2018 – Oct 14, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=105051

Bug ID: 105051
Summary: circular locking,
Product: DRI
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/other
Assignee: [email protected]
Reporter: [email protected]

4.16.0-0.rc0.git9.1.fc28.x86_64 which is "linux-next" git f9f1e414128e

[    9.523799] switcheroo-cont/889 is trying to acquire lock:
[    9.523799]  (console_lock){+.+.}, at: [<000000002c1cc7fb>]
vga_switchto_stage2+0x93/0x130
[    9.523806] 
               but task is already holding lock:
[    9.523807]  (vgasr_mutex){+.+.}, at: [<000000007e504e29>]
vga_switcheroo_debugfs_write+0x6b/0x360
[    9.523810] 
               which lock already depends on the new lock.
[    9.523810] 
               the existing dependency chain (in reverse order) is:
[    9.523810] 
               -> #3 (vgasr_mutex){+.+.}:
[    9.523812] 
               -> #2 (&helper->lock){+.+.}:
[    9.523814] 
               -> #1 ((fb_notifier_list).rwsem){++++}:
[    9.523816] 
               -> #0 (console_lock){+.+.}:
[    9.523818] 
               other info that might help us debug this:
[    9.523818] Chain exists of:
                 console_lock --> &helper->lock --> vgasr_mutex
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 105051] circular locking, switcheroo-cont/889 is trying to acquire lock vga_switchto_stage2, but vga_switcheroo_debugfs_write already has lock

https://bugs.freedesktop.org/show_bug.cgi?id=105051

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|circular locking,           |circular locking,
                   |                            |switcheroo-cont/889 is
                   |                            |trying to acquire lock
                   |                            |vga_switchto_stage2, but
                   |                            |vga_switcheroo_debugfs_writ
                   |                            |e already has lock
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 105051] circular locking, switcheroo-cont/889 is trying to acquire lock vga_switchto_stage2, but vga_switcheroo_debugfs_write already has lock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105051

--- Comment #1 from [email protected] ---
Created attachment 137286
--> https://bugs.freedesktop.org/attachment.cgi?id=137286&action=edit
dmesg.log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 105051] circular locking, switcheroo-cont/889 is trying to acquire lock vga_switchto_stage2, but vga_switcheroo_debugfs_write already has lock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105051

--- Comment #2 from [email protected] ---
Created attachment 137287
--> https://bugs.freedesktop.org/attachment.cgi?id=137287&action=edit
journalctl -b -o short-monotonic

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 105051] circular locking, switcheroo-cont/889 is trying to acquire lock vga_switchto_stage2, but vga_switcheroo_debugfs_write already has lock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105051

--- Comment #3 from [email protected] ---
Created attachment 137288
--> https://bugs.freedesktop.org/attachment.cgi?id=137288&action=edit
lspci -vvnn

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 105051] circular locking, switcheroo-cont/889 is trying to acquire lock vga_switchto_stage2, but vga_switcheroo_debugfs_write already has lock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105051

--- Comment #4 from [email protected] ---
Created attachment 137289
--> https://bugs.freedesktop.org/attachment.cgi?id=137289&action=edit
dmidecode

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 105051] circular locking, switcheroo-cont/889 is trying to acquire lock vga_switchto_stage2, but vga_switcheroo_debugfs_write already has lock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105051

--- Comment #5 from [email protected] ---
Still happens in 4.16.0-0.rc4.git3.1.fc29.x86_64 which is git 1b88accf6a65.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 105051] circular locking, switcheroo-cont/889 is trying to acquire lock vga_switchto_stage2, but vga_switcheroo_debugfs_write already has lock

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105051

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from Martin Peres <[email protected]> --- Hi,

Freedesktop's Bugzilla instance is EOLed and open bugs are about to be migrated to http://gitlab.freedesktop.org.

To avoid migrating out of date bugs, I am now closing all the bugs that did not see any activity in the past year. If the issue is still happening, please create a new bug in the relevant project at https://gitlab.freedesktop.org/drm
(use misc by default).

Sorry about the noise!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel