[Lucid] 2.6.32-22-generic hibernate failure after update

Bug #591007 reported by Sam_
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

After second kernel update (incl. a reversed patch) hibernate fails.
Usually usage of session-applet -> hibernate, shuts down after a few seconds without issues.
Now, instead screensaver starts after few seconds, it doesn't shut down anymore. Tested since two days.
No settings have been changed. Attached gconf gnome-power-manager and pm-suspend log.

Changelog:
http://changelogs.ubuntu.com/changelogs/pool/main/l/linux/linux_2.6.32-22.36/changelog

Synaptic history:
Commit Log for Sat Jun 5 20:09:27 2010

linux-headers-2.6.32-22 (2.6.32-22.35) to 2.6.32-22.36
linux-headers-2.6.32-22-generic (2.6.32-22.35) to 2.6.32-22.36
linux-image-2.6.32-22-generic (2.6.32-22.35) to 2.6.32-22.36
linux-libc-dev (2.6.32-22.35) to 2.6.32-22.36

Commit Log for Thu Jun 3 11:30:07 2010

libsnmp-base (5.4.2.1~dfsg0ubuntu1-0ubuntu2) to 5.4.2.1~dfsg0ubuntu1-0ubuntu2.1
libsnmp15 (5.4.2.1~dfsg0ubuntu1-0ubuntu2) to 5.4.2.1~dfsg0ubuntu1-0ubuntu2.1
linux-headers-2.6.32-22 (2.6.32-22.33) to 2.6.32-22.35
linux-headers-2.6.32-22-generic (2.6.32-22.33) to 2.6.32-22.35
linux-image-2.6.32-22-generic (2.6.32-22.33) to 2.6.32-22.35
linux-libc-dev (2.6.32-22.33) to 2.6.32-22.35

Commit Log for Tue Jun 1 20:19:24 2010

cups (1.4.3-1) to 1.4.3-1ubuntu1
cups-bsd (1.4.3-1) to 1.4.3-1ubuntu1
cups-client (1.4.3-1) to 1.4.3-1ubuntu1
cups-common (1.4.3-1) to 1.4.3-1ubuntu1
libcups2 (1.4.3-1) to 1.4.3-1ubuntu1
libcupscgi1 (1.4.3-1) to 1.4.3-1ubuntu1
libcupsdriver1 (1.4.3-1) to 1.4.3-1ubuntu1
libcupsimage2 (1.4.3-1) to 1.4.3-1ubuntu1
libcupsmime1 (1.4.3-1) to 1.4.3-1ubuntu1
libcupsppdc1 (1.4.3-1) to 1.4.3-1ubuntu1
libgtkmm-2.4-1c2a (1:2.20.2-1) to 1:2.20.3-0ubuntu1
rhythmbox (0.12.8-0ubuntu4) to 0.12.8-0ubuntu5
rhythmbox-plugin-cdrecorder (0.12.8-0ubuntu4) to 0.12.8-0ubuntu5
rhythmbox-plugins (0.12.8-0ubuntu4) to 0.12.8-0ubuntu5
simple-scan (1.0.2-0ubuntu1) to 1.0.3-0ubuntu1

$ echo; for i in --suspend --hibernate --suspend-hybrid; do pm-is-supported $i && echo "$(echo $i | tr [:lower:] [:upper:] | tr -d -) is supported"; done; echo

SUSPEND is supported
HIBERNATE is supported

$ lsmod | grep -iE 'usb|1394|hci|ndiswr|forced|8139|hid|802'
snd_pcm_oss 41394 0
usbhid 40988 0
ohci1394 30260 0
hid 83376 1 usbhid
ieee1394 94675 1 ohci1394
forcedeth 55592 0

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-22-generic 2.6.32-22.36
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: zookeeper 1344 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'CK804'/'NVidia CK804 with ALC850 at irq 20'
   Mixer name : 'Realtek ALC850 rev 0'
   Components : 'AC97a:414c4790'
   Controls : 42
   Simple ctrls : 27
CheckboxSubmission: 70e14b5afb9614c469fa67a7fca95226
CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b
Date: Mon Jun 7 23:17:58 2010
HibernationDevice: RESUME=UUID=d919d089-e04d-45a0-acb5-95600a12b89a
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Lsusb:
 Bus 002 Device 002: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: MICRO-STAR INTERNATIONAL CO., LTD MS-7185
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=be79d110-e0a7-46f5-a227-d38de6479475 ro
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:

SourcePackage: linux
dmi.bios.date: 08/14/2006
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: MS-7185
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO., LTD
dmi.board.version: 1.0
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd08/14/2006:svnMICRO-STARINTERNATIONALCO.,LTD:pnMS-7185:pvr1.0:rvnMICRO-STARINTERNATIONALCO.,LTD:rnMS-7185:rvr1.0:cvn:ct3:cvr:
dmi.product.name: MS-7185
dmi.product.version: 1.0
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO., LTD

---
Architecture: amd64
CheckboxSubmission: 70e14b5afb9614c469fa67a7fca95226
CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b
DistroRelease: Ubuntu 10.04
Package: linux (not installed)
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
Tags: lucid
Uname: Linux 2.6.34-020634-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: zookeeper 1354 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'CK804'/'NVidia CK804 with ALC850 at irq 20'
   Mixer name : 'Realtek ALC850 rev 0'
   Components : 'AC97a:414c4790'
   Controls : 42
   Simple ctrls : 27
CheckboxSubmission: 70e14b5afb9614c469fa67a7fca95226
CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=d919d089-e04d-45a0-acb5-95600a12b89a
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Lsusb:
 Bus 002 Device 002: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: MICRO-STAR INTERNATIONAL CO., LTD MS-7185
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-23-generic root=UUID=be79d110-e0a7-46f5-a227-d38de6479475 ro
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Regression: Yes
RelatedPackageVersions: linux-firmware 1.34.1
Reproducible: Yes
RfKill:

Tags: lucid hibernate resume regression-update needs-upstream-testing
Uname: Linux 2.6.32-23-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 08/14/2006
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: MS-7185
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO., LTD
dmi.board.version: 1.0
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd08/14/2006:svnMICRO-STARINTERNATIONALCO.,LTD:pnMS-7185:pvr1.0:rvnMICRO-STARINTERNATIONALCO.,LTD:rnMS-7185:rvr1.0:cvn:ct3:cvr:
dmi.product.name: MS-7185
dmi.product.version: 1.0
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO., LTD

Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
Sam_ (and-sam) wrote :
description: updated
Revision history for this message
Sam_ (and-sam) wrote :

$ grep -i error /var/log/syslog
Jun 7 12:44:10 kernel: [ 13.124776] amd64_edac: probe of 0000:00:18.2 failed with error -22
Jun 7 12:44:10 NetworkManager: <WARN> default_adapter_cb(): bluez error getting default adapter: The name org.bluez was not provided by any .service files
Jun 7 12:44:55 kernel: [ 61.870029] end_request: I/O error, dev fd0, sector 0
Jun 7 12:44:55 kernel: [ 61.910040] end_request: I/O error, dev fd0, sector 0
Jun 7 23:14:00 NetworkManager: <WARN> check_one_route(): (eth0) error -34 returned from rtnl_route_del(): Sucess#012
Jun 7 23:14:23 kernel: [37822.620010] PM: Error -12 creating hibernation image

$ grep -i error /var/log/kern.log
Jun 7 01:19:44 kernel: [66442.190009] PM: Error -12 creating hibernation image
Jun 7 01:21:48 kernel: [66568.610009] PM: Error -12 creating hibernation image
Jun 7 12:44:10 kernel: [ 13.124776] amd64_edac: probe of 0000:00:18.2 failed with error -22
Jun 7 12:44:55 kernel: [ 61.870029] end_request: I/O error, dev fd0, sector 0
Jun 7 12:44:55 kernel: [ 61.910040] end_request: I/O error, dev fd0, sector 0
Jun 7 23:14:23 kernel: [37822.620010] PM: Error -12 creating hibernation image

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

Hi Sam,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

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

tags: added: kernel-hibernate
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Sam_ (and-sam) wrote :

Jeremy, thanks for your reply.
This is a productive system, taking note of section "limitations" and in addition it isn't supported, doesn't sound comfortable, even when I don't use proprietary drivers.

As suggested in the wiki I don't see a *image*.deb package here.
http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/

If I understand correctly I acutally need to install three packages not only one.
e.g. I'd choose
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/
as suggested from wiki I'd need
amd headers, headers all .deb and amd image?

btw. I've booted with
ii linux-image-2.6.31-21-generic 2.6.31-21.59
and hibernate worked fine, (which wasn't a surprise since it did before).
No errors in logfiles as above regarding hibernation.

Again, this one was ok too
ii linux-image-generic 2.6.32.22.23
the update is the culprit
ii linux-image-2.6.32-22-generic 2.6.32-22.36

> Please let us know your results.

Would uploading dmesg be sufficient?

Revision history for this message
Sam_ (and-sam) wrote :
Sam_ (and-sam)
tags: added: apport-collected
description: updated
tags: removed: needs-upstream-testing
Revision history for this message
Sam_ (and-sam) wrote :

Ok, yesterday I've installed mainline kernel, only the image:
linux-image-2.6.34-020634-generic_2.6.34-020634_amd64.deb

Add an apport collection, but it doesn't seem useful, so I'll attach some logfiles manually.

>Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag.

Done.

Didn't hibernate. One sec. login window popup, then black screen, blinking cursor underline _, that's it.
I did strg+alt+F1, tty, host_login appears, but no login possible, didn't respond when typing (anything).
So I did magic sysrq: REISUB and rebooted this way.

Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
Sam_ (and-sam) wrote :
Sam_ (and-sam)
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Sam_ (and-sam) wrote :

Workaround tested with 2.6.32-22.
Hibernate via console without issues.
Switch to tty1, login, type:
sudo pm-hibernate

Next day resumes to tty1, switch to desktop via strg+alt+f7, done.

What's the conclusion, that indicator-session is the culprit?

Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Sam,
   apologies for the delay responding, you are correct, the mainline images were not building it seems. I have some one looking at why. Thank you for your continued testing.

~JFo

Changed in linux (Ubuntu):
status: New → Triaged
tags: added: kernel-needs-review kernel-power
Revision history for this message
Sam_ (and-sam) wrote :

Update:
since now available, downloaded from daily/current
linux-image-2.6.35-999-generic_2.6.35-999.201006151505_amd64.deb
installed, reboot and hibernate via GUI (session indicator).
Xserver turns off, screen turns black and off - but - hd doesn't. Waited a few minutes, nothing happened, so again, rebooted via MagicSysRq kernel 2.6.32-22.

Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
Sam_ (and-sam) wrote :

Follow-up, serious issue occured now. I've wanted to hibernate again via tty1 and it doesn't let me login anymore.
Exactly as described there:
http://ubuntuforums.org/showpost.php?s=883bbd926ba577cc5e7fd5c40971c36e&p=2218287&postcount=1
My sudoers is ok and I didn't change any config files.

Revision history for this message
Sam_ (and-sam) wrote :

#18 about tty1 login is solved.
Procedure, I switched back to desktop via ctrl+alt+f7 and hibernated via gnome-terminal, which worked flawless too.
Resumed again today and rebooted (2.6.32-22). Switched to tty1 to test login and it worked.

Revision history for this message
AceLan Kao (acelankao) wrote :

Sam,

I don't quiet understand your problem, so correct me if my description of your situation is wrong.

1. 2.6.32-22.35 works well for you and 2.6.32-22.36 don't
2. Your machine can't hibernate from GUI(and what's happened after you click the hibernate button?)
3. You can hibernate by switching to tty1 from console and resume back then switch back to X

Revision history for this message
Sam_ (and-sam) wrote :

Thanks for the reply AceLan.
1. + 2.: positive. After update to .36 hibernate via GUI doesn't work anymore.
As in my description, instead screensaver starts after few seconds and it doesn't shut down anymore as it used to.
So I need to login again and shutdown via GUI instead, which isn't what I acutally wanted.

