Bug 61791

Summary: laptop are not able to do a suspend
Product: Drivers Reporter: Marc Collin (marc.collin)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEEDINFO ---    
Severity: normal CC: tianyu.lan
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 3.11.1 Subsystem:
Regression: No Bisected commit-id:
Attachments: /var/log/messages
dmesg

Description Marc Collin 2013-09-21 09:05:07 UTC
Created attachment 109061 [details]
/var/log/messages

with kernel 3.11.1, suspend function stopped to work.
screen is closing (become black) but cpu continue to run.
Comment 1 Marc Collin 2013-09-21 09:05:41 UTC
Created attachment 109071 [details]
dmesg
Comment 2 Marc Collin 2013-09-21 09:06:39 UTC
i don't have this issue with kernel 3.10.10
Comment 3 Lan Tianyu 2013-09-22 01:18:21 UTC
Please try the following command under root privilege.
"echo mem > /sys/power/state"
Comment 4 Marc Collin 2013-09-22 07:59:19 UTC
i get /bin/echo: write error: device or resource busy
i saw a blackscreen... cpu continue to run

when i do dmesg return

[    2.662669] [drm] Initialized nouveau 1.1.1 20120801 for 0000:01:00.0 on minor 0
[    7.353746] nouveau E[   PFIFO][0000:01:00.0] playlist update failed
[  275.211972] nouveau  [     DRM] suspending fbcon...
[  275.211977] nouveau  [     DRM] suspending display...
[  275.211981] nouveau  [     DRM] unpinning framebuffer(s)...
[  275.212030] nouveau  [     DRM] evicting buffers...
[  290.455725] nouveau  [     DRM] waiting for kernel channels to go idle...
[  305.472005] nouveau E[     DRM] failed to idle channel 0xcccc0001 [DRM]
[  305.472037] pci_pm_suspend(): nouveau_pmops_suspend+0x0/0x70 [nouveau] returns -16


a saw annother message when i boot

nouveau E[PBUS] [0000:01:00.0] MMIO write of 0x000040 fault
nouveau E[PBUS] [0000:01:00.0] MMIO write of 0x000000 fault
Comment 5 Marc Collin 2013-09-22 08:01:19 UTC
nouveau E[PBUS] [0000:01:00.0] MMIO write of 0x000401 fault
not nouveau E[PBUS] [0000:01:00.0] MMIO write of 0x000000 fault

so surely a nouveau driver problem
Comment 6 Lan Tianyu 2013-09-22 08:04:41 UTC
Yes, I think so too and so reassign the bug to correct category.
Comment 7 Marc Collin 2013-09-22 08:24:16 UTC
i have an optimus sytem


s2ram -f


KMS graphics driver is in use, skipping quirks.
s2ram_do: Device or resource busy