#1385 (sensors segfault)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jean,

On Wed, Aug 27, 2003 at 12:41:54PM +0200, Jean Delvare wrote:
> > Regarding #1385:
> > 
> > ---
> > It is completely different from ticket #1267.
> > 
> > Segfaults are often caused by old versions of libsensors being present
> > on your system. Please look in both /usr/lib and /usr/local/lib for
> > libsensor* and keep only the more recent version. Run "ldconfig" after
> > that.
> > 
> > Another possibility is that you have different versions of i2c,
> > lm_sensors modules and lm_sensors userspace tools mixed. Please check
> > that too. How did you install the whole thing?
> > 
> > Follow up on the list (sensors at stimpy.netroedge.com), reference your
> > ticket number.
> > ---
> > 
> > There is only 1 version of libsensors around, this is 2.8.0, both i2c
> > and lm_sensors where run from standard sources with ./configure; make;
> > make install. Loaded modules right now are:
> > 
> > i2c-i801                4724   0  (unused)
> > i2c-dev                 4772   0  (unused)
> > i2c-proc                7312   1 
> > i2c-core               13924   1  [i2c-i801 i2c-dev i2c-proc]
> > 
> > /proc/sys/dev/sensors is empty except for chips, which has no entries.
> 
> (Please note that I don't remember the original ticket and can't access
> it right now.)
> 
> This directory being empty is normal since you don't have any chip
> driver loaded. "i2c-i801" is your bus driver. It allows accessing the
> chips but doesn't do anything from the user's point of view.

Thanks for pointing that out, I wasn't aware of that.

> As for the segmentation fault, I know we already encountered the problem
> and that it was caused by the modules and the library to be from
> different versions. You say it's not the case here. I'd like you to
> double check. "sensors -v" will give you the sensors version. "dmesg"
> right after loading the i2c modules will give you the modules versions.
> If they don't match, you know why sensors-detect crashes.

dmesg:

i2c-core.o: driver unregistered: i2c-dev dummy driver
i2c-core.o: adapter unregistered: 
i2c-proc.o version 2.6.1 (20010825)
i2c-dev.o: i2c /dev entries driver module
i2c-core.o: driver i2c-dev dummy driver registered.
i2c-i801 version 2.8.0 (20030714)
i2c-dev.o: Registered '' as minor 0
i2c-core.o: adapter  registered as adapter 0.
Unable to handle kernel paging request at virtual address 0004002c
 printing eip:

sensors -v

sensors version 2.8.0

Does version problems also include kernel / version mismatch ? I 
use 2.4.21, but I recompiled it a few times after i installed
lm_sensors. Offtopic: what new Intel P4 board does have good support
for lm_sensors ? (For entry level server use)

Regards,

		-- Frido Ferdinand



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux