You are not logged in.

#1 2008-07-07 03:39:36

aaaaarch
Member
Registered: 2008-03-05
Posts: 18

Can't load tp_smapi?

When I type "make load" in extracted tp_smapi installing directory, it shows a problem:

bash-3.2# make load
Makefile:25: *** This driver requires kernel 2.6.19 or newer, and matching kernel sources. You may need to override KVER=2.6.25-ARCH or KSRC=/lib/modules/2.6.25-ARCH/source or KBUILD=/lib/modules/2.6.25-ARCH/build or MOD_DIR=/lib/modules/2.6.25-ARCH/kernel.  Stop.

How can I get the kernel sources? It seems that pacman doesn't provide src packages.
Thanks for your help!

Offline

#2 2008-07-07 04:32:26

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Can't load tp_smapi?

Why don't you use the AUR package for tp_smapi (that works for me, and it has a patch supplied which fixes some directories, probably exactly the problem you have with it)?

Offline

#3 2008-07-08 02:14:16

aaaaarch
Member
Registered: 2008-03-05
Posts: 18

Re: Can't load tp_smapi?

Thank you!
Another question: How to know whether hdaps is running?
After I type "insmod /lib/modules/2.6.25-ARCH/extra/hdaps.ko" , no message displayed.
It exists in lsmod, but how I get disk's information?
And why dose "modprobe -a hdaps" return a wrong message?
So only insmod is able.

Last edited by aaaaarch (2008-07-08 02:34:35)

Offline

#4 2008-07-08 16:31:35

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Can't load tp_smapi?

Arch kernel is shipped with its own hdaps module (/lib/modules/2.6.25-ARCH/kernel/drivers/hwmon/hdaps.ko), which is not patched for thinkpads. modprobe tries to load this one; that's why one needs to 'insmod ...' the patched one. [If you want to be able to use the patched hdaps module with modprobe, see the link I posted on AUR page.]

Now, as far as I understand, hdaps module by itself doesn't do any disk management, you need hdapsd (a daemon, it's also in AUR) to do that. There's some info on thinkwiki.

Offline

Board footer

Powered by FluxBB