Resume from suspend fails on Dell XPS M1330

Bug #158050 reported by Martin Pels
30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned
linux-source-2.6.22 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

When using kernel 2.6.22-10-generic on Gutsy, resuming from suspend and hibernate works fine. When using kernel 2.6.22-14-generic resuming from suspend fails. I get a blank screen with a blinking cursor for about one minute. After that I get the following errors:

  - Buffer I/O error on device sda2
  - EXT3-fs error (device sda2): ext3_get_inode_loc: unable to read inode block

Seems like the SATA harddrive is not woken up.

The system is a Dell XPS M1330.
Resuming from hibernation works fine.

Revision history for this message
Martin Pels (martin-rodecker) wrote :
Revision history for this message
Albert Damen (albrt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it, because your description does not yet have enough information.

Please include the following additional information, if you have not already done so (pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
1. Please include the output of the command "uname -a" in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
2. Please run the command "dmesg > dmesg.log" after a fresh boot and attach the resulting file "dmesg.log" to this bug report.
3. Please run the command "sudo lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.
4. Please follow the steps described in https://wiki.ubuntu.com/DebuggingKernelSuspend and add the resulting "Magic number" and "hash matches" lines to this bug report.

For your reference, the full description of procedures for kernel-related bug reports is available at [WWW] http://wiki.ubuntu.com/KernelTeamBugPolicies. Thanks in advance!

Revision history for this message
Martin Pels (martin-rodecker) wrote :
Revision history for this message
Martin Pels (martin-rodecker) wrote :
Revision history for this message
Martin Pels (martin-rodecker) wrote :

Hi Albert,

Here's the info you requested:

1.
Linux fizzix 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

2 & 3.
See attachments

4.
[ 15.278043] Magic number: 0:35:654
[ 15.278046] hash matches /build/buildd/linux-source-2.6.22-2.6.22/drivers/base/power/resume.c:57

Albert Damen (albrt)
Changed in linux-source-2.6.22:
status: Incomplete → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

I am assigning this bug to the 'ubuntu-kernel-team' per their bug policy. For future reference you can learn more about their bug policy at https://wiki.ubuntu.com/KernelTeamBugPolicies .

Changed in linux-source-2.6.22:
assignee: nobody → ubuntu-kernel-team
Revision history for this message
Rolla Selbak (rolla-n-selbak) wrote :

I've opened a new task against the actively developed kernel 2.6.24...

Changed in linux-source-2.6.24:
status: New → Incomplete
Revision history for this message
Rolla Selbak (rolla-n-selbak) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The Hardy Heron Alpha series was recently released. Alpha2 and subsequent releases contain an updated version of the kernel. You can download and try the new Hardy Heron Alpha release from http://cdimage.ubuntu.com/releases/hardy/ . Please note that Alpha3 will be released within the next day or two so you many want to wait. You should be able to then test this bug with the new kernel on the LiveCD. If you can, please verify if this bug still exists or not and report back your results. General information regarding the release can also be found here: http://www.ubuntu.com/testing/ . Thanks!

Revision history for this message
Martin Pels (martin-rodecker) wrote :

Hi Rolla,

I tested with the Alpha3 LiveCD. The bug still exists.

Revision history for this message
chourave (gaston72) wrote :

with a laptop model : Lenovo 3000 C200 8922AZG
$uname -a
Linux NEANT 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

I tri to fix my suspend-hibernate / resume problems under Gutsy, because I was ok under Feisty, so it should be possible ?!!....

Using gnome-power-manager sleep button but the laptop doesn't enter in sleep mode : I'get blank screen (with backlight) and the cursor in the upper left corner.
I can restore my session, by first switching to tty (ctrl+Alt+F1) and then switching back to gnome session (ctrl+Alt+F7) : the password is asked and everything is ok (but it hasn't sleeped at all..)

Using "pm_suspend" or "/etc/acpi/sleep.sh force" the laptop enter in sleep mode : the half moon is on, everything seems to shut down. But no way to resume, I am obliged to hard reboot....

Hibernation doesnt work better : hard reboot...

With the hardy live CD, suspend to ram doesn't work neither.

Using the "pm_trace" procedure the following lines appear in dmesg :

[ 17.727817] Magic number: 0:432:626
[ 17.727820] hash matches /build/buildd/linux-source-2.6.22-2.6.22/drivers/base/power/resume.c:28
[ 17.727986] hash matches device 0000:00:1b.0

This device correspond to my sound (/modem ?) chipset :
$ find /sys/bus/pci/drivers/ -name "0000:00:1b.0"
/sys/bus/pci/drivers/HDA Intel/0000:00:1b.0
$ grep Codec /proc/asound/card0/codec#*
/proc/asound/card0/codec#0:Codec: Realtek ALC861-VD
/proc/asound/card0/codec#1:Codec: Generic 11c1 Si3054
$ lspci -vvnn
00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 02)
 Subsystem: Lenovo Lenovo 3000 C200 audio [Realtek ALC861VD] [17aa:3802]
 ....see attachment below

I tried to modify the /etc/default/acpi-support config file, by adding all the sound related modules in the MODULES="" section, unsuccessfully...

I also replace the "i810" module by the default "intel" module (sudo dpkg-reconfigure -phigh xserver-xorg) of my graphic chipset,
and I test disabling the vbe option of xorg.conf, unsuccessfully...

I tri pm-suspend (with various quirck), and /etc/acpi/sleep.sh force (is it the same thing, which one use the acpi-support option ?)

Remark : the answer to "pm-is-supported --suspend" ans "pm-is-supported --hibernate" is 0, is it normal ?

So as you may deduce, I need someboddy's help to see what to do...
I think it's more probably a kernel bug ( than a g-p-m or acpi ralted bug), but I'm not an expert...

thank you !

Revision history for this message
chourave (gaston72) wrote : some more logs
Revision history for this message
chourave (gaston72) wrote :
Revision history for this message
chourave (gaston72) wrote :

Using :
sync; echo 1 > /sys/power/pm_trace; /etc/acpi/sleep.sh force
dmesg > dmesg_pm_suspend.log

Revision history for this message
chourave (gaston72) wrote :
Revision history for this message
chourave (gaston72) wrote :
Revision history for this message
chourave (gaston72) wrote : Re: Resume from suspend fails on 2.6.22-14-generic

Installing the new kernel (2-6-24-16-generic) on Gutsy solved the problem (resume failure) for me

Let me know If you need additionnal information

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
Martin Pels (martin-rodecker) wrote :

Hi Leann,

I tested with the Alpha 6 LiveCD. The issue remains.

Changed in linux:
status: Incomplete → New
Revision history for this message
Guilhem Lavaux (guilhem-lavaux) wrote :

Hi,

I am getting the same problem but with a HP Pavilion DV5. I was not able to resume from S3 state on Hardy Heron and now with Intrepid Ibex it is not working either. The hibernation works though.

Unfortunately that means I cannot provide a power management trace as the hard drive/filesystem is not able to write anything on the disk.

Linux mithril 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64 GNU/Linux

Revision history for this message
Guilhem Lavaux (guilhem-lavaux) wrote :

Here is the result of dmidecode for my system (HP Pavilion DV5T)

Revision history for this message
Paul Swanson (paul-swanson) wrote :

I'm also running Ubuntu 8.10 (Intrepid Ibex) on a HP Pavilion DV5 (dv5-1075er) and seems I have exactly the same problem that Guilhem Lavaux does.

Hibernation works but resume from suspend does not. Laptop will suspend but on resume process the kernel gives errors complaining that the SATA devices have not woken up and therefore the system becomes unusable as the file systems are no longer accessible. Hard off is the only solution.

Linux traveller 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:20 UTC 2008 i686 GNU/Linux

Revision history for this message
Paul Swanson (paul-swanson) wrote :
Revision history for this message
Paul Swanson (paul-swanson) wrote :

And for the magic ...

Magic number: 0:953:373
hash matches /build/buildd/linux-2.6.27/drivers/base/power/main.c:390

Now, please kind overlords of Ubuntu ... help me get suspend working, it's really important on a laptop.

Thanks!

Revision history for this message
Paul Swanson (paul-swanson) wrote :

Ok, I just found another bug report that is specific my kernel ... shifting over there now:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/273323

Sorry for any cruft I may have added.

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

I'm closing the older 2.6.22 task and keeping this open against the actively developed kernel. Martin, I assume this issue remains with Intrepid's final release? Thanks.

Changed in linux:
status: New → Incomplete
Changed in linux-source-2.6.22:
status: Confirmed → Won't Fix
Revision history for this message
Martin Pels (martin-rodecker) wrote :

Yes Leann, the problem persists in Intrepid final.

Revision history for this message
sshlyk (sshlyk) wrote :

pavilion dv5

same problem as described above

Revision history for this message
Paul Swanson (paul-swanson) wrote :

sshlyk, there is a bug open specifically for Pavilion DvX laptops at #301353. You may find that more relevant and wish to post the details of your problem there. Good luck.

Revision history for this message
Paul Swanson (paul-swanson) wrote :

Sorry, I thought launchpad auto-hyperlinked: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/301353

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

Hi Martin,

I was looking at bug 306611which has the same system as you with slightly different hardware. In particular it appears you have a different graphics and wireless card than that bug reporter. The reason I want to point this out is becuase the other reporter is able to suspend/resume successfully so i'd attribute the issue you are seeing likely to the nvidia graphics card you have and the driver it is using. I'll go ahead and set the status to Triaged. Thanks.

Changed in linux:
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
hrushikesh (hrushikesh) wrote :

I am facing the same problem on a 64-bit intrepid m1330. Although suspend often works, when it fails I get the same "buffer i/o error" messages described above. I haven't been able to reproduce the bug when I run the chourave's diagnostic script: the system has always resumed perfectly so far. `dmesg` contains the following lines:
[ 1.417862] Magic number: 0:953:403
[ 1.417865] hash matches /build/buildd/linux-2.6.27/drivers/base/power/main.c:390

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Triaged a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (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.