Skip to contentSkip to conversation

Constant beep and ALARM warnings on ALI1535

DISCUSSION Juan Pedro Pereyra 2 participants 7 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

I've managed to get running lv-sensors 2.8.3 on my debian box, but I'm getting some weird information out of "sensors" and "sensors -s".
Here is the "sensors" output:

juan@athos:~$ sensors
lm78-i2c-0-2c
Adapter: SMBus ALI1535 adapter at 0400
Algorithm: Non-i2c SMBus adapter
VCore 1:   +3.28 V  (min =  +3.04 V, max =  +3.36 V)
VCore 2:   +2.93 V  (min =  +3.04 V, max =  +3.36 V)
+3.3V:     +1.71 V  (min =  +1.70 V, max =  +2.10 V)
+5V:       +6.18 V  (min =  +4.74 V, max =  +5.24 V)
+12V:     +15.50 V  (min = +15.50 V, max = +15.50 V)   ALARM
-12V:     -14.19 V  (min = -14.19 V, max = -14.19 V)   ALARM
-5V:       -6.14 V  (min =  -6.14 V, max =  -6.14 V)   ALARM
fan1:     4272 RPM  (min =   -1 RPM, div = 2)
fan2:        0 RPM  (min =   -1 RPM, div = 2)
fan3:        0 RPM  (min =    0 RPM, div = 2)          ALARM
temp:      +48.0?C  (high =  +120?C, hyst =  +115?C)
vid:       +3.20 V
alarms:   Chassis intrusion detection                  ALARM

eeprom-i2c-0-50

Adapter: SMBus ALI1535 adapter at 0400
Algorithm: Non-i2c SMBus adapter
Memory type:            DDR SDRAM DIMM
Memory size (MB):       128

juan@athos:~$

As you can see, although the hardware is working fine (tested by other methods), there are serveral ALARM warnings.
The other thing is that when I run "sensors -s" I get a constant and continuous beep from the system's speaker, and I can only get rid of it rebooting the system.

I only ant to control the system temp, so I could do just fine with this errors, however, it would be even better if there weren't any errors.

Next, there is some information about my system, I'll provide more if asked:

Motherboard SY-K7ADA
Processor AMD Athlon XP 1600+
Debian Woody 3.0r2
2.4.24 custom kernel (i2c compiled as modules as specified in doc)

PS: Thanks for such a great piece of software, keep up!

Signature · 4 lines
Juan Pedro Pereyra <[email protected]>
Ciudad de Buenos Aires, Argentina
athos server @ athos.thesource.com.ar
Linux User number 344472
#1 lore raw
Quoted 1 line

Ok, the people from ALI sent me one of those, it's the pdf attached.

It's not. Send the file directly to me, most people on the list won't be interested. I'll share it wih whoever asks me to.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Juan Pedro Pereyra
Quoted 12 lines
juan@athos:~$ sensors
lm78-i2c-0-2c
Adapter: SMBus ALI1535 adapter at 0400
Algorithm: Non-i2c SMBus adapter
VCore 1:   +3.28 V  (min =  +3.04 V, max =  +3.36 V)
VCore 2:   +2.93 V  (min =  +3.04 V, max =  +3.36 V)
+3.3V:     +1.71 V  (min =  +1.70 V, max =  +2.10 V)
+5V:       +6.18 V  (min =  +4.74 V, max =  +5.24 V)
+12V:     +15.50 V  (min = +15.50 V, max = +15.50 V)   ALARM
-12V:     -14.19 V  (min = -14.19 V, max = -14.19 V)   ALARM
-5V:       -6.14 V  (min =  -6.14 V, max =  -6.14 V)   ALARM
fan1:     4272 RPM  (min =   -1 RPM, div = 2)
Quoted 8 lines
fan2:        0 RPM  (min =   -1 RPM, div = 2)
fan3:        0 RPM  (min =    0 RPM, div = 2)          ALARM
temp:      +48.0?C  (high =  +120?C, hyst =  +115?C)
vid:       +3.20 V
alarms:   Chassis intrusion detection                  ALARM
(...)
Motherboard SY-K7ADA
Processor AMD Athlon XP 1600+

In fact I don't think you have an LM78 on this motherboard. It's too recent, LM78 have been replaced by other chips since Pentium II's or similar.

Please provide the full output of sensors-detect for your system (after unloading lm78 and eeprom and any other chip driver you would have loaded). I think that the chipset you have is misdetected.

Also, please provide the output of "i2cdump 0 0x2c" (after unloading lm78, too).

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#3 lore raw
In reply to Juan Pedro Pereyra
Quoted 3 lines

In fact I don't think you have an LM78 on this motherboard. It's too recent, LM78 have been replaced by other chips since Pentium II's or similar.

Ok, but some indicators, like temp, seem to work pretty well and the "i2c-ali1535" makes some sense provided that the k7ada uses an ALI chipset.

Quoted 3 lines

Please provide the full output of sensors-detect for your system (after unloading lm78 and eeprom and any other chip driver you would have loaded). I think that the chipset you have is misdetected.

Here you go, the WHOLE output:

athos:~# sensors-detect
 This program will help you to determine which I2C/SMBus modules you need to
 load to use lm_sensors most effectively.
 You need to have installed lm-sensors modules before you can use
 some functions of this utility.
 Also, you need to be `root', or at least have access to
 the /dev/i2c[-/]* files for some 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.

IF THIS IS AN IBM THINKPAD, PRESS CTRL-C NOW!
IBM Thinkpads have a severely broken i2c/SMBus implementation, just scanning the bus will break your thinkpad forever!

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): YESProbing for PCI bus adapters...
Use driver i2c-ali15x3' for device 00:11.0: Acer Labs 1533/1543 Use driver i2c-ali1535' for device 00:11.0: Acer Labs 1535 Probe succesfully concluded.

We will now try to load each adapter module in turn.
Load `i2c-ali15x3' (say NO if built into your kernel)? (YES/no): YES /lib/modules/2.4.24/kernel/drivers/i2c/busses/i2c-ali15x3.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.4.24/kernel/drivers/i2c/busses/i2c-ali15x3.o: insmod /lib/ modules/2.4.24/kernel/drivers/i2c/busses/i2c-ali15x3.o failed /lib/modules/2.4.24/kernel/drivers/i2c/busses/i2c-ali15x3.o: insmod i2c-ali15x3 failed
Loading failed ()... skipping.
Load `i2c-ali1535' (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 not loaded. Do you want to load it now? (YES/no): YES Module loaded succesfully.

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: SMBus ALI1535 adapter at 0400 (Non-i2c SMBus adapter) Do you want to scan it? (YES/no/selectively): YES
Client found at address 0x2c
Probing for `Myson MTP008'... Failed!
Probing for `National Semiconductor LM78'... Success!

    (confidence 7, driver `lm78')

Probing for National Semiconductor LM78-J'... Failed! Probing for National Semiconductor LM79'... Failed! Probing for National Semiconductor LM80'... Failed! Probing for National Semiconductor LM87'... Failed! Probing for `Winbond W83781D'... Failed!
Probing for `Winbond W83782D'... Failed!
Probing for `Winbond W83783S'... Failed!
Probing for `Winbond W83627HF'... Failed!
Probing for `Asus AS99127F'... Failed!
Probing for Genesys Logic GL518SM Revision 0x00'... Failed! Probing for Genesys Logic GL518SM Revision 0x80'... Failed! Probing for Genesys Logic GL520SM'... Failed! Probing for Analog Devices ADM9240'... Failed! Probing for Dallas Semiconductor DS1780'... Failed! Probing for National Semiconductor LM81'... Failed! Probing for Analog Devices ADM1025'... Failed! Probing for Analog Devices ADM1024'... Failed! Probing for Analog Devices ADM1022'... Failed! Probing for Texas Instruments THMC50'... Failed! Probing for `ITE IT8705F / IT8712F / SiS 950'... Failed! Client found at address 0x30
Probing for National Semiconductor LM78'... Failed! Probing for National Semiconductor LM78-J'... Failed! Probing for National Semiconductor LM79'... Failed! Probing for Winbond W83781D'... Failed!
Probing for `Winbond W83782D'... Failed!
Probing for `Winbond W83783S'... Failed!
Probing for `Winbond W83627HF'... Failed!
Probing for `Asus AS99127F'... Failed!
Client found at address 0x50
Probing for National Semiconductor LM78'... Failed! Probing for National Semiconductor LM78-J'... Failed! Probing for National Semiconductor LM79'... Failed! Probing for Winbond W83781D'... Failed!
Probing for `Winbond W83782D'... Failed!
Probing for `Winbond W83783S'... Failed!
Probing for `Winbond W83627HF'... Failed!
Probing for `Asus AS99127F'... Failed!
Probing for `Serial EEPROM (PC-100 DIMM)'... Success!
(confidence 8, driver `eeprom')
Probing for `DDC monitor'... Failed!
Client found at address 0x69

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):YESProbing 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 VT 82C686 Integrated Sensors'
Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
Trying address 0x0290... Failed!

Now follows a summary of the probes I have just done. Just press ENTER to continue:
Driver `lm78' (should be inserted):
Detects correctly:
* Bus SMBus ALI1535 adapter at 0400' (Non-i2c SMBus adapter) Busdriver i2c-ali1535', I2C address 0x2c
Chip `National Semiconductor LM78' (confidence: 7)

Driver `eeprom' (should be inserted):
Detects correctly:
* Bus SMBus ALI1535 adapter at 0400' (Non-i2c SMBus adapter) Busdriver i2c-ali1535', I2C address 0x50
Chip `Serial EEPROM (PC-100 DIMM)' (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)?
WARNING! If you have some things built into your kernel, the below list will contain too many modules. Skip the appropriate ones! To load everything that is needed, edit /etc/modules and add the modules
listed here to it:

#----cut here----
# I2C adapter drivers
i2c-ali1535
# I2C chip drivers
lm78
eeprom
#----cut here----

Then, run /etc/init.d/modutils

To make the sensors modules behave correctly, add these lines to /etc/modutils/local and run update-modules:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----
athos:~#

Quoted 2 lines

Also, please provide the output of "i2cdump 0 0x2c" (after unloading lm78, too).

athos:/dev# i2cdump 0 0x2c
Warning: no size specified (using byte-data access)
Error: Could not open file `/dev/i2c-0' : No such device
athos:/dev#

<quote> `/dev/i2c-0' exists in filesystem </quote>

I guess that's all, let me know if I can help you with anything else.

Best regards,
Juan Pedro Pereyra

Signature · 4 lines
Juan Pedro Pereyra <[email protected]>
Ciudad de Buenos Aires, Argentina
athos server @ athos.thesource.com.ar
Linux User  # 344472
#4 lore raw
In reply to Juan Pedro Pereyra
Quoted 3 lines

Ok, but some indicators, like temp, seem to work pretty well and the "i2c-ali1535" makes some sense provided that the k7ada uses an ALI chipset.

i2c-ali1535 is the bus driver and is obviously correct. lm78 is the chip driver and I still believe it's not correct.

We already had two reports of Soyo k7ada users having problems with lm78. A little web search pointed me to an ALi M1647 chip for your board. We don't have support for this. If you can find a data sheet, we may be able to write a driver.

Quoted 6 lines
athos:/dev# i2cdump 0 0x2c
Warning: no size specified (using byte-data access)
Error: Could not open file `/dev/i2c-0' : No such device
athos:/dev#

<quote> `/dev/i2c-0' exists in filesystem </quote>

You need i2c-ali1535 and i2c-dev loaded.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#5 lore raw
In reply to Juan Pedro Pereyra

El Domingo, 1 de Febrero de 2004 13:30, escribi?:

Quoted 11 lines
Quoted 3 lines

Ok, but some indicators, like temp, seem to work pretty well and the "i2c-ali1535" makes some sense provided that the k7ada uses an ALI chipset.

i2c-ali1535 is the bus driver and is obviously correct. lm78 is the chip driver and I still believe it's not correct.

We already had two reports of Soyo k7ada users having problems with lm78. A little web search pointed me to an ALi M1647 chip for your board. We don't have support for this. If you can find a data sheet, we may be able to write a driver.

Ok, the people from ALI sent me one of those, it's the pdf attached.

Quoted 9 lines
Quoted 7 lines
athos:/dev# i2cdump 0 0x2c
Warning: no size specified (using byte-data access)
Error: Could not open file `/dev/i2c-0' : No such device
athos:/dev#

<quote> `/dev/i2c-0' exists in filesystem </quote>

You need i2c-ali1535 and i2c-dev loaded.

ok, here it is:

athos:~# i2cdump 0 0x2c
No size specified (using byte-data access)
  WARNING! This program can confuse your I2C bus, cause data loss and worse!
  I will probe file /dev/i2c-0, address 0x2c, mode byte
  You have five seconds to reconsider and press CTRL-C!
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
10: ff ff ff ff ff 04 00 ff 00 ff ff ff ff ff ff ff    .....?..........
20: cd b7 6b e6 ff ff ff 20 9f ff ff 00 00 00 00 83    ??k?... ?......?
30: 6a 00 80 ff ff ff ff ff ff 78 73 00 00 ff ff 01    j.?......xs....?
40: 01 00 ff 00 ff ff ff 53 2c 00 00 01 04 ff 1f 01    ?......S,..??.??
50: 73 78 ff 04 92 0f 88 00 00 ff 26 00 ff ff ff ff    sx.????...&.....
60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
90: ff ff ff ff ff 04 00 ff 00 ff ff ff ff ff ff ff    .....?..........
a0: cd b7 6b e6 ff ff ff 20 9f ff ff 00 00 00 00 83    ??k?... ?......?
b0: 6a 00 80 ff ff ff ff ff ff 78 73 00 00 ff ff 01    j.?......xs....?
c0: 01 00 ff 00 ff ff ff 53 2c 00 00 01 04 ff 1f 01    ?......S,..??.??
d0: 73 78 ff 04 92 0f 88 00 00 ff 22 00 ff ff ff ff    sx.????...".....
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

athos:~#

Signature · 4 lines
Juan Pedro Pereyra <[email protected]>
Ciudad de Buenos Aires, Argentina
athos server @ athos.thesource.com.ar
Linux User #344472
#6 lore raw
In reply to Juan Pedro Pereyra
Quoted 1 line
Quoted 1 line

Ok, the people from ALI sent me one of those, it's the pdf attached.

Unfortunately it doesn't seem to contain any information about a hardware monitoring component :( I was hoping it would, but can't find anything of value (for us) in the data sheet.

If you had a first contact with ALi, your best chance is to explain to them the situation you're in, with the details, and ask them for details about the hardware monitoring component included in the M1647, if there is one. Basically, if the hardware monitoring chip is really from them and if they can provide a data sheet, then there's a possibility to write a driver. If not, we're mostly doomed :/

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/