[Dell Precision T7600][NVIDIA NVS300] System fails to resume from suspend with nouveau driver

Bug #1182296 reported by Po-Hsu Lin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-nouveau-lts-trusty (Ubuntu)
Expired
Medium
Unassigned

Bug Description

201109-9790 Dell Precision T7600 12.04.2 LTS

Step:
1. Press "Suspend" in system menu.
2. Press the power button after the system is suspended.

Expected Results:
1. System suspended.
2. System woke-up from suspend.

Actual Results:
1. System suspended.
2. System does not wake-up from suspend, nothing on the screen but a 1" wide purple rectangle.
In the short while, the system will starting to beep.

The graphic card of this system is nVidia NVS300, this issue remains
no matter using the open-source or proprietary drivers (current / current-update / experimental)

WORKAROUND: works fine with the nvidia-331-update proprietary driver.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.5.0-23-generic 3.5.0-23.35~precise1
ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ubuntu 1943 F.... pulseaudio
 /dev/snd/controlC0: ubuntu 1943 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xf3420000 irq 85'
   Mixer name : 'Realtek ALC269VB'
   Components : 'HDA:10ec0269,10280495,00100100'
   Controls : 27
   Simple ctrls : 14
Card1.Amixer.info:
 Card hw:1 'NVidia'/'HDA NVidia at 0xf3080000 irq 36'
   Mixer name : 'Nvidia GPU 0b HDMI/DP'
   Components : 'HDA:10de000b,10de0101,00100200'
   Controls : 24
   Simple ctrls : 4
Date: Mon May 20 18:03:44 2013
HibernationDevice: RESUME=UUID=c5379217-7d04-475e-9c7b-c773c7d2da61
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: Dell Inc. Precision T7600
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-23-generic root=UUID=005bc81a-1132-47ba-95bb-64399ff8ed0c ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-23-generic N/A
 linux-backports-modules-3.5.0-23-generic N/A
 linux-firmware 1.79.1
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/29/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: X66
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrX66:bd08/29/2012:svnDellInc.:pnPrecisionT7600:pvr01:rvnDellInc.:rn:rvr:cvnDellInc.:ct7:cvr:
dmi.product.name: Precision T7600
dmi.product.version: 01
dmi.sys.vendor: Dell Inc.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in linux (Ubuntu):
assignee: nobody → Anthony Wong (anthonywong)
tags: added: 201109-9790 blocks-hwcert taipei-lab
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Po-Hsu Lin (cypressyew)
tags: added: ihv-nvidia
Revision history for this message
Anthony Wong (anthonywong) wrote : Re: [Dell Precision T7600] System fails to resume from suspend

Can you upload kern.log after you reboot from a failed resume?

Changed in linux (Ubuntu):
assignee: Anthony Wong (anthonywong) → Keng-Yu Lin (lexical)
assignee: Keng-Yu Lin (lexical) → Jesse Sung (wenchien)
importance: Undecided → Medium
assignee: Jesse Sung (wenchien) → Anthony Wong (anthonywong)
status: Confirmed → Incomplete
Changed in linux (Ubuntu):
assignee: Anthony Wong (anthonywong) → Jesse Sung (wenchien)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

kern.log attached

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Ara Pulido (ara)
tags: added: blocks-hwcert-enablement
Ara Pulido (ara)
Changed in linux (Ubuntu):
importance: Medium → High
Changed in linux (Ubuntu):
assignee: Jesse Sung (wenchien) → Gavin Guo (mimi0213kimo)
Revision history for this message
Gavin Guo (mimi0213kimo) wrote :

Woking with Yung & Po-Hsu for finding out the platform which used the same nvs-300 nVidia graphics, we didn't find a platform with the same grphaics which passed the verification. It should be a bug with malfunctioned driver issue.

Revision history for this message
Gavin Guo (mimi0213kimo) wrote :

I think the suspend()/resume() callback function implementing in the driver is buggy. We need nVidia's help to debug these two functions.

Revision history for this message
Alberto Milone (albertomilone) wrote :

let's keep using the nouveau driver as a reference.

Please install the "linux-generic-lts-raring" package, boot into the new kernel and try to reproduce the problem, then attach the output of dmesg and your /var/log/Xorg.0.log and /var/log/Xorg.0.log.old

