Hibernate fails Sony VAIO VGN-FS215E

Bug #38316 reported by Trip on 2006-04-06
24
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Medium
Unassigned

Bug Description

Laptop acts like it's going to hibernate, the screen goes off but then comes straight back on again.
Screen restart's ok with full brightness while plugged in & networking seem's fine.

/var/log/acpid=

[Thu Apr 6 04:11:18 2006] received event "button/power PWRF 00000080 00000001"
[Thu Apr 6 04:11:18 2006] notifying client 4030[115:115]
[Thu Apr 6 04:11:18 2006] executing action "/etc/acpi/powerbtn.sh"
[Thu Apr 6 04:11:18 2006] BEGIN HANDLER MESSAGES
[Thu Apr 6 04:11:18 2006] END HANDLER MESSAGES
[Thu Apr 6 04:11:18 2006] action exited with status 0
[Thu Apr 6 04:11:18 2006] completed event "button/power PWRF 00000080 00000001"

Output when /etc/acpi/hibernate.sh is run in terminal=

ioctl(): Operation not permitted
ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
SIOCSIFFLAGS: Permission denied
ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
SIOCSIFFLAGS: Permission denied
ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
SIOCSIFFLAGS: Permission denied
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
open /dev/mem: Permission denied
Failed to initialise LRMI.
/etc/acpi/prepare.sh: line 95: [: !=: unary operator expected
open /dev/mem: Permission denied
Failed to initialise LRMI.
 * Shutting down ALSA... * warning: 'alsactl store' failed with error message 'alsactl: save_state:1190: Cannot open /var/lib/alsa/asound.state for writing'... [fail]
/etc/acpi/prepare.sh: line 128: /sys/class/graphics/fb0/state: Permission denied/etc/acpi/hibernate.sh: line 27: /sys/power/disk: Permission denied
/etc/acpi/hibernate.sh: line 28: /sys/power/state: Permission denied
You do not have enough privileges to enable laptop_mode.
/etc/acpi/resume.sh: line 15: [: !=: unary operator expected
open /dev/mem: Permission denied
Failed to initialise LRMI.
/etc/acpi/resume.sh: line 38: /sys/class/graphics/fb0/state: Permission denied
/etc/acpi/resume.sh: line 47: /sys/class/firmware/timeout: Permission denied
Warning: Interface name is `eth0' at line 2, can't be mapped reliably.
Warning: Interface name is `eth0' at line 2, can't be mapped reliably.
/etc/acpi/resume.sh: line 59: /sys/class/firmware/timeout: Permission denied
ioctl(): Operation not permitted
ifup: failed to open statefile /var/run/network/ifstate: Permission denied
Sorry, only the superuser can change the Hardware Clock.
open /dev/mem: Permission denied
Failed to initialise LRMI.
FATAL: Module ac is in use.
FATAL: Module battery is in use.
chvt: Wrong number of args
 * Setting up ALSA... [ ok ]
Password:
configuration error - unknown item 'QUOTAS_ENAB' (notify administrator)
configuration error - unknown item 'NOLOGIN_STR' (notify administrator)
configuration error - unknown item 'ENV_HZ' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator)
xscreensaver-command: no screensaver is running on display :0.0
FATAL: Error removing button (/lib/modules/2.6.15-20-386/kernel/drivers/acpi/button.ko): Operation not permitted
FATAL: Error removing fan (/lib/modules/2.6.15-20-386/kernel/drivers/acpi/fan.ko): Operation not permitted
FATAL: Error removing thermal (/lib/modules/2.6.15-20-386/kernel/drivers/acpi/thermal.ko): Operation not permitted
grep: /proc/acpi/fan/*/state: No such file or directory

Trip (djturner) wrote :

Output when sudo /etc/acpi/hibernate.sh is run in terminal=

ifdown: interface eth0 not configured
ifdown: interface eth1 not configured
 * Shutting down ALSA... [ ok ]
/etc/acpi/hibernate.sh: line 28: echo: write error: No such device
enabled, not active [unchanged].
Warning: Interface name is `eth0' at line 2, can't be mapped reliably.
Warning: Interface name is `eth0' at line 2, can't be mapped reliably.
FATAL: Module ac is in use.
FATAL: Module battery is in use.
 * Setting up ALSA... [ ok ]
configuration error - unknown item 'QUOTAS_ENAB' (notify administrator)
configuration error - unknown item 'NOLOGIN_STR' (notify administrator)
configuration error - unknown item 'ENV_HZ' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator)
xscreensaver-command: no screensaver is running on display :0.0
grep: /proc/acpi/fan/*/state: No such file or directory

Matthew Garrett (mjg59) wrote :

Can you cat /proc/swaps ?

Trip (djturner) wrote :

cat /proc/swaps output=

Filename Type Size Used Priority
/dev/hda7 partition 1285160 18792 -1

Here you go.

Matthew Garrett (mjg59) wrote :

And it still fails when you do sudo /etc/acpi/hibernate.sh ?

Trip (djturner) wrote :

Yep, still fails i'm afraid..

ifdown: interface eth0 not configured
ifdown: interface eth1 not configured
 * Shutting down ALSA... [ ok ]
/etc/acpi/hibernate.sh: line 28: echo: write error: No such device
enabled, not active [unchanged].
Warning: Interface name is `eth0' at line 2, can't be mapped reliably.
Warning: Interface name is `eth0' at line 2, can't be mapped reliably.
Ignoring unknown interface eth0=eth0.
Ignoring unknown interface eth1=eth1.
FATAL: Module ac is in use.
FATAL: Module battery is in use.
 * Setting up ALSA... [ ok ]
configuration error - unknown item 'QUOTAS_ENAB' (notify administrator)
configuration error - unknown item 'NOLOGIN_STR' (notify administrator)
configuration error - unknown item 'ENV_HZ' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator)
xscreensaver-command: no screensaver is running on display :0.0
grep: /proc/acpi/fan/*/state: No such file or directory

Sorry for the double post, problem when submitting.
p.s. I'll try it with the live cd too & let you know.

Igor Zubarev (igor.zubarev) wrote :

Laptop acts like it's going to hibernate, the screen goes off but then comes straight back on again.
Screen restart's ok with full brightness while plugged in & networking seem's fine.

I have the same for Sony VAIO VGN-FS115MR using NVIDIA driver.

edwlan (cowboy3552002) wrote :

I have a sony Vaio VGN-N250E, I have the same problem

edwlan (cowboy3552002) wrote :

My laptop would hibernate in 6.06

Rolf Theunissen (ubuntu-rolf) wrote :

Can confirm this bug on a IBM Thinkpad T60, after installing the package "uswsusp".

When uswsusp is not installed hibernation works fine, after installing uswsusp this bug occurs.
output of sudo /etc/acpi/hibernate.sh (with uswsusp installed):

There is already a pid file /var/run/dhclient.ath0.pid with pid 12705
removed stale PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:16:ce:88:c2:b1
Sending on LPF/ath0/00:16:ce:88:c2:b1
Sending on Socket/fallback
DHCPRELEASE on ath0 to 192.168.1.1 port 67
RTNETLINK answers: No such process
There is already a pid file /var/run/dhclient.eth0.pid with pid 12777
removed stale PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/eth0/00:15:58:2b:95:9f
Sending on LPF/eth0/00:15:58:2b:95:9f
Sending on Socket/fallback
DHCPRELEASE on eth0 to 131.155.3.3 port 67
ifdown: interface eth0:avah not configured
SIOCSIFFLAGS: Cannot assign requested address
ifdown: interface wifi0 not configured
 * Shutting down ALSA... [ OK ]
Usage: suspend [-f config][resume_device]
Laptop mode disabled, not active.
ifup: interface ath0 already configured
ifup: interface eth0 already configured
Ignoring unknown interface eth0:avah=eth0:avah.
Ignoring unknown interface wifi0=wifi0.
 * Setting up ALSA... [ OK ]
grep: /proc/acpi/fan/*/state: No such file or directory
FATAL: Module acpi_sbs not found.
FATAL: Module acpi_sbs not found.

marvman90 (fatlip) wrote :

Same problem on VAIO VGN-FS215M.

Alessandro Tanasi (jekil) wrote :

Same problem on IBM z61p

To the original reporter of the bug, Trip:

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Changed in acpi-support:
status: New → Incomplete
Trip (djturner) wrote :

Just tried hibernate again on Hardy Beta with latest updates and it worked fine :D

This wasn't an exhaustive test though, I just hibernated while Firefox was open and started the computer back up once it had completely shut down.
I'll try it again a little later for a longer period of time (maybe over night?) and check out the suspend too.

Cheers for all your hard work guys, as always.. you rock! :)

Trip (djturner) wrote :

Forgot to mention that I tested with the power lead still in. Will do more in-depth testing while using the battery A.S.A.P :)

Trip (djturner) wrote :

Ok tested both hibernate and suspend whilst on battery and mains but only short term for both. No problems from what I can see so far. Internet connection re-establishes itself to the correct network, sound comes back on (not tested recording sound yet though) and the graphics seem fine :)

Thought I'd better mention that I'm not using desktop effects through Compiz Fusion yet, not too sure if that would make a difference or not??

Trip (djturner) wrote :

Ok I enabled Compiz Fusion and run through all the tests again and I also tested hibernate by hibernating with the power plugged in and restoring it whilst on the battery.. and suspend by suspending whilst on battery and restoring it with the power lead in.

Congratulations.. a clean slate with everything working as it should and no problems that I can see :D

Is it all working for you other guys on your model of laptops?

Since Trip is the original bug reporter and his reports indicate a fully functioning suspend/hibernate I am marking this bug as Fix Released.

Thanks!

Changed in acpi-support:
status: Incomplete → Fix Released
Patricio (patricio-stwing) wrote :

I think I am getting the same problem:
FATAL: Module acpi_sbs not found

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers