hibernating wakes up sleeping harddrives

Bug #524407 reported by AmenophisIII
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

i have two hdds in my system: one for normal work and a second one for backups.
the second harddrive is put to sleep after startup and is only accessed, when my automatic backup scripts work around midnight.
all partitions on aforesaid drive are unmounted, when it is not in use.

when i trigger hibernate, the typical cursor blinking starts and after a few seconds the second hard drive is waken up, all hibernation data is put on the other harddisk and the pc shuts down.
this wake up is clearly not related to the bios (there was a blacklisting patch to libata for a similar problem in 2008), but a kernel (libata? or other software) problem. something accesses the second harddrive in a way, that wakes it up unnecessarily, which potentially reduces its lifespan.

the harddrive in question is a seagate 7200.8 (ST3250823AS) and is attached to a ICH10 southbridge (8086:3a22) on my intel DG45ID mainboard. i use smartd to monitor the other hdd only. the kernel is a precompiled 2.6.32.8 vanilla AMD64 kernel (from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32.8/). the system runs ubuntu 9.10. dmesg does not give any hints.

Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ameno 2767 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xe0520000 irq 27'
   Mixer name : 'Intel G45 DEVELK'
   Components : 'HDA:111d7676,80865002,00100202 HDA:80862803,80860101,00100000'
   Controls : 39
   Simple ctrls : 23
DistroRelease: Ubuntu 9.10
HibernationDevice:
 resume=/dev/mapper/vg-root resume_offset=135168
 #resume=UUID=54094b03-e42b-4411-baa8-385c88245709 resume_offset=135168
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.33-020633-generic root=/dev/mapper/vg-root ro ip=none usbcore.autosuspend=1 resume=/dev/mapper/vg-root resume_offset=135168
RfKill:

Uname: Linux 2.6.33-020633-generic x86_64
UserGroups: adm admin audio cdrom dialout fuse lpadmin mnt netdev plugdev sambashare scanner video
WpaSupplicantLog:

XsessionErrors:
 (gnome-settings-daemon:2687): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:2812): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:2772): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (gnome-panel:2769): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -12 and height 24
 (gnome-panel:2769): Gdk-WARNING **: /build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window
dmi.bios.date: 02/09/2010
dmi.bios.vendor: Intel Corp.
dmi.bios.version: IDG4510H.86A.0127.2010.0209.1609
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: DG45ID
dmi.board.vendor: Intel Corporation
dmi.board.version: AAE27729-307
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrIDG4510H.86A.0127.2010.0209.1609:bd02/09/2010:svn:pn:pvr:rvnIntelCorporation:rnDG45ID:rvrAAE27729-307:cvn:ct3:cvr:

Changed in linux:
status: Unknown → Confirmed
tags: added: kernel-series-unknown
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi AmenophisIII,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 524407

Also, if you could 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: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
AmenophisIII (amenophisiii) wrote : apport-collect data

Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ameno 2767 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xe0520000 irq 27'
   Mixer name : 'Intel G45 DEVELK'
   Components : 'HDA:111d7676,80865002,00100202 HDA:80862803,80860101,00100000'
   Controls : 39
   Simple ctrls : 23
DistroRelease: Ubuntu 9.10
HibernationDevice:
 resume=/dev/mapper/vg-root resume_offset=135168
 #resume=UUID=54094b03-e42b-4411-baa8-385c88245709 resume_offset=135168
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.33-020633-generic root=/dev/mapper/vg-root ro ip=none usbcore.autosuspend=1 resume=/dev/mapper/vg-root resume_offset=135168
RfKill:

Uname: Linux 2.6.33-020633-generic x86_64
UserGroups: adm admin audio cdrom dialout fuse lpadmin mnt netdev plugdev sambashare scanner video
WpaSupplicantLog:

XsessionErrors:
 (gnome-settings-daemon:2687): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:2812): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:2772): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (gnome-panel:2769): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -12 and height 24
 (gnome-panel:2769): Gdk-WARNING **: /build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window
dmi.bios.date: 02/09/2010
dmi.bios.vendor: Intel Corp.
dmi.bios.version: IDG4510H.86A.0127.2010.0209.1609
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: DG45ID
dmi.board.vendor: Intel Corporation
dmi.board.version: AAE27729-307
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrIDG4510H.86A.0127.2010.0209.1609:bd02/09/2010:svn:pn:pvr:rvnIntelCorporation:rnDG45ID:rvrAAE27729-307:cvn:ct3:cvr:

tags: removed: kj-triage needs-kernel-logs needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
AmenophisIII (amenophisiii) wrote :

since its confirmed upstream, and ive already stated, that i use the vanilla builds...

Changed in linux:
importance: Unknown → Low
Revision history for this message
penalvch (penalvch) wrote :

AmenophisIII, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the kernel in the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested and remove the tag:
needs-upstream-testing

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 text:
needs-upstream-testing

If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested.

If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested.

Please let us know your results. Thank you for your understanding.

Helpful Bug Reporting Links:
https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette
https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported
https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug
https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug

tags: added: karmic needs-kernel-logs needs-upstream-testing
description: updated
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Stefan Tauner (stefanct) wrote :

gotta love the bots... this is still an issue on afaik ALL kernels, see upstream bug report...

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Stefan Tauner, I'm not a bot. ;)

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
penalvch (penalvch)
no longer affects: linux (Ubuntu)
affects: linux → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Low → Undecided
status: Confirmed → New
importance: Undecided → Wishlist
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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