FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-16-2011, 05:03 AM
Carl Fink
 
Default Hibernate fails

I have Debian Wheezy on my Gateway netbook (LT3119U).

When I run either pm-hibernate or hibernate, the system instead *suspends*.
The power light continues to flash, and if I kill power by holding the power
button down, does not resume. If I single-press the power button, it resumes
from suspend normally--but I wanted to hibernate.

Any suggestions? File a bug?
--
Carl Fink nitpicking@nitpicking.com

Read my blog at blog.nitpicking.com. Reviews! Observations!
Stupid mistakes you can correct!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110616050315.GA4488@panix.com">http://lists.debian.org/20110616050315.GA4488@panix.com
 
Old 06-16-2011, 10:22 AM
Scott Ferguson
 
Default Hibernate fails

On 16/06/11 15:03, Carl Fink wrote:
> I have Debian Wheezy on my Gateway netbook (LT3119U).
>
> When I run either pm-hibernate or hibernate, the system instead *suspends*.
> The power light continues to flash, and if I kill power by holding the power
> button down, does not resume. If I single-press the power button, it resumes
> from suspend normally--but I wanted to hibernate.
>
> Any suggestions? File a bug?


Do you have a swap partition??

/var/log/pm-suspend.log ??


Cheers

--
We all pay for life with death, so everything in between should be free.
~ Bill Hicks


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DF9D96B.6020100@gmail.com">http://lists.debian.org/4DF9D96B.6020100@gmail.com
 
Old 06-17-2011, 03:47 AM
Carl Fink
 
Default Hibernate fails

On Thu, Jun 16, 2011 at 08:22:35PM +1000, Scott Ferguson wrote:

> Do you have a swap partition??

root@cf-gw:/home/carlf# free
total used free shared buffers cached
Mem: 1800196 272200 1527996 0 10500 135648
-/+ buffers/cache: 126052 1674144
Swap: 7738012 0 7738012
root@cf-gw:/home/carlf# fdisk -l /dev/sda

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc9a1dec1

Device Boot Start End Blocks Id System
/dev/sda1 1 1698 13631488 27 Unknown
/dev/sda2 * 1698 1710 102400 7 HPFS/NTFS
/dev/sda3 1710 8238 52429824 7 HPFS/NTFS
/dev/sda4 8238 30401 178024298+ 5 Extended
/dev/sda5 8239 11845 28973227+ 83 Linux
/dev/sda6 11846 29438 141312000 7 HPFS/NTFS
/dev/sda7 29438 30401 7738017 82 Linux swap / Solaris

> /var/log/pm-suspend.log ??

I'm suspecting you really are asking about hibernate.log?
suspend.log is very long, here's a representative sample:

Linux cf-gw 2.6.38-2-amd64 #1 SMP Sun May 8 13:51:57 UTC 2011 x86_64
GNU/Linux
Module Size Used by
ppp_deflate 12864 0
zlib_deflate 25466 1 ppp_deflate
bsd_comp 12868 0
ppp_async 17077 0
crc_ccitt 12347 1 ppp_async
ppp_generic 26263 3 ppp_deflate,bsd_comp,ppp_async
slhc 12562 1 ppp_generic
usbhid 39900 0
hid 72616 1 usbhid
vboxnetadp 13185 0
vboxnetflt 24179 0
vboxdrv 178736 2 vboxnetadp,vboxnetflt
mperf 12411 0
cpufreq_stats 12713 0
cpufreq_powersave 12454 0
cpufreq_userspace 12576 0
cpufreq_conservative 13878 0
parport_pc 22191 0
ppdev 12725 0
lp 17190 0
parport 31650 3 parport_pc,ppdev,lp
sco 17555 2
rfcomm 32744 8
bnep 17424 2
l2cap 40163 16 rfcomm,bnep
crc16 12343 1 l2cap
binfmt_misc 12914 1
uinput 17392 1
fuse 61520 3
loop 22515 0
snd_hda_codec_realtek 283898 1
arc4 12458 2
ecb 12737 2
snd_hda_intel 25946 2
uvcvideo 57386 0
videodev 57418 1 uvcvideo
btusb 17417 2
ath9k 76902 0
v4l2_compat_ioctl32 16575 1 videodev
bluetooth 55503 9 sco,rfcomm,bnep,l2cap,btusb
snd_hda_codec 67647 2 snd_hda_codec_realtek,snd_hda_intel
radeon 717227 2
mac80211 180997 1 ath9k
ath9k_common 12685 1 ath9k
ath9k_hw 260582 2 ath9k,ath9k_common
ttm 52155 1 radeon
drm_kms_helper 26893 1 radeon
snd_hwdep 13148 1 snd_hda_codec
snd_pcm 67327 2 snd_hda_intel,snd_hda_codec
ath 21261 2 ath9k,ath9k_hw
drm 165567 4 radeon,ttm,drm_kms_helper
i2c_algo_bit 12834 1 radeon
snd_seq 44678 0
snd_timer 22658 2 snd_pcm,snd_seq
snd_seq_device 13155 1 snd_seq
snd 52280 12
snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec, snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
cfg80211 126017 3 ath9k,mac80211,ath
k8temp 12531 0
soundcore 13014 1 snd
shpchp 31221 0
battery 13109 0
i2c_piix4 12536 0
snd_page_alloc 12969 2 snd_hda_intel,snd_pcm
ac 12624 0
rfkill 19014 4 bluetooth,cfg80211
power_supply 13475 3 radeon,battery,ac
i2c_core 23725 6
videodev,radeon,drm_kms_helper,drm,i2c_algo_bit,i2 c_piix4
psmouse 55199 0
evdev 17475 17
pcspkr 12579 0
video 17553 0
pci_hotplug 26711 1 shpchp
serio_raw 12878 0
edac_core 35344 0
edac_mce_amd 17103 0
wmi 13202 0
button 12994 0
processor 27431 0
ext3 112218 1
jbd 41698 1 ext3
mbcache 12930 1 ext3
sd_mod 35501 4
crc_t10dif 12348 1 sd_mod
ahci 25089 3
ata_generic 12479 0
libahci 22568 1 ahci
ohci_hcd 26400 0
pata_atiixp 12689 0
libata 147240 4 ata_generic,ahci,libahci,pata_atiixp
ehci_hcd 39529 0
scsi_mod 161457 2 sd_mod,libata
usbcore 122908 6 usbhid,uvcvideo,btusb,ohci_hcd,ehci_hcd
thermal 17330 0
thermal_sys 17939 3 video,processor,thermal
r8169 37209 0
mii 12634 1 r8169
nls_base 12753 1 usbcore
total used free shared buffers cached
Mem: 1800196 1727896 72300 0 170560 967868
-/+ buffers/cache: 589468 1210728
Swap: 7738012 0 7738012

/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:

/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: success.
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate hibernate
hibernate:

/etc/pm/sleep.d/10_unattended-upgrades-hibernate hibernate hibernate:
success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:

/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:
Having NetworkManager put all interaces to sleep...method return sender=:1.0
-> dest=:1.49 reply_serial=2
Done.

/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant hibernate
hibernate:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or
directory

/usr/lib/pm-utils/sleep.d/60_wpa_supplicant hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:

/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:

/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:

/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate:
success./usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:
Having NetworkManager put all interaces to sleep...method return sender=:1.0
-> dest=:1.49 reply_serial=2
Done.

/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant hibernate
hibernate:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or
directory

/usr/lib/pm-utils/sleep.d/60_wpa_supplicant hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:

/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:

/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:

/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95led hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate
hibernate:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:
success.
Running hook /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:

/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Wed Jun 15 18:01:33 EDT 2011: performing hibernate


and here is the entirety of hibernate.log:
Starting suspend at Sun Jun 12 18:01:59 EDT 2011
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [98] Executing CheckRunlevel ...
hibernate: [99] Executing DoSysfsPowerStateSuspend ...
hibernate: Activating sysfs power state disk ...
Starting suspend at Sun Jun 12 20:34:33 EDT 2011
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [98] Executing CheckRunlevel ...
hibernate: [99] Executing DoSysfsPowerStateSuspend ...
hibernate: Activating sysfs power state disk ...

