Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[BUG] Hibernate not working on laptop LENOVO X120e

6 views
Skip to first unread message

Denis Lotarev

unread,
May 26, 2012, 11:30:02 PM5/26/12
to
Hello!
My system on Lenovo X120e doesnt hibernate, when i trying to hibernate system power led begin often blinking (about 3 times at second), LCD turned off, HDD still working, and CPU fan workinkg too. There are no kernel log at messages, even if i run DEBUG=1 at pm-hibernate there are no errors at pm-hibernate.log. Suspent on RAM working good.
Linux lenarch 3.3.7-1-ARCH #1 SMP PREEMPT Mon May 21 22:39:59 UTC 2012 i686 GNU/Linux

Gnu C 4.7.0
Gnu make 3.82
binutils 2.22.0.20120323
util-linux 2.21.1
mount support
module-init-tools 8
e2fsprogs 1.42.2
jfsutils 1.1.15
reiserfsprogs 3.6.21
xfsprogs 3.1.8
pcmciautils 018
PPP 2.4.5
Linux C Library 2.15
Dynamic linker (ldd) 2.15
Linux C++ Library 6.0.17
Procps 3.3.2
Net-tools 1.60
Kbd 1.15.3
Sh-utils 8.17
wireless-tools 29
Modules Loaded fuse aes_i586 cryptd aes_generic iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ip_tables x_tables rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev uas ums_realtek usb_storage btusb media bluetooth joydev cdc_acm cdc_ether usbnet cdc_wdm snd_hda_codec_conexant radeon i2c_algo_bit snd_hda_codec_hdmi thinkpad_acpi drm_kms_helper snd_hda_intel ttm snd_hda_codec drm agpgart i2c_piix4 r8169 snd_pcm snd_page_alloc snd_hwdep i2c_core nvram snd_timer serio_raw evdev arc4 snd k10temp mii psmouse soundcore button ac thermal video battery wmi brcmsmac cordic crc8 brcmutil bcma mac80211 cfg80211 rfkill powernow_k8 mperf processor ext4 crc16 jbd2 mbcache sd_mod ohci_hcd ahci libahci libata ehci_hcd usbcore scsi_mod usb_common
# lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310]
00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310]
00:06.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40)
00:15.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.1 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 413c:8147 Dell Computer Corp. F3507g Mobile Broadband Module
Bus 002 Device 004: ID 064e:e201 Suyin Corp. Lenovo Integrated Webcam
Bus 004 Device 002: ID 0a5c:21b4 Broadcom Corp. BCM2070 Bluetooth 2.1 + EDR
Bus 003 Device 002: ID 0a5c:217f Broadcom Corp. Bluetooth Controller


Your sincerely, Denis Lotarev
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Arend van Spriel

unread,
May 27, 2012, 8:40:03 AM5/27/12
to
On 05/27/2012 05:26 AM, Denis Lotarev wrote:
> Hello!
> My system on Lenovo X120e doesnt hibernate, when i trying to hibernate system power led begin often blinking (about 3 times at second), LCD turned off, HDD still working, and CPU fan workinkg too. There are no kernel log at messages, even if i run DEBUG=1 at pm-hibernate there are no errors at pm-hibernate.log. Suspent on RAM working good.
> Linux lenarch 3.3.7-1-ARCH #1 SMP PREEMPT Mon May 21 22:39:59 UTC 2012 i686 GNU/Linux
>

Could you try:

# echo reboot > /sys/power/disk
# echo disk > /sys/power/state

and provide the kernel log.

Gr. AvS

Denis Lotarev

