Hibernate no longer works after Upgrade on Ubuntu 7.10, Swap disk disappears

Bug #237822 reported by AmitChaudhary
4
Affects Status Importance Assigned to Milestone
linux-ubuntu-modules-2.6.22 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hello,

I am on Ubuntu 7.10. After getting the last set of updates about 3-4 days as of June 1st 2008, Hibernate no longer works. It has been working fine since I installed 7.10.

Here is what no longer works means:
1. I click hibernate and it saves as usual.
2. When restarting next time, it reboots into the login screen.
3. Now this time, if I select hibernate, it says no swap disk found and brings me back to the a locked desktop.

The swap disk is no longer available. free command shows swap is not present (size 0).
After restoring swap (mkswap, update uuid in /etc/fstab, add uuid link and swapon -a), swap comes back.

This also means swap is no longer available and the system running only on memory.

I repeated the above steps and still the same problem.

Some noteworthy log entries
Jun 1 09:23:48 amit-laptop kernel: [ 7.636000] EXT3-fs: sda3: orphan cleanup on readonly fs
Jun 1 09:23:48 amit-laptop kernel: [ 7.636000] EXT3-fs: sda3: 4 orphan inodes deleted
Jun 1 09:23:48 amit-laptop kernel: [ 7.636000] EXT3-fs: recovery complete.
Jun 1 09:23:48 amit-laptop kernel: [ 7.652000] EXT3-fs: mounted filesystem with ordered data mode.

Rolling back to linux-ubuntu-modules-2.6.22-14-generic-2.6.22-14.37 did not fix it. I have a complete history below

Please fix as a useful functionality was broken. Also, please let me know, if you need more information let me know, it is a HP laptop (Pavilion dv1000)

I reported this first on the forms, see http://ubuntuforums.org/showthread.php?p=5093238&posted=1#post5093238

Thanks
Amit

--------------------------------------------------------------------------------------------
Other information

amitch@amit-laptop:/$ lsb_release -rd
Description: Ubuntu 7.10
Release: 7.10

--------------------------------------------------------------------------------------------

The install list from last few updates, it is probably the one on May 30.

-----------------------
Commit Log for Fri May 30 20:28:23 2008
Upgraded the following packages:
libgnutls-dev (1.6.3-1build1) to 1.6.3-1ubuntu0.1
libgnutls13 (1.6.3-1build1) to 1.6.3-1ubuntu0.1
libgnutlsxx13 (1.6.3-1build1) to 1.6.3-1ubuntu0.1
linux-ubuntu-modules-2.6.22-14-generic (2.6.22-14.37) to 2.6.22-14.38
ssl-cert (1.0.14) to 1.0.14-0ubuntu0.7.10.1

Installed the following packages:
openssl-blacklist (0.1-0ubuntu0.7.10.4)
-----------------------
Commit Log for Sat May 24 10:59:02 2008
Upgraded the following packages:
ssl-cert (1.0.14) to 1.0.14-0ubuntu0.7.10.1

Installed the following packages:
openssl-blacklist (0.1-0ubuntu0.7.10.2)