3. positive. It hibernates, disk shuts down, next day resume loads image. (I don't use splash, so I can see how it counts the percent while loading the image.)

An additional difference is, when I hibernated .35 via GUI, the resume brought up screensaver, where I had to login and network was enabled right away after login.

When hibernating via tty (or currently gnome-terminal) .36, after resume next day, no screensaver appears, no login necessary and NotifyOSD says: you're offline now (in addition there is a cross symbol over network symbol), waiting a few seconds, it says: network enabled, (the cross is gone).

Revision history for this message
AceLan Kao (acelankao) wrote :

Sam,

Looks like you can hibernate through gnome-terminal(no matter what's the behavior after resume), but through GUI, it only launches screensaver. So, I think this is not a kernel issue, it might be the behavior changes of Gnome WM. Are you agree this?

Revision history for this message
Sam_ (and-sam) wrote :

AceLan,
not really agree, when I try a logical approach, but agree as far as questioned in #12.
The best what I can say so far is: irritation.
What do we have:
The behaviour changed as mentioned after kernel update.
No configs changed from user.
Hibernate every day, so the different behaviour could be discovered after kernel update.
(Updates from 1. to 5. of June had nothing to do with indicators or window manager)
(but also no hints in kernel changelog about the cause)
Hibernate works through tty and gnome-terminal.
Hibernate doesn't work (anymore) through indicator button.

(Please, forget last paragraph of comment #21, the behaviour is rational since it loads the image, which disconnected the network, hence after image loading it's still unconnected and then connects automatically after few seconds.)

description: updated
Revision history for this message
Sam_ (and-sam) wrote : AlsaDevices.txt

apport information

description: updated
Revision history for this message
Sam_ (and-sam) wrote : AplayDevices.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : ArecordDevices.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : BootDmesg.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : Card0.Codecs.codec97.0.ac97.0.0.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : Card0.Codecs.codec97.0.ac97.0.0.regs.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : Lspci.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : PciMultimedia.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : ProcModules.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : UdevDb.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : UdevLog.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : WifiSyslog.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote :

Just updated, no hibernation via GUI with 2.6.32-23 either.
Screen goes blank, GDM login appears, since I don't wish to login again it times out and screensaver appears. So I'll hibernate via terminal again.

Revision history for this message
Sam_ (and-sam) wrote :

Good news, issue seems solved. After updates 2 of July hibernation via GUI possible again. (2.6.32-23)

Revision history for this message
Sam_ (and-sam) wrote :

Tested hibernation via GUI with 2.6.32-22.36, it did hibernate, but didn't resume, instead it rebooted.

Revision history for this message
AceLan Kao (acelankao) wrote :

Sam,

Sorry for the response late, I'm on vacation last week and half of this week.
The problem sounds getting worse.
How about hibernation via command line now? Does the system resume correctly?

Revision history for this message
Sam_ (and-sam) wrote :

AceLan,
no luck, 2.6.32-22.36 hibernates via CLI, but instead resume it reboots.
What I can see on screen is the process where it starts resume, the last line shows percentages where it loads the image (usually takes about 13 sec. or so), but then just stops and reboots from alone.

Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
AceLan Kao (acelankao) wrote :

Sam,

I'm a little confused, at #41 you said the problem is solved in 2.6.32-23 kernel, why you try 2.6.32-22.36 again?

Revision history for this message
Sam_ (and-sam) wrote :

AceLan,
because the bug is labeled and issue remains with 2.6.32-22.
If this is the case, it isn't a GUI (logout applet) issue since it works with 2.6.32-23.
I don't know the procedure though it might be irrelevant (because nobody uses 2.6.32-22 anymore?), so it's fine with me when bug is invalid.

Revision history for this message
AceLan Kao (acelankao) wrote :

Sam,

Got it, so I mark it as invalid, since the problem disappear and can't be reproduced by 2.6.32-23.
Please feel free to reopen it if you find the problem happened again, thanks for the report.

Changed in linux (Ubuntu):
status: Triaged → Invalid
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.