unread,
May 27, 2012, 9:50:01 AM5/27/12
to
[ 3815.547734] PM: Hibernation mode set to 'reboot'
[ 3855.971634] PM: Marking nosave pages: 000000000009d000 - 0000000000100000
[ 3855.971650] PM: Basic memory bitmaps created
[ 3855.971656] PM: Syncing filesystems ... done.
[ 3856.289592] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 3856.303363] PM: Preallocating image memory... done (allocated 192570 pages)
[ 3856.523221] PM: Allocated 770280 kbytes in 0.21 seconds (3668.00 MB/s)
[ 3856.523225] Freezing remaining freezable tasks ... (elapsed 0.06 seconds) done.
[ 3856.590732] Suspending console(s) (use no_console_suspend to debug)
[ 3856.593448] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 3856.700094] ACPI handle has no context!
[ 3857.161671] PM: freeze of devices complete after 570.918 msecs
[ 3857.162584] PM: late freeze of devices complete after 0.904 msecs
[ 3857.162589] Disabling non-boot CPUs ...
[ 3857.266621] CPU 1 is now offline
[ 3857.267709] PM: Creating hibernation image:
[ 3857.269841] PM: Need to copy 199391 pages
[ 3857.269841] PM: Normal pages needed: 33851 + 1024, available pages: 193315
[ 3857.269841] Enabling non-boot CPUs ...
[ 3857.275171] Booting Node 0 Processor 1 APIC 0x1
[ 3857.275176] smpboot cpu 1: start_ip = 99000
[ 3857.165224] Initializing CPU#1
[ 3857.165224] Calibrating delay loop (skipped) already calibrated this CPU
[ 3857.307016] NMI watchdog enabled, takes one hw-pmu counter.
[ 3857.307676] CPU1 is up
[ 3857.309381] PM: early restore of devices complete after 1.277 msecs
[ 3857.395335] snd_hda_intel 0000:00:01.1: irq 44 for MSI/MSI-X
[ 3857.443410] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
[ 3857.443720] radeon 0000:00:01.0: WB enabled
[ 3857.443726] [drm] fence driver on ring 0 use gpu addr 0x18000c00 and cpu addr 0xff8d9c00
[ 3857.450369] usb usb4: root hub lost power or was reset
[ 3857.450410] usb usb3: root hub lost power or was reset
[ 3857.450439] usb usb2: root hub lost power or was reset
[ 3857.450470] usb usb1: root hub lost power or was reset
[ 3857.456563] r8169 0000:01:00.0: eth0: link down
[ 3857.463497] [drm] ring test on 0 succeeded in 1 usecs
[ 3857.463551] [drm] ib test on ring 0 succeeded in 0 usecs
[ 3857.883300] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 3857.886721] ata1.00: configured for UDMA/133
[ 3857.900110] sd 0:0:0:0: [sda] Starting disk
[ 3857.906712] usb 2-5: reset high-speed USB device number 4 using ehci_hcd
[ 3858.136665] usb 1-5: reset high-speed USB device number 3 using ehci_hcd
[ 3858.389846] usb 3-4: reset full-speed USB device number 2 using ohci_hcd
[ 3858.547049] btusb 3-4:1.0: no reset_resume for driver btusb?
[ 3858.547063] btusb 3-4:1.1: no reset_resume for driver btusb?
[ 3858.666618] usb 4-1: reset full-speed USB device number 2 using ohci_hcd
[ 3858.822757] btusb 4-1:1.0: no reset_resume for driver btusb?
[ 3858.822771] btusb 4-1:1.1: no reset_resume for driver btusb?
[ 3859.813977] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[ 3859.814093] ieee80211 phy0: brcmsmac: brcms_ops_bss_info_changed: associated
[ 3859.814107] ieee80211 phy0: changing basic rates failed: -22
[ 3859.814118] ieee80211 phy0: brcms_ops_bss_info_changed: cqm change: threshold 0, hys 0 (implement)
[ 3859.814127] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 1 (implement)
[ 3859.814136] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[ 3859.814923] PM: restore of devices complete after 2422.415 msecs
[ 3859.817215] PM: Image restored successfully.
[ 3859.817226] Restarting tasks ... done.
[ 3859.829795] PM: Basic memory bitmaps freed
[ 3859.829809] video LNXVIDEO:01: Restoring backlight state

Your sincerely, Denis Lotarev


--- On Sun, 5/27/12, Arend van Spriel <ar...@broadcom.com> wrote:

Denis Lotarev

unread,
May 27, 2012, 10:40:02 AM5/27/12
to
There is one solution that i found, this is uncommenting one line in file:
/usr/lib/pm-utils/defaults
HIBERNATE_MODE="shutdown"
But i dont know how this solution is right. Maybe this is bug of thinkpad_acpi or bug of pm-utils

Your sincerely, Denis Lotarev


--- On Sun, 5/27/12, Arend van Spriel <ar...@broadcom.com> wrote:

> From: Arend van Spriel <ar...@broadcom.com>
> Subject: Re: [BUG] Hibernate not working on laptop LENOVO X120e
> To: "Denis Lotarev" <dlot...@yahoo.com>
> Cc: linux-...@vger.kernel.org
> Date: Sunday, May 27, 2012, 4:34 PM
0 new messages