i never thought i'll be forced to ask about a problem trivial as this, but hey, it might be that i'm just stupid.
so my story is this: Slackware works currently the best on my old Thinkpad T42, so i've installed it. i like to use the tp_smapi and hdaps modules in combination with the hdapsd daemon to protect my hard drive.
i installed the huge.s kernel, thinking that i'll compile my own later, but it should be better on a single processor machine than the hugesmp.s one.
as Slackware doesn't have fancy things such as dkms or akmods, i downloaded the tp_smapi and hdapsd slackbuilds and compiled them. however, after installing the package and trying to load my modules, i got this error message:
# modprobe tp_smapi
FATAL: Error inserting tp_smapi (/lib/modules/184.108.40.206/kernel/drivers/firmware/tp_smapi.ko): Invalid module format
i checked dmesg to see what's wrong, and it says on the bottom line:
thinkpad_ec: version magic '220.127.116.11-smp SMP mod_unload 686 ' should be '18.104.22.168 mod_unload 486 '
(thinkpad_ec is a dependency of tp_smapi)
the problem seems to be obvious: i have the wrong kernel headers and thus the module compiles for the SMP kernel.
# slackpkg search headers
[ installed ] - kernel-headers-22.214.171.124_smp-x86-1
so my question is: should i switch to the SMP kernel, or is there another way around this? i don't see a headers package for other kernel versions neither on the DVD, nor online.
thanks for any help,