ACPI S3 broken on Dell Latitude D810, worked in Breezy

Bug #40929 reported by gpothier
10
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Hi,
As many people I'm having troubles with resuming from suspend. As I didn't find an existing bug report with the exact same symptoms I opened this one. So here it goes.
The laptop goes into stanby mode with no problem: screen is turned off, and after a few seconds the power led starts to repeatedly fade in/out, indicating that the machine is suspended.
The problem is when trying to resume. Sometimes it works perfectly fine, sometimes it doesn't. I've never been able to successfully suspend and resume more than twice, ie. it always fail to resume the third time, or sometimes the second or first time.
When it fails to resume, the symptoms are the following: a few seconds after I press the power on switch, the HDD led turns on for a fraction of a second, then off for a fraction of a second, and then turns on indefinitely. In this situation, the computer is responsive while I don't try to access the disk. Sometimes X even shows up and everything works fine until an application tries to access the HDD (at which point the app freezes but other apps are still responsive). Sometimes X doesn't show up but pressing the caps lock key turns on and off the caps led.
I have an ATI Mobility X600 card and I'm using the fglrx driver installed from the Dapper repository. But as X sometimes shows up on failed resumes, it seems fglrx has nothing to do here. Moreoever I also tried to suspend resume with kdm turned off, the results are the same.
I tried with almost every imagineable combination of settings in acpi-support, but the results are almost always the same. The only notable difference is that when I set ACPI_SLEEP_MODE to standby instead of mem, it fails to suspend, but then the computer is usable again. I get this error "eth1: NETDEV_TX_BUSY returned; driver should report queue full via ieee_device->is_queue_full."
The error shows up briefly on the screen, and appears in dmesg. Note that eth1 is a wireless card using the ipw2200 driver.
Now, I noticed that with the usual sleep mode (mem), I sometimes see the same error on the screen. Resume never worked properly after this error showed up, but it also sometimes fails to work without me seeing this error.

What could I do to help hunt down the problem?

Regards,
g

Revision history for this message
gpothier (gpothier) wrote :

Great news, suspend/resume is much more stable with the newly uploaded kernel (2.6.15-21-686).
Up to now I only experienced one failure out of a dozen attempts, once I commented out DISABLE_DMA=true and RESET_DRIVE=true.

In the failed attempt the symptoms were a bit different than those described in the original description: X showed up, apps were responsive, but HDD accesses throwed errors instead of freezing.

However, I loose the mouse wheel on resume. I have to unplug/replug the usb connector to get it back.

Thanks for the good work!!

Revision history for this message
gpothier (gpothier) wrote :
Download full text (4.9 KiB)

More info regarding failed resume attempts: I can most of the time perform read accesses, but for some reason the system believes that my filesystems are mounted readonly:
gpothier@tadzim:~$ touch t
touch: cannot touch `t': Read-only file system
gpothier@tadzim:~$ pwd
/home/gpothier
gpothier@tadzim:~$ mount
/dev/sda6 on / type reiserfs (rw,noatime,notail)
proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
varrun on /var/run type tmpfs (rw)
varlock on /var/lock type tmpfs (rw)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
devshm on /dev/shm type tmpfs (rw)
lrm on /lib/modules/2.6.15-21-686/volatile type tmpfs (rw)
/dev/sda7 on /home type reiserfs (rw,noatime)
/dev/sda1 on /windows type vfat (rw)

Trying to reset the drive:
gpothier@tadzim:~$ sudo hdparm -w /dev/sda

/dev/sda:
 HDIO_DRIVE_RESET failed: No such device

And here are the messages I got on resume in the log:
Apr 24 09:32:04 tadzim kernel: [4312132.815000] Freezing cpus ...
Apr 24 09:32:04 tadzim kernel: [4312132.815000] Stopping tasks: ===================================================================================|
Apr 24 09:32:04 tadzim kernel: [4312133.371000] ACPI: PCI interrupt for device 0000:03:01.0 disabled
Apr 24 09:32:04 tadzim kernel: [4312135.170000] ACPI: PCI interrupt for device 0000:01:00.0 disabled
Apr 24 09:32:04 tadzim kernel: [4312135.170000] ACPI: PCI interrupt for device 0000:00:1f.2 disabled
Apr 24 09:32:04 tadzim kernel: [4312135.222000] ACPI: PCI interrupt for device 0000:00:1e.2 disabled
Apr 24 09:32:04 tadzim kernel: [4312135.222000] ACPI: PCI interrupt for device 0000:00:1d.7 disabled
Apr 24 09:32:04 tadzim kernel: [4312135.247000] ACPI: PCI interrupt for device 0000:00:1d.3 disabled
Apr 24 09:32:04 tadzim kernel: [4312135.247000] ACPI: PCI interrupt for device 0000:00:1d.2 disabled
Apr 24 09:32:04 tadzim kernel: [4312135.247000] ACPI: PCI interrupt for device 0000:00:1d.1 disabled
Apr 24 09:32:04 tadzim kernel: [4312135.247000] ACPI: PCI interrupt for device 0000:00:1d.0 disabled
Apr 24 09:32:04 tadzim kernel: [4314205.247000] ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 169
Apr 24 09:32:04 tadzim kernel: [4314205.247000] ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 16 (level, low) -> IRQ 169
Apr 24 09:32:04 tadzim kernel: [4314205.247000] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 169
Apr 24 09:32:04 tadzim kernel: [4314205.247000] PCI: Enabling device 0000:00:1d.1 (0000 -> 0001)
Apr 24 09:32:04 tadzim kernel: [4314205.247000] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 17 (level, low) -> IRQ 209
Apr 24 09:32:04 tadzim kernel: [4314205.247000] PCI: Enabling device 0000:00:1d.2 (0000 -> 0001)
Apr 24 09:32:04 tadzim kernel: [4314205.247000] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 217
Apr 24 09:32:04 tadzim kernel: [4314205.247000] PCI: Enabling device 0000:00:1d.3 (0000 -> 0001)
Apr 24 09:32:04 tadzim kernel: [4314205.247000] ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 19 (level, low) -> IRQ 177
Apr 24 09:32:04 tadzim kernel: [4314205.295000] ACPI: PCI Inte...

Read more...

Revision history for this message
gpothier (gpothier) wrote :

Hmm, this page looks relevant: http://blog.printf.net/articles/2006/04 (from "Rawhide bug update."). Maybe we also need the patch: http://lkml.org/lkml/2006/4/21/303

Revision history for this message
gpothier (gpothier) wrote :

Well it seems that I'm speaking alone, but anyway: whenever I leave the machine suspended for more than a few minutes, it doesn't resumes properly.

Simon Law (sfllaw)
Changed in linux-source-2.6.15:
status: Unconfirmed → Confirmed
Revision history for this message
gpothier (gpothier) wrote :

With latest updates (kernel 2.6.15-23-686), I am totally unable to resume from suspend. I didn't find any relevant message in the log.
How can I help debug that?

Revision history for this message
gpothier (gpothier) wrote :

I switched to vanilla kernel 2.6.16.19 and now I can suspend with the following lines commented out in acpi.support:
SAVE_VBE_STATE
VBESTATE
POST_VIDEO
SAVE_VIDEO_PCI_STATE
DOUBLE_CONSOLE_SWITCH

There is a glitch with mounted samba shares (see Bug #24864) but suspend/resume work fine most of the time. Sometimes I have a problem with hald-addon-storage which can't be stopped and thus prevents suspend, under conditions that I do not understand yet.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this linux-source-2.6.15 kernel bug to the new "linux" package. We appreciate your patience and understanding as we make this transition. Also, if you would be interested in testing the upcoming Intrepid Ibex 8.10 release, it is available at http://www.ubuntu.com/testing . Please let us know your results. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

*This is an automated response*

This bug report is being closed because we received no response to the previous request for information. Please reopen this if it is still an issue in the actively developed pre-release of Jaunty Jackalope 9.04 - http://cdimage.ubuntu.com/releases/jaunty . To reopen the bug report simply change the Status of the "linux" task back to "New".

Changed in linux:
status: Confirmed → Won't Fix
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.