![]() |
missing proper headers package
hi everybody,
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: Code:
# modprobe tp_smapiCode:
thinkpad_ec: version magic '2.6.33.4-smp SMP mod_unload 686 ' should be '2.6.33.4 mod_unload 486 'the problem seems to be obvious: i have the wrong kernel headers and thus the module compiles for the SMP kernel. Code:
# slackpkg search headersthanks for any help, bamdad |
Far as I know, there's no incredibly good reason that you wouldn't want to use the SMP kernel, even with only one CPU. It should work fine - someone will correct me if there's a good reason not to use it.
Here's one suggestion (and there are other ideas probably coming from other folks - this is just one of them): If you've got the kernel source installed, then grab your kernel config from /proc/config.gz (use `zcat` to ungzip it to a new file), then place it into your kernel source directory and name it ".config", then run `make clean` and then `make` and then `make headers_install` to install headers that match your kernel. It seems you already have the correct modules installed for your kernel (don't you?), so no need to run `make modules_install`. And a tip: if you wanted to make a proper Slackware package of your freshly compiled headers, use src2pkg to make the package; then install it (of course, remove the existing headers package first). |
From CHANGES_AND_HINTS.TXT on the install media:
Code:
Use one of the provided generic kernels for daily use. Do not report |
wow. thanks guys, i really didn't notice the CHANGES_AND_HINTS.TXT. also, thanks for the tip about src2pkg. i'll look into it. my ultimate goal is to compile my own kernel, so i only have to fix this temporarily.
marking the thread as solved. |
| All times are GMT -5. The time now is 06:35 AM. |