Skip to contentSkip to conversation

Problems with a drivers

DISCUSSION Leopold Palomo Avellaneda 2 participants 3 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

first of all, I'm sorry if I ask a silly question, I'm new in lm-sensors.

I have compiled my own kernel 2.4.21 with two pathes:
- openmosix
- lm_sensor

I'm using debian woody and it's compiled wig gcc 2.95. I'm using the sources lm_sensors 2.8 from debian unstable and i2c too.

My own kernel with openmosix and the i2c modules works well, no problems (As I known by now). I have only a problem with the driver:
w83781d

because it's all the time inicialitzating. I have test to do and init=0, too, but I had a segmentation fault:

e01:~# modprobe w83781d init=0
Segmentation fault

I'm a bit lost and I don't know what to do. Could you help me please?

Best regards,

Leo

#1 lore raw
Quoted 11 lines

I have compiled my own kernel 2.4.21 with two pathes:
- openmosix
- lm_sensor

I'm using debian woody and it's compiled wig gcc 2.95. I'm using the sources lm_sensors 2.8 from debian unstable and i2c too.

My own kernel with openmosix and the i2c modules works well, no problems (As I known by now). I have only a problem with the driver:
w83781d

Quoted 6 lines

because it's all the time inicialitzating. I have test to do and init=0, too, but I had a segmentation fault:

e01:~# modprobe w83781d init=0
Segmentation fault

I'm a bit lost and I don't know what to do. Could you help me please?

Known problem. Reading this page should help:
http://www.ensicaen.ismra.fr/~delvare/devel/i2c/
Basically, you'll want to patch your kernel sources with my i2c patch instead of using Debian's source, so that everyone uses compatible i2c structures.

Strange that debian provides sources for lm_sensors 2.8 through apt and don't patch the kernel as required.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Leopold Palomo Avellaneda

Hi,

first of all thank's for your answer. Finally all is now working.

I think that I did a mistake. I used a vanilla kernel and not a kernel from debian. I did it because I needed to patch with the openmosix patch. So, after when I compiled and used the debian packages with my kernel I found that first I have some problems to compile it (differents i2c.h headers) and after a core dump.

So, as you said, I followed the instruccions and I patch the kernel, althought I use the deb packages of lmsensors and i2c.

Otherwise i have now my cluster running with openmosix and the lmsensors working together (ker2.4.21 and lm 2.8).

Thank's again.

Leo

A Diumenge 28 Setembre 2003 22:45, Jean Delvare va escriure:

Quoted 28 lines

[Resent on your request.]

Quoted 11 lines

I have compiled my own kernel 2.4.21 with two pathes:
- openmosix
- lm_sensor

I'm using debian woody and it's compiled wig gcc 2.95. I'm using the sources lm_sensors 2.8 from debian unstable and i2c too.

My own kernel with openmosix and the i2c modules works well, no problems (As I known by now). I have only a problem with the driver:
w83781d

Quoted 6 lines

because it's all the time inicialitzating. I have test to do and init=0, too, but I had a segmentation fault:

e01:~# modprobe w83781d init=0
Segmentation fault

I'm a bit lost and I don't know what to do. Could you help me please?

Known problem. Reading this page should help:
http://www.ensicaen.ismra.fr/~delvare/devel/i2c/
Basically, you'll want to patch your kernel sources with my i2c patch instead of using Debian's source, so that everyone uses compatible i2c structures.

Strange that debian provides sources for lm_sensors 2.8 through apt and don't patch the kernel as required.