All of lore.kernel.org
 help / color / mirror / Atom feed
* Follow-UP to ticket 1578 as requested
@ 2005-05-19  6:24 Sven E.
  2005-05-19  6:24 ` Jean Delvare
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Sven E. @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

Hi LM sensors folks,

Khali asked to send soem additional info, for now, here's some output
from sensors-detect, as wished, first run recommends use of it87:

sensors-detect
 
This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built-in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.
 
 BIOS vendor (ACPI): IntelR
 System vendor (DMI): Intel Technologies, Inc.
 BIOS version (DMI): ASUS PC-DL ACPI BIOS Revision 1002
 We can start with probing for (PCI) I2C or SMBus adapters.
 You do not need any special privileges for this.
 Do you want to probe now? (YES/no): YES
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 00:1f.3: Intel 82801EB ICH5
Probe succesfully concluded.
 
 We will now try to load each adapter module in turn.
Load `i2c-i801' (say NO if built into your kernel)? (YES/no): YES
Module loaded succesfully.
 Do you now want to be prompted for non-detectable adapters? (yes/NO):
no
 To continue, we need module `i2c-dev' to be loaded.
 If it is built-in into your kernel, you can safely skip this.
i2c-dev is already loaded.
 
 We are now going to do the adapter probings. Some adapters may hang
halfway
 through; we can't really help that. Also, some chips will be double
detected;
 we choose the one with the highest confidence value in that case.
 If you found that the adapter hung after probing a certain address, you
can
 specify that address to remain unprobed. That often
 includes address 0x69 (clock chip).
 
Next adapter: bt848 #0 (Bit-shift algorithm)
Do you want to scan it? (YES/no/selectively): no
 
Next adapter: SMBus I801 adapter at 0500 (Non-I2C SMBus adapter)
Do you want to scan it? (YES/no/selectively): no
 
 Some chips are also accessible through the ISA bus. ISA probes are
 typically a bit more dangerous, as we have to write to I/O ports to do
 this.  Do you want to scan the ISA bus? (YES/no): YES
Probing for `National Semiconductor LM78'
  Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
  Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
  Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
  Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
  Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
  Trying address 0x0290... Failed!
Probing for `Winbond W83697HF'
  Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
  Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
  Trying general detect... Failed!
Probing for `VIA Technologies VT8231 Integrated Sensors'
  Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
  Trying address 0x0290... Success!
    (confidence 8, driver `it87')
Probing for `IPMI BMC KCS'
  Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
  Trying address 0x0ca8... Failed!
 
 Some Super I/O chips may also contain sensors. Super I/O probes are
 typically a bit more dangerous, as we have to write to I/O ports to do
 this.  Do you want to scan for Super I/O sensors? (YES/no): YES
Probing for `SMSC 47M10x Super IO Fan Sensors'
  Failed!
Probing for `SMSC 47M14x Super IO Fan Sensors'
  Failed!
Probing for `VT1211 Super IO Sensors'
  Failed! (0x82)
Probing for `Winbond W83627HF Super IO Sensors'
  Failed! (0x82)
Probing for `Winbond W83627THF Super IO Sensors'
  Success... found at address 0x0290
Probing for `Winbond W83697HF Super IO Sensors'
  Failed! (0x82)
 
 Now follows a summary of the probes I have just done.
 Just press ENTER to continue:
 
Driver `it87' (should be inserted):
  Detects correctly:
  * ISA bus address 0x0290 (Busdriver `i2c-isa')
    Chip `ITE IT8705F / IT8712F / SiS 950' (confidence: 8)
 
Driver `w83627hf' (may not be inserted):
  Misdetects:
  * ISA bus address 0x0290 (Busdriver `i2c-isa')
    Chip `Winbond W83627THF Super IO Sensors' (confidence: 8)
 
 
 I will now generate the commands needed to load the I2C modules.
 Sometimes, a chip is available both through the ISA bus and an I2C bus.
 ISA bus access is faster, but you need to load an additional driver
module
 for it. If you have the choice, do you want to use the ISA bus or the
 I2C/SMBus (ISA/smbus)? ISA
 
If you want to load the modules at startup, generate a config file
below and make sure lm_sensors get started (eg. rc-update add lm_sensors
default).
 
To make the sensor modules behave correctly, add these lines to
/etc/modules.conf:
 
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----end cut here----
 
WARNING! If you have some things built into your kernel, the list above
will contain too many modules. Skip the appropriate ones! You really
should
try these commands right now to make sure everything is working
properly.
Monitoring programs won't work until it's done.
To load everything that is needed, execute the commands above...
 
#----cut here----
# I2C adapter drivers
modprobe i2c-isa
# I2C chip drivers
modprobe it87
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----end cut here----
 
Do you want to overwrite /etc/conf.d/lm_sensors? Enter s to specify
other file name?
  (yes/NO/s): YES
Done.

--- as described in the ticket, the chip is a winbond chip, and the it87
just gives totally bogus information.

Second run of sensors detect, this time ISA is skipped but super IO is
scanned again:

 sensors-detect
 
This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built-in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.
 
 BIOS vendor (ACPI): IntelR
 System vendor (DMI): Intel Technologies, Inc.
 BIOS version (DMI): ASUS PC-DL ACPI BIOS Revision 1002
 We can start with probing for (PCI) I2C or SMBus adapters.
 You do not need any special privileges for this.
 Do you want to probe now? (YES/no): YES
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 00:1f.3: Intel 82801EB ICH5
Probe succesfully concluded.
 
 We will now try to load each adapter module in turn.
Module `i2c-i801' already loaded.
 Do you now want to be prompted for non-detectable adapters? (yes/NO):
no
 To continue, we need module `i2c-dev' to be loaded.
 If it is built-in into your kernel, you can safely skip this.
i2c-dev is already loaded.
 
 We are now going to do the adapter probings. Some adapters may hang
halfway
 through; we can't really help that. Also, some chips will be double
detected;
 we choose the one with the highest confidence value in that case.
 If you found that the adapter hung after probing a certain address, you
can
 specify that address to remain unprobed. That often
 includes address 0x69 (clock chip).
 
Next adapter: bt848 #0 (Bit-shift algorithm)
Do you want to scan it? (YES/no/selectively): no
 
Next adapter: SMBus I801 adapter at 0500 (Non-I2C SMBus adapter)
Do you want to scan it? (YES/no/selectively): no
 
 Some chips are also accessible through the ISA bus. ISA probes are
 typically a bit more dangerous, as we have to write to I/O ports to do
 this.  Do you want to scan the ISA bus? (YES/no): no
 
 Some Super I/O chips may also contain sensors. Super I/O probes are
 typically a bit more dangerous, as we have to write to I/O ports to do
 this.  Do you want to scan for Super I/O sensors? (YES/no): YES
Probing for `SMSC 47M10x Super IO Fan Sensors'
  Failed!
Probing for `SMSC 47M14x Super IO Fan Sensors'
  Failed!
Probing for `VT1211 Super IO Sensors'
  Failed! (0x82)
Probing for `Winbond W83627HF Super IO Sensors'
  Failed! (0x82)
Probing for `Winbond W83627THF Super IO Sensors'
  Success... found at address 0x0290
Probing for `Winbond W83697HF Super IO Sensors'
  Failed! (0x82)
 
 Now follows a summary of the probes I have just done.
 Just press ENTER to continue:
 
Driver `w83627hf' (should be inserted):
  Detects correctly:
  * ISA bus address 0x0290 (Busdriver `i2c-isa')
    Chip `Winbond W83627THF Super IO Sensors' (confidence: 8)
 
 
 I will now generate the commands needed to load the I2C modules.
 Sometimes, a chip is available both through the ISA bus and an I2C bus.
 ISA bus access is faster, but you need to load an additional driver
module
 for it. If you have the choice, do you want to use the ISA bus or the
 I2C/SMBus (ISA/smbus)? ISA
 
If you want to load the modules at startup, generate a config file
below and make sure lm_sensors get started (eg. rc-update add lm_sensors
default).
 
To make the sensor modules behave correctly, add these lines to
/etc/modules.conf:
 
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----end cut here----
 
WARNING! If you have some things built into your kernel, the list above
will contain too many modules. Skip the appropriate ones! You really
should
try these commands right now to make sure everything is working
properly.
Monitoring programs won't work until it's done.
To load everything that is needed, execute the commands above...
 
#----cut here----
# I2C adapter drivers
modprobe i2c-isa
# I2C chip drivers
modprobe w83627hf
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----end cut here----
 
Do you want to overwrite /etc/conf.d/lm_sensors? Enter s to specify
other file name?
  (yes/NO/s): YES
Done.

As one can see now the Winbond is recommended as expected. yet, if I use
the recommended modules:

sensors
w83627thf-isa-0290
Adapter: ISA adapter
Algorithm: ISA algorithm
ERROR: Can't get alarm data!
ERROR: Can't get beep data!
ERROR: Can't get IN0 data!
ERROR: Can't get IN2 data!
ERROR: Can't get IN3 data!
ERROR: Can't get IN4 data!
ERROR: Can't get IN7 data!
ERROR: Can't get IN8 data!
ERROR: Can't get FAN1 data!
ERROR: Can't get FAN2 data!
ERROR: Can't get TEMP1 data!
ERROR: Can't get TEMP2 data!

Khali supposed the lib might be outdated, but where can I find the lib.
I am using gentoo, I patched the kernel since I need bttv I installed
all needed packages etc.

How can I investigate further if the libsensors is outdated and which
version is used ....

gentoo says I use lm-sensors 2.8.1 as well as i2c 2.8.1

Any help would be appreciated and I will try to investigate all issues
to my possibilities/skills.

Please inform me either by mail or by updating the ticket.

Thank you very much in advance

Regards

-Sven


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

* Follow-UP to ticket 1578 as requested
  2005-05-19  6:24 Follow-UP to ticket 1578 as requested Sven E.
@ 2005-05-19  6:24 ` Jean Delvare
  2005-05-19  6:24 ` DarKRaveR
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Jean Delvare @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

[Please reply to the list, not to me]

Quoting "Sven E." <dark@verfeiert.org>:

> Driver `it87' (should be inserted):
>   Detects correctly:
>   * ISA bus address 0x0290 (Busdriver `i2c-isa')
>     Chip `ITE IT8705F / IT8712F / SiS 950' (confidence: 8)
>  
> Driver `w83627hf' (may not be inserted):
>   Misdetects:
>   * ISA bus address 0x0290 (Busdriver `i2c-isa')
>     Chip `Winbond W83627THF Super IO Sensors' (confidence: 8)

We usually trust Super IO more than ISA. In newer versions of
sensors-detect, Super IO have a confidence of 9, so it would have
suggested w83627hf over it87 in your case.

> As one can see now the Winbond is recommended as expected. yet, if I
> use the recommended modules:
> 
> sensors
> w83627thf-isa-0290
> Adapter: ISA adapter
> Algorithm: ISA algorithm
> ERROR: Can't get alarm data!
> ERROR: Can't get beep data!
> ERROR: Can't get IN0 data!
> ERROR: Can't get IN2 data!
> ERROR: Can't get IN3 data!
> ERROR: Can't get IN4 data!
> ERROR: Can't get IN7 data!
> ERROR: Can't get IN8 data!
> ERROR: Can't get FAN1 data!
> ERROR: Can't get FAN2 data!
> ERROR: Can't get TEMP1 data!
> ERROR: Can't get TEMP2 data!
> 
> Khali supposed the lib might be outdated, but where can I find the
> lib.

ls -l /usr/lib/libsensors*
ls -l /usr/local/lib/libsensors*

You can also do "$(which sensors)" and "ldd $(which sensors)" to see
which library the sensors binary is linking to. If the library prefix
differs from sensors one, there's something bad.

> I am using gentoo, I patched the kernel since I need bttv I
> installed all needed packages etc.

We have a long history of problems with Gentoo. They have kernel patches
that often make lm_sensors fail, although "sensors" alone usually works
(this is "sensors -s" that usually fails).

I'm not sure I understand what you mean with "I patched the kernel". Did
you patch Gentoo kernel sources, or a vanilla kernel?

> gentoo says I use lm-sensors 2.8.1 as well as i2c 2.8.1

I would recommend that you clearly choose your side, and stick to it.
Either use a Gentoo kernel and stick to their version of i2c and
lm_sensors, or compile a vanilla kernel with my i2c patch, and install
lm_sensors on your own (same version as i2c, preferably). Mixing Gentoo
stuff with our own is likely to cause more trouble than it's worth.

-- 
Jean Delvare


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

* Follow-UP to ticket 1578 as requested
  2005-05-19  6:24 Follow-UP to ticket 1578 as requested Sven E.
  2005-05-19  6:24 ` Jean Delvare
  2005-05-19  6:24 ` DarKRaveR
@ 2005-05-19  6:24 ` DarKRaveR
  2005-05-19  6:24 ` Jean Delvare
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: DarKRaveR @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

Hello Jean,

Thanx for your answer. Well, I had soem problems with gentoo kernels
in the past, so I decided to use a vanilla kernel, with xfs patches
and soem other small patches I needed (amongst them i2c).

I will check back on the libs. I was already considering using the
source and compiling it by hand.

Oh, and yes, I picked the patches from your page for the corresponding
vanilla kernel.

Best Regards

-Sven

P.S.: I'll come back to you as soon as I had time to test several
things and check the libs.

Monday, February 16, 2004, 11:14:18 AM, you wrote:

JD> [Please reply to the list, not to me]

JD> Quoting "Sven E." <dark@verfeiert.org>:

>> Driver `it87' (should be inserted):
>>   Detects correctly:
>>   * ISA bus address 0x0290 (Busdriver `i2c-isa')
>>     Chip `ITE IT8705F / IT8712F / SiS 950' (confidence: 8)
>>  
>> Driver `w83627hf' (may not be inserted):
>>   Misdetects:
>>   * ISA bus address 0x0290 (Busdriver `i2c-isa')
>>     Chip `Winbond W83627THF Super IO Sensors' (confidence: 8)

JD> We usually trust Super IO more than ISA. In newer versions of
JD> sensors-detect, Super IO have a confidence of 9, so it would have
JD> suggested w83627hf over it87 in your case.

>> As one can see now the Winbond is recommended as expected. yet, if I
>> use the recommended modules:
>> 
>> sensors
>> w83627thf-isa-0290
>> Adapter: ISA adapter
>> Algorithm: ISA algorithm
>> ERROR: Can't get alarm data!
>> ERROR: Can't get beep data!
>> ERROR: Can't get IN0 data!
>> ERROR: Can't get IN2 data!
>> ERROR: Can't get IN3 data!
>> ERROR: Can't get IN4 data!
>> ERROR: Can't get IN7 data!
>> ERROR: Can't get IN8 data!
>> ERROR: Can't get FAN1 data!
>> ERROR: Can't get FAN2 data!
>> ERROR: Can't get TEMP1 data!
>> ERROR: Can't get TEMP2 data!
>> 
>> Khali supposed the lib might be outdated, but where can I find the
>> lib.

JD> ls -l /usr/lib/libsensors*
JD> ls -l /usr/local/lib/libsensors*

JD> You can also do "$(which sensors)" and "ldd $(which sensors)" to see
JD> which library the sensors binary is linking to. If the library prefix
JD> differs from sensors one, there's something bad.

>> I am using gentoo, I patched the kernel since I need bttv I
>> installed all needed packages etc.

JD> We have a long history of problems with Gentoo. They have kernel patches
JD> that often make lm_sensors fail, although "sensors" alone usually works
JD> (this is "sensors -s" that usually fails).

JD> I'm not sure I understand what you mean with "I patched the kernel". Did
JD> you patch Gentoo kernel sources, or a vanilla kernel?

>> gentoo says I use lm-sensors 2.8.1 as well as i2c 2.8.1

JD> I would recommend that you clearly choose your side, and stick to it.
JD> Either use a Gentoo kernel and stick to their version of i2c and
JD> lm_sensors, or compile a vanilla kernel with my i2c patch, and install
JD> lm_sensors on your own (same version as i2c, preferably). Mixing Gentoo
JD> stuff with our own is likely to cause more trouble than it's worth.




-- 
Best regards,
 DarKRaveR                            mailto:DarKRaveR@verfeiert.org

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

* Follow-UP to ticket 1578 as requested
  2005-05-19  6:24 Follow-UP to ticket 1578 as requested Sven E.
                   ` (2 preceding siblings ...)
  2005-05-19  6:24 ` DarKRaveR
@ 2005-05-19  6:24 ` Jean Delvare
  2005-05-19  6:24 ` Jean Delvare
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Jean Delvare @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

(Do you know how much I dislike mixed-case?)

> Thanx for your answer. Well, I had soem problems with gentoo kernels
> in the past, so I decided to use a vanilla kernel, with xfs patches
> and soem other small patches I needed (amongst them i2c).

Good move. The Gentoo kernels are know to be mostly not compliant with
lm_sensors anyway. BTW, if you can figure out why, please let us know.

> I will check back on the libs. I was already considering using the
> source and compiling it by hand.

I would recommend that you begin with uninstalling the Gentoo stuff
before installing your own. This is the best way to avoid conflicts.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

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

* Follow-UP to ticket 1578 as requested
  2005-05-19  6:24 Follow-UP to ticket 1578 as requested Sven E.
  2005-05-19  6:24 ` Jean Delvare
@ 2005-05-19  6:24 ` DarKRaveR
  2005-05-19  6:24 ` DarKRaveR
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: DarKRaveR @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

Hello Jean,

For now, just a wild guess, but it seemed, that gentoo sources using
the preemptible kernel patch (Was it preemptible or preemptive ?) tend
to freeze temporary in a non reproduceable way. Since the patch
mangles the scheduling and certainly the most inner parts of the
kernel I could imagine it might influence lm sensors too.

Just a thought to consider that kinda popped up my mind, since I saw a
couple of gentoo boxes with 2.4.x series that all had problems with
kernels including this patch.

We all switched the feature off and rebuilt the kernel, but I guess
most users use the premade gentoo scripts and there it seems to be
turned on by default.

Intristing question would be: Do others (non gentoo) folks use that
patch, do they have problems with it, esp. with lm_sensors?

My 2 cents.

-Sven

Monday, February 16, 2004, 8:39:40 PM, you wrote:

JD> (Do you know how much I dislike mixed-case?)

>> Thanx for your answer. Well, I had soem problems with gentoo kernels
>> in the past, so I decided to use a vanilla kernel, with xfs patches
>> and soem other small patches I needed (amongst them i2c).

JD> Good move. The Gentoo kernels are know to be mostly not compliant with
JD> lm_sensors anyway. BTW, if you can figure out why, please let us know.

>> I will check back on the libs. I was already considering using the
>> source and compiling it by hand.

JD> I would recommend that you begin with uninstalling the Gentoo stuff
JD> before installing your own. This is the best way to avoid conflicts.




-- 
Best regards,
 DarKRaveR                            mailto:DarKRaveR@verfeiert.org

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

* Follow-UP to ticket 1578 as requested
  2005-05-19  6:24 Follow-UP to ticket 1578 as requested Sven E.
                   ` (3 preceding siblings ...)
  2005-05-19  6:24 ` Jean Delvare
@ 2005-05-19  6:24 ` Jean Delvare
  2005-05-19  6:24 ` DarKRaveR
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Jean Delvare @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

> For now, just a wild guess, but it seemed, that gentoo sources using
> the preemptible kernel patch (Was it preemptible or preemptive ?) tend
> to freeze temporary in a non reproduceable way. Since the patch
> mangles the scheduling and certainly the most inner parts of the
> kernel I could imagine it might influence lm sensors too.

The problem other users reported is that they could not use "sensors
-s". For some reasons, the ioctls libsensors is using were rejected due
to bad permissions, although writing to the /proc files directly would
work. I doubt it is linked to the preemtive mode, although this one
could cause unstability as well. The grsec and acl patches were
suspected for a time but we could never ensure they were fully
responsible for the problem. But we have at least one person reporting
that changing from the gentoo kernel to a vanilla one soved the problem.

> Just a thought to consider that kinda popped up my mind, since I saw a
> couple of gentoo boxes with 2.4.x series that all had problems with
> kernels including this patch.
> 
> We all switched the feature off and rebuilt the kernel, but I guess
> most users use the premade gentoo scripts and there it seems to be
> turned on by default.

Yes, sounds logical. I really hate these people who think that they are
smarter than the kernel developers (and I don't say that because I'm one
of these). If all these additional patches are not part of the official
2.4 kernel, there must be a f*cking reason.

> Intristing question would be: Do others (non gentoo) folks use that
> patch, do they have problems with it, esp. with lm_sensors?

I think we had reports with Debian for a moment, but since some times
there are only Gentoo folks complaining. I don't know if these Debian
folks were using patches on their default kernel of not. Maybe that was
just the people building their own kernel by themselves, can't remember.

Thanks for sharing your experience and thoughts with us :')

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

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

* Follow-UP to ticket 1578 as requested
  2005-05-19  6:24 Follow-UP to ticket 1578 as requested Sven E.
                   ` (4 preceding siblings ...)
  2005-05-19  6:24 ` Jean Delvare
@ 2005-05-19  6:24 ` DarKRaveR
  2005-05-19  6:24 ` Jean Delvare
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: DarKRaveR @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

Hello Jean,

Sorry, it took me soem time, but I was kinda busy and involved with
some studying etc. - anyway:

The libs are in place and ldd sensors is linked against
libsensors.so.2

Maybe the followign helps, it's some info on libsensors.so.2:

/usr/lib/libsensors.so.2:     file format elf32-i386

Program Header:
    LOAD off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12
         filesz 0x0000ce90 memsz 0x0000ce90 flags r-x
    LOAD off    0x0000d000 vaddr 0x0000d000 paddr 0x0000d000 align 2**12
         filesz 0x0000d2e0 memsz 0x0001e444 flags rw-
 DYNAMIC off    0x0001a090 vaddr 0x0001a090 paddr 0x0001a090 align 2**2
         filesz 0x000000d0 memsz 0x000000d0 flags rw-
   STACK off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2
         filesz 0x00000000 memsz 0x00000000 flags rwx

Dynamic Section:
  NEEDED      libc.so.6
  NEEDED      libm.so.6
  SONAME      libsensors.so.2
  INIT        0x4eec
  FINI        0xa750
  HASH        0xb4
  STRTAB      0xc54
  SYMTAB      0x444
  STRSZ       0x70d
  SYMENT      0x10
  PLTGOT      0x1a174
  PLTRELSZ    0x1d0
  PLTREL      0x11
  JMPREL      0x4d1c
  REL         0x14c4
  RELSZ       0x3858
  RELENT      0x8
  VERNEED     0x1464
  VERNEEDNUM  0x2
  VERSYM      0x1362
  RELCOUNT    0x6ed

Version References:
  required from libm.so.6:
    0x0d696910 0x00 03 GLIBC_2.0
  required from libc.so.6:
    0x09691f73 0x00 05 GLIBC_2.1.3
    0x0d696911 0x00 04 GLIBC_2.1
    0x0d696910 0x00 02 GLIBC_2.0

        libsensors.so.2 => /usr/lib/libsensors.so.2 (0x4002d000)
        libc.so.6 => /lib/libc.so.6 (0x40059000)
        libm.so.6 => /lib/libm.so.6 (0x40184000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I gave thsi dump, since it reports the internal SO name and soem
version information (I hope/guess).

If I can investigate this any further, feel free to mail me.

Aside from this, I didn't have time yet do build it all on my own.

Anyway, since there seems to be soem problem, when I run sensors,
maybe we can get closer to the core of the problem this way ...

Thanx again, looking forward to hear from you

With best Regards

-Sven (DarKRaveR) E.

Monday, February 16, 2004, 11:14:18 AM, you wrote:

JD> [Please reply to the list, not to me]

JD> Quoting "Sven E." <dark@verfeiert.org>:

>> Driver `it87' (should be inserted):
>>   Detects correctly:
>>   * ISA bus address 0x0290 (Busdriver `i2c-isa')
>>     Chip `ITE IT8705F / IT8712F / SiS 950' (confidence: 8)
>>  
>> Driver `w83627hf' (may not be inserted):
>>   Misdetects:
>>   * ISA bus address 0x0290 (Busdriver `i2c-isa')
>>     Chip `Winbond W83627THF Super IO Sensors' (confidence: 8)

JD> We usually trust Super IO more than ISA. In newer versions of
JD> sensors-detect, Super IO have a confidence of 9, so it would have
JD> suggested w83627hf over it87 in your case.

>> As one can see now the Winbond is recommended as expected. yet, if I
>> use the recommended modules:
>> 
>> sensors
>> w83627thf-isa-0290
>> Adapter: ISA adapter
>> Algorithm: ISA algorithm
>> ERROR: Can't get alarm data!
>> ERROR: Can't get beep data!
>> ERROR: Can't get IN0 data!
>> ERROR: Can't get IN2 data!
>> ERROR: Can't get IN3 data!
>> ERROR: Can't get IN4 data!
>> ERROR: Can't get IN7 data!
>> ERROR: Can't get IN8 data!
>> ERROR: Can't get FAN1 data!
>> ERROR: Can't get FAN2 data!
>> ERROR: Can't get TEMP1 data!
>> ERROR: Can't get TEMP2 data!
>> 
>> Khali supposed the lib might be outdated, but where can I find the
>> lib.

JD> ls -l /usr/lib/libsensors*
JD> ls -l /usr/local/lib/libsensors*

JD> You can also do "$(which sensors)" and "ldd $(which sensors)" to see
JD> which library the sensors binary is linking to. If the library prefix
JD> differs from sensors one, there's something bad.

>> I am using gentoo, I patched the kernel since I need bttv I
>> installed all needed packages etc.

JD> We have a long history of problems with Gentoo. They have kernel patches
JD> that often make lm_sensors fail, although "sensors" alone usually works
JD> (this is "sensors -s" that usually fails).

JD> I'm not sure I understand what you mean with "I patched the kernel". Did
JD> you patch Gentoo kernel sources, or a vanilla kernel?

>> gentoo says I use lm-sensors 2.8.1 as well as i2c 2.8.1

JD> I would recommend that you clearly choose your side, and stick to it.
JD> Either use a Gentoo kernel and stick to their version of i2c and
JD> lm_sensors, or compile a vanilla kernel with my i2c patch, and install
JD> lm_sensors on your own (same version as i2c, preferably). Mixing Gentoo
JD> stuff with our own is likely to cause more trouble than it's worth.

-- 
Best regards,
 DarKRaveR                            mailto:DarKRaveR@verfeiert.org

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

* Follow-UP to ticket 1578 as requested
  2005-05-19  6:24 Follow-UP to ticket 1578 as requested Sven E.
                   ` (5 preceding siblings ...)
  2005-05-19  6:24 ` DarKRaveR
@ 2005-05-19  6:24 ` Jean Delvare
  2005-05-19  6:24 ` Jean Delvare
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Jean Delvare @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

> Hello Jean,
> 
> Sorry, it took me soem time, but I was kinda busy and involved with
> some studying etc. - anyway:
> 
> The libs are in place and ldd sensors is linked against
> libsensors.so.2
> 
> Maybe the followign helps, it's some info on libsensors.so.2:

In fact it doesn't. More interesting would be "ls -l
/usr/lib/libsensors* /usr/local/lib/libsensors*".

For example, on my system, it returns:

ls: /usr/lib/libsensors*: No such file or directory
-rw-r--r--    1 root     root       147412 Feb 13 19:03 /usr/local/lib/libsensors.a
lrwxrwxrwx    1 root     root           15 Feb 13 19:03 /usr/local/lib/libsensors.so -> libsensors.so.3
lrwxrwxrwx    1 root     root           19 Dec 20 09:43 /usr/local/lib/libsensors.so.1 -> libsensors.so.1.4.0
-rw-r--r--    1 root     root        84584 Feb 28  2002 /usr/local/lib/libsensors.so.1.2.0
-rw-r--r--    1 root     root        93341 Nov  9  2002 /usr/local/lib/libsensors.so.1.2.1
-rw-r--r--    1 root     root        95994 Dec 20 09:43 /usr/local/lib/libsensors.so.1.3.0
-rw-r--r--    1 root     root       106328 Jun  8  2003 /usr/local/lib/libsensors.so.1.4.0
lrwxrwxrwx    1 root     root           19 Nov  5 22:04 /usr/local/lib/libsensors.so.2 -> libsensors.so.2.0.2
-rw-r--r--    1 root     root       111703 Aug  4  2003 /usr/local/lib/libsensors.so.2.0.0
-rw-r--r--    1 root     root       118168 Oct 27 21:02 /usr/local/lib/libsensors.so.2.0.1
-rw-r--r--    1 root     root       120216 Nov  5 22:04 /usr/local/lib/libsensors.so.2.0.2
lrwxrwxrwx    1 root     root           19 Feb 13 19:03 /usr/local/lib/libsensors.so.3 -> libsensors.so.3.0.2
-rw-r--r--    1 root     root       141081 Nov 29 14:16 /usr/local/lib/libsensors.so.3.0.0
-rw-r--r--    1 root     root       142622 Jan 31 19:53 /usr/local/lib/libsensors.so.3.0.1
-rw-r--r--    1 root     root       143038 Feb 13 19:03 /usr/local/lib/libsensors.so.3.0.2

(The list is long because, as a lm_sensors developer, I have all
versions of the lib since I started working on the project; you should
have far fewer than that.)

and on my system, "ldd $(which sensors)" says:
        libsensors.so.3 => /usr/local/lib/libsensors.so.3 (0x40016000)
        libc.so.6 => /lib/libc.so.6 (0x40059000)
        libm.so.6 => /lib/libm.so.6 (0x4017a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

So you can see that it links to /usr/local/lib/libsensors.so.3, which is
a link to /usr/local/lib/libsensors.so.3.0.2. So the library used is
version 3.0.2.

Please do the same on your system. I think that for lm_sensors 2.8.1,
the correct library is 2.0.1.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

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

* Follow-UP to ticket 1578 as requested
  2005-05-19  6:24 Follow-UP to ticket 1578 as requested Sven E.
                   ` (7 preceding siblings ...)
  2005-05-19  6:24 ` Jean Delvare
@ 2005-05-19  6:24 ` DarKRaveR
  2005-05-19  6:24 ` DarKRaveR
  9 siblings, 0 replies; 11+ messages in thread
From: DarKRaveR @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

Hello Jean,

Okay, it took a very long time, I know, but I finally checked
everything. The used lib was /usr/local/lib/libsensors.so.2.0.0.
(The package claimed it was 2.8.1, but who knows).

I upgraded my kernel and  I just used newer packages of i2c and
lm_sensors from gentoo, which are not oficially released.
After that, the winbond gets used, the readings look okay in majority.

Just one fan is reporter at 0 rpm, and there's a couple fans as well
as one heat sensor missing and I got no clue, where to get the data.
:-)

Wednesday, February 18, 2004, 11:18:17 PM, you wrote:

>> Hello Jean,
>> 
>> Sorry, it took me soem time, but I was kinda busy and involved with
>> some studying etc. - anyway:
>> 
>> The libs are in place and ldd sensors is linked against
>> libsensors.so.2
>> 
>> Maybe the followign helps, it's some info on libsensors.so.2:

JD> In fact it doesn't. More interesting would be "ls -l
JD> /usr/lib/libsensors* /usr/local/lib/libsensors*".

JD> For example, on my system, it returns:

JD> ls: /usr/lib/libsensors*: No such file or directory
JD> -rw-r--r--    1 root     root       147412 Feb 13 19:03 /usr/local/lib/libsensors.a
JD> lrwxrwxrwx    1 root     root           15 Feb 13 19:03 /usr/local/lib/libsensors.so -> libsensors.so.3
JD> lrwxrwxrwx    1 root     root           19 Dec 20 09:43 /usr/local/lib/libsensors.so.1 -> libsensors.so.1.4.0
JD> -rw-r--r--    1 root     root        84584 Feb 28  2002 /usr/local/lib/libsensors.so.1.2.0
JD> -rw-r--r--    1 root     root        93341 Nov  9  2002 /usr/local/lib/libsensors.so.1.2.1
JD> -rw-r--r--    1 root     root        95994 Dec 20 09:43 /usr/local/lib/libsensors.so.1.3.0
JD> -rw-r--r--    1 root     root       106328 Jun  8  2003 /usr/local/lib/libsensors.so.1.4.0
JD> lrwxrwxrwx    1 root     root           19 Nov  5 22:04 /usr/local/lib/libsensors.so.2 -> libsensors.so.2.0.2
JD> -rw-r--r--    1 root     root       111703 Aug  4  2003 /usr/local/lib/libsensors.so.2.0.0
JD> -rw-r--r--    1 root     root       118168 Oct 27 21:02 /usr/local/lib/libsensors.so.2.0.1
JD> -rw-r--r--    1 root     root       120216 Nov  5 22:04 /usr/local/lib/libsensors.so.2.0.2
JD> lrwxrwxrwx    1 root     root           19 Feb 13 19:03 /usr/local/lib/libsensors.so.3 -> libsensors.so.3.0.2
JD> -rw-r--r--    1 root     root       141081 Nov 29 14:16 /usr/local/lib/libsensors.so.3.0.0
JD> -rw-r--r--    1 root     root       142622 Jan 31 19:53 /usr/local/lib/libsensors.so.3.0.1
JD> -rw-r--r--    1 root     root       143038 Feb 13 19:03 /usr/local/lib/libsensors.so.3.0.2

JD> (The list is long because, as a lm_sensors developer, I have all
JD> versions of the lib since I started working on the project; you should
JD> have far fewer than that.)

JD> and on my system, "ldd $(which sensors)" says:
JD>         libsensors.so.3 => /usr/local/lib/libsensors.so.3 (0x40016000)
JD>         libc.so.6 => /lib/libc.so.6 (0x40059000)
JD>         libm.so.6 => /lib/libm.so.6 (0x4017a000)
JD>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

JD> So you can see that it links to /usr/local/lib/libsensors.so.3, which is
JD> a link to /usr/local/lib/libsensors.so.3.0.2. So the library used is
JD> version 3.0.2.

JD> Please do the same on your system. I think that for lm_sensors 2.8.1,
JD> the correct library is 2.0.1.




-- 
Best regards,
 DarKRaveR                            mailto:DarKRaveR@verfeiert.org

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

* Follow-UP to ticket 1578 as requested
  2005-05-19  6:24 Follow-UP to ticket 1578 as requested Sven E.
                   ` (6 preceding siblings ...)
  2005-05-19  6:24 ` Jean Delvare
@ 2005-05-19  6:24 ` Jean Delvare
  2005-05-19  6:24 ` DarKRaveR
  2005-05-19  6:24 ` DarKRaveR
  9 siblings, 0 replies; 11+ messages in thread
From: Jean Delvare @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

> I upgraded my kernel and  I just used newer packages of i2c and
> lm_sensors from gentoo, which are not oficially released.
> After that, the winbond gets used, the readings look okay in majority.

Great :)

> Just one fan is reporter at 0 rpm, and there's a couple fans as well
> as one heat sensor missing and I got no clue, where to get the data.
> :-)

Maybe you need to increase the fan divisor (see doc/fan-divisors).

As for the missing sensors, according to the output of sensors-detect
from your first post, it's not something we support.  Maybe you can get
the values from ACPI.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

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

* Follow-UP to ticket 1578 as requested
  2005-05-19  6:24 Follow-UP to ticket 1578 as requested Sven E.
                   ` (8 preceding siblings ...)
  2005-05-19  6:24 ` DarKRaveR
@ 2005-05-19  6:24 ` DarKRaveR
  9 siblings, 0 replies; 11+ messages in thread
From: DarKRaveR @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

Hello Jean,

I guess the next thing I will try to work out, is to find out which
values are reported and which seem to be missing, concerning the
naming etc.
Saturday, March 20, 2004, 5:37:00 PM, you wrote:

>> I upgraded my kernel and  I just used newer packages of i2c and
>> lm_sensors from gentoo, which are not oficially released.
>> After that, the winbond gets used, the readings look okay in majority.

JD> Great :)

>> Just one fan is reporter at 0 rpm, and there's a couple fans as well
>> as one heat sensor missing and I got no clue, where to get the data.
>> :-)

JD> Maybe you need to increase the fan divisor (see doc/fan-divisors).

True that, I will check that, but after skipping a nights sleep, I
will keep that for soem other day ;-).

JD> As for the missing sensors, according to the output of sensors-detect
JD> from your first post, it's not something we support.  Maybe you can get
JD> the values from ACPI.

Sounds interesting, I will check on that too.

Thnx so far.

-- 
Best regards,
 DarKRaveR                            mailto:DarKRaveR@verfeiert.org

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

end of thread, other threads:[~2005-05-19  6:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:24 Follow-UP to ticket 1578 as requested Sven E.
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` DarKRaveR
2005-05-19  6:24 ` DarKRaveR
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` DarKRaveR
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` DarKRaveR
2005-05-19  6:24 ` DarKRaveR

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.