Skip to contentSkip to conversation

Problems using w83781d (v 2.8.0) on Asus CUV4X

DISCUSSION Matthias Heinz 2 participants 6 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

that's what i get, when i try to modprobe the w83781d-module into the kernel. With lm-sensors 2.7.0 it worked.

dmesg:
w83627hf.o version 2.8.0 (20030714)
w83627hf.o: W83627/697 not detected, module not inserted. w83781d.o version 2.8.0 (20030714)
i2c-core.o: driver registered.

Unable to handle kernel NULL pointer dereference at virtual address

00000001
printing eip:
00000001
*pde = 00000000

Oops: 0000
CPU:    0
EIP:    0010:[<00000001>]    Tainted: P
EFLAGS: 00010282
eax: e0af5508   ebx: 00000000   ecx: e0ad8424   edx: de897fa8
esi: e0ad8424   edi: e1d58140   ebp: ffffffea   esp: c9d13ef0
ds: 0018   es: 0018   ss: 0018
Process modprobe.moduti (pid: 8543, stackpage�d13000)
Stack: e0ad547e e0af5508 e1d58140 e1d54000 00000002 00000002 e1d5764d
e1d58140
       e1d57873 e1d5786a c0119682 e1d54060 080ad6f8 00005df4 e1d57b2c
080b1114
       00003a7c 00000060 00000060 00000007 cec34860 c2331000 c2333000
e1d5b000
Call Trace:    [<e0ad547e>] [<e0af5508>] [<e1d58140>] [<e1d5764d>]

[<e1d58140>]
[<e1d57873>] [<e1d5786a>] [<c0119682>] [<e1d54060>] [<e1d57b2c>]
[<e1d54060>]
[<c01073cf>]

Code:  Bad EIP value.

Have you split these modules or where's the problem?

Thanks for answer
Matthias

#1 lore raw

Am Sa, den 18.10.2003 schrieb Jean Delvare um 09:52:

Quoted 6 lines

Have you been patching your the i2c-2.8.0 path as described in our installation guide? (http://www.ensicaen.ismra.fr/~delvare/devel/i2c/)
More generally, how have you been installing lm_sensors?
If you have that possibility, trying 2.8.1 would probably be a good idea (although the structure problem will remain the same, but at least you might escape bugs we have been fixing since).

Thanks for this quick and good help, i've patched the kernel and now i works again :)

Thanks, Thanks, Thanks!

I thought it's a problem just with this module and haven't found any helping document for this.
You really should put a BIG link on the lm-sensors-frontpage

sincerely yours
Matthias

PS: And thanks again, two days of research solved with one little mail... and i don't like to mail the maintainers, you've enough work to do

#2 lore raw
In reply to Matthias Heinz
Quoted 2 lines

Well, the link is mentioned in 4 out of the 6 latest news items, and twice on the download page too. We can't do much more, can we?

Hm, now i've found it... installation guide.
But i thought: I read it one year before, why should i read it again?

You should tell the user, that so much has changed, he should take a look at the installation guide, if the modules fails loading.

And in BIG RED Letters... maybe i've read it and maybe this mail would've never been written and maybe the world turns ... blah ;)

Quoted 4 lines

Anyway, what really should be done is updating the installation guide for 2.8.1, and prepare a patch for submission to the kernel people. Unfortunately, I'm ill these days so I'm not sure I'll have the strength for such a serious work.

hm... somebody should tell the package-maintainers from debian that the i2c-source-package is redundant, when using the kernel patch and that those people who've problems with lm-sensors should try this patch. Hm.

Quoted 4 lines

Sure we don't like very much being asked about things that are documented and linked from our site, but come on, sometimes you don't get it at all and just need a one line advice to go on. As long as it's asked politely, it's OK :)

And i really hate it, to ask. But sometimes i've to disturb you...

Why is lm-sensors not a part of the kernel? Too young and unstable?

#3 lore raw
In reply to Matthias Heinz
Quoted 11 lines

that's what i get, when i try to modprobe the w83781d-module into the kernel. With lm-sensors 2.7.0 it worked.

dmesg:
w83627hf.o version 2.8.0 (20030714)
w83627hf.o: W83627/697 not detected, module not inserted. w83781d.o version 2.8.0 (20030714)
i2c-core.o: driver registered.

Unable to handle kernel NULL pointer dereference at virtual address

00000001

Have you been patching your the i2c-2.8.0 path as described in our installation guide? (http://www.ensicaen.ismra.fr/~delvare/devel/i2c/)
More generally, how have you been installing lm_sensors?
If you have that possibility, trying 2.8.1 would probably be a good idea (although the structure problem will remain the same, but at least you might escape bugs we have been fixing since).

Quoted 1 line

Have you split these modules or where's the problem?

Structure changes between 2.7.0 and 2.8.0 could be at charge there, this is a known problem, documentation is available (see URI right above) and we're working on it.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#4 lore raw
In reply to Matthias Heinz
Quoted 5 lines

Thanks for this quick and good help, i've patched the kernel and now i works again :)

Thanks, Thanks, Thanks!

You're welcome.

Quoted 3 lines

I thought it's a problem just with this module and haven't found any helping document for this.
You really should put a BIG link on the lm-sensors-frontpage

Well, the link is mentioned in 4 out of the 6 latest news items, and twice on the download page too. We can't do much more, can we?

Anyway, what really should be done is updating the installation guide for 2.8.1, and prepare a patch for submission to the kernel people. Unfortunately, I'm ill these days so I'm not sure I'll have the strength for such a serious work.

Quoted 3 lines

PS: And thanks again, two days of research solved with one little mail... and i don't like to mail the maintainers, you've enough work to do

Sure we don't like very much being asked about things that are documented and linked from our site, but come on, sometimes you don't get it at all and just need a one line advice to go on. As long as it's asked politely, it's OK :)

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

Hm, now i've found it... installation guide.
But i thought: I read it one year before, why should i read it again?

Mouahhaha :) I already answered one e-mail today, why should I answer this one? ;)

Quoted 2 lines

You should tell the user, that so much has changed, he should take a look at the installation guide, if the modules fails loading.

I expect the user to come to the news page if anything goes wrong. If the user can't think of that and read 4 lines of English (don't take it personal ;)) that's his/her problem, not our.

Quoted 4 lines

hm... somebody should tell the package-maintainers from debian that the i2c-source-package is redundant, when using the kernel patch and that those people who've problems with lm-sensors should try this patch. Hm.

Distribution-dependant issue, we are not the ones to blame. Unfortunately, the packagers never get it touch with us to discuss and solve that kind of issues (except Axel Thimm, must by why his packages are appreciated and used by a large number of persons). I estimate they have to come to us, not the other way around.

Quoted 1 line

Why is lm-sensors not a part of the kernel? Too young and unstable?

Mostly because it uses procfs a lot, and adding new entries to /proc is, well... prohibited. The core and some drivers have been rewritten to use sysfs instead, you can get them in Linux 2.6.0. The major problem now is that our user-space tools are not aware of the change yet, so you have a very limited usability under 2.6.0. But at least you don't have to play with patches, everything's already included in the kernel sources.

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