[ltp] Re: Suspend-to-RAM on Thinkpad R50e (partial success)

Mo linux-thinkpad@linux-thinkpad.org
Mon, 11 Apr 2005 22:21:23 +0100


Hi Pawel,

it seems really strange that this should work. From your kernel config I ca=
n=20
see that you are using the VESA framebuffer by default. The intelfb cannot =
be=20
loaded "on top" since you already got a framebuffer device.
As I am getting the same error you got without using intelfb at all, I don'=
t=20
think it is intelfb related.
I did try it your way anyways, but I got the same error. I really wonder wh=
at=20
makes it work for you (even though only once). Can you send me your dmesg=20
output (`dmesg > dmesg.txt`)? Maybe I can find something.

Cheers,
Mo


On Monday 11 April 2005 13:00, Pawel Topa wrote:
> Hi!
>
> I've recently develepod configuration for my Thinkpad R50e which allows
> to suspend and resume the computer. Unfortunately only one cycle is
> possible. Second resume stops at the same point as before i.e. all
> subsystems back to work correctly except *graphic card*.
>
> Distro: Fedora Core 3 with all updates.
>
> Here is my sleep.sh:
> --------------------------------
> #!/bin/sh
> /sbin/ifdown eth0
> sync
> /sbin/hwclock --systohc
> /sbin/rmmod intelfb
> echo -n mem > /sys/power/state
> /sbin/modprobe intelfb
> /sbin/hwclock --hctosys
> /sbin/ifup eth0
> exit 0
> --------------------------------
> (after loading intelfb module, graphic card wakes up, resume text
> console and *restart Xs*)
>
>  .config:
> http://luke.icsr.agh.edu.pl/~topa/.config
> (nothing special, intelfb is necessary compiled as module_
>
>
> xorg.conf (Xorg 6.8):
> http://luke.icsr.agh.edu.pl/~topa/xorg.conf
> (I've turned off dri)
>
> grub.conf:
> ----------------------------------------------------------
> default=3D1
> timeout=3D5
> splashimage=3D(hd0,2)/boot/grub/splash.xpm.gz
> hiddenmenu
> title Fedora Core (2.6.12-rc2)
>          root (hd0,2)
>          kernel /boot/vmlinuz-2.6.12-rc2 ro root=3DLABEL=3D/
>          initrd /boot/initrd-2.6.12-rc2.img
> title Fedora Core (2.6.11.6)
>          root (hd0,2)
>          kernel /boot/vmlinuz-2.6.11.6 ro root=3DLABEL=3D/
>          initrd /boot/initrd-2.6.11.6.img
> title Fedora Core (2.6.11.4)
>          root (hd0,2)
>          kernel /boot/vmlinuz-2.6.11.4 ro root=3DLABEL=3D/
>          initrd /boot/initrd-2.6.11.4.img
> ----------------------------------------------------------
> (I've tested three newest kernels, all with the same result - propably
> intelfb driver didn't change in these versions.)
>
> I'm not very experienced with Linux kernel so I look forward for any
> suggestions what should I try (do) next?
>
> Regards
>
> Pawe=B3 Topa