You are not logged in.
Today I applied these updates:
[2010-12-12 17:42] upgraded libdrm (2.4.22-1 -> 2.4.22-3)
[2010-12-12 17:42] upgraded libgl (7.9-1 -> 7.9.0.git20101207-2)
[2010-12-12 17:42] upgraded ati-dri (7.9-1 -> 7.9.0.git20101207-2)
[2010-12-12 17:42] upgraded intel-dri (7.9-1 -> 7.9.0.git20101207-2)
[2010-12-12 17:42] upgraded mesa (7.9-1 -> 7.9.0.git20101207-2)
[2010-12-12 20:41] upgraded gtk-engine-murrine (0.98.1.1-1 -> 0.98.1.1-2)
Now, both s2ram and s2disk doesn't work anymore. When I try, it starts suspending / hibernating and looks quite like it's working properly and then it resumes again.. So, it looks like the system doesn't power off but resumes immediately.
sudo s2ram
Switching from vt7 to vt1
fbcon fb0 state 1
s2ram_do: Input/output error
fbcon fb0 state 0
switching back to vt7
Notice the error above. This it what kernel.log says:
Dec 12 21:11:49 localhost kernel: PM: Syncing filesystems ... done.
Dec 12 21:11:49 localhost kernel: PM: Preparing system for mem sleep
Dec 12 21:11:49 localhost kernel: Freezing user space processes ... (elapsed 0.01 seconds) done.
Dec 12 21:11:49 localhost kernel: Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Dec 12 21:11:49 localhost kernel: PM: Entering mem sleep
Dec 12 21:11:49 localhost kernel: Suspending console(s) (use no_console_suspend to debug)
Dec 12 21:11:49 localhost kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Dec 12 21:11:49 localhost kernel: sd 0:0:0:0: [sda] Stopping disk
Dec 12 21:11:49 localhost kernel: tpm_tis 00:0a: tpm_transmit: tpm_send: error -5
Dec 12 21:11:49 localhost kernel: legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns -5
Dec 12 21:11:49 localhost kernel: PM: Device 00:0a failed to suspend: error -5
Dec 12 21:11:49 localhost kernel: PM: Some devices failed to suspend
Dec 12 21:11:49 localhost kernel: sd 0:0:0:0: [sda] Starting disk
Dec 12 21:11:49 localhost kernel: PM: resume of devices complete after 1237.975 msecs
Dec 12 21:11:49 localhost kernel: PM: Finishing wakeup.
Dec 12 21:11:49 localhost kernel: Restarting tasks ... done.
Dec 12 21:11:49 localhost kernel: video LNXVIDEO:00: Restoring backlight state
Do you have any ideas on how to solve the issue?
Thank you.
Last edited by foobarch (2010-12-14 01:33:42)
Offline
Oh, I just realized there was a kernel update on Saturday:
[2010-12-11 15:36] upgraded kernel26 (2.6.36.1-3 -> 2.6.36.2-1)
So, I guess this causes the trouble..
Update:
Probably the same problem, 2.6.37 rc1 though: http://www.serverphorums.com/read.php?12,224256
Last edited by foobarch (2010-12-13 14:47:15)
Offline
Let me guess, you have a lenovo?
Is this related: http://linux.derkeiler.com/Mailing-List … 12527.html ?
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
modprobe tpm_tis itpm=1
"fixed" it.. Thank you!
Offline
I'm having the same problem, but "modprobe tpm_tis itpm=1" doesn't help. I have a Thinkpad x200s, so maybe it's the same problem referenced in the mailing list? I didn't see a solution there, so maybe it's an open issue. I've also tried turning off my usb ports in the bios since googling suggested that there might be a usb issue, but that didn't help either. Has anyone had and fixed a similar problem, or is there somewhere else I should be looking?
Offline
You unload the module before reloading it?
Maybe you can show us what's in your kernel.log when you try to suspend.. It doesn't have to be an usb device.
Offline
Hi
i have a x200 and having the same issues. here is the relevant kernel log:
Dec 15 11:38:32 localhost kernel: PM: Syncing filesystems ... done.
Dec 15 11:38:32 localhost kernel: PM: Preparing system for mem sleep
Dec 15 11:38:32 localhost kernel: Freezing user space processes ... (elapsed 0.01 seconds) done.
Dec 15 11:38:32 localhost kernel: Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Dec 15 11:38:32 localhost kernel: PM: Entering mem sleep
Dec 15 11:38:32 localhost kernel: Suspending console(s) (use no_console_suspend to debug)
Dec 15 11:38:32 localhost kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Dec 15 11:38:32 localhost kernel: sd 0:0:0:0: [sda] Stopping disk
Dec 15 11:38:32 localhost kernel: tpm_tis 00:0a: tpm_transmit: tpm_send: error -5
Dec 15 11:38:32 localhost kernel: legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns -5
Dec 15 11:38:32 localhost kernel: PM: Device 00:0a failed to suspend: error -5
Dec 15 11:38:32 localhost kernel: PM: Some devices failed to suspend
Dec 15 11:38:32 localhost kernel: sd 0:0:0:0: [sda] Starting disk
Dec 15 11:38:32 localhost kernel: PM: resume of devices complete after 606.211 msecs
Dec 15 11:38:32 localhost kernel: IBM TrackPoint firmware: 0x0e, buttons: 3/3
Dec 15 11:38:32 localhost kernel: input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/input/input20
Dec 15 11:38:32 localhost kernel: PM: Finishing wakeup.
Dec 15 11:38:32 localhost kernel: Restarting tasks ... done.
Dec 15 11:38:32 localhost kernel: video LNXVIDEO:00: Restoring backlight state
thx
zeltak
Offline
Slightly related, maybe I should start a new thread, let me know:
Looks like another side effect of this dri update is that my external monitor is turned off when closing the lid of my laptop.
Was working fine before.
Any suggestion?
Here's my log:
[2010-12-13 10:55] upgraded dhcpcd (5.2.8-1 -> 5.2.9-1)
[2010-12-13 10:55] upgraded docbook-xsl (1.76.0-3 -> 1.76.1-1)
[2010-12-13 10:55] upgraded fluidsynth (1.1.3-1 -> 1.1.3-2)
[2010-12-13 10:55] upgraded libdrm (2.4.22-1 -> 2.4.22-3)
[2010-12-13 10:55] upgraded libgl (7.9-1 -> 7.9.0.git20101207-2)
[2010-12-13 10:55] upgraded intel-dri (7.9-1 -> 7.9.0.git20101207-2)
[2010-12-13 10:55] upgraded mesa (7.9-1 -> 7.9.0.git20101207-2)
[2010-12-13 10:55] upgraded procinfo-ng (2.0.304-1 -> 2.0.304-2)
[2010-12-13 10:55] upgraded python-beautifulsoup (3.0.8.1-1 -> 3.2.0-1)
[2010-12-13 10:55] upgraded zlib (1.2.5-2 -> 1.2.5-3)
Offline
Foobarch and all other contributors, if I ever meet you I'm buying you a drink. I was too stupid/uneducated to first -r it. Problem fixed.
Offline
ojw
can you give some more details on how you fixed it?
thx
zeltak
Offline
I'm not at home, but if I remember correctly, the following fixed the problem:
modprobe -r tpm_tis
modprobe tpm_tis itpm=1
However, that only works until you reboot. As a permanent solution, add tpm_tis to the modules array in rc.conf and add "option tpm_tis itpm=1" (I think) to modprobe.conf. The wikipages should have the correct format if that's not right, but I think it is.
Offline
hya
well i did add the line to the rc.conf and modprobe.conf but i still cant get sleep to work unless i issue this first:
sudo rmmod tpm_tis
zeltak
Offline
hya
well i did add the line to the rc.conf and modprobe.conf but i still cant get sleep to work unless i issue this first:
sudo rmmod tpm_tis
zeltak
If you use pm-utils, do SUSPEND_MODULES="tpm_tis"
https://wiki.archlinux.org/index.php/Pm … figuration
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
@Leonid.I, foobarch, ojw:
Thanks for the work on this, the modprobe option worked for me too. I'm using tuxonice now, switched from pm-utils thinking that it was a pm-utils issue and then found this thread while trying to get tuxonice working
Offline
thx Leonid.I but that didnt help
so far ive done this:
1) added tpm_tis to the modules array in rc.conf
2) added "option tpm_tis itpm=1" to modprobe.conf
3)added SUSPEND_MODULES="tpm_tis" to /etc/pm/config.d/module
rebooted but still dosent work.
i get this error:
Switching from vt1 to vt1
fbcon fb0 state 1
fbcon fb0 state 0
switching back to vt1
the ONLY thing that works is if i issue:
sudo rmmod tpm_tis
then suspend works..but its annoying to keep doing it after every reboot
any idea??
thx guys
zeltak
Last edited by zeltak (2010-12-18 01:20:58)
Offline
thx Leonid.I but that didnt help
so far ive done this:
1) added tpm_tis to the modules array in rc.conf
2) added "option tpm_tis itpm=1" to modprobe.conf
3)added SUSPEND_MODULES="tpm_tis" to /etc/pm/config.d/module
If you read around, most mailinglists tell you to set the itpm=1 option for tpm, not tpm_tis.
Revert everything you changed so far. Then rmmod tpm, tpm_bios and tpm_tis.
On my system there is no modprobe.conf but a modprobe.conf.d folder instead. If you still have a modprobe.conf, add
options tpm itpm=1
to it. Otherwise create /etc/modprobe.d/tpm.conf and add it there. Notice the plural in options. The way you describe it, you set 'option'.
Then modprobe tpm again. If you 'lsmod | grep tpm' now, there should only be two modules there. Tpm and tpm_bios.
Offline
cool count-corrupt
works like a charm
thx alot for the help
zeltak
Offline
Hya
sorry for reopening this issue but the problem is back..suspend stoped working again tried all the above solution with no success. is there any info i should be looking for to further diagonse the problem
thx
zeltak
Offline