Skip to contentSkip to conversation

lm_sensors support ticket #1366

DISCUSSION Jean Delvare 1 participant 1 message May 19, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 46 lines
Quoted 9 lines

Thanks a lot for the feedback, it's very appreciated. I fixed the patches in a similar way, I hope the new patches are OK. I also setup a mirror of my installation guide here:
http://delvare.free.fr/i2c/
(You've got some credit there, since you almost wrote the patch yourself.)

Let me know if you need further assistance.

I'm getting a kernel exception:

lirc_dev: lirc_unregister_plugin:plugin lirc_i2c[0] in use!<1>Unable to handle kernel paging request at virtual address e2a37a1c
printing eip:
e297bf12
*pde = 1ea3d067
*pte = 00000000

 Oops: 0000
 CPU:    0
 EIP:    0010:[<e297bf12>]    Tainted: P 
 EFLAGS: 00010296
 eax: c15ab7d8   ebx: e2a379f4   ecx: 00000246   edx: 00000008
 esi: d4cdbfe0   edi: 00000000   ebp: 00000003   esp: d4cdbf5c
 ds: 0018   es: 0018   ss: 0018
 Process lirc_dev (pid: 1702, stackpageÔcdb000)
 Stack: c15ab780 d4cdbfe0 00000000 e29f6040 dc493b40 00000000 d4cdbfa8
 0005295b 
        00000000 c02a4000 d9841080 00000000 00000246 d4cdbfa8 c01162e0
	e29f8190 
        c15ab7d8 d4cdbfb0 00000003 c15f3fc0 d4cdbfe0 0005295b
        e29f419c c15ab780 
      Call Trace:    [<e29f6040>] [<c01162e0>] [<e29f8190>]
      [<e29f419c>] [<e29f6040>]
      [<c01070bf>] [<c01070c8>] [<e29f6040>]

 Code: 8b 43 28 83 78 28 00 0f 84 a1 00 00 00 8b 54 24
 40 0f b7 42 

This is how to reproduce:

modprobe lirc_i2c
/etc/init.d/lirc start
modprobe ivtv
rmmod ivtv

Quoted 5 lines

I'm guessing something bad happens when lirc_i2c tries to unregister the happauge remote (from ivtv), but it's in use by the lircd daemon? If I don't start the lircd daemon, it works fine...

Any hints? Could the problem lie with the ivtv driver?

I use neither ivtv nor lirc, so I don't really know who does what, and I can't test either.

What if you remove MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT from set_use_inc and set_use_dec respectively? That's almost the only idea I have right now, and I don't really have time to work on it.

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