[Bug 55535] Hibernation fails after changing of the Swap Space

Raghavendra Nayak raghu750 at gmail.com
Mon Aug 7 18:54:07 UTC 2006


Public bug reported:

Hi... I recently upgraded RAM of my comp. from 256MB to 768MB.Same time
I added one more swap space of 940 MB to the system and removed old swap
space of size 540 MB from the system.

Since then I'm unable to hibernate my system. When I click on hibernate
button my computer monitor turns off, but after a little while
everything returns to its original state..

When I press Control+Alt+F12 I see following Error Message there.

[4303591.664000] swsusp: Can not find swap device, try swapon -a

I tried command sudo  swapon -a, But same thing continues.

If I manually run the script /etc/acpi/hibernate.sh i get following
error.

free
             total       used       free     shared    buffers     cached
Mem:        766016     387084     378932          0      12364     141856
-/+ buffers/cache:     232864     533152
Swap:       939792     142400     797392
raghu at ubuntu:~$ sudo -s
root at ubuntu:~# cat /sys/power/image_size
524288000
root at ubuntu:~# echo 939792 > /sys/power/image_size
root at ubuntu:~# exit
exit
raghu at ubuntu:~$ sudo /etc/acpi/hibernate.sh
 * Shutting down ALSA...                                                 [ ok ]
/etc/acpi/hibernate.sh: line 28: echo: write error: No such device
disabled, not active [unchanged].
/etc/acpi/resume.d/17-video-restore.sh: line 5: /var/lib/acpi-support/vbestate: No such file or directory
ifup: interface eth0 already configured
 * Setting up ALSA...                                                    [ ok ]
grep: /proc/acpi/fan/*/state: No such file or directory

** Affects: gdm (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

** Summary changed:

- Hibernation fails after changing of the Swap Space
+ Hibernation fails after changing the Swap Space

** Description changed:

  Hi... I recently upgraded RAM of my comp. from 256MB to 768MB.Same time
  I added one more swap space of 940 MB to the system and removed old swap
- space of size 540 MB from the sytem.
+ space of size 540 MB from the system.
  
- Since then I'm unable to hibernate my system. When I click on hinernate
+ Since then I'm unable to hibernate my system. When I click on hibernate
  button my computer monitor turns off, but after a little while
  everything returns to its original state..
  
- When I press Control+Alt+F12 I see following Error Message threre.
+ When I press Control+Alt+F12 I see following Error Message there.
  
  [4303591.664000] swsusp: Can not find swap device, try swapon -a
  
  I tried command sudo  swapon -a, But same thing continues.
  
  If I manually run the script /etc/acpi/hibernate.sh i get following
  error.
  
  free
               total       used       free     shared    buffers     cached
  Mem:        766016     387084     378932          0      12364     141856
  -/+ buffers/cache:     232864     533152
  Swap:       939792     142400     797392
  raghu at ubuntu:~$ sudo -s
  root at ubuntu:~# cat /sys/power/image_size
  524288000
  root at ubuntu:~# echo 939792 > /sys/power/image_size
  root at ubuntu:~# exit
  exit
  raghu at ubuntu:~$ sudo /etc/acpi/hibernate.sh
   * Shutting down ALSA...                                                 [ ok ]
  /etc/acpi/hibernate.sh: line 28: echo: write error: No such device
  disabled, not active [unchanged].
  /etc/acpi/resume.d/17-video-restore.sh: line 5: /var/lib/acpi-support/vbestate: No such file or directory
  ifup: interface eth0 already configured
   * Setting up ALSA...                                                    [ ok ]
  grep: /proc/acpi/fan/*/state: No such file or directory

** Tags added: hibernate

-- 
Hibernation fails after changing the Swap Space
https://launchpad.net/bugs/55535




More information about the desktop-bugs mailing list