* [Bug 90423] New: [NVAA]: Shutdown (poweroff) get stuck when runtime PM is enabled
@ 2015-05-12 16:04 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
[not found] ` <bug-90423-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
0 siblings, 1 reply; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-05-12 16:04 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 1896 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90423
Bug ID: 90423
Summary: [NVAA]: Shutdown (poweroff) get stuck when runtime PM
is enabled
Product: xorg
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Reporter: alexanders83-S0/GAf8tV78@public.gmane.org
QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org
I'm currently running a 3.19 kernel where I looked into the problem that one of
my systems doesn't shutdown cleanly most of the time. THis behavior started
from some older kernels, I _guess_ it's 5addcf0a5f0fadc ("nouveau: add runtime
PM support (v0.9").
My board is a Asus M3N78-EM with a
> 02:00.0 VGA compatible controller: NVIDIA Corporation C77 [GeForce 8300] (rev a2)
During shutdown dmesg shows the following:
[ 38.476675] systemd-shutdown[1]: Powering off.
[ 38.536997] sd 1:0:0:0: [sdb] Synchronizing SCSI cache
[ 38.542522] sd 1:0:0:0: [sdb] Stopping disk
[ 41.069224] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 41.074745] sd 0:0:0:0: [sda] Stopping disk
That's all.
I added some printk to my source tree and could trace the shutdown execution
path down to __pm_runtime_barrier where dev->power.runtime_status == 3. The
call to schedule() finally seems to be the deadlock.
Of course, if I compile my kernel with CONFIG_PM=n everything is fine.
Reenabling it again the problem occurs again.
A workaround suggested on IRC is to set runpm=0. This seems to work as the
system did clean shutdowns from this change on.
As I consider this really as a workaround I would like to fix this.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3158 bytes --]
[-- Attachment #2: Type: text/plain, Size: 153 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 90423] [NVAA]: Shutdown (poweroff) get stuck when runtime PM is enabled
[not found] ` <bug-90423-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2015-05-13 0:42 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-05-13 15:57 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-05-13 0:42 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 376 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90423
--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
runpm really shouldn't have any effect on your machine since you shouldn't have
the ACPI methods for it... can you include your dmesg and, if possible,
acpidump?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1144 bytes --]
[-- Attachment #2: Type: text/plain, Size: 153 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 90423] [NVAA]: Shutdown (poweroff) get stuck when runtime PM is enabled
[not found] ` <bug-90423-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2015-05-13 0:42 ` [Bug 90423] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-05-13 15:57 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-05-13 15:59 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-05-13 15:57 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 326 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90423
--- Comment #2 from Alexander Stein <alexanders83-S0/GAf8tV78@public.gmane.org> ---
Created attachment 115743
--> https://bugs.freedesktop.org/attachment.cgi?id=115743&action=edit
ascidump output
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1225 bytes --]
[-- Attachment #2: Type: text/plain, Size: 153 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 90423] [NVAA]: Shutdown (poweroff) get stuck when runtime PM is enabled
[not found] ` <bug-90423-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2015-05-13 0:42 ` [Bug 90423] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-05-13 15:57 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2015-05-13 15:59 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-16 10:21 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-12-04 8:59 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-05-13 15:59 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 466 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90423
--- Comment #3 from Alexander Stein <alexanders83-S0/GAf8tV78@public.gmane.org> ---
Created attachment 115744
--> https://bugs.freedesktop.org/attachment.cgi?id=115744&action=edit
serial console output
As the problem occurs at shutdown after disks has been stopped, I logged the
serial console output.
This is from plain v4.0.3 kernel
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1377 bytes --]
[-- Attachment #2: Type: text/plain, Size: 153 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 90423] [NVAA]: Shutdown (poweroff) get stuck when runtime PM is enabled
[not found] ` <bug-90423-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (2 preceding siblings ...)
2015-05-13 15:59 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-16 10:21 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-12-04 8:59 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-16 10:21 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 908 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90423
Peter Wu <peter-VTkQYDcBqhK7DlmcbJSQ7g@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |peter-VTkQYDcBqhK7DlmcbJSQ7g@public.gmane.org
--- Comment #4 from Peter Wu <peter-VTkQYDcBqhK7DlmcbJSQ7g@public.gmane.org> ---
The provided acpidump does contain the Nvidia DSM method
(9d95a0a0-0060-4d48-b34d-7e5fea129fd4) with function 3 (used for switchable
graphics).
What if you enable vga_switcheroo in your kernel .config?
If the Nvidia device goes into runtime sleep (after 5 seconds idle, not driving
a console or anything) and is then runtime resumed, does it also hang?
Is suspend/resume working?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2192 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 90423] [NVAA]: Shutdown (poweroff) get stuck when runtime PM is enabled
[not found] ` <bug-90423-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (3 preceding siblings ...)
2016-07-16 10:21 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2019-12-04 8:59 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2019-12-04 8:59 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 870 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90423
Martin Peres <martin.peres-GANU6spQydw@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED
--- Comment #5 from Martin Peres <martin.peres-GANU6spQydw@public.gmane.org> ---
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.
You can subscribe and participate further through the new bug through this link
to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/188.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2458 bytes --]
[-- Attachment #2: Type: text/plain, Size: 153 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-12-04 8:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-12 16:04 [Bug 90423] New: [NVAA]: Shutdown (poweroff) get stuck when runtime PM is enabled bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
[not found] ` <bug-90423-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2015-05-13 0:42 ` [Bug 90423] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-05-13 15:57 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-05-13 15:59 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-16 10:21 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-12-04 8:59 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.