on thinkpad x41, suspend-to-ram hangs when booted with x4 ultrabase dock

Bug #30410 reported by Michael Shulman
12
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I have a thinkpad x41 with an x4 ultrabase dock. There is no automatic dock/undock support (bug #18864) but a simple manually created script fixes that. However, if the laptop was docked at boot time, then attempting to suspend-to-ram hangs the machine, requiring a hard-reboot.

Regardless of how I try to suspend-to-ram (either with
Fn-F4, or by manually running /etc/acpi/sleep.sh, or by selecting "Suspend" from the gnome logout menu), the screen blanks and the crescent-moon LED comes on, but the fan doesn't stop. It is then impossible to
wake back up. Pressing the power button doesn't do anything; the screen remains blank. However, if I close and reopen the lid (I assume, invoking /etc/acpi/lid.sh), the screen comes back on, showing something like the following:

[4296198.675000] Stopping tasks:===============================================
======================|

I can then switch consoles with Alt+Fx, but other than that, the keyboard is unresponsive; not even Ctrl-Alt-Del has an effect. If I try to switch to the Xwindows console (#7), the computer hangs completely.

If I originally ran /etc/acpi/sleep.sh from a console, then when I switch back to that particular console, I can see that it is still running, and moreover accepting input; the keyboard works on that particular console. Of course the input doesn't actually do anything;
and I can't break the program with Ctrl-C either.

I repeat that this *only* happens if the laptop was connected to the x4 ultrabase dock when it booted (and then consistently). If it wasn't, then suspend-to-ram works perfectly, even if it is *currently* docked. Intermediate suspends and hibernates don't seem to make a difference.

Revision history for this message
Angelo Lisco (angystardust-gmail) wrote :

i tried to compile 2.6.16 with the same .config of 2.6.15-18-386: both suspend-to-ram (sleep) and suspend-to-disk (hibernate) work again when my x40 is connected to an X4 ultrabase docking station (with cdrom)...
i know 2.6.16 will not be included in dapper so maybe we can ask Ben Collins to backport some bits from 2.6.16 (IMHO it related to the ide subsystem).

Revision history for this message
Angelo Lisco (angystardust-gmail) wrote :

ok guys...no need to compile your own kernel...i installed the package from debian unstable repository. If you wanna test if this fix the bug, that's a mini-howto:

1) download the .deb from here: wget http://ftp.de.debian.org/debian/pool/main/l/linux-2.6/linux-image-2.6.16-1-486_2.6.16-4_i386.deb

2) extract the package with dpkg: sudo dpkg -x linux-image-2.6.16-1-486_2.6.16-3_i386.deb /

3) modify your grub configuration: sudo nano /boot/grub/menu.lst

#add those lines at the end of the file
title Ubuntu, 2.6.16-1-486
#copy the next line exactly as the one specified in the 2.6.15 configuration
root (hd0,4)
# modify the 'root=/dev/hdx' parameter in order to match your root partition; for me it's /dev/hda6
kernel /vmlinuz-2.6.16-1-486 root=/dev/hda6 ro quiet splash
initrd /initrd.img-2.6.16-1-486
savedefault
boot

4) restart your system and on the next start, select 'ubuntu 2.6.16-1-486' from grum menu.

5) suspend to ram and hibernation works again (as in breezy)! So, for me this fix 2 bugs: this one and #29767.

i know 2.6.16 will not be included in dapper but maybe we can ask Ben Collins to backport some bits from 2.6.16 (IMHO it related to the ide-cd module).

 Is it right to subscribe Ben to this bug?

JohnnyWu (wushuohuai)
Changed in acpi-support:
status: Unconfirmed → Confirmed
Revision history for this message
Angelo Lisco (angystardust-gmail) wrote :

It's fixed with the last kernel upload (2.6.15-21)!!!
Matthew and Ben...you ROCK!!!

Michael, can you 'dist-upgrade' and confirm...so we can close this bug?
thanks

Matthew Garrett (mjg59)
Changed in acpi-support:
status: Confirmed → Fix Released
Revision history for this message
Michael Shulman (shulman) wrote :

Sorry for taking so long to reply; I was in the middle of a critical time at work and didn't want to take the chance of breaking anything on my laptop with an upgrade. But now I'm running dapper beta and It Works! It seems to take a little longer to go to sleep when booted docked than otherwise, but it does sleep, and wake up. Hooray! Thanks a bunch guys!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.