All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] ipmisensors to use or not to use?
@ 2008-11-10 23:39 Sven Anders
  2008-11-17 17:05 ` Sven Anders
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sven Anders @ 2008-11-10 23:39 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1.1: Type: text/plain, Size: 1071 bytes --]

Hello!

I'm running Linux kernel 2.6.26 and want to get sensor
data from IPMI subsystem via lm-sensors.

In the documentation I read I should use the ipmisensors
modules (the successor of the bmcsensors module).

The latest patch I found, does not compile clearly with
newer kernels. I tried to fix the patch, but after that
failed, I took a closer look and it seems I have to
change too much. So here my question:

 Is the patch still the way to go or should I use
 any other way to get the data via lm-sensors (or
 direct access to /sys)?

Regards
 Sven Anders

-- 
 Sven Anders <anders@anduras.de>                 () Ascii Ribbon Campaign
                                                 /\ Support plain text e-mail
 ANDURAS service solutions AG
 Innstraße 71 - 94036 Passau - Germany
 Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55

Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032
Mitglieder des Vorstands: Sven Anders, Marcus Junker
Vorsitzender des Aufsichtsrats: Mark Peters

[-- Attachment #1.1.2: anders.vcf --]
[-- Type: text/x-vcard, Size: 352 bytes --]

begin:vcard
fn:Sven Anders
n:Anders;Sven
org:ANDURAS AG;Research and Development
adr;quoted-printable:;;Innstra=C3=9Fe 71;Passau;Bavaria;94036;Germany
email;internet:anders@anduras.de
title:Dipl. Inf.
tel;work:++49 (0)851 / 490 50 -0
tel;fax:++49 (0)851 / 590 50 - 55
x-mozilla-html:FALSE
url:http://www.anduras.de
version:2.1
end:vcard


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [lm-sensors] ipmisensors to use or not to use?
  2008-11-10 23:39 [lm-sensors] ipmisensors to use or not to use? Sven Anders
@ 2008-11-17 17:05 ` Sven Anders
  2008-11-17 21:56 ` Darrick J. Wong
  2008-11-17 22:33 ` Darrick J. Wong
  2 siblings, 0 replies; 4+ messages in thread
From: Sven Anders @ 2008-11-17 17:05 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1.1: Type: text/plain, Size: 1348 bytes --]

Sven Anders schrieb:
>
> I'm running Linux kernel 2.6.26 and want to get sensor
> data from IPMI subsystem via lm-sensors.
> 
> In the documentation I read I should use the ipmisensors
> modules (the successor of the bmcsensors module).
> 
> The latest patch I found, does not compile clearly with
> newer kernels. I tried to fix the patch, but after that
> failed, I took a closer look and it seems I have to
> change too much. So here my question:
> 
>  Is the patch still the way to go or should I use
>  any other way to get the data via lm-sensors (or
>  direct access to /sys)?

Hmm?!
Does nobody know or is nobody willing to answer?

I'm thinking of updating the patch for newer kernel, but
as my time is limited, I would only do this, if it's the
right way and it has a chance to be integrated in the
kernel.

Cheers
 Sven

-- 
 Sven Anders <anders@anduras.de>                 () Ascii Ribbon Campaign
                                                 /\ Support plain text e-mail
 ANDURAS service solutions AG
 Innstraße 71 - 94036 Passau - Germany
 Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55

Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032
Mitglieder des Vorstands: Sven Anders, Marcus Junker
Vorsitzender des Aufsichtsrats: Mark Peters

[-- Attachment #1.1.2: anders.vcf --]
[-- Type: text/x-vcard, Size: 352 bytes --]

begin:vcard
fn:Sven Anders
n:Anders;Sven
org:ANDURAS AG;Research and Development
adr;quoted-printable:;;Innstra=C3=9Fe 71;Passau;Bavaria;94036;Germany
email;internet:anders@anduras.de
title:Dipl. Inf.
tel;work:++49 (0)851 / 490 50 -0
tel;fax:++49 (0)851 / 590 50 - 55
x-mozilla-html:FALSE
url:http://www.anduras.de
version:2.1
end:vcard


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [lm-sensors] ipmisensors to use or not to use?
  2008-11-10 23:39 [lm-sensors] ipmisensors to use or not to use? Sven Anders
  2008-11-17 17:05 ` Sven Anders
@ 2008-11-17 21:56 ` Darrick J. Wong
  2008-11-17 22:33 ` Darrick J. Wong
  2 siblings, 0 replies; 4+ messages in thread
From: Darrick J. Wong @ 2008-11-17 21:56 UTC (permalink / raw)
  To: lm-sensors

On Mon, Nov 17, 2008 at 06:05:30PM +0100, Sven Anders wrote:
> 
> Hmm?!
> Does nobody know or is nobody willing to answer?
> 
> I'm thinking of updating the patch for newer kernel, but
> as my time is limited, I would only do this, if it's the
> right way and it has a chance to be integrated in the
> kernel.

As I recall, the driver needs to be ported to 2.6.28-rc.  Both it and
ibmpex try to call hwmon_device_register on the bmc device, which causes
problems if someone tries to load both.  I think there was a
general unease with putting it in without some more code review.  The
author doesn't seem to be pushing for its inclusion.  If nothing else, I
did a quick port to 2.6.28-rc5 and it miscategorizes a power meter as a
current sensor and the fan RPM sensors totally don't work.  I might be
able to clean it up a bit and then maybe we can push it into the
scary-upcoming-drivers tree?

Not to mention the usual "just use ipmitool" argument. :)

--D

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [lm-sensors] ipmisensors to use or not to use?
  2008-11-10 23:39 [lm-sensors] ipmisensors to use or not to use? Sven Anders
  2008-11-17 17:05 ` Sven Anders
  2008-11-17 21:56 ` Darrick J. Wong
@ 2008-11-17 22:33 ` Darrick J. Wong
  2 siblings, 0 replies; 4+ messages in thread
From: Darrick J. Wong @ 2008-11-17 22:33 UTC (permalink / raw)
  To: lm-sensors

On Mon, Nov 17, 2008 at 01:56:32PM -0800, Darrick J. Wong wrote:
> On Mon, Nov 17, 2008 at 06:05:30PM +0100, Sven Anders wrote:
> > 
> > Hmm?!
> > Does nobody know or is nobody willing to answer?
> > 
> > I'm thinking of updating the patch for newer kernel, but
> > as my time is limited, I would only do this, if it's the
> > right way and it has a chance to be integrated in the
> > kernel.
> 
> As I recall, the driver needs to be ported to 2.6.28-rc.  Both it and
> ibmpex try to call hwmon_device_register on the bmc device, which causes
> problems if someone tries to load both.  I think there was a
> general unease with putting it in without some more code review.  The
> author doesn't seem to be pushing for its inclusion.  If nothing else, I
> did a quick port to 2.6.28-rc5 and it miscategorizes a power meter as a
> current sensor and the fan RPM sensors totally don't work.  I might be
> able to clean it up a bit and then maybe we can push it into the
> scary-upcoming-drivers tree?

Blechk.  Also crashes on rmmod, and it seems that the only thing that
works are the voltage sensors.  Lots of strange looking code to convert
sensor readings too.

--D

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-17 22:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-10 23:39 [lm-sensors] ipmisensors to use or not to use? Sven Anders
2008-11-17 17:05 ` Sven Anders
2008-11-17 21:56 ` Darrick J. Wong
2008-11-17 22:33 ` Darrick J. Wong

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.