Skip to contentSkip to conversation

Pardon this possibly basic question....

DISCUSSION John 3 participants 3 messages May 19, 2005

lore
Share & tools
lore

John

author
#0 lore raw

Can lmsensors be run on a kernel that does not have modules enabled? If so, are there documents that indicate how this is setup? I'm only finding references to 'sensors-detect' which complains that it "Can't access /proc/modules! at /usr/sbin/sensors-detect line 885."

I am running Debian 3.0 (stable) with 2.4.18, patched with GRsecurity. I've got a Dual Tyan motherboard which has (apparantly) PIIX4 chips in it.

i2c support with i2c /proc is enabled in the kernel.

If you can help point me in the direction of running lmsensors without a modular kernel, I'd appreciate it much.

Thanks....

John

#1 lore raw
Quoted 6 lines

Can lmsensors be run on a kernel that does not have modules enabled? If so, are there documents that indicate how this is setup? I'm only finding references to 'sensors-detect' which complains that it "Can't access /proc/modules! at /usr/sbin/sensors-detect line 885."

Quoted 8 lines

I am running Debian 3.0 (stable) with 2.4.18, patched with GRsecurity. I've got a Dual Tyan motherboard which has (apparantly) PIIX4 chips in it.

i2c support with i2c /proc is enabled in the kernel.

If you can help point me in the direction of running lmsensors without a modular kernel, I'd appreciate it much.

I suppose that using Albert Cranford's patches should do it. Grab them there:
http://home.attbi.com/~ac9410/
Patch your kernel with them, reconfigure and select everything you need.

Please let us know if/how it works for you.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to John

While the drivers can all be built into the kernel,
not all the tools behave well without module support.
See ticket #547 for example, which confirms the problem in sensors-detect. Khali, perhaps with your perl skills you could fix?

Quoted 22 lines · Jean Delvare
Quoted 5 lines

Can lmsensors be run on a kernel that does not have modules enabled? If so, are there documents that indicate how this is setup? I'm only finding references to 'sensors-detect' which complains that it "Can't access /proc/modules! at /usr/sbin/sensors-detect line 885."

Quoted 8 lines

I am running Debian 3.0 (stable) with 2.4.18, patched with GRsecurity. I've got a Dual Tyan motherboard which has (apparantly) PIIX4 chips in it.

i2c support with i2c /proc is enabled in the kernel.

If you can help point me in the direction of running lmsensors without a modular kernel, I'd appreciate it much.

I suppose that using Albert Cranford's patches should do it. Grab them there:
http://home.attbi.com/~ac9410/
Patch your kernel with them, reconfigure and select everything you need.

Please let us know if/how it works for you.