Skip to contentSkip to conversation

Complete dead system

DISCUSSION Mark D. Studebaker 2 participants 4 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Translation anybody?
Sounds like his system dies when i2c-i801 is loaded... What were the other sensors modules loaded?

Quoted 35 lines · Rainer Zocholl

[email protected] steht im "readme". Hoffentlich ist das keine groessere Mailingliste ;-)

Problem:

Hardware: MSI MS-6215 MoBo, DVB-s Karten.

Hat im BIOS (V.1.7 )eine Option "Thermal check".
Wenn ich das aktiviere h?ngt die Kiste komplett(!) beim hochfahren und laden des Treibers:

51:58 msi kernel: i2c-core.o: i2c core module
51:58 msi kernel: i2c-i801.o version 2.6.2 (20011118)
51:58 msi kernel: i2c-core.o: adapter SMBus I801 adapter at 0540 registered as adapter 0.
<power off, da nix anderes mehr geht.>
54:26 msi syslogd 1.3-3#33.1: restart.

noch ein Versuch:

54:37 msi kernel: i2c-core.o: i2c core module
54:37 msi kernel: i2c-i801.o version 2.6.2 (20011118)
54:37 msi kernel: i2c-core.o: adapter SMBus I801 adapter at 0540 registered as adapter 0.
<power off, da nix anderes mehr geht.>
57:06 msi syslogd 1.3-3#33.1: restart.

Erst das deaktivieren verhinderte den H?nger.

Was ist das?

Rainer
Rainer---<===> Vertraulich

             //
           //
         <===>--------------ocholl, Kiel, Germany ------------
#1 lore raw

Probably the w83781d is initializing a chip and causing problems.
Does the board documentation say what "Thermal check" means?

- Try loading bus drivers before client drivers, one at a time.
- Then load the video drivers, one at a time, to make sure they aren't the problem (they could be scanning the bus)
- Last, load w83781d
- If w83781d is the problem, try 'modprobe w83781d init=0'.

mds

Quoted 128 lines · Rainer Zocholl

[email protected](Mark D. Studebaker) 11.01.02 22:40

Once upon a time Mark D. Studebaker shaped the electrons to say...

Quoted 10 lines

Translation anybody?

Quoted 8 lines

[email protected] steht im "readme". Hoffentlich ist das keine groessere Mailingliste ;-)

Problem:

Hardware: MSI MS-6215 MoBo, 2 DVB-s Cards.

BIOS (V.1.7 ) Option "Thermal check".

If the "thermal check" in the BIOS is activated the box hangs completly ("is dead") while loading the (ISA?) driver.

Quoted 6 lines
Quoted 6 lines

51:58 msi kernel: i2c-core.o: i2c core module
51:58 msi kernel: i2c-i801.o version 2.6.2 (20011118) 51:58 msi kernel: i2c-core.o: adapter SMBus I801 adapter at 0540 registered as adapter 0.
<power off, da nix anderes mehr geht.>
54:26 msi syslogd 1.3-3#33.1: restart.

another try:

Quoted 5 lines
Quoted 5 lines

54:37 msi kernel: i2c-core.o: i2c core module
54:37 msi kernel: i2c-i801.o version 2.6.2 (20011118) 54:37 msi kernel: i2c-core.o: adapter SMBus I801 adapter at 0540 registered as adapter 0.

<turned power off because no other way out.>

Quoted 6 lines
Quoted 4 lines

57:06 msi syslogd 1.3-3#33.1: restart.

Erst das deaktivieren verhinderte den H?nger.

Sounds like his system dies when i2c-i801 is loaded...

I forget to mention:
IIRC i could read something with "ISA" on the sreen. The problem:
The "screen" is only a TV set and so it is sometimes very hard to read.

Quoted 1 line

What were the other sensors modules loaded?

If the box runs normally it looks like:

msi:/etc/modutils# cat i2c
alias char-major-89 i2c-dev
msi:/etc/init.d# lsmod | grep i2c
i2c-proc                6176   0  [w83781d]
i2c-isa                 1220   0  (unused)
i2c-i810                2536   0  (unused)
i2c-algo-bit            7148   2  [i2c-i810]
i2c-i801                4484   0  (unused)
i2c-core               12352   0  [dvb saa7146_core tuner stv0299 tda8083
SP8870 L64781 VES1820 VES1893 w83781d i2c-pr
oc i2c-isa i2c-algo-bit i2c-i801]
msi:/etc/init.d# lsmod
Module                  Size  Used by
dvb                   233312  34
dvb_frontend            3200   0  [dvb]
dvb_demux              12768   2  [dvb]
saa7146_v4l            15812   0  (unused)
saa7146_core           14496   0  [dvb saa7146_v4l]
tuner                   4324   2
stv0299                 2976   2
tda8083                 2048   0  (unused)
SP8870                  2592   0  (unused)
L64781                  3520   0  (unused)
VES1820                 3360   0  (unused)
VES1893                 3648   0  (unused)
dmxdev                  7444   2  [dvb]
dvb_filter              6976   0  [dvb]
videodev                4672   2  [dvb]
dvb_net                 2960   0  [dvb]
dvbdev                  1856  36  [dvb]
lirc_serial             6624   1
nvram                   3880   0  (unused)
w83781d                17312   0  (unused)
i2c-proc                6176   0  [w83781d]
i2c-isa                 1220   0  (unused)
i2c-i810                2536   0  (unused)
i2c-algo-bit            7148   2  [i2c-i810]
i2c-i801                4484   0  (unused)
i2c-core               12352   0  [dvb saa7146_core tuner stv0299 tda8083
SP8870 L64781 VES1820 VES1893 w83781d i2c-pr
oc i2c-isa i2c-algo-bit i2c-i801]
st                     26420   0  (autoclean) (unused)
usb-storage           100544   0  (unused)
usbcore                53056   1  [usb-storage]
ac97_codec              9632   0  (unused)
rtc                     5784   0  (autoclean)

I don't know where to look to see which modules will be loaded (debian 2.2 with "woody" EXT3, kernel 2.4.17 )

Currently the modules are loaded by an own script:

msi:/etc/init.d# cat modinz
#! /bin/sh
modprobe i2c-i801
modprobe i2c-algo-bit
modprobe i2c-i810
#modprobe eeprom
modprobe i2c-isa
modprobe w83781d
modprobe i810-tco
modprobe i810_rng
modprobe lp
modprobe nvram
modprobe rtc
lsmod

HTH.

Please drop me a CC becaues i'm currently nor subscripted to the list. (Is there a way to do?)

TIA
Rainer

#2 lore raw
In reply to Mark D. Studebaker

Yes you can assume the problem is w83781d.
I assume w83781d is loaded as a module.
You must find the 'modprobe w83781d' commmand so that you can modify it to add init=0. It is probably in /etc/rc.d somewhere, or wherever
the init scripts are for your system.

Quoted 90 lines · Rainer Zocholl

[email protected](Mark D. Studebaker) 13.01.02 14:32

Once upon a time Mark D. Studebaker shaped the electrons to say...

Quoted 35 lines
Quoted 23 lines · Rainer Zocholl

[email protected](Mark D. Studebaker) 13.01.02 11:59

Once upon a time Mark D. Studebaker shaped the electrons to say...

Quoted 3 lines

Probably the w83781d is initializing a chip and causing problems.
Does the board documentation say what "Thermal check" means?

No. There is only another field to say how much the CPU should be reduced to 50%

The exact words are:

AMIBIOS SETUP
Power management setup
"System Thermal" : "ignore" or "Monitor"
"Throttle slow clock ratio: 87,5%...50% 12,5%

Throttle Duty Cycle
This option will determine how much power will be used by the CPU , if the system goes into suspend mode.

Quoted 10 lines
Quoted 5 lines

- Try loading bus drivers before client drivers,
one at a time.

- Then load the video drivers, one at a time, to make sure they aren't the problem (they could be scanning the bus)

Those are loaded as the last. Or what do you mean?

Quoted 2 lines

- Last, load w83781d
- If w83781d is the problem, try 'modprobe w83781d init=0'.

Quoted 7 lines

When a chip driver is loaded, it generally scans every i2c bus which has a driver loaded.
When a new bus driver is loaded, ALL chip drivers already loaded will scan the new bus.
So it is easier to isolate the problem if you load the bus drivers first, then load the chip drivers one at a time. That will help you find which chip driver is the problem.

Tried again.
The good news:
The hang is reproducible!

dmesg says:
...
i2c-core.o: i2c core module
i2c-i801.o version 2.6.2 (20011118)
i2c-core.o: adapter SMBus I801 adapter at 0540 registered as adapter 0. i2c-i801.o: I801 bus detected and initialized
i2c-algo-bit.o: i2c bit algorithm module
i2c-i810.o version 2.6.2 (20011118)
i2c-i810.o: i810/i815 found.
i2c-core.o: adapter I810/I815 I2C Adapter registered as adapter 1. i2c-i810.o: I810/I815 I2C bus initialized
i2c-core.o: adapter I810/I815 DDC Adapter registered as adapter 2. i2c-i810.o: I810/I815 DDC bus initialized
i2c-isa.o version 2.6.2 (20011118)
i2c-core.o: adapter ISA main adapter registered as adapter 3. i2c-isa.o: ISA bus access for i2c modules initialized.
i2c-proc.o version 2.6.1 (20010825)
w83781d.o version 2.6.2 (20011118)
i2c-core.o: driver W83781D sensor driver registered.
i2c-core.o: client [W83627HF chip] registered to adapter [ISA main adapter](pos. 0). i810tco init: failed to reset NO_REBOOT flag, reboot disabled by hardware
i810_rng: RNG not detected
Non-volatile memory driver v1.1
...

If i enable "thermal monitoring" the last line printed on the cosole is:
i2c-core.o: client [W83627HF chip] registered to adapter [ISA main adapter](pos. 0).

So i assume the problem is the w83781d.o ?

I -absolutely- don't know where i should edit the "modprobe w83781d init=0". I don't even know who starts the modules and on what is dependend I know only a "/etc/(modules.conf", but there is no i2c-core, w83627HF etc.

The script i though that was run is not running in this moment, it runs much later.

Rainer

#3 lore raw
In reply to Mark D. Studebaker

[email protected](Mark D. Studebaker) 11.01.02 22:40

Once upon a time Mark D. Studebaker shaped the electrons to say...

Quoted 10 lines

Translation anybody?

Quoted 8 lines

[email protected] steht im "readme". Hoffentlich ist das keine groessere Mailingliste ;-)

Problem:

Hardware: MSI MS-6215 MoBo, 2 DVB-s Cards.

BIOS (V.1.7 ) Option "Thermal check".

If the "thermal check" in the BIOS is activated the box hangs completly ("is dead") while loading the (ISA?) driver.

Quoted 6 lines
Quoted 6 lines

51:58 msi kernel: i2c-core.o: i2c core module
51:58 msi kernel: i2c-i801.o version 2.6.2 (20011118) 51:58 msi kernel: i2c-core.o: adapter SMBus I801 adapter at 0540 registered as adapter 0.
<power off, da nix anderes mehr geht.>
54:26 msi syslogd 1.3-3#33.1: restart.

another try:

Quoted 5 lines
Quoted 5 lines

54:37 msi kernel: i2c-core.o: i2c core module
54:37 msi kernel: i2c-i801.o version 2.6.2 (20011118) 54:37 msi kernel: i2c-core.o: adapter SMBus I801 adapter at 0540 registered as adapter 0.

<turned power off because no other way out.>

Quoted 8 lines
Quoted 4 lines

57:06 msi syslogd 1.3-3#33.1: restart.

Erst das deaktivieren verhinderte den H?nger.

Sounds like his system dies when i2c-i801 is loaded...

I forget to mention:
IIRC i could read something with "ISA" on the sreen. The problem:
The "screen" is only a TV set and so it is sometimes very hard to read.

Quoted 1 line

What were the other sensors modules loaded?

If the box runs normally it looks like:

msi:/etc/modutils# cat i2c
alias char-major-89 i2c-dev
msi:/etc/init.d# lsmod | grep i2c
i2c-proc                6176   0  [w83781d]
i2c-isa                 1220   0  (unused)
i2c-i810                2536   0  (unused)
i2c-algo-bit            7148   2  [i2c-i810]
i2c-i801                4484   0  (unused)
i2c-core               12352   0  [dvb saa7146_core tuner stv0299 tda8083
SP8870 L64781 VES1820 VES1893 w83781d i2c-pr
oc i2c-isa i2c-algo-bit i2c-i801]
msi:/etc/init.d# lsmod
Module                  Size  Used by
dvb                   233312  34
dvb_frontend            3200   0  [dvb]
dvb_demux              12768   2  [dvb]
saa7146_v4l            15812   0  (unused)
saa7146_core           14496   0  [dvb saa7146_v4l]
tuner                   4324   2
stv0299                 2976   2
tda8083                 2048   0  (unused)
SP8870                  2592   0  (unused)
L64781                  3520   0  (unused)
VES1820                 3360   0  (unused)
VES1893                 3648   0  (unused)
dmxdev                  7444   2  [dvb]
dvb_filter              6976   0  [dvb]
videodev                4672   2  [dvb]
dvb_net                 2960   0  [dvb]
dvbdev                  1856  36  [dvb]
lirc_serial             6624   1
nvram                   3880   0  (unused)
w83781d                17312   0  (unused)
i2c-proc                6176   0  [w83781d]
i2c-isa                 1220   0  (unused)
i2c-i810                2536   0  (unused)
i2c-algo-bit            7148   2  [i2c-i810]
i2c-i801                4484   0  (unused)
i2c-core               12352   0  [dvb saa7146_core tuner stv0299 tda8083
SP8870 L64781 VES1820 VES1893 w83781d i2c-pr
oc i2c-isa i2c-algo-bit i2c-i801]
st                     26420   0  (autoclean) (unused)
usb-storage           100544   0  (unused)
usbcore                53056   1  [usb-storage]
ac97_codec              9632   0  (unused)
rtc                     5784   0  (autoclean)

I don't know where to look to see which modules will be loaded (debian 2.2 with "woody" EXT3, kernel 2.4.17 )

Currently the modules are loaded by an own script:

msi:/etc/init.d# cat modinz
#! /bin/sh
modprobe i2c-i801
modprobe i2c-algo-bit
modprobe i2c-i810
#modprobe eeprom
modprobe i2c-isa
modprobe w83781d
modprobe i810-tco
modprobe i810_rng
modprobe lp
modprobe nvram
modprobe rtc
lsmod

HTH.

Please drop me a CC becaues i'm currently nor subscripted to the list. (Is there a way to do?)

TIA
Rainer