You are not logged in.

#1 2016-04-15 20:04:11

eth0:1
Member
Registered: 2015-07-17
Posts: 33

[SOLVED] Linux 4.5-1 suspend/hibernate

Hello!
After upgrading to 4.5.1 kernel I can't perform suspend, hibernate or freeze https://www.kernel.org/doc/Documentatio … ugging.txt
I have tried to use pm-suspend, systemctl suspend and the way from kernel documentation.
Logs below shows successful suspend status. System completely freeze after it shuts everything down. I see that display shuts down, keyboard stops blinking and does not respond on caps lock, system fan starts spinning very fast.
Tried to perform suspend from single-user mode - the same story.
Downgrading linux kernel to 4.4.5.1 solved the problem.
What should I do? how to debug?
Notebook: HP pavilion g6

Some logs:

Fri Apr 15 13:29:21 EEST 2016: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux Arch 4.5.0-1-ARCH #1 SMP PREEMPT Tue Mar 15 09:41:03 CET 2016 x86_64 GNU/Linux
Module                  Size  Used by
drbg                   32768  1
ansi_cprng             16384  0
ecb                    16384  1
ecryptfs               81920  1
cbc                    16384  0
sha256_ssse3           32768  3
sha256_generic         24576  1 sha256_ssse3
encrypted_keys         20480  1 ecryptfs
mcryptd                16384  0
sha1_ssse3             28672  2
sha1_generic           16384  1 sha1_ssse3
hmac                   16384  3
trusted                24576  1 encrypted_keys
ip6t_rpfilter          16384  1
ip6t_REJECT            16384  2
nf_reject_ipv6         16384  1 ip6t_REJECT
ipt_REJECT             16384  2
nf_reject_ipv4         16384  1 ipt_REJECT
xt_conntrack           16384  8
ip_set                 36864  0
nfnetlink              16384  1 ip_set
ebtable_broute         16384  1
bridge                118784  1 ebtable_broute
stp                    16384  1 bridge
llc                    16384  2 stp,bridge
ebtable_nat            16384  1
ebtable_filter         16384  1
ebtables               32768  3 ebtable_broute,ebtable_nat,ebtable_filter
ip6table_security      16384  1
ip6table_nat           16384  1
nf_conntrack_ipv6      20480  5
nf_defrag_ipv6         36864  1 nf_conntrack_ipv6
nf_nat_ipv6            16384  1 ip6table_nat
ip6table_mangle        16384  1
ip6table_raw           16384  1
ip6table_filter        16384  1
ip6_tables             28672  5 ip6table_filter,ip6table_mangle,ip6table_security,ip6table_nat,ip6table_raw
iptable_security       16384  1
iptable_nat            16384  1
nf_conntrack_ipv4      16384  5
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
iptable_mangle         16384  1
iptable_raw            16384  1
iptable_filter         16384  1
ext4                  516096  1
crc16                  16384  1 ext4
mbcache                20480  1 ext4
jbd2                   90112  1 ext4
mousedev               20480  0
arc4                   16384  2
input_leds             16384  0
hid_generic            16384  0
hp_wmi                 16384  0
sparse_keymap          16384  1 hp_wmi
joydev                 20480  0
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
ath9k                 131072  0
psmouse               118784  0
serio_raw              16384  0
atkbd                  24576  0
ath9k_common           32768  1 ath9k
libps2                 16384  2 atkbd,psmouse
ath9k_hw              434176  2 ath9k_common,ath9k
intel_rapl             20480  0
ath                    28672  3 ath9k_common,ath9k,ath9k_hw
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
amdkfd                106496  1
kvm_intel             180224  0
amd_iommu_v2           20480  1 amdkfd
snd_hda_codec_hdmi     53248  1
mac80211              651264  1 ath9k
radeon               1470464  0
kvm                   487424  1 kvm_intel
uvcvideo               86016  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
snd_hda_codec_idt      49152  1
videobuf2_v4l2         20480  1 uvcvideo
snd_hda_codec_generic    69632  1 snd_hda_codec_idt
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
irqbypass              16384  1 kvm
cfg80211              491520  4 ath,ath9k_common,ath9k,mac80211
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
videodev              147456  3 uvcvideo,videobuf2_core,videobuf2_v4l2
aesni_intel           167936  581
pcspkr                 16384  0
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
snd_hda_intel          36864  4
glue_helper            16384  1 aesni_intel
ablk_helper            16384  1 aesni_intel
cryptd                 20480  293 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_hda_codec         106496  4 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel
media                  24576  2 uvcvideo,videodev
i2c_i801               20480  0
rtsx_pci_ms            20480  0
usbhid                 45056  0
snd_hda_core           49152  5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
ttm                    81920  1 radeon
rfkill                 20480  4 cfg80211,hp_wmi
memstick               16384  1 rtsx_pci_ms
lpc_ich                24576  0
mei_me                 32768  0
snd_hwdep              16384  1 snd_hda_codec
r8169                  77824  0
hid                   114688  2 hid_generic,usbhid
snd_pcm                86016  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
mii                    16384  1 r8169
mei                    81920  1 mei_me
shpchp                 32768  0
thermal                20480  0
wmi                    20480  1 hp_wmi
battery                20480  0
hp_accel               28672  0
led_class              16384  3 ath9k,hp_accel,input_leds
lis3lv02d              20480  1 hp_accel
input_polldev          16384  1 lis3lv02d
i8042                  24576  2 hp_accel,libps2
serio                  20480  7 serio_raw,atkbd,i8042,hp_accel,psmouse
tpm_tis                20480  0
tpm                    36864  2 tpm_tis,trusted
hp_wireless            16384  0
fjes                   28672  0
evdev                  24576  17
mac_hid                16384  0
ac                     16384  0
processor              32768  0
sch_fq_codel           20480  2
coretemp               16384  0
msr                    16384  0
snd_seq_dummy          16384  0
snd_seq_oss            36864  0
snd_seq_midi_event     16384  1 snd_seq_oss
snd_seq                61440  5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_seq_device         16384  2 snd_seq,snd_seq_oss
snd_timer              28672  2 snd_pcm,snd_seq
snd                    65536  19 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_oss,snd_seq_device
soundcore              16384  1 snd
cuse                   16384  3
fuse                   94208  2 cuse
nfs                   208896  0
lockd                  90112  1 nfs
grace                  16384  1 lockd
sunrpc                274432  2 nfs,lockd
fscache                57344  1 nfs
nf_nat_pptp            16384  0
nf_nat_proto_gre       16384  1 nf_nat_pptp
nf_conntrack_pptp      20480  1 nf_nat_pptp
nf_conntrack_proto_gre    16384  1 nf_conntrack_pptp
nf_nat                 20480  4 nf_nat_proto_gre,nf_nat_ipv4,nf_nat_ipv6,nf_nat_pptp
nf_conntrack           90112  9 nf_conntrack_proto_gre,nf_nat,nf_nat_ipv4,nf_nat_ipv6,nf_nat_pptp,xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6,nf_conntrack_pptp
ip_tables              28672  5 iptable_security,iptable_filter,iptable_mangle,iptable_nat,iptable_raw
x_tables               28672  15 iptable_security,ip6table_filter,ip6table_mangle,ip6t_rpfilter,ip_tables,ip6table_security,xt_conntrack,iptable_filter,ip6table_raw,ebtables,ipt_REJECT,iptable_mangle,ip6_tables,iptable_raw,ip6t_REJECT
btrfs                 962560  1
xor                    24576  1 btrfs
raid6_pq              102400  1 btrfs
sd_mod                 36864  4
rtsx_pci_sdmmc         24576  0
mmc_core              114688  1 rtsx_pci_sdmmc
crc32c_intel           24576  1
ahci                   36864  3
libahci                28672  1 ahci
libata                196608  2 ahci,libahci
scsi_mod              151552  2 libata,sd_mod
i915                 1146880  38
i2c_algo_bit           16384  2 i915,radeon
xhci_pci               16384  0
ehci_pci               16384  0
drm_kms_helper        106496  2 i915,radeon
syscopyarea            16384  1 drm_kms_helper
xhci_hcd              159744  1 xhci_pci
sysfillrect            16384  1 drm_kms_helper
ehci_hcd               69632  1 ehci_pci
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
rtsx_pci               45056  2 rtsx_pci_ms,rtsx_pci_sdmmc
drm                   290816  13 ttm,i915,drm_kms_helper,radeon
usbcore               196608  6 uvcvideo,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
usb_common             16384  1 usbcore
intel_gtt              20480  1 i915
video                  36864  1 i915
button                 16384  1 i915
              total        used        free      shared  buff/cache   available
