Suspension not working after last update

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Post Reply
elvis
Simple Hen
Posts: 75
Joined: Sun Aug 26, 2012 22:34
Location: Italy

Suspension not working after last update

Post by elvis » Tue Jun 11, 2013 12:35

After the updates of the last week (or maybe the previous one), "suspend to ram" with my laptop is no more working. (I have Sabayon LXDE 64 bit): if I close the lid or if use the "suspend" button, the X server will dead and I go back to login screen. Then if I re-login, the network is completely off.

I have reproduced it both with kernel 3.8 and 3.7. I've also tried to switch to systemd, but the problem persists.

This the latest part of my /var/log/pm-suspend.log:

Code: Select all

Tue Jun 11 12:49:55 CEST 2013: performing suspend
XIO:  fatal IO error 0 (Success) on X server ":0"
      after 101 requests (97 known processed) with 0 events remaining.
Initial commandline parameters: 
Blacklisting 01grub.
Blacklisting 90clock.
Blacklisting 00powersave.
Tue Jun 11 13:03:34 CEST 2013: Running hooks for suspend.
Running hook /usr/lib64/pm-utils/sleep.d/00logging suspend suspend:
Linux thinkpad-sabayon 3.8.0-sabayon #1 SMP Fri May 24 17:20:54 UTC 2013 x86_64 Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel GNU/Linux
Module                  Size  Used by
8021q                  13851  0 
garp                    4430  1 8021q
stp                     1417  1 garp
llc                     3248  2 stp,garp
xt_hl                   1104  6 
ip6t_rt                 4480  3 
nf_conntrack_ipv6       7152  6 
nf_defrag_ipv6          8409  1 nf_conntrack_ipv6
ipt_REJECT              1888  1 
xt_LOG                  9672  1 
xt_limit                1432  2 
xt_tcpudp               2704  18 
xt_addrtype             2192  4 
nf_conntrack_ipv4      10842  6 
nf_defrag_ipv4          1166  1 nf_conntrack_ipv4
xt_conntrack            2496  12 
ip6table_filter         1088  1 
ip6_tables             13529  1 ip6table_filter
nf_conntrack_netbios_ns      944  0 
nf_conntrack_broadcast     1101  1 nf_conntrack_netbios_ns
nf_nat_ftp              1744  0 
nf_nat                 12352  1 nf_nat_ftp
nf_conntrack_ftp        8264  1 nf_nat_ftp
nf_conntrack           58640  8 nf_nat_ftp,nf_conntrack_netbios_ns,nf_nat,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_filter          1136  1 
ip_tables              13957  1 iptable_filter
x_tables               14010  12 ip6table_filter,xt_hl,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ip6t_rt,ipt_REJECT,ip6_tables,xt_addrtype
ipv6                  242994  28 nf_defrag_ipv6,nf_conntrack_ipv6
vboxnetadp             17238  0 
vboxnetflt             13298  0 
vboxdrv              1786676  2 vboxnetadp,vboxnetflt
joydev                  7936  0 
cdc_mbim                3760  0 
coretemp                5128  0 
cdc_acm                17792  0 
cdc_wdm                 9397  1 cdc_mbim
kvm_intel             105310  0 
kvm                   203172  1 kvm_intel
rtsx_pci_sdmmc         11872  0 
mmc_core               76455  1 rtsx_pci_sdmmc
crc32c_intel            8480  0 
ghash_clmulni_intel     3102  0 
cryptd                  5310  1 ghash_clmulni_intel
iTCO_wdt                4168  0 
iTCO_vendor_support     1633  1 iTCO_wdt
rtsx_pci_ms             6192  0 
memstick                5563  1 rtsx_pci_ms
cdc_ncm                11203  1 cdc_mbim
usbnet                 20629  2 cdc_mbim,cdc_ncm
btusb                  12216  0 
bluetooth             236518  2 btusb
uvcvideo               58599  0 
videobuf2_vmalloc       2361  1 uvcvideo
videobuf2_memops        1840  1 videobuf2_vmalloc
videobuf2_core         20513  1 uvcvideo
videodev               81735  2 uvcvideo,videobuf2_core
media                   8226  2 uvcvideo,videodev
i2c_i801               13128  0 
rtsx_pci               17085  2 rtsx_pci_ms,rtsx_pci_sdmmc
psmouse                59006  0 
pcspkr                  1552  0 
lpc_ich                10960  0 
iwldvm                 97041  0 
mac80211              222053  1 iwldvm
microcode              11075  0 
snd_hda_codec_hdmi     22086  1 
mei                    50964  0 
snd_hda_codec_realtek    46176  1 
iwlwifi                57633  1 iwldvm
cfg80211              145999  3 iwlwifi,mac80211,iwldvm
serio_raw               3992  0 
r8169                  40104  0 
snd_hda_intel          24184  3 
snd_hda_codec          69199  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               4638  1 snd_hda_codec
snd_pcm                58959  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          6182  2 snd_pcm,snd_hda_intel
snd_timer              14166  1 snd_pcm
thinkpad_acpi          46160  0 
nvram                   4754  1 thinkpad_acpi
snd                    46582  14 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel,thinkpad_acpi
virtio_ring             4674  0 
xts                     2807  0 
gf128mul                5354  1 xts
aes_x86_64              7403  0 
sha512_generic          4817  0 
sha256_generic          9613  0 
sha1_generic            1846  0 
iscsi_tcp               7724  0 
tg3                   123383  0 
ptp                     6924  1 tg3
pps_core                7800  1 ptp
e1000                 109615  0 
fuse                   56997  2 
znvpair                42112  0 
spl                   107813  1 znvpair
xfs                   426139  0 
nfs                   101771  0 
lockd                  52677  1 nfs
sunrpc                146358  2 nfs,lockd
jfs                   142737  0 
reiserfs              205877  0 
ext4                  271612  2 
jbd2                   47535  1 ext4
ext3                  108570  0 
jbd                    37602  1 ext3
ext2                   53898  0 
mbcache                 4610  3 ext2,ext3,ext4
sl811_hcd               8983  0 
hid_generic             1057  0 
ohci_hcd               24370  0 
uhci_hcd               20457  0 
sx8                    11013  0 
imm                     8772  0 
parport                26827  1 imm
ehci_pci                3728  0 
xhci_hcd               75101  0 
ehci_hcd               39837  1 ehci_pci
             total       used       free     shared    buffers     cached
Mem:       3762264    1236996    2525268          0      71124     503756
-/+ buffers/cache:     662116    3100148
Swap:            0          0          0

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

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

/usr/lib64/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/01laptop-mode suspend suspend:

/usr/lib64/pm-utils/sleep.d/01laptop-mode suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/49bluetooth suspend suspend:

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

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

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

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

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

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

/usr/lib64/pm-utils/sleep.d/99video suspend suspend: success.
Tue Jun 11 13:03:34 CEST 2013: performing suspend
Initial commandline parameters: 
Blacklisting 01grub.
Blacklisting 90clock.
Blacklisting 00powersave.
Tue Jun 11 13:13:22 CEST 2013: Running hooks for suspend.
Running hook /usr/lib64/pm-utils/sleep.d/00logging suspend suspend:
Linux thinkpad-sabayon 3.7.0-sabayon #1 SMP Fri May 24 18:02:43 UTC 2013 x86_64 Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel GNU/Linux
Module                  Size  Used by
8021q                  13676  0 
garp                    4415  1 8021q
stp                     1402  1 garp
llc                     3297  2 stp,garp
xt_hl                   1089  6 
ip6t_rt                 4465  3 
nf_conntrack_ipv6       6417  6 
nf_defrag_ipv6          7658  1 nf_conntrack_ipv6
ipt_REJECT              1873  1 
xt_LOG                  9657  1 
xt_limit                1417  2 
xt_tcpudp               2689  18 
xt_addrtype             2177  4 
nf_conntrack_ipv4      10779  6 
nf_defrag_ipv4          1151  1 nf_conntrack_ipv4
xt_conntrack            2481  12 
ip6table_filter         1073  1 
ip6_tables             14192  2 ip6table_filter,ip6t_rt
nf_conntrack_netbios_ns      929  0 
nf_conntrack_broadcast     1086  1 nf_conntrack_netbios_ns
nf_nat_ftp              1729  0 
nf_nat                 12577  1 nf_nat_ftp
nf_conntrack_ftp        8249  1 nf_nat_ftp
nf_conntrack           58373  8 nf_nat_ftp,nf_conntrack_netbios_ns,nf_nat,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_filter          1121  1 
ip_tables              13910  1 iptable_filter
x_tables               13963  12 ip6table_filter,xt_hl,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ip6t_rt,ipt_REJECT,ip6_tables,xt_addrtype
ipv6                  245207  28 nf_defrag_ipv6,nf_conntrack_ipv6
cdc_acm                17777  0 
uvcvideo               58136  0 
videobuf2_vmalloc       2074  1 uvcvideo
videobuf2_memops        2284  1 videobuf2_vmalloc
videobuf2_core         17750  1 uvcvideo
videodev               81496  2 uvcvideo,videobuf2_core
media                   8195  2 uvcvideo,videodev
cdc_wdm                 9286  0 
cdc_ncm                 9889  0 
usbnet                 17823  1 cdc_ncm
joydev                  7905  0 
btusb                  11977  0 
bluetooth             212414  2 btusb
coretemp                5241  0 
kvm_intel             105391  0 
kvm                   199896  1 kvm_intel
crc32c_intel            1329  0 
iwldvm                 96786  0 
mac80211              207495  1 iwldvm
ghash_clmulni_intel     3087  0 
cryptd                  5295  1 ghash_clmulni_intel
iTCO_wdt                4153  0 
iTCO_vendor_support     1618  1 iTCO_wdt
pcspkr                  1505  0 
iwlwifi                56972  1 iwldvm
cfg80211              140992  3 iwlwifi,mac80211,iwldvm
rts_pstor             302746  0 
psmouse                63135  0 
r8169                  39673  0 
i2c_i801               13145  0 
serio_raw               3961  0 
snd_hda_codec_hdmi     21799  1 
snd_hda_codec_realtek    45665  1 
microcode              11044  0 
snd_hda_intel          22313  3 
snd_hda_codec          68158  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               4623  1 snd_hda_codec
snd_pcm                58672  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          6151  2 snd_pcm,snd_hda_intel
snd_timer              14135  1 snd_pcm
lpc_ich                10897  0 
mei                    52342  0 
thinkpad_acpi          46049  0 
nvram                   4723  1 thinkpad_acpi
snd                    46519  14 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel,thinkpad_acpi
virtio_ring             4757  0 
xts                     2792  0 
gf128mul                5339  1 xts
aes_x86_64              7388  0 
sha512_generic          4802  0 
sha256_generic          9598  0 
sha1_generic            1831  0 
iscsi_tcp               7709  0 
tg3                   120112  0 
e1000                 109440  0 
fuse                   56790  2 
znvpair                24382  0 
spl                   107335  1 znvpair
xfs                   415706  0 
nfs                   101605  0 
lockd                  52934  1 nfs
sunrpc                145976  2 nfs,lockd
jfs                   142626  0 
reiserfs              205782  0 
ext4                  252858  2 
jbd2                   48098  1 ext4
ext3                  108555  0 
jbd                    37587  1 ext3
ext2                   53755  0 
mbcache                 4595  3 ext2,ext3,ext4
sl811_hcd               8952  0 
hid_generic             1042  0 
ohci_hcd               24465  0 
uhci_hcd               20458  0 
sx8                    10982  0 
imm                     8757  0 
parport                26812  1 imm
ehci_hcd               45868  0 
xhci_hcd               75017  0 
             total       used       free     shared    buffers     cached
Mem:       3762456     600472    3161984          0      64052     250916
-/+ buffers/cache:     285504    3476952
Swap:            0          0          0

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

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

/usr/lib64/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/01laptop-mode suspend suspend:

/usr/lib64/pm-utils/sleep.d/01laptop-mode suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/49bluetooth suspend suspend:

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

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

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

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

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

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

/usr/lib64/pm-utils/sleep.d/99video suspend suspend: success.
Tue Jun 11 13:13:22 CEST 2013: performing suspend
I think this could be the problem: XIO: fatal IO error 0 (Success) on X server ":0"
after 101 requests (97 known processed) with 0 events remaining.


The others logs such as dmesg and .xsession-errors seems unrelated.

Please help me, without suspension my laptop is most unusable.
Sabayon Linux LXDE 64 bit @ Lenovo ThinkPad Edge E130

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: Suspension not working after last update

Post by lxnay » Tue Jun 11, 2013 14:18

Please post more logs (kernel, /var/log/messages or journalctl -bfa).
All seems good here wrt suspension.
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

elvis
Simple Hen
Posts: 75
Joined: Sun Aug 26, 2012 22:34
Location: Italy

Re: Suspension not working after last update

Post by elvis » Wed Jun 12, 2013 10:11

All these logs are taken after the X killing.

dmesg: http://pastebin.com/Lwu5syaw

journalctl -bfa: http://pastebin.com/naRVSgZ0

/var/log/messages: http://pastebin.com/QqKh9w1v (only the latest part of the file)

I'have realized another strange issue, always after the X killing: if I attempt to restart/shutdown, the system indeed will go in suspend mode. Then, only after pressing the laptop power button, the system succeeds to complete the shutdown procedure. So strange, it looks a really serious issue.
Sabayon Linux LXDE 64 bit @ Lenovo ThinkPad Edge E130

elvis
Simple Hen
Posts: 75
Joined: Sun Aug 26, 2012 22:34
Location: Italy

Re: Suspension not working after last update

Post by elvis » Thu Jun 13, 2013 10:10

After some experiments, I can list all the steps of my problem:

1. I suspend the pc (lid close, systemctl suspend, etc, is the same in all the ways)
2. The X server is killed, and the login window is presented
3. If I try to login, then:
---> 3a. Network Manager is disabled, and I can't enable it
4. If I Try to reboot/shutdown, then:
---> 4a. systemd (or openRC) start the shutdown procedure, but
---> 4b. The pc goes in suspend mode!! (I'm sure of this, thanks to my laptop's blinking led)
---> 4c. I press the laptop power button
---> 4d. The pc wakes up and now systemd/openrc completes normally the shutdown procedure

I hope that someone can help me.
Sabayon Linux LXDE 64 bit @ Lenovo ThinkPad Edge E130

matuss
Baby Hen
Posts: 9
Joined: Fri Jul 19, 2013 8:36

Re: Suspension not working after last update

Post by matuss » Fri Jul 19, 2013 8:56

Hi,
have you solved this problem? I'm experiencing it too, but until now I was hoping it will get repaired by updates.

I'm using Sabayon amd64, XFCE with systemd. Problem persist also after switch to openrc and/or older kernel (I'm using 3.9.0-sabayon, tried withm 3.7 and 3.5)

Here's my journal: http://pastebin.com/iVsTSCdj
I've pushed suspend button on 9:41:22.

Let me know if you need anything else.

Post Reply