All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Flex Scanner Jammed Problem
Date: Wed, 02 Aug 2006 16:15:54 +0000	[thread overview]
Message-ID: <20060802181554.b3a6b22c.khali@linux-fr.org> (raw)
In-Reply-To: <1064332995.5787.33.camel@nils>

Hi Anthony,

>     We recently upgraded from Linux v2.4.9 to 2.6.9 and are trying to go
> from lm_sensors 2.8.7 to 2.10.0.
>  
>     the old version of sensors works on the new system, but the VBatt
> readings are incorrect.  Most of the other values seem to be fine
> though.
>  
>     using sensors-detect, we find (ignoring all the "Failed!" lines) :
>  
>     Probing for PCI bus adapters
>     Use driver 'i2c-i801' for device 00:1f.3 : Intel 82801DB ICH4
>     ......
>     Module 'i2c-i801' already loaded
>     ......
>     i2c-dev is already loaded
>     .......
>     Next adapter: SMBus I801 adapter at 1100
>     ......
>     Client found at address 0x18
>     Probing for 'Maxim MAC1617'... Success!

You certainly mean MA_X_1617. Did you really copy all of this output
manually? ;)

>         (confidence 3, driver 'adm1021')
>     ......
>     Client found at address 0x1a
>     Probing for 'Maxim MAC1617'... Success!
>         (confidence 3, driver 'adm1021')

Dual-Xeon system?

>     ....
>     Client found at address 0x2d
>     Probing for 'Winbond W83627HF'... Success!
>         (confidence 8, driver 'w83781d'), other addresses: 0x48 0x49
>     .....
>     Client found at address 0x2e
>     Probing for 'LM87'... Success!
>         (confidence 7, driver 'LM87')
>     .... 
>     Client found at address 0x30
>     Client found at address 0x48
>     Client found at address 0x49
>     Client found at address 0x61
>     Probing for 'SMBus 2.0 ARP-Capable Device'... Success!
>         confidence 1, driver 'smbus-arp'
>     Client found at address 0x69
>     .....
>     ISA scan:
>     Probing for Winbond W83627HF'... Success!
>         (confidence 8, driver 'w83781d')
>         Alias of the chip on I2C bus 'SMBus I801 adapter at 1100'
>     .....
>  
>     #---cut here----
>     # I2C module options
>     alias char-major-89 i2c-dev
>     options w83781d ignore=0,0x2d

Hm, this is a bug, this ignore line shouldn't be there. I thought I had
fixed this some months ago...

>     #----cut here-----
>  
>     #---cut here----
>     # I2C adapter drivers
>     modprobe i2c-i801
>     modprobe i2c-isa
>     # I2C chip drivers
>     modprobe adm1021
>     modprobe w83781d
>     # Warning:  required module lm87 is not currently installed on your system.
>     modprobe lm87

This one wasn't ported to Linux 2.6 at the time of 2.6.9. If you need
it, you'll need to backport it, or to move to a more recent kernel.

>     # Warning:  required module smbus-arp is not currently installed on your system.
>     modprobe smbus-arp

You can ignore this one, it's useless anyway.

>     modprobe w83627hf
>     #----cut here-----
>              
>  
> so i load all available libraries 

What do you mean? Do you mean you loaded the _kernel_modules_?

> and run sensors -s it returns flex scanner jammed.

This means that the configuration file contains something libsensors
doesn't understand. This would happen if you have an old libsensors,
and a new sensors.conf file, or if your sensors.conf file got somehow
corrupted.

>  
> modules loaded:
> w83781d
> w83627hf

Loading both drivers is a bad idea. This too, I thought I had fixed...
Load either driver, but not both. I would recommend w83627hf, it's
generally better.

> i2c-isa
> i2c-sensor
> i2c-i801
> i2c-dev
> i2c-core
>  
> i tried getting the new sensors.conf file, and copying over old ones,
> and even trying an empty file, none of which work...

By "none of which work", I take it that you always obtained the "flex
scanner jammed" error message?

> i also tried removing modules down to just sensors, i801 and w83781d,
> and removing ones until i got the proc/sysfs error message, then adding
> modules back up until the flex scanner message returned.

I suspect that you have both the old and the new libsensors installed
on your system, and the new "sensors" picks the old library. Try
"sensors -v" and see what it returns. Or run "ldd $(which sensors)" for
a similar effect.

If I'm right, you should simply get rid of (or rename) the old library,
run ldconfig, and try again.

The only strange thing is that an empty configuration file should have
let "sensors" work, and you report it did not...

-- 
Jean Delvare


  parent reply	other threads:[~2006-08-02 16:15 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:24 flex scanner jammed problem Emperor
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Emperor
2005-05-19  6:24 ` Emperor
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Emperor
2005-05-19  6:24 ` Emperor
2006-08-02 14:48 ` [lm-sensors] Flex Scanner Jammed Problem Calabro, Anthony
2006-08-02 16:15 ` Jean Delvare [this message]
2006-08-02 16:38 ` Calabro, Anthony
2006-08-02 16:47 ` Calabro, Anthony
2006-08-02 17:35 ` Calabro, Anthony
2006-08-03  8:49 ` Jean Delvare
2006-08-03 13:56 ` Calabro, Anthony
2006-08-03 15:40 ` Jean Delvare
2006-08-03 16:28 ` Calabro, Anthony
2006-08-03 16:40 ` Mark M. Hoffman
2006-08-04  7:39 ` Jean Delvare
2006-08-09 14:14 ` Calabro, Anthony
2006-08-09 17:13 ` Jean Delvare
2006-08-09 17:26 ` Calabro, Anthony
2006-08-09 20:09 ` Calabro, Anthony
2006-08-10  8:35 ` Jean Delvare
2006-08-10  8:42 ` Jean Delvare
2006-08-10 13:15 ` Calabro, Anthony
2006-08-11 12:15 ` Jean Delvare
2006-08-22 17:38 ` Calabro, Anthony
2006-08-22 20:19 ` Calabro, Anthony
2006-08-23  7:21 ` Jean Delvare
2006-08-23 11:18 ` Mark M. Hoffman
2006-08-23 15:23 ` Jean Delvare
2006-08-23 15:28 ` Calabro, Anthony
2006-08-23 17:46 ` Calabro, Anthony
2006-08-23 21:04 ` Calabro, Anthony
2006-08-24  3:01 ` Mark M. Hoffman
2006-08-24  7:49 ` Jean Delvare
2006-08-24 14:52 ` Jean Delvare
2006-08-28 16:54 ` Calabro, Anthony
2006-08-28 18:42 ` Calabro, Anthony
2006-08-28 19:02 ` Jean Delvare
2006-08-28 19:17 ` Jean Delvare

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=20060802181554.b3a6b22c.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.