All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] lm-sensors 2.10.1 with newer 2.6.x.x kernel can't
Date: Thu, 25 Dec 2008 14:29:07 +0000	[thread overview]
Message-ID: <200812251529.07541.khali@linux-fr.org> (raw)
In-Reply-To: <f421b28c0812221450x5188180u1d21990775c42606@mail.gmail.com>

Hi John,

Le Lundi 22 Décembre 2008 23:50, John Brier a écrit :
> [root@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
> http://www.lm-sensors.org/wiki/Kernel2.6
> 
> "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 2.6.26.5 I have
> 
> # grep CONFIG_SYSFS_DEPRECATED /boot/config-2.6.26.5
> CONFIG_SYSFS_DEPRECATED=y
> CONFIG_SYSFS_DEPRECATED_V2=y

Preliminary note: using something as old as lm-sensors 2.10.1 with
a kernel as recent as 2.6.26.5 doesn't make much sense IMHO. We do
our best to preserve compatibility but it's hard to always get it
right.

> yet I still get this "warning" If it's only a warning why don't I get
> the actual readings from my hardware?

The warning documented above is unrelated to your problem, this is
why.

> 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.

Shouldn't be. For one thing you should be able to install libsensors3
and libsensors4 in parallel. Once this is done you should be able to
upgrade lm-sensors (and only lm-sensors) from version 2.x to version
3.x. I am no Debian expert though, maybe I'm missing something.

> I have run sensors-detect and have the proper modules loaded.

Which modules are these?

Please provide the full output of sensors-detect.

Did this system ever work with a different combination of lm-sensors
version and kernel version? And what system is this?

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2008-12-25 14:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-22 22:50 [lm-sensors] lm-sensors 2.10.1 with newer 2.6.x.x kernel can't read John Brier
2008-12-23  5:50 ` [lm-sensors] lm-sensors 2.10.1 with newer 2.6.x.x kernel can't John Brier
2008-12-23  6:03 ` John Brier
2008-12-25 14:29 ` Jean Delvare [this message]
2008-12-25 18:05 ` John Brier
2008-12-25 19:40 ` Jean Delvare
2008-12-25 20:50 ` John Brier
2008-12-25 20:58 ` John Brier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200812251529.07541.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.