-----------------------
Commit Log for Fri May 23 13:42:02 2008
Upgraded the following packages:
cupsys (1.3.2-1ubuntu7.6) to 1.3.2-1ubuntu7.7
cupsys-bsd (1.3.2-1ubuntu7.6) to 1.3.2-1ubuntu7.7
cupsys-client (1.3.2-1ubuntu7.6) to 1.3.2-1ubuntu7.7
cupsys-common (1.3.2-1ubuntu7.6) to 1.3.2-1ubuntu7.7
emacs (22.1-0ubuntu5.1) to 22.1-0ubuntu5.2
emacs22-bin-common (22.1-0ubuntu5.1) to 22.1-0ubuntu5.2
emacs22-common (22.1-0ubuntu5.1) to 22.1-0ubuntu5.2
emacs22-gtk (22.1-0ubuntu5.1) to 22.1-0ubuntu5.2
gstreamer0.10-esd (0.10.6-0ubuntu4) to 0.10.6-0ubuntu4.1
gstreamer0.10-plugins-good (0.10.6-0ubuntu4) to 0.10.6-0ubuntu4.1
kdelibs-data (4:3.5.8-0ubuntu3.3) to 4:3.5.8-0ubuntu3.4
kdelibs4-dev (4:3.5.8-0ubuntu3.3) to 4:3.5.8-0ubuntu3.4
kdelibs4c2a (4:3.5.8-0ubuntu3.3) to 4:3.5.8-0ubuntu3.4
kdelibs5 (3.94.0-0ubuntu1) to 3.94.0-0ubuntu1.1
kdelibs5-data (3.94.0-0ubuntu1) to 3.94.0-0ubuntu1.1
kdelibs5-dev (3.94.0-0ubuntu1) to 3.94.0-0ubuntu1.1
libcupsimage2 (1.3.2-1ubuntu7.6) to 1.3.2-1ubuntu7.7
libcupsys2 (1.3.2-1ubuntu7.6) to 1.3.2-1ubuntu7.7
libcupsys2-dev (1.3.2-1ubuntu7.6) to 1.3.2-1ubuntu7.7
libhsqldb-java (1.8.0.8-1ubuntu1) to 1.8.0.8-1ubuntu1.1
libspeex1 (1.1.12-3) to 1.1.12-3ubuntu0.7.10.1
libssl-dev (0.9.8e-5ubuntu3.1) to 0.9.8e-5ubuntu3.2
libssl0.9.8 (0.9.8e-5ubuntu3.1) to 0.9.8e-5ubuntu3.2
openoffice.org (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openoffice.org-base (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openoffice.org-calc (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openoffice.org-common (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openoffice.org-core (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openoffice.org-draw (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openoffice.org-evolution (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openoffice.org-gnome (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openoffice.org-gtk (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openoffice.org-impress (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openoffice.org-java-common (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openoffice.org-math (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openoffice.org-style-human (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openoffice.org-writer (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
openssh-client (1:4.6p1-5ubuntu0.2) to 1:4.6p1-5ubuntu0.5
openssl (0.9.8e-5ubuntu3.1) to 0.9.8e-5ubuntu3.2
python-uno (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
ssh-askpass-gnome (1:4.6p1-5ubuntu0.2) to 1:4.6p1-5ubuntu0.5
ssl-cert (1.0.14) to 1.0.14-0ubuntu0.7.10.1
thunderbird (2.0.0.12+nobinonly-0ubuntu0.7.10.0) to 2.0.0.14+nobinonly-0ubuntu0.7.10.0
ttf-opensymbol (1:2.3.0-1ubuntu5.3) to 1:2.3.0-1ubuntu5.4
update-manager (1:0.81.2) to 1:0.81.3
update-manager-core (1:0.81.2) to 1:0.81.3

Installed the following packages:
openssl-blacklist (0.1-0ubuntu0.7.10.2)

Revision history for this message
Thomas Kluyver (takluyver) wrote :

What graphics hardware and drivers do you have? These are the most common causes of failures to suspend/hibernate/resume.

AmitChaudhary (amitch)
description: updated
Revision history for this message
AmitChaudhary (amitch) wrote : Re: Swap disk and Hibernate no longer works after Upgrade on Ubuntu 7.10
Download full text (4.5 KiB)

Hi Thomas,

I hope it was clear from my bug, that hibernate was working before, for many months. Every month or so, I pull in updates to 7.10 using the built in update Manager and the last update broke both swap functionality and hibernate functionality.

HP pavilion dv 1000 has a built intel graphics card, Adminstration->Screens & Graphics mentions Intel 915 and the expermenital mode setting driver. lsmod output is below.
However, you comment did trigger\made me recall the fact that I was trying to get an external monitor working at that time. Maybe that changed things. I will try some variations over the next few days and see if that helps.

Thanks
Amit

amitch@amit-laptop:/amit_dir/common$ lsmod
Module Size Used by
ipv6 273892 8
af_packet 24840 2
i915 25856 2
drm 83348 3 i915
rfcomm 42136 2
l2cap 26240 11 rfcomm
bluetooth 57060 4 rfcomm,l2cap
ppdev 10244 0
acpi_cpufreq 10568 0
cpufreq_powersave 2688 0
cpufreq_userspace 5280 0
cpufreq_ondemand 9612 1
cpufreq_stats 7232 0
freq_table 5792 3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
cpufreq_conservative 8072 0
button 8976 0
video 18060 0
container 5504 0
dock 10656 0
sbs 19592 0
battery 11012 0
ac 6148 0
nls_iso8859_1 5120 1
nls_cp437 6784 1
vfat 14080 1
fat 54300 1 vfat
sbp2 24072 0
parport_pc 37412 0
lp 12580 0
parport 37448 3 ppdev,parport_pc,lp
joydev 11328 0
snd_intel8x0 34972 2
snd_ac97_codec 100644 1 snd_intel8x0
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44672 0
snd_mixer_oss 17664 1 snd_pcm_oss
snd_pcm 80388 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
pcmcia 41388 0
snd_seq_dummy 4740 0
snd_seq_oss 33152 0
snd_seq_midi 9600 0
snd_rawmidi 25728 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 53232 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 24324 2 snd_pcm,snd_seq
snd_seq_device 9228 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
psmouse 39952 0
tifm_7xx1 8832 0
tifm_core 11652 1 tifm_7xx1
sdhci 18828 0
mmc_core 28420 1 sdhci
serio_raw 8068 0
yenta_socket 27532 1
rsrc_nonstatic 14080 1 yenta_socket
pcmcia_core 40980 3 pcmcia,yenta_socket,rsrc_nonstatic
xpad 9988 0
snd 54660 14 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 8800 1 snd
ipw2200 149...

Read more...

Revision history for this message
Thomas Kluyver (takluyver) wrote :

Let's mark this as affecting linux-ubuntu-modules, as that's probably the most likely thing.

Since you're on an old version, you may want to consider upgrading (the current version of Ubuntu is 8.04, the release after 7.10). The bug may already be fixed in 8.04 (aka Hardy), and if not, you have a better chance of someone working on it.

Revision history for this message
AmitChaudhary (amitch) wrote :

Hi Thomas,

I tried multiple X11 configurations including bringing back the old xorg.conf and running
sudo dpkg-reconfigure -phigh xserver-xorg

Then rebooted with swap, swap stays if hibernate is not used (regular shutdown.) It is gone, if hibernate is used.

I will move to Ubuntu 8.04 in a month. It does eat up a weekend as I do a complete backup before.

Thanks for your help.

Amit

Revision history for this message
AmitChaudhary (amitch) wrote :

This bug no longer happens with Ubuntu 8.04. Hibernate works as expected.

I will try to close it.

Thanks
Amit

Changed in linux-ubuntu-modules-2.6.22:
status: New → 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.