Revision history for this message
Anthony Wong (anthonywong) wrote :

This bug may also be due to the incomplete support of S3 in the kernel for the Patsburg SAS controller used in this machine.

@Po-hsu, could you try Alberto's suggestion in the above comment?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hello Alberto, Anthony,

Unlike 3.5 kernels, the situation is quite different while using the 3.8 raring kernel,

Steps (with 3.8 kernel installed):
1. Boot to desktop.
2. Suspend from the system menu.
3. Press the power button to wake it up.

Actual result:
1. The unlock screen appears, but the system is extremely slow. I was unable to unlock it.
2. Display switched to console mode and the following error messages pops-out
[ PFB][0000:05:00.0] trapped read at 0x002001a020 on channel 0x0001fb34 SEMAPHORE_BG/PFIFO_READ/00 reason: PAGE_NOT_PRESENT
[ 1296] failed to idel channel 0xcccc0000
3. After a few seconds, system switched back to the login screen, if you attempt to login, it repeats itself from 2.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
tags: added: bios-outdated-a07 needs-upstream-testing
Revision history for this message
penalvch (penalvch) wrote :

Po-Hsu Lin, due to the failures in your https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1184525/+attachment/3687610/+files/fwts_results.log and https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1184525/+attachment/3687615/+files/BootDmesg.txt :
[ 0.428963] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored

Hence, as per http://www.dell.com/support/drivers/us/en/19/Product/precision-t7600 an update is available for your BIOS (A10). If you update to this following https://help.ubuntu.com/community/BiosUpdate , does it change anything? If it doesn't, could you please both specify what happened, and just provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hello,
tested with 12.04.4 stock image on 201109-9790 (BIOS A04)
I think we can narrow down this issue to nouveau itself, it works fine with the nvidia-331-update proprietary driver

This system can be suspended with nouveau, but X will crash on resume.
Many EE could be found in the attached log.

Steps for reproduce this bug:
1. Install 12.04.4, boot to desktop
2. Suspend it by using the "suspend" option in system menu
3. Press the power button to wake it up

Expected result:
* Suspend/resume works fine on this system

Actual result:
* System suspended
* On resume, you will see the desktop instead of the unlock dialog, and it freezes, the cursor is the only responding thing. A moment later, you will see the login screen, but it freezes again when you try to log in.

Since the proprietary driver works, blocker tags will be removed

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: removed: blocks-hwcert blocks-hwcert-enablement ihv-nvidia
summary: - [Dell Precision T7600] System fails to resume from suspend
+ [Dell Precision T7600] System fails to resume from suspend with nouveau
+ driver
summary: - [Dell Precision T7600] System fails to resume from suspend with nouveau
- driver
+ [Dell Precision T7600][NVIDIA NVS300] System fails to resume from
+ suspend with nouveau driver
Changed in linux (Ubuntu):
importance: High → Medium
affects: linux (Ubuntu) → xserver-xorg-video-nouveau-lts-saucy (Ubuntu)
penalvch (penalvch)
description: updated
tags: added: bios-outdated-a10
removed: bios-outdated-a07
tags: removed: needs-upstream-testing
Changed in xserver-xorg-video-nouveau-lts-saucy (Ubuntu):
assignee: Gavin Guo (mimi0213kimo) → Adam Lee (adam8157)
Revision history for this message
Anthony Wong (anthonywong) wrote :

Hi PHLin,
I wonder if this issue is still a cert blocker?

Changed in xserver-xorg-video-nouveau-lts-saucy (Ubuntu):
assignee: Adam Lee (adam8157) → nobody
status: Confirmed → Incomplete
Revision history for this message
penalvch (penalvch) wrote :

Moving to Trusty as Saucy enablement stack EoL'ed August 2014 -> https://wiki.ubuntu.com/Kernel/LTSEnablementStack .

affects: xserver-xorg-video-nouveau-lts-saucy (Ubuntu) → xserver-xorg-video-nouveau-lts-trusty (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xserver-xorg-video-nouveau-lts-trusty (Ubuntu) because there has been no activity for 60 days.]

Changed in xserver-xorg-video-nouveau-lts-trusty (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.