[lm-sensors] lm-sensors 2.10.1 with newer 2.6.x.x kernel can't read procfs/sysfs
johnbrier at gmail.com
Tue Dec 23 06:50:21 CET 2008
I should also mention that I have /sys mounted
sysfs on /sys type sysfs (rw)
On Mon, Dec 22, 2008 at 5:50 PM, John Brier <johnbrier at gmail.com> wrote:
> [root at tb303 ~]# sensors
> Can't access procfs/sysfs file
> Kernel interface access error
> For 2.6 kernels, make sure you have mounted sysfs and libsensors
> was compiled with sysfs support!
> I have Debian 4.0 with 2.10.1-3 lm-sensors and libsensors3. I read
> "In kernel 2.6.22, the way the I2C adapters are presented in sysfs
> changed, and this affects libsensors. You will need lm_sensors version
> 2.10.3 or later. Alternatively, the kernel can be compiled with
> CONFIG_SYSFS_DEPRECATED=y, then version 2.10.2 will work too. Older
> versions of lm_sensors will complain that the I2C adapter names can't
> be read. This is only a warning though. "
> So in my kernel 22.214.171.124 I have
> # grep CONFIG_SYSFS_DEPRECATED /boot/config-126.96.36.199
> yet I still get this "warning" If it's only a warning why don't I get
> the actual readings from my hardware? I looked into upgrading to
> lm-sensors 3 and libsenseors4 packages from Debian testing tree but
> the dependencies were pretty bad, I might as well upgrade the whole
> system to testing.
> I have run sensors-detect and have the proper modules loaded.
> John Brier
More information about the lm-sensors