Skip to contentSkip to conversation

lm-sensors and 2.6.18 kernel under debian sarge

lm-sensors Sébastien CRAMATTE 2 participants 4 messages Mar 13, 2007 – Mar 14, 2007

lore
Share & tools
lore
#0 lore raw

Hello

I've got a p8sci supermicro motherboard.
I've compiled and loaded successfully i2c and hardware monitoring modules.

I've tried to disable beep and alarm but unfortunately doesn't work
Moreover values are very strange ... and for example "set beep_enable
0" is ignored ...

I've patched the kernel with IPMI too but I don't know how to use it :(

# ls /boot/modules/2.6.18.3-router.5/kernel/drivers/char/ipmi/*
ipmi_devintf.ko  ipmi_msghandler.ko  ipmi_poweroff.ko  ipmi_si.ko 
ipmi_watchdog.ko

#uname -a
Linux gestor1 2.6.18.3-router.5 #24 SMP Fri Mar 9 13:52:54 UTC 2007 i686 GNU/Linux

#dpkg -l sensord
sensord 2.9.1-1sarge3

#lsmod
...

w83627hf               15760  0
hwmon_vid               2944  1 w83627hf
hwmon                   2052  1 w83627hf
eeprom                  3984  0
i2c_isa                 2816  1 w83627hf
i2c_i801                6156  0
i2c_core               11520  4 w83627hf,eeprom,i2c_isa,i2c_i801

...

#cat /etc/sensors.conf
...
chip "w83627thf-*" "w83637hf-*"

set beep_enable 0

...

# sensors
eeprom-i2c-0-55
Adapter: SMBus I801 adapter at 0500
Memory type:            DDR2 SDRAM DIMM
Memory size (MB):       1024

eeprom-i2c-0-54

Adapter: SMBus I801 adapter at 0500
Memory type:            DDR2 SDRAM DIMM
Memory size (MB):       1024

eeprom-i2c-0-51

Adapter: SMBus I801 adapter at 0500
Memory type:            DDR2 SDRAM DIMM
Memory size (MB):       1024

eeprom-i2c-0-50

Adapter: SMBus I801 adapter at 0500
Memory type:            DDR2 SDRAM DIMM
Memory size (MB):       1024

w83627thf-isa-0290

Adapter: ISA adapter
in0:       +1.94 V  (min =  +1.94 V, max =  +1.94 V)       ALARM  (beep)
in1:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in2:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in3:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in4:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in7:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in8:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
fan1:        0 RPM  (min =    0 RPM, div = 128)              ALARM  (beep)
fan2:        0 RPM  (min =    0 RPM, div = 128)              ALARM  (beep)
fan3:        0 RPM  (min =    0 RPM, div = 128)              ALARM  (beep)
temp1:        -1 C  (high =    -1 C, hyst =    -1 C)   sensor = diode  

ALARM (beep)
temp2: +0.0 C (high = +0 C, hyst = +0 C) sensor = diode
ALARM (beep)
temp3: +0.0 C (high = +0 C, hyst = +0 C) sensor = diode
ALARM (beep)

vid:      +0.000 V  (VRM Version 10.0)
alarms:   Chassis intrusion detection                      ALARM

beep_enable:
Sound alarm enabled

Any help is welcome
Regards

#1 lore raw

Hello

I've got a p8sci supermicro motherboard.
I've compiled and loaded successfully i2c and hardware monitoring modules.

I've tried to disable beep and alarm but unfortunately doesn't work
Moreover values are very strange ... and for example "set beep_enable
0" is ignored ...

I've patched the kernel with IPMI too but I don't know how to use it :(

# ls /boot/modules/2.6.18.3-router.5/kernel/drivers/char/ipmi/*
ipmi_devintf.ko  ipmi_msghandler.ko  ipmi_poweroff.ko  ipmi_si.ko
ipmi_watchdog.ko

#uname -a
Linux gestor1 2.6.18.3-router.5 #24 SMP Fri Mar 9 13:52:54 UTC 2007 i686 GNU/Linux

#dpkg -l sensord
sensord 2.9.1-1sarge3

#lsmod
...

w83627hf               15760  0
hwmon_vid               2944  1 w83627hf
hwmon                   2052  1 w83627hf
eeprom                  3984  0
i2c_isa                 2816  1 w83627hf
i2c_i801                6156  0
i2c_core               11520  4 w83627hf,eeprom,i2c_isa,i2c_i801

...

#cat /etc/sensors.conf
...
chip "w83627thf-*" "w83637hf-*"

set beep_enable 0

...

# sensors
eeprom-i2c-0-55
Adapter: SMBus I801 adapter at 0500
Memory type:            DDR2 SDRAM DIMM
Memory size (MB):       1024

eeprom-i2c-0-54

Adapter: SMBus I801 adapter at 0500
Memory type:            DDR2 SDRAM DIMM
Memory size (MB):       1024

eeprom-i2c-0-51

Adapter: SMBus I801 adapter at 0500
Memory type:            DDR2 SDRAM DIMM
Memory size (MB):       1024

eeprom-i2c-0-50

Adapter: SMBus I801 adapter at 0500
Memory type:            DDR2 SDRAM DIMM
Memory size (MB):       1024

w83627thf-isa-0290

Adapter: ISA adapter
in0:       +1.94 V  (min =  +1.94 V, max =  +1.94 V)       ALARM  (beep)
in1:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in2:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in3:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in4:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in7:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in8:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
fan1:        0 RPM  (min =    0 RPM, div = 128)              ALARM  (beep)
fan2:        0 RPM  (min =    0 RPM, div = 128)              ALARM  (beep)
fan3:        0 RPM  (min =    0 RPM, div = 128)              ALARM  (beep)
temp1:        -1 C  (high =    -1 C, hyst =    -1 C)   sensor = diode

ALARM (beep)
temp2: +0.0 C (high = +0 C, hyst = +0 C) sensor = diode
ALARM (beep)
temp3: +0.0 C (high = +0 C, hyst = +0 C) sensor = diode
ALARM (beep)

vid:      +0.000 V  (VRM Version 10.0)
alarms:   Chassis intrusion detection                      ALARM

beep_enable:
Sound alarm enabled

Any help is welcome
Regards

#2 lore raw

[lm-sensors] lm-sensors and 2.6.18 kernel under debian

In reply to Sébastien CRAMATTE

Hi,

#----cut here----
# I2C adapter drivers
i2c-i801
i2c-isa
# I2C chip drivers

# no driver for Winbond W83792D yet
# Warning: the required module smbus-arp is not currently installed on
your system.
# For status of 2.6 kernel ports see
http://secure.netroedge.com/~lm78/supported.html
# If driver is built-in to the kernel, or unavailable, comment out the
following line.
smbus-arp
w83627hf
#----cut here----

It's very strange because I've compiled W83792D kernel module but doesn't load it ...

#ls /lib/modules/2.6.18.3-router.5/kernel/drivers/hwmon hwmon-vid.ko hwmon.ko ipmisensors.ko w83627hf.ko w83792d.ko

#ls /lib/modules/2.6.18.3-router.5/kernel/drivers/hwmon hwmon-vid.ko hwmon.ko ipmisensors.ko w83627hf.ko w83792d.ko

Moreover where can I get correct values sensords.conf for fan and voltage ?

JGong at winbond.com a ?crit :

Quoted 46 lines

Hi, S?bastien,

Quoted 23 lines

I've got a p8sci supermicro motherboard.
I've compiled and loaded successfully i2c and hardware monitoring modules. I've tried to disable beep and alarm but unfortunately doesn't work
Moreover values are very strange ... and for example "set beep_enable
0" is ignored...
w83627thf-isa-0290

Adapter: ISA adapter
in0:       +1.94 V  (min =  +1.94 V, max =  +1.94 V)       ALARM  (beep)
in1:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in2:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in3:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in4:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in7:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
in8:       +4.08 V  (min =  +4.08 V, max =  +4.08 V)       ALARM  (beep)
fan1:        0 RPM  (min =    0 RPM, div = 128)              ALARM  (beep)
fan2:        0 RPM  (min =    0 RPM, div = 128)              ALARM  (beep)
fan3:        0 RPM  (min =    0 RPM, div = 128)              ALARM  (beep)
temp1:        -1 C  (high =    -1 C, hyst =    -1 C)   sensor = diode

ALARM (beep)
temp2: +0.0 C (high = +0 C, hyst = +0 C) sensor = diode
ALARM (beep)
temp3: +0.0 C (high = +0 C, hyst = +0 C) sensor = diode
ALARM (beep)

Quoted 5 lines
vid:      +0.000 V  (VRM Version 10.0)
alarms:   Chassis intrusion detection                      ALARM

beep_enable:
Sound alarm enabled

The sensors output of w83627thf makes no sense here. It was used for Super I/O usage. So we need to find the real sensor chip on your motherboard.

Could you please run "sensors-detect", and send the results back to us?

If you have any questions, feel free to contact us.

Best regards,
Gong Jun

=============================================> The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email irrelevant to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.

#3 lore raw

[lm-sensors] lm-sensors and 2.6.18 kernel under debian

In reply to Sébastien CRAMATTE

Hi, S?bastien

Quoted 5 lines

#----cut here----
# I2C adapter drivers
i2c-i801
i2c-isa
# I2C chip drivers

Quoted 10 lines
# no driver for Winbond W83792D yet
# Warning: the required module smbus-arp is not currently installed on
your system.
# For status of 2.6 kernel ports see
http://secure.netroedge.com/~lm78/supported.html
# If driver is built-in to the kernel, or unavailable, comment out the
following line.
smbus-arp
w83627hf
#----cut here----

According to the message:" no driver for Winbond W83792D yet", I advise you to update the lm_sensors package first. You can download the latest version from the lm_sensors home page.

Then unpack the lm_sensors package and try "make user" and "make user_install".

After that, you can run "sensors-detect" again to see whether it can detect the w83792d chip or not.

Best regards,
Gong Jun

=============================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email irrelevant to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.