Skip to contentSkip to conversation

2.5.69: Tyans S2460 hang with i2c

DISCUSSION Dr. David Alan Gilbert 3 participants 5 messages May 5, 2003 – May 6, 2003

lore
Share & tools
lore
#0 lore raw

Kernel: 2.5.69
Motherboard: Tyan S2460 (Dual Athlon 760MP chipset)

It works fine without i2c, with i2c we hang directly after:

i2c /dev entries module version 2.7.0 (20021208)
registering 0-0048

Other than that it seems a happy kernel,

Dave
---------------- Have a happy GNU millennium! ----------------------

/ Dr. David Alan Gilbert    | Running GNU/Linux on Alpha,68K| Happy  \ 
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/
#1 lore raw
Quoted 7 lines · Dr. David Alan Gilbert

Kernel: 2.5.69
Motherboard: Tyan S2460 (Dual Athlon 760MP chipset)

It works fine without i2c, with i2c we hang directly after:

i2c /dev entries module version 2.7.0 (20021208)
registering 0-0048

What i2c drivers are you trying to load? Are you sure you have the hardware for them? Some of the i2c sensor drivers can hang your box if you load them and you don't have the hardware for them.

And has these i2c drivers ever worked for you before on an older version of 2.5?

thanks,

greg k-h

#2 lore raw
Quoted 4 lines · * Greg KH ([email protected]) wrote:
Quoted 3 lines · Dr. David Alan Gilbert

Kernel: 2.5.69
Motherboard: Tyan S2460 (Dual Athlon 760MP chipset)

Quoted 8 lines
Quoted 4 lines

It works fine without i2c, with i2c we hang directly after:

i2c /dev entries module version 2.7.0 (20021208)
registering 0-0048

What i2c drivers are you trying to load? Are you sure you have the hardware for them? Some of the i2c sensor drivers can hang your box if you load them and you don't have the hardware for them.

Looking back at the objects that were built they are:

./busses/i2c-amd756.o
./chips/adm1021.o
./chips/lm75.o

I guess its a bad thing if they hang if the hardware isn't present - I'd presumed it was possible to build them all and they'd just use which ever are actually present. (How do I know which I've got?)

Quoted 2 lines

And has these i2c drivers ever worked for you before on an older version of 2.5?

Hmm - its a while since I last tried it I think; I'm reasonably sure I've had some working in the past).

Dave

---------------- Have a happy GNU millennium! ----------------------

/ Dr. David Alan Gilbert    | Running GNU/Linux on Alpha,68K| Happy  \ 
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/
#3 lore raw
Quoted 16 lines · Dr. David Alan Gilbert
Quoted 4 lines · * Greg KH ([email protected]) wrote:
Quoted 3 lines · Dr. David Alan Gilbert

Kernel: 2.5.69
Motherboard: Tyan S2460 (Dual Athlon 760MP chipset)

Quoted 8 lines
Quoted 4 lines

It works fine without i2c, with i2c we hang directly after:

i2c /dev entries module version 2.7.0 (20021208)
registering 0-0048

What i2c drivers are you trying to load? Are you sure you have the hardware for them? Some of the i2c sensor drivers can hang your box if you load them and you don't have the hardware for them.

Looking back at the objects that were built they are:

Quoted 7 lines

./busses/i2c-amd756.o
./chips/adm1021.o
./chips/lm75.o

I guess its a bad thing if they hang if the hardware isn't present - I'd presumed it was possible to build them all and they'd just use which ever are actually present. (How do I know which I've got?)

I'd recommend running 2.4 and getting the latest i2c and lmsensors code from the lmsensors web site. Then run the sensors-detect script which will try to safely determine what kind of hardware you have, and what drivers you need.

If after doing that, it says you have the adm1021 and lm75 chips and they work properly on 2.4, please let me know and I'll try to track down what's changed on 2.5.

Hope this helps,

greg k-h

#4 lore raw
Quoted 3 lines · Greg KH

If after doing that, it says you have the adm1021 and lm75 chips and they work properly on 2.4, please let me know and I'll try to track down what's changed on 2.5.

The Tiger MP and MPX need (apart from i2c-dev) w83781d and i2c-amd756. I'm using kernel 2.4.20 with the lm_sensors modules; the w83781d needs a special patch (to recognize two subclients, iirc). The proper init sequence is:
modprobe i2c-dev
modprobe w83781d init=0 force_subclients=0,0x2c,0x4a,0x4b \
motherboard=tyan_s246x
modprobe i2c-amd756

Up till now I've had no luck with kernel 2.5.x, not that I've really tried. Among other problems, I didn't get lm_sensors to compile. This may be fixed by now, but I'm happy with 2.4.20 and haven't got too much time.

MfG, Ulrich

Signature · 2 lines
Heinz Ulrich Stille / Tel.: +49-541-9400463 / Fax: +49-541-9400450
design_d gmbh / Lortzingstr. 2 / 49074 Osnabrück / www.design-d.de