tp smapi 0.4 compilation from source

I’m running OpenSUSE 11.1 on a Thinkpad T61.

I tried to install tp_smapi_0.40 on 11.1 (the kernel version I’m using is 2.6.27.7-9-default). The following is the output :


linux-s010:/home/darthshak/Downloads/tp_smapi-0.40 # make install
Makefile:31: Building tp_smapi requires Linux kernel 2.6.19 or newer, and matching kernel headers.
Makefile:32: You may need to override the following Make variables:
Makefile:33: .   KVER=2.6.27.7-9-default
Makefile:34: .   KBUILD=/lib/modules/2.6.27.7-9-default/build
Makefile:35: .   MOD_DIR=/lib/modules/2.6.27.7-9-default/kernel
Makefile:36: For "make patch", you may also need the full kernel sources, and may need to override:
Makefile:37: .   KSRC=/lib/modules/2.6.27.7-9-default/source
Makefile:38: *** Missing kernel headers.  Stop.

I have the linux-kernel-headers and kernel-source packages installed. The nvidia 180.27 drivers compiled just fine with these packages but tp_smapi is the only one giving an issue.

Hi
Normally when compiling modules you need the kernel-source, kernel-syms
and module-init-tools.

As an aside, if you search here it’s already built;
Get It


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
up 5:50, 1 user, load average: 0.07, 0.16, 0.12
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.27

Hi,

I have a X200 with a P8600 core2duo CPU running a 64 bit Suse 11.1 system.

I installed tp_smapi 0.40 x86_64 from the given link, but I see the following errors:
modprobe tp_smapi gives:
WARNING: Error inserting thinkpad_ec (/lib/modules/2.6.27.19-3.2-default/updates/thinkpad_ec.ko): No such device or address
FATAL: Error inserting tp_smapi (/lib/modules/2.6.27.19-3.2-default/updates/tp_smapi.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg produces:
tp_smapi: Unknown symbol thinkpad_ec_unlock
tp_smapi: Unknown symbol thinkpad_ec_invalidate
tp_smapi: Unknown symbol thinkpad_ec_read_row
tp_smapi: Unknown symbol thinkpad_ec_lock

YAST tells that tp_smapi-kmp-default and tp_smapi-kmp-trace is installed.

What is wrong?

The latest kernel update (i.e. the kernel version you are running) breaks the tp_smapi package.

If you really want it to work, you’ll have to try compiling from source or roll back your kernel to the older version (2.6.27.7-9). But I dont know how good/bad an idea going to the previous version really is.