View previous topic :: View next topic |
Author |
Message |
Rüpel Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/344149032421f104417121.gif)
Joined: 06 Nov 2002 Posts: 316 Location: Berlin/Germany
|
Posted: Fri Sep 16, 2005 10:27 am Post subject: [deferred] lm_sensors with i2c_viapro or via686a - built-in |
|
|
Hi all,
i'd like to read the sensors-info in my server. for security-reasons my kernel does not have module-support - so everything is built-in.
here's my lspci:
Quote: | # lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8378 [KM400/A] Chipset Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
0000:00:0f.0 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
0000:01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8378 [S3 UniChrome] Integrated Video (rev 01) |
it seems, that the i2c_viapro option is the right one for me under Quote: | Location:
-> Device Drivers
-> I2C support
-> I2C support (I2C [=y])
-> I2C Hardware Bus support |
there's another option called via686a here: Quote: | Location:
-> Device Drivers
-> I2C support
-> I2C support (I2C [=y])
-> Hardware Sensors Chip support |
this thread and the wiki say, that one must not enable both - but which is the right one? i've tried only i2c_viapro built-in and i get this:
Quote: | # dmesg | grep i2c
i2c /dev entries driver
# ls -l /dev/i2c*
lr-xr-xr-x 1 root root 5 Sep 16 12:04 /dev/i2c-0 -> i2c/0
lr-xr-xr-x 1 root root 5 Sep 16 12:04 /dev/i2c-1 -> i2c/1
/dev/i2c:
total 0
crw------- 1 root root 89, 0 Jan 1 1970 0
crw------- 1 root root 89, 1 Jan 1 1970 1
# sensors
No sensors found! |
any idea? because i have to reboot the server each time i try a new option (and that is generally a bad thing on a server) - i'd like to know the correct settings in advance.
thx for your help. _________________ :wq
Last edited by Rüpel on Fri Sep 16, 2005 11:04 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
scoon l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/155449604644193d200e61b.gif)
Joined: 23 Aug 2003 Posts: 747 Location: Philadelphia, PA
|
Posted: Fri Sep 16, 2005 10:32 am Post subject: Re: lm_sensors with i2c_viapro or via686a - built-in |
|
|
Rüpel wrote: | Hi all,
i'd like to read the sensors-info in my server. for security-reasons my kernel does not have module-support - so everything is built-in.
here's my lspci:
Quote: | # lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8378 [KM400/A] Chipset Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
0000:00:0f.0 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7
0000:01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8378 [S3 UniChrome] Integrated Video (rev 01) |
it seems, that the i2c_viapro option is the right one for me under Quote: | Location:
-> Device Drivers
-> I2C support
-> I2C support (I2C [=y])
-> I2C Hardware Bus support |
there's another option called via686a here: Quote: | Location:
-> Device Drivers
-> I2C support
-> I2C support (I2C [=y])
-> Hardware Sensors Chip support |
this thread and the wiki say, that one must not enable both - but which is the right one? i've tried only i2c_viapro built-in and i get this:
Quote: | # dmesg | grep i2c
i2c /dev entries driver
# ls -l /dev/i2c*
lr-xr-xr-x 1 root root 5 Sep 16 12:04 /dev/i2c-0 -> i2c/0
lr-xr-xr-x 1 root root 5 Sep 16 12:04 /dev/i2c-1 -> i2c/1
/dev/i2c:
total 0
crw------- 1 root root 89, 0 Jan 1 1970 0
crw------- 1 root root 89, 1 Jan 1 1970 1
# sensors
No sensors found! |
any idea? because i have to reboot the server each time i try a new option (and that is generally a bad thing on a server) - i'd like to know the correct settings in advance.
thx for your help. |
Hey there,
Well take a look at this as well: http://www2.lm-sensors.nu/~lm78/
As well as the various man pages: sensors, sensors.conf,sensors-detect, libsensors
regards,
scoon _________________ Hope this helps........ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Rüpel Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/344149032421f104417121.gif)
Joined: 06 Nov 2002 Posts: 316 Location: Berlin/Germany
|
Posted: Fri Sep 16, 2005 10:43 am Post subject: |
|
|
*edited*
i just rebooted without i2c_viapro and with via686a built-in. no success.
btw: this is what sensors-detect tells me:
Quote: | # sensors-detect
...
Probing for PCI bus adapters...
Use driver `i2c-viapro' for device 00:11.0: VIA Technologies VT8237 South Bridge
Probe succesfully concluded. |
so i2c_viapro *should* be right. but what else? _________________ :wq
Last edited by Rüpel on Fri Sep 16, 2005 11:05 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Rüpel Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/344149032421f104417121.gif)
Joined: 06 Nov 2002 Posts: 316 Location: Berlin/Germany
|
Posted: Fri Sep 16, 2005 10:46 am Post subject: |
|
|
but wait. maybe there's something wrong with my grsec settings in the hardened kernel....
Quote: | grsec: From xxx.xxx.xx.x: denied open of /dev/port by /usr/sbin/sensors-detect[sensors-detect:31066] |
_________________ :wq |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Rüpel Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/344149032421f104417121.gif)
Joined: 06 Nov 2002 Posts: 316 Location: Berlin/Germany
|
Posted: Fri Sep 16, 2005 11:03 am Post subject: |
|
|
i've found something:
Quote: | Until kernel 2.6.11, there was a PCI resource conflict between i2c-viapro (the SMBus driver for VIA bridges) and via686a (the integrated sensors driver for VIA bridges). This caused the second loaded driver to silently fail working. So do not load both i2c-viapro and via686a together unless you have a recent kernel. |
source
so it seems, there is just no option for me right now. since i'm using hardened-sources (latest version 2.6.11-r15), it seems i'll have to wait for hardened sources >2.6.11
oh well. ![Confused :?](images/smiles/icon_confused.gif) _________________ :wq |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|