Thanks for taking the time.
--
Carl Fink nitpicking@nitpicking.com

Read my blog at blog.nitpicking.com. Reviews! Observations!
Stupid mistakes you can correct!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110617034718.GA12368@panix.com">http://lists.debian.org/20110617034718.GA12368@panix.com
 
Old 06-17-2011, 09:28 AM
Scott Ferguson
 
Default Hibernate fails

On 17/06/11 13:47, Carl Fink wrote:
> On Thu, Jun 16, 2011 at 08:22:35PM +1000, Scott Ferguson wrote:
>
>> Do you have a swap partition??
>
> root@cf-gw:/home/carlf# free

<snipped>

:-)
Actually, just yes would have been fine
:-D

>
> Device Boot Start End Blocks Id System
> /dev/sda1 1 1698 13631488 27 Unknown
> /dev/sda2 * 1698 1710 102400 7 HPFS/NTFS
> /dev/sda3 1710 8238 52429824 7 HPFS/NTFS
> /dev/sda4 8238 30401 178024298+ 5 Extended
> /dev/sda5 8239 11845 28973227+ 83 Linux
> /dev/sda6 11846 29438 141312000 7 HPFS/NTFS
> /dev/sda7 29438 30401 7738017 82 Linux swap / Solaris

Ta - I meant to ask.

>
>> /var/log/pm-suspend.log ??

No. You said it was suspending instead of hibernating. Hence the request.

>
> I'm suspecting you really are asking about hibernate.log?
> suspend.log is very long, here's a representative sample:
>
<snipped>
Please send the recent suspend log events - if it makes it easier:-
cat /var/log/pm-suspend.log | tail -n 120 > sample
then edit sample.


<snipped>
Sorry that I don't have an immediate solution for you - just more
questions, and the observation that Gateways can be fickle beast, BIOS
settings, and whether on AC power can effect suspend and hibernation (my
only Gateway is a much older Solo series).

Does hibernate (suspend to disk) work with Windoof??
Any relevant messages in /var/log/messages??
likewise dmesg before and after hibernate??
eg. acpi type errors (or apm....)
Is this a recent problem??
Is that a Windoof or Linux bootloader on the Windoof partition??
What is that first large primary partition??
What is the value of:-
cat /sys/power/image_size ??

When you post the answers to those questions I'll have a bit of a think,
probably pm_test will be able to (try and) narrow down the source of the
problem. Additionally we can maybe try uswsusp (from sid).

Cheers

--
I don't mean to sound bitter, cold, or cruel, but I am, so that's how it
comes out.
~ Bill Hicks


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DFB1E3E.5050702@gmail.com">http://lists.debian.org/4DFB1E3E.5050702@gmail.com
 
Old 06-17-2011, 01:33 PM
Carl Fink
 
Default Hibernate fails

On Fri, Jun 17, 2011 at 07:28:30PM +1000, Scott Ferguson wrote:

> Please send the recent suspend log events - if it makes it easier:-
> cat /var/log/pm-suspend.log | tail -n 120 > sample
> then edit sample.

That's essentially what I did send you.

> Sorry that I don't have an immediate solution for you - just more
> questions, and the observation that Gateways can be fickle beast, BIOS
> settings, and whether on AC power can effect suspend and hibernation (my
> only Gateway is a much older Solo series).

Please don't apologize for helping me!

> Does hibernate (suspend to disk) work with Windoof??

Yes.

> Any relevant messages in /var/log/messages??

Nothing at all.

> likewise dmesg before and after hibernate??
> eg. acpi type errors (or apm....)

During boot I see:
PM: Hibernation image not present or could not be loaded.

also during boot:
0.280902] pci0000:00: Requesting ACPI _OSC control (0x1d)
[ 0.287986] ACPI: PCI Interrupt Link [LNKA] (IRQs 10 11) *0, disabled.
[ 0.288090] ACPI: PCI Interrupt Link [LNKB] (IRQs 10 11) *0, disabled.
[ 0.288172] ACPI: PCI Interrupt Link [LNKC] (IRQs 10 11) *0, disabled.
[ 0.288254] ACPI: PCI Interrupt Link [LNKD] (IRQs 10 11) *0, disabled.
[ 0.288336] ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled.
[ 0.288418] ACPI: PCI Interrupt Link [LNKF] (IRQs 10 11) *0, disabled.
[ 0.288501] ACPI: PCI Interrupt Link [LNKG] (IRQs 10 11) *0, disabled.
[ 0.288583] ACPI: PCI Interrupt Link [LNKH] (IRQs 10 11) *0, disabled.

> Is this a recent problem??

Since I put Debian on this box.

> Is that a Windoof or Linux bootloader on the Windoof partition??

Don't understand the question. GRUB is my boot manager.

> What is that first large primary partition??

I believe it's part of Gateway's recovery disk thing.

> What is the value of:-
> cat /sys/power/image_size ??

root@cf-gw:/home/carlf# cat /sys/power/image_size
732598272

Thanks again.
--
Carl Fink nitpicking@nitpicking.com

Read my blog at blog.nitpicking.com. Reviews! Observations!
Stupid mistakes you can correct!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110617133335.GA27353@panix.com">http://lists.debian.org/20110617133335.GA27353@panix.com
 
Old 06-17-2011, 01:33 PM
Carl Fink
 
Default Hibernate fails

On Fri, Jun 17, 2011 at 07:28:30PM +1000, Scott Ferguson wrote:

> Please send the recent suspend log events - if it makes it easier:-
> cat /var/log/pm-suspend.log | tail -n 120 > sample
> then edit sample.

That's essentially what I did send you.

> Sorry that I don't have an immediate solution for you - just more
> questions, and the observation that Gateways can be fickle beast, BIOS
> settings, and whether on AC power can effect suspend and hibernation (my
> only Gateway is a much older Solo series).

Please don't apologize for helping me!

> Does hibernate (suspend to disk) work with Windoof??

Yes.

> Any relevant messages in /var/log/messages??

Nothing at all.

> likewise dmesg before and after hibernate??
> eg. acpi type errors (or apm....)

During boot I see:
PM: Hibernation image not present or could not be loaded.

also during boot:
0.280902] pci0000:00: Requesting ACPI _OSC control (0x1d)
[ 0.287986] ACPI: PCI Interrupt Link [LNKA] (IRQs 10 11) *0, disabled.
[ 0.288090] ACPI: PCI Interrupt Link [LNKB] (IRQs 10 11) *0, disabled.
[ 0.288172] ACPI: PCI Interrupt Link [LNKC] (IRQs 10 11) *0, disabled.
[ 0.288254] ACPI: PCI Interrupt Link [LNKD] (IRQs 10 11) *0, disabled.
[ 0.288336] ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled.
[ 0.288418] ACPI: PCI Interrupt Link [LNKF] (IRQs 10 11) *0, disabled.
[ 0.288501] ACPI: PCI Interrupt Link [LNKG] (IRQs 10 11) *0, disabled.
[ 0.288583] ACPI: PCI Interrupt Link [LNKH] (IRQs 10 11) *0, disabled.

> Is this a recent problem??

Since I put Debian on this box.

> Is that a Windoof or Linux bootloader on the Windoof partition??

Don't understand the question. GRUB is my boot manager.

> What is that first large primary partition??

I believe it's part of Gateway's recovery disk thing.

> What is the value of:-
> cat /sys/power/image_size ??

root@cf-gw:/home/carlf# cat /sys/power/image_size
732598272

Thanks again.
--
Carl Fink nitpicking@nitpicking.com

Read my blog at blog.nitpicking.com. Reviews! Observations!
Stupid mistakes you can correct!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110617133335.GA27353@panix.com">http://lists.debian.org/20110617133335.GA27353@panix.com
 
Old 06-18-2011, 04:27 AM
Scott Ferguson
 
Default Hibernate fails

On 17/06/11 23:33, Carl Fink wrote:
> On Fri, Jun 17, 2011 at 07:28:30PM +1000, Scott Ferguson wrote:
>
>> Please send the recent suspend log events - if it makes it easier:-
>> cat /var/log/pm-suspend.log | tail -n 120 > sample
>> then edit sample.
>
> That's essentially what I did send you.

Aaah - the "Sun May 8 13:51:57 UTC 2011" caused me to jump to the
conclusion it was an old, possible irrelevant log. No matter.

In mitigation - I have only three brains cells - one reads the list,
another is working, and the other one went out for coffee last week and
has not returned ;-p
>

<snipped>

>
> During boot I see:
> PM: Hibernation image not present or could not be loaded.

That is as it should be.

>
> also during boot:
> 0.280902] pci0000:00: Requesting ACPI _OSC control (0x1d)
> [ 0.287986] ACPI: PCI Interrupt Link [LNKA] (IRQs 10 11) *0, disabled.
> [ 0.288090] ACPI: PCI Interrupt Link [LNKB] (IRQs 10 11) *0, disabled.
> [ 0.288172] ACPI: PCI Interrupt Link [LNKC] (IRQs 10 11) *0, disabled.
> [ 0.288254] ACPI: PCI Interrupt Link [LNKD] (IRQs 10 11) *0, disabled.
> [ 0.288336] ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled.
> [ 0.288418] ACPI: PCI Interrupt Link [LNKF] (IRQs 10 11) *0, disabled.
> [ 0.288501] ACPI: PCI Interrupt Link [LNKG] (IRQs 10 11) *0, disabled.
> [ 0.288583] ACPI: PCI Interrupt Link [LNKH] (IRQs 10 11) *0, disabled.

I "doubt" that is a problem.

<snipped>
>
>> Is that a Windoof or Linux bootloader on the Windoof partition??
>
> Don't understand the question. GRUB is my boot manager.

Thanks - (it's a Linux bootloader) it's unlikely it would be relevant,
but I like to have an idea of all the factors that might be at play.

<snipped>

Your image_size is 2/5 of RAM and smaller than swap - so I can't see a
problem there. Before starting pm_tests, check whether your system
"thinks" it supports hibernation (under Debian).

$ cat /sys/power/state
and check that "disk" is listed, (meaning it can hibernate)

Then, find out what pm-hibernation switches are being used by:-
$ cat /var/log/pm-suspend.log | grep -m 1 commandline
and post the results

If "disk" was listed try:-
# echo disk > /sys/power/state
And wait... (hibernation is slow, dunno why people use it...)
Please post your results and any new, useful logs.

Notes: hibernation using the last command will probably cause errors on
resume. If hibernation was successful after grub starts you will see
something like "loading resume image, please wait" then the screen will
go black with a flashing cursor (you won't get the usual kernel messages
during the boot).

Cheers


--
I don't mean to sound bitter, cold, or cruel, but I am, so that's how it
comes out.
~ Bill Hicks


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DFC294D.8050602@gmail.com">http://lists.debian.org/4DFC294D.8050602@gmail.com
 
Old 06-19-2011, 01:49 AM
Carl Fink
 
Default Hibernate fails

On Sat, Jun 18, 2011 at 02:27:57PM +1000, Scott Ferguson wrote:
> On 17/06/11 23:33, Carl Fink wrote:

> > That's essentially what I did send you.
>
> Aaah - the "Sun May 8 13:51:57 UTC 2011" caused me to jump to the
> conclusion it was an old, possible irrelevant log. No matter.

No, it's just that since hibernate doesn't work, I don't pointlessly try to
use it that much.

> $ cat /sys/power/state
> and check that "disk" is listed, (meaning it can hibernate)

root@cf-gw:/home/carlf# cat /sys/power/state
mem disk

> Then, find out what pm-hibernation switches are being used by:-
> $ cat /var/log/pm-suspend.log | grep -m 1 commandline
> and post the results

root@cf-gw:/home/carlf# cat /var/log/pm-suspend.log | grep -m 1 commandline
Initial commandline parameters:

So seemingly none.

> If "disk" was listed try:-
> # echo disk > /sys/power/state
> And wait... (hibernation is slow, dunno why people use it...)
> Please post your results and any new, useful logs.

OK, it did what pm-hibernate does: suspended. The power light flashed
continuously, as did the tiny LED on my bluetooth dongle, so it clearly
never powered down. When I forced power off by holding the power button down
and then turned the netbook back on, it did not find a hibernation image to
resume from.

Here are the last lines of pm-suspend.log:
Done.

/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant hibernate hibernate:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

/usr/lib/pm-utils/sleep.d/60_wpa_supplicant hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:

/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:

/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:

/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95led hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:

/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Fri Jun 17 09:18:42 EDT 2011: performing hibernate



Thanks again.
--
Carl Fink nitpicking@nitpicking.com

Read my blog at blog.nitpicking.com. Reviews! Observations!
Stupid mistakes you can correct!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110619014909.GA20176@panix.com">http://lists.debian.org/20110619014909.GA20176@panix.com
 
Old 06-19-2011, 04:05 AM
Scott Ferguson
 
Default Hibernate fails

On 19/06/11 11:49, Carl Fink wrote:
> On Sat, Jun 18, 2011 at 02:27:57PM +1000, Scott Ferguson wrote:
>> On 17/06/11 23:33, Carl Fink wrote:
>

<snipped>

>> If "disk" was listed try:-
>> # echo disk > /sys/power/state
>> And wait... (hibernation is slow, dunno why people use it...)
>> Please post your results and any new, useful logs.
>
> OK, it did what pm-hibernate does: suspended. The power light flashed
> continuously, as did the tiny LED on my bluetooth dongle, so it clearly
> never powered down. When I forced power off by holding the power button down
> and then turned the netbook back on, it did not find a hibernation image to
> resume from.

In my tests on laptops here it takes more than 5 minutes to hibernate
(less than a minute to shutdown).
Startup from hibernation - more than 5 minutes, cold boot < 2 minutes
I run some proprietary firmware and nvidia driver which may slow things.

>
> Here are the last lines of pm-suspend.log:
> Done.
>
<snipped>

Please repeat the last process - except this time toggle off blue tooth
and any other wireless devices beforehand.
Be sure to wait at least ten minutes after running:-
echo disk > /sys/power/state
Afterwards please post the output of:-
cat /var/log/pm-suspend.log | grep Failed

I suspect it is either the wireless device (log supports that) or your
hard drive - we'll either have to change the .conf or add some quirks
switches to the hibernate command. Failing that we can try an
alternative hibernate method from Sid.

Cheers


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DFD7573.9080705@gmail.com">http://lists.debian.org/4DFD7573.9080705@gmail.com
 
Old 06-19-2011, 06:27 PM
Carl Fink
 
Default Hibernate fails

On Sun, Jun 19, 2011 at 02:05:07PM +1000, Scott Ferguson wrote:

> Please repeat the last process - except this time toggle off blue tooth
> and any other wireless devices beforehand.
> Be sure to wait at least ten minutes after running:-
> echo disk > /sys/power/state
> Afterwards please post the output of:-
> cat /var/log/pm-suspend.log | grep Failed

Done. Here's the output:

Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Having NetworkManager put all interaces to sleep...Failed.
Having NetworkManager put all interaces to sleep...Failed.
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

> I suspect it is either the wireless device (log supports that) or your
> hard drive - we'll either have to change the .conf or add some quirks
> switches to the hibernate command. Failing that we can try an
> alternative hibernate method from Sid.

I never ran nm-applet this round. (I have to manually do so under fluxbox.)
There is no way to hardware-disable WiFi on tihs netbook. I removed the
bluetooth dongle before booting. It had no effect.

Surely refusing to suspend because WiFi can't be connected to is broken
behavior for a hibernate program?

Additional info: apparently it's not actually suspending. The fan stays on
and the power button won't trigger a resume (nor will anything else).
However, the CPU may be shut down, since the fan starts to blow cold
exhaust, something that never happens while an OS is running, even if there
is almost no load.
--
Carl Fink nitpicking@nitpicking.com

Read my blog at blog.nitpicking.com. Reviews! Observations!
Stupid mistakes you can correct!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110619182734.GA9974@panix.com">http://lists.debian.org/20110619182734.GA9974@panix.com
 

Thread Tools




All times are GMT. The time now is 04:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org