[ltp] T43 (2668-89U) and sleep/hibernate

linux-thinkpad@linux-thinkpad.org linux-thinkpad@linux-thinkpad.org
Sun, 15 Apr 2007 18:47:50 -0500


On Fri, Apr 13, 2007 at 04:47:32PM +0200, Igor V. Rafienko wrote:
> Start here: <http://whoopie.gmxhome.de/linux/patches/2.6.20/>.
> Get a recent kernel (2.6.20.6, e.g.).
> Get the latest ati-drivers, 8.35.5.

I got 2.6.20.3 via the gentoo ebuild "vanilla-kernel".  I manually
applied the suspend2-2.2.9-for-2.6.20 patch.  When I did a top-level
kernel make, I got this:

  [ ... ]
  CC      kernel/power/snapshot.o
  kernel/power/snapshot.c:661: error: conflicting types for
  'saveable_highmem_page'
  kernel/power/power.h:193: error: previous declaration of
  'saveable_highmem_page' was here
  make[2]: *** [kernel/power/snapshot.o] Error 1
  make[1]: *** [kernel/power] Error 2
  make: *** [kernel] Error 2

I also tried applying the patch to gentoo-sources
(2.6.20-gentoo-r4).  Same result.

Also, FWIW, right now I'm running the suspend2-sources-2.6.19-r2
kernel (gentoo ebuild).  I did an "emerge ati-drivers".  When I try
to modprobe fglrx, it says this:

# modprobe fglrx
 FATAL: Error inserting fglrx
 (/lib/modules/2.6.19-suspend2-r2/video/fglrx.ko): Unknown symbol in
 module, or unknown parameter (see dmesg)

Last line of dmesg is:

fglrx: Unknown symbol try_to_freeze

Note: my ati-drivers version is 8.35.5, since I have the ~x86
keyword enabled for the ati-drivers package.

So it looks to me like I'm missing a kernel config option that is
causing try_to_freeze() to not be built.

Thanks,
Matt