Mem:        6011752     1061488     3392052      204184     1558212     4637972
Swap:        420368           0      420368

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

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /etc/pm/sleep.d/90alsa suspend suspend:

/etc/pm/sleep.d/90alsa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

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

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

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

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Fri Apr 15 13:29:21 EEST 2016: performing suspend
Apr 15 22:20:04 Arch polkitd[668]: Registered Authentication Agent for unix-process:1888:8314 (system bus name :1.
Apr 15 22:20:04 Arch ksmserver[941]: lock called
Apr 15 22:20:04 Arch NetworkManager[522]: <info>  sleep requested (sleeping: no  enabled: yes)
Apr 15 22:20:04 Arch kdeinit5[926]: bluedevil: About to suspend
Apr 15 22:20:04 Arch NetworkManager[522]: <info>  sleeping...
Apr 15 22:20:04 Arch NetworkManager[522]: <info>  (wlp7s0): device state change: unavailable -> unmanaged (reason 
Apr 15 22:20:04 Arch NetworkManager[522]: <info>  NetworkManager state is now ASLEEP
Apr 15 22:20:04 Arch polkitd[668]: Unregistered Authentication Agent for unix-process:1888:8314 (system bus name :
Apr 15 22:20:04 Arch ksmserver[941]: Lock window Id:  20971526
Apr 15 22:20:04 Arch ksmserver[941]: CreateNotify: 20971526
Apr 15 22:20:04 Arch ksmserver[941]: CreateNotify: 20971528
Apr 15 22:20:04 Arch ksmserver[941]: CreateNotify: 2097155
Apr 15 22:20:04 Arch ksmserver[941]: CreateNotify: 2097159
Apr 15 22:20:04 Arch ksmserver[941]: CreateNotify: 2097164
Apr 15 22:20:04 Arch ksmserver[941]: CreateNotify: 2097165
Apr 15 22:20:04 Arch ksmserver[941]: CreateNotify: 2097167
Apr 15 22:20:04 Arch ksmserver[941]: MapNotify: 2097165
Apr 15 22:20:04 Arch ksmserver[941]: CreateNotify: 2097169
Apr 15 22:20:04 Arch ksmserver[941]: MapNotify: 2097169
Apr 15 22:20:04 Arch ksmserver[941]: CreateNotify: 2097173
Apr 15 22:20:04 Arch ksmserver[941]: MapNotify: 20971526
Apr 15 22:20:04 Arch systemd[1]: Configuration file /etc/systemd/system/hddparm-suspend.service is marked executab
Apr 15 22:20:04 Arch systemd[1]: Configuration file /etc/systemd/system/hddparm-resume.service is marked executabl
Apr 15 22:20:04 Arch systemd[1]: Reached target Sleep.
Apr 15 22:20:04 Arch systemd[1]: Started Local system resume actions.
Apr 15 22:20:04 Arch systemd[1]: Starting Suspend...
Apr 15 22:20:04 Arch hdparm[1899]: /dev/sdb: No such file or directory
Apr 15 22:20:04 Arch systemd[1]: hddparm-resume.service: Main process exited, code=exited, status=2/INVALIDARGUMEN
Apr 15 22:20:04 Arch systemd[1]: hddparm-resume.service: Unit entered failed state.
Apr 15 22:20:04 Arch systemd[1]: hddparm-resume.service: Failed with result 'exit-code'.
Apr 15 22:20:04 Arch systemd-sleep[1900]: Suspending system...

Thanks for help.

Last edited by eth0:1 (2016-04-19 21:03:15)

Offline

#2 2016-04-15 20:09:02

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 750

Re: [SOLVED] Linux 4.5-1 suspend/hibernate

I have HP ProBook, not exactly the same, but it's also intel+radeon. Suspend started working again after I disabled discrete radeon.

Offline

#3 2016-04-15 20:24:31

eth0:1
Member
Registered: 2015-07-17
Posts: 33

Re: [SOLVED] Linux 4.5-1 suspend/hibernate

Thanks for the answer. I'll try your suggestion. Found this way to turn it off.
I am not sure, but I think discrete card is not working in single-user mode. I'll check it out.

Offline

#4 2016-04-16 13:53:46

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,868
Website

Re: [SOLVED] Linux 4.5-1 suspend/hibernate

Moving to testing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2016-04-16 22:59:37

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] Linux 4.5-1 suspend/hibernate

eth0:1 wrote:

What should I do? how to debug?

https://wiki.archlinux.org/index.php/Bisecting_bugs

eth0:1 wrote:

After upgrading to 4.5.1 kernel

Linux Arch 4.5.0-1-ARCH #1 SMP PREEMPT Tue Mar 15 09:41:03 CET 2016 x86_64 GNU/Linux

Why do your posted logs show kernel 4.5.0?

Offline

#6 2016-04-17 07:55:36

eth0:1
Member
Registered: 2015-07-17
Posts: 33

Re: [SOLVED] Linux 4.5-1 suspend/hibernate

Xabre wrote:

I have HP ProBook, not exactly the same, but it's also intel+radeon. Suspend started working again after I disabled discrete radeon.

Disabling discrete card with acpi_call doesn't fix the issue.

Head_on_a_Stick wrote:

Why do your posted logs show kernel 4.5.0?

Oh, I am sorry. While upgrading linux package pacman showed linux 4.5.1 but uname shows 4.5.0-1 and pacman -Qi shows "Version         : 4.5-1"

Thank you. I'll try it.

Offline

#7 2016-04-17 08:52:20

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,868
Website

Re: [SOLVED] Linux 4.5-1 suspend/hibernate

Ah, you're not actually using testing then. Moving back to Kernel and Hardware.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2016-04-19 01:40:33

bibek22
Member
From: Nepal
Registered: 2015-09-10
Posts: 90

Re: [SOLVED] Linux 4.5-1 suspend/hibernate

Hey, any progress on this one? I have exact same problem on my Dell Inspiron 5537. similar entry in the log. hope this one gets  noticed upstream.

Offline

#9 2016-04-19 19:31:23

rubble
Member
Registered: 2011-01-07
Posts: 3

Re: [SOLVED] Linux 4.5-1 suspend/hibernate

I have an Acer E3-112 (Intel IGP) and have also been having suspend issues with both linux 4.5.0-1 and 4.5.1-1. The problem exists with both AC and battery power.

When downgrading to linux 4.4.5-1, suspend works correctly again.

Last edited by rubble (2016-04-19 19:38:52)

Offline

#10 2016-04-19 21:02:28

eth0:1
Member
Registered: 2015-07-17
Posts: 33

Re: [SOLVED] Linux 4.5-1 suspend/hibernate

First, I was afraid that this problem will be in feature kernel versions. That's why I spend some time compiling linux-git kernel version from AUR. After installing - suspend\hibernate works just fine. Today's update brought linux 4.5.1-1 version and suspend\hibernate works for me too. I'll mark this topic as solved.

Offline

Board footer

Powered by FluxBB