You are not logged in.
Pages: 1
Hello,
I have a Thinkpad T42. Ever since I first installed Arch I haven't been able to hibernate my laptop. I run pm-hibernate as root and it acts as though it is going to hibernate, then just comes back up. I see the flashing moon and everything.
This is my output from /var/log/kernel.log related to hibernate:
Dec 4 17:51:13 noir ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 4 17:51:13 noir ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 4 17:51:16 noir PM: Syncing filesystems ... done.
Dec 4 17:51:20 noir Freezing user space processes ... (elapsed 0.00 seconds) done.
Dec 4 17:51:20 noir Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Dec 4 17:51:20 noir PM: Shrinking memory... -\done (334 pages freed)
Dec 4 17:51:20 noir PM: Freed 1336 kbytes in 0.06 seconds (22.26 MB/s)
Dec 4 17:51:20 noir Suspending console(s) (use no_console_suspend to debug)
Dec 4 17:51:20 noir sd 0:0:0:0: [sda] Synchronizing SCSI cache
Dec 4 17:51:20 noir parport_pc 00:0b: disabled
Dec 4 17:51:20 noir serial 00:0a: disabled
Dec 4 17:51:20 noir eth1: Going into suspend...
Dec 4 17:51:20 noir ipw2200 0000:02:02.0: PCI INT A disabled
Dec 4 17:51:20 noir ACPI handle has no context!
Dec 4 17:51:20 noir e1000 0000:02:01.0: PCI INT A disabled
Dec 4 17:51:20 noir ACPI handle has no context!
Dec 4 17:51:20 noir Intel ICH Modem 0000:00:1f.6: PCI INT B disabled
Dec 4 17:51:20 noir Intel ICH 0000:00:1f.5: PCI INT B disabled
Dec 4 17:51:20 noir ata_piix 0000:00:1f.1: PCI INT A disabled
Dec 4 17:51:20 noir ehci_hcd 0000:00:1d.7: PCI INT D disabled
Dec 4 17:51:20 noir uhci_hcd 0000:00:1d.2: PCI INT C disabled
Dec 4 17:51:20 noir uhci_hcd 0000:00:1d.1: PCI INT B disabled
Dec 4 17:51:20 noir uhci_hcd 0000:00:1d.0: PCI INT A disabled
Dec 4 17:51:20 noir ACPI: Preparing to enter system sleep state S4
Dec 4 17:51:20 noir Disabling non-boot CPUs ...
Dec 4 17:51:20 noir Extended CMOS year: 2000
Dec 4 17:51:20 noir PM: Creating hibernation image:
Dec 4 17:51:20 noir PM: Need to copy 126248 pages
Dec 4 17:51:20 noir PM: Hibernation image created (126248 pages copied)
Dec 4 17:51:20 noir Intel machine check architecture supported.
Dec 4 17:51:20 noir Intel machine check reporting enabled on CPU#0.
Dec 4 17:51:20 noir Extended CMOS year: 2000
Dec 4 17:51:20 noir ACPI: Waking up from system sleep state S4
Dec 4 17:51:20 noir ACPI: EC: non-query interrupt received, switching to interrupt mode
Dec 4 17:51:20 noir pm_op(): pci_pm_thaw+0x0/0x50 returns -16
Dec 4 17:51:20 noir PM: Device 0000:00:00.0 failed to thaw: error -16
Dec 4 17:51:20 noir uhci_hcd 0000:00:1d.0: power state changed by ACPI to D0
Dec 4 17:51:20 noir uhci_hcd 0000:00:1d.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
Dec 4 17:51:20 noir uhci_hcd 0000:00:1d.0: setting latency timer to 64
Dec 4 17:51:20 noir uhci_hcd 0000:00:1d.1: power state changed by ACPI to D0
Dec 4 17:51:20 noir uhci_hcd 0000:00:1d.1: PCI INT B -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
Dec 4 17:51:20 noir uhci_hcd 0000:00:1d.1: setting latency timer to 64
Dec 4 17:51:20 noir uhci_hcd 0000:00:1d.2: PCI INT C -> Link[LNKC] -> GSI 11 (level, low) -> IRQ 11
Dec 4 17:51:20 noir uhci_hcd 0000:00:1d.2: setting latency timer to 64
Dec 4 17:51:20 noir ehci_hcd 0000:00:1d.7: power state changed by ACPI to D0
Dec 4 17:51:20 noir ehci_hcd 0000:00:1d.7: PCI INT D -> Link[LNKH] -> GSI 11 (level, low) -> IRQ 11
Dec 4 17:51:20 noir ehci_hcd 0000:00:1d.7: setting latency timer to 64
Dec 4 17:51:20 noir pci 0000:00:1e.0: setting latency timer to 64
Dec 4 17:51:20 noir ata_piix 0000:00:1f.1: restoring config space at offset 0x1 (was 0x2800003, writing 0x2800007)
Dec 4 17:51:20 noir ata_piix 0000:00:1f.1: PCI INT A -> Link[LNKC] -> GSI 11 (level, low) -> IRQ 11
Dec 4 17:51:20 noir ata_piix 0000:00:1f.1: setting latency timer to 64
Dec 4 17:51:20 noir Intel ICH 0000:00:1f.5: PCI INT B -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
Dec 4 17:51:20 noir Intel ICH 0000:00:1f.5: setting latency timer to 64
Dec 4 17:51:20 noir ata2.00: ACPI cmd ef/03:42:00:00:00:a0 filtered out
Dec 4 17:51:20 noir ata2.00: ACPI cmd ef/03:0c:00:00:00:a0 filtered out
Dec 4 17:51:20 noir ata2.00: ACPI cmd e3/00:1f:00:00:00:a0 succeeded
Dec 4 17:51:20 noir ata1.00: ACPI cmd ef/02:00:00:00:00:a0 succeeded
Dec 4 17:51:20 noir ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
Dec 4 17:51:20 noir ata1.00: ACPI cmd ef/03:45:00:00:00:a0 filtered out
Dec 4 17:51:20 noir ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 filtered out
Dec 4 17:51:20 noir ata2.00: ACPI cmd e3/00:02:00:00:00:a0 succeeded
Dec 4 17:51:20 noir ata2.00: configured for UDMA/33
Dec 4 17:51:20 noir ata1.00: configured for UDMA/100
Dec 4 17:51:20 noir ata1.00: configured for UDMA/100
Dec 4 17:51:20 noir ata1: EH complete
Dec 4 17:51:20 noir sd 0:0:0:0: [sda] 117210240 512-byte hardware sectors (60012 MB)
Dec 4 17:51:20 noir sd 0:0:0:0: [sda] Write Protect is off
Dec 4 17:51:20 noir sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Dec 4 17:51:20 noir sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Dec 4 17:51:20 noir sd 0:0:0:0: [sda] 117210240 512-byte hardware sectors (60012 MB)
Dec 4 17:51:20 noir sd 0:0:0:0: [sda] Write Protect is off
Dec 4 17:51:20 noir sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Dec 4 17:51:20 noir sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Dec 4 17:51:20 noir Intel ICH Modem 0000:00:1f.6: restoring config space at offset 0xf (was 0x200, writing 0x20b)
Dec 4 17:51:20 noir Intel ICH Modem 0000:00:1f.6: restoring config space at offset 0x5 (was 0x1, writing 0x2001)
Dec 4 17:51:20 noir Intel ICH Modem 0000:00:1f.6: restoring config space at offset 0x4 (was 0x1, writing 0x2401)
Dec 4 17:51:20 noir Intel ICH Modem 0000:00:1f.6: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900001)
Dec 4 17:51:20 noir Intel ICH Modem 0000:00:1f.6: PCI INT B -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
Dec 4 17:51:20 noir Intel ICH Modem 0000:00:1f.6: setting latency timer to 64
Dec 4 17:51:20 noir pci 0000:01:00.0: power state changed by ACPI to D0
Dec 4 17:51:20 noir pci 0000:01:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
Dec 4 17:51:20 noir e1000 0000:02:01.0: restoring config space at offset 0xf (was 0xff0100, writing 0xff010b)
Dec 4 17:51:20 noir e1000 0000:02:01.0: restoring config space at offset 0x6 (was 0x1, writing 0x8001)
Dec 4 17:51:20 noir e1000 0000:02:01.0: restoring config space at offset 0x5 (was 0x0, writing 0xc0200000)
Dec 4 17:51:20 noir e1000 0000:02:01.0: restoring config space at offset 0x4 (was 0x0, writing 0xc0220000)
Dec 4 17:51:20 noir e1000 0000:02:01.0: restoring config space at offset 0x3 (was 0x0, writing 0x4008)
Dec 4 17:51:20 noir e1000 0000:02:01.0: restoring config space at offset 0x1 (was 0x2300000, writing 0x2300117)
Dec 4 17:51:20 noir e1000 0000:02:01.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
Dec 4 17:51:20 noir eth1: Coming out of suspend...
Dec 4 17:51:20 noir ipw2200 0000:02:02.0: enabling device (0000 -> 0002)
Dec 4 17:51:20 noir ipw2200 0000:02:02.0: PCI INT A -> Link[LNKC] -> GSI 11 (level, low) -> IRQ 11
Dec 4 17:51:20 noir ipw2200 0000:02:02.0: restoring config space at offset 0xf (was 0x18030100, writing 0x1803010b)
Dec 4 17:51:20 noir ipw2200 0000:02:02.0: restoring config space at offset 0x4 (was 0x0, writing 0xc0214000)
Dec 4 17:51:20 noir ipw2200 0000:02:02.0: restoring config space at offset 0x3 (was 0x0, writing 0x4008)
Dec 4 17:51:20 noir ipw2200 0000:02:02.0: restoring config space at offset 0x1 (was 0x2900002, writing 0x2900116)
Dec 4 17:51:20 noir serial 00:0a: activated
Dec 4 17:51:20 noir parport_pc 00:0b: activated
Dec 4 17:51:20 noir sd 0:0:0:0: [sda] Starting disk
Dec 4 17:51:20 noir PM: Cannot find swap device, try swapon -a.
Dec 4 17:51:20 noir Restarting tasks ... done.
Dec 4 17:51:22 noir agpgart-intel 0000:00:00.0: AGP 2.0 bridge
Dec 4 17:51:22 noir agpgart-intel 0000:00:00.0: putting AGP V2 device into 4x mode
Dec 4 17:51:22 noir pci 0000:01:00.0: putting AGP V2 device into 4x mode
Dec 4 17:51:22 noir [drm] Loading R100 Microcode
Dec 4 17:51:25 noir eth1: no IPv6 routers present
Dec 4 17:51:46 noir eth1: no IPv6 routers present
This is what I get in /var/log/pm-suspend.log
Initial commandline parameters:
Thu Dec 4 17:51:12 PST 2008: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/00auto-quirk hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: Linux noir 2.6.27-ARCH #1 SMP PREEMPT Fri Nov 28 10:56:24 UTC 2008 i686 Intel(R) Pentium(R) M processor 1.70GHz GenuineIntel GNU/Linux
Module Size Used by
ipv6 260260 14
radeon 144544 2
drm 74280 3 radeon
xt_tcpudp 4736 4
ipt_REJECT 4864 2
nf_conntrack_ipv4 15372 2
xt_state 3968 2
nf_conntrack 57696 2 nf_conntrack_ipv4,xt_state
iptable_filter 4608 1
ip_tables 12944 1 iptable_filter
x_tables 14724 4 xt_tcpudp,ipt_REJECT,xt_state,ip_tables
ext2 66056 1
pcmcia 35116 0
joydev 11584 0
irtty_sir 7040 0
sir_dev 13316 1 irtty_sir
ppdev 9348 0
lp 11108 0
ppp_generic 25116 0
pcspkr 4352 0
yenta_socket 25228 2
rsrc_nonstatic 12672 1 yenta_socket
pcmcia_core 33812 3 pcmcia,yenta_socket,rsrc_nonstatic
video 18064 0
output 4608 1 video
parport_pc 36804 1
parport 33004 3 ppdev,lp,parport_pc
serio_raw 7172 0
irda 112568 1 sir_dev
crc_ccitt 3840 1 irda
psmouse 38288 0
sr_mod 16708 0
cdrom 35360 1 sr_mod
ehci_hcd 35852 0
uhci_hcd 24080 0
sg 28852 0
i2c_i801 10768 0
i2c_core 22420 1 i2c_i801
iTCO_wdt 12196 0
iTCO_vendor_support 4996 1 iTCO_wdt
usbcore 134256 3 ehci_hcd,uhci_hcd
intel_agp 27068 1
agpgart 30804 2 drm,intel_agp
shpchp 31252 0
pci_hotplug 28324 1 shpchp
thinkpad_acpi 58936 0
rfkill 10008 1 thinkpad_acpi
led_class 5508 1 thinkpad_acpi
evdev 11296 13
thermal 17052 0
fan 6148 0
button 7824 0
battery 12036 0
ac 6020 0
snd_intel8x0m 15500 0
snd_seq_oss 31872 0
snd_seq_midi_event 8192 1 snd_seq_oss
snd_seq 49968 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 8332 2 snd_seq_oss,snd_seq
snd_intel8x0 30748 1
snd_ac97_codec 100516 2 snd_intel8x0m,snd_intel8x0
snd_pcm_oss 40192 0
snd_pcm 69636 4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 21384 2 snd_seq,snd_pcm
snd_page_alloc 9224 3 snd_intel8x0m,snd_intel8x0,snd_pcm
snd_mixer_oss 16512 1 snd_pcm_oss
snd 50724 12 snd_intel8x0m,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 8160 1 snd
ac97_bus 3584 1 snd_ac97_codec
ipw2200 141640 0
ieee80211 29512 1 ipw2200
ieee80211_crypt 6532 1 ieee80211
slhc 7680 1 ppp_generic
e1000 121668 0
nvram 8972 2 thinkpad_acpi
cpufreq_powersave 3584 0
cpufreq_ondemand 8588 1
acpi_cpufreq 9228 0
freq_table 5632 2 cpufreq_ondemand,acpi_cpufreq
processor 34732 3 thermal,acpi_cpufreq
rtc_cmos 11424 0
rtc_core 17564 1 rtc_cmos
rtc_lib 4480 1 rtc_core
ext3 126344 2
jbd 46100 1 ext3
mbcache 8708 2 ext2,ext3
sd_mod 27160 4
ata_piix 18308 3
ata_generic 6788 0
pata_acpi 6016 0
libata 153120 3 ata_piix,ata_generic,pata_acpi
scsi_mod 96460 4 sr_mod,sg,sd_mod,libata
dock 9616 1 libata
total used free shared buffers cached
Mem: 1034608 495084 539524 0 18812 190960
-/+ buffers/cache: 285312 749296
Swap: 0 0 0
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/50ntpd hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/55battery hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/55wicd hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/65alsa hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/90chvt hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Thu Dec 4 17:51:15 PST 2008: performing hibernate
/usr/lib/pm-utils/pm-functions: line 275: echo: write error: No such device
Thu Dec 4 17:51:20 PST 2008: Awake.
Thu Dec 4 17:51:20 PST 2008: Running hooks for thaw
/usr/lib/pm-utils/sleep.d/99video thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/95led thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/90clock thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/90chvt thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/75modules thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/65alsa thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/55wicd thaw hibernate: 1.5.5
None
success.
/usr/lib/pm-utils/sleep.d/55battery thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/55NetworkManager thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/50ntpd thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/49bluetooth thaw hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/01grub thaw hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/00powersave thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/00logging thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/00auto-quirk thaw hibernate: success.
Thu Dec 4 17:51:25 PST 2008: Finished.
I haven't been able to figure out what's causing it to fail, everything is setup properly.
Offline
/usr/lib/pm-utils/pm-functions: line 275: echo: write error: No such device
Do you have a swap partition mounted?
cat /proc/swaps
M*cr*s*ft: Who needs quality when you have marketing?
Offline
Also see here http://wiki.archlinux.org/index.php/Pm-utils to make sure you have edited your /boot/grub/menu.lst and added the proper options.
Offline
Do you have a swap partition mounted?
cat /proc/swaps
That's rather bizarre. I had hibernate working once when I first installed, then never again after that. I checked /proc/swaps and the swap partition wasn't showing. apparently the original entry in /etc/fstab wasn't working anymore for some bizarre reason. deleted the entry and redid it, rebooted and now hibernate works!
Offline
I have the same issue with the same error entry in /var/log/pm-suspend.log ("/usr/lib/pm-utils/pm-functions: line 275: echo: write error: No such device"),
but:
# cat /proc/swaps
Filename Type Size Used Priority
/dev/sda2 partition 1052248 0 -1
What's the problem might be here?
Offline
Did you specify a "resume=/dev/sda2" kernel option in your bootloader?
M*cr*s*ft: Who needs quality when you have marketing?
Offline
Did you specify a "resume=/dev/sda2" kernel option in your bootloader?
yes.
Alse i have pm-utils package installed and dmesg gives some strange lines after loading Arch:
PM: Starting manual resume from disk
Replacing swsusp.
TuxOnIce core not loaded yet.
PM: Starting manual resume from disk
Replacing swsusp.
TuxOnIce core not loaded yet.
Offline
Hi, guys, I know this topic is old but now I have same problems. I'm using kernel 2.6.36 + kde 4.5.5 + grub2 on the laptop name "Emachine D725".
Suspend to ram work normal, but suspend to disk not work. At first, it acts as being going to suspend correctly, but instead of resume, computer reboot.
I try to add options: "resume=/dev/sda2 acpi_sleep=nonvs" (/dev/sda2 is my swap partition) on grub.cfg but it not works.
I don't know how to fix it.
Offline
@s8dtvt - its good that you searched before posting, but please read the following:- https://wiki.archlinux.org/index.php/Fo … Bumping.27
The kernel version and everything from this thread is 2+ years old, start a new one. Before you do that, search google and read what the wiki has to say about suspend/resume.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Pages: 1