Skip to contentSkip to conversation

New: Hard Hang on suspend - 8600M GS

Bug 27720 [email protected] 1 participant 9 messages Apr 18, 2010 – Aug 18, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Summary: Hard Hang on suspend - 8600M GS
Product: xorg
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

Created an attachment (id=35138)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35138)
Nouveau dmesg chatter

Hard hang on suspend. X not involved; happens in single-user with nouveau loaded and providing framebuffer console, suspend done via pm-suspend (also hangs in X if suspend attempted).

System locked up, no response to alt-sysrq magic keys, full CPU burn (judging
from fan). Nouveau-related dmesg chatter attached; more info on request.

Other than that, driver performs well for ordinary use. Chip runs hotter and
fan-speed stays higher, but visuals are about the same as the proprietary nvidia driver.

Machine is an Everex laptop, Turion X2 x68-64, nvidia chipset.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 27720] Hard Hang on suspend - 8600M GS

In reply to a message not in the archive

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

Jim Bray <[email protected]> changed:

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

  Attachment #35138|0                           |1

is obsolete| |

--- Comment #1 from Jim Bray <[email protected]> 2010-04-17 22:57:28 PDT --- Created an attachment (id=35139)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35139)
Nouveau dmesg chatter, text format

Also: all components including kernel pulled from git and built today.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 27720] Hard Hang on suspend - 8600M GS

In reply to a message not in the archive

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

--- Comment #2 from Xavier <[email protected]> 2010-04-18 01:24:35 PDT --- Can't you see the full kernel logs in /var/log/ after rebooting ?
Complete logs from boot up to to the point where the machine locked up could be
useful.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 27720] Hard Hang on suspend - 8600M GS

In reply to a message not in the archive

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

Jim Bray <[email protected]> changed:

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

  Attachment #35139|0                           |1

is obsolete| |

--- Comment #3 from Jim Bray <[email protected]> 2010-04-18 09:55:12 PDT --- Created an attachment (id=35141)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35141)
Complete dmesg, minimal kernel, some debugging enabled

I made a minimal-testbed kernel, with some debugging enabled, brought it up
to single-user, copied the dmesg, did pm-suspend, waited a while, pushed reboot.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 27720] Hard Hang on suspend - 8600M GS

In reply to a message not in the archive

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

--- Comment #4 from Jim Bray <[email protected]> 2010-04-18 09:57:13 PDT --- Created an attachment (id=35142)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35142)
pm-suspend.log

Found pm-suspend.log in /var/log. dmesg and kernal messages apparently aren't
saved to disk in single-user before the pm-suspend hangs the system.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 27720] Hard Hang on suspend - 8600M GS

In reply to a message not in the archive

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

--- Comment #5 from Jim Bray <[email protected]> 2010-04-19 20:17:46 PDT ---
I booted with the "no_console_suspend" parameter and got a little more info:

[DRM] nouveau <suspend chatter>
[DRM] nouveau 0000:05:00.0 And we're gone!
nouveau 0000:05:00.0 PCI INT A Disabled

(machine hangs with full cpu burn)

This is with a minimal testbed kernel.

I tried putting a return(-ENODEV) in the top of nouveau_drv.c::pm_suspend(),
and the machine still hung.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 27720] Hard Hang on suspend - 8600M GS

In reply to a message not in the archive

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

--- Comment #6 from Jim Bray <[email protected]> 2010-04-20 19:38:30 PDT --- Created an attachment (id=35192)
View: https://bugs.freedesktop.org/attachment.cgi?id=35192
Review: https://bugs.freedesktop.org/review?bug=27720&attachment=35192

Very crude hacks that appear to sort of work

I have done some printk-debugging, and come up with some preliminary results
and a patch that works in my minimal testbed kernel, suspending the fb-console in single-user and resuming multiple times. It appears that acquire_console_sem() may be hanging things, and it is pretty clear that one or more of the pci calls, such as pci_set_power_state(pdev, PCI_D3hot), are hanging. I'll see if this works multi-user suspending from X.

This is *not* recommended as a patch, just as an indication of where the
problems may lie.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 27720] Hard Hang on suspend - 8600M GS

In reply to a message not in the archive

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

--- Comment #7 from Jim Bray <[email protected]> 2010-04-20 20:12:29 PDT ---
I applied this patch to my working nouveau git kernel, and it is working well
enough that I suspended and resumed after the comma in this sentence, which
makes nouveau fully usable for my purposes. Hopefully a proper fix will be
developed at some point.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 27720] Hard Hang on suspend - 8600M GS

In reply to a message not in the archive

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

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

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

--- Comment #8 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- It appears that this bug report has laid dormant for quite a while. Sorry we haven't gotten to it. Since we fix bugs all the time, chances are pretty good that your issue has been fixed with the latest software. Please give it a shot. (Linux kernel 3.10.7, xf86-video-nouveau 1.0.9, mesa 9.1.6, or their git versions.) If upgrading to the latest isn't an option for you, your distro's bugzilla is probably the right destination for your bug report.

In an effort to clean up our bug list, we're pre-emptively closing all bugs that haven't seen updates since 2011. If the original issue remains, please make sure to provide fresh info, see http://nouveau.freedesktop.org/wiki/Bugs/
for what we need to see, and re-open this one.

Thanks,

The Nouveau Team

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

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau