David Fishburn writes:

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Varshavchik
Sent: Sunday, November 19, 2006 2:08 PM
To: User discussion about IVTV
Subject: Re: [ivtv-users] lirc_i2c: no version for "lirc_unregister_plugin" found

David Fishburn writes:

>  sudo modprobe lirc_i2c
>  dmesg | tail
> > I get this output: > [ 44.670400] lirc_dev: IR Remote Control driver registered, at major 61 > [ 44.681445] lirc_i2c: no version for "lirc_unregister_plugin" found:
> kernel tainted.

This is a known issue, but does not have anything to do with your other problems.

Earlier this year I sent a quick fix to the makefile to stop it from tainting the kernel. It was so long ago that I forgot if it was lirc's makefile or ivtv's makefile that needed to be fixed. It was a no-brainer fix, but nobody cared.


Hmm, will that address the no version for "lirc_unregister_plugin" found
error?

Yup.

I did a search on your username and did not find any references to this.
I also check the lirc open source page:
http://sourceforge.net/forum/forum.php?forum_id=16771


Any suggestions on where I might find the fix you posted?

Sourceforge's search is crap. I found my original message. It was an lirc makefile fix:

===========================================================================

From: Sam Varshavchik <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Sat, 08 Jul 2006 18:12:13 -0400

Searching the list archives, I find occasional messages going back to 2005 about people wondering why they get their kernel tainted after loading various lirc modules.

I'll skip the excrutiating details. To make a long story short, it looks like there's a very easy way to finally bury this bug, starting with kernel 2.6.17, due to some enhancements in the module build system.

I'll make this short.  My lirc packaging script does this:

==========================================================================

[ unpack, configure, et al ]

# Fix kernel taint due to missing symvers

make -C drivers/lirc_dev

for f in drivers/*/.
do
 test -f drivers/lirc_dev/Modules.symvers || continue
 test -f $f/Modules.symvers || cp drivers/lirc_dev/Modules.symvers 
$f/Modules.symvers
done

make

==========================================================================

Rather than running make right off the bat, first, I manually run make in drivers/lirc_dev. Under 2.6.17 -- and under 2.6.17 only -- modpost creates Modules.symvers in drivers/lirc_dev (this is why I test if Modules.symvers was created, so the whole thing gets ignored when building modules for older kernels). I take it, and copy it to all the other driver directories.

Presto.  No more tainted kernels.

It would be nice if lirc's Makefile gets fixed to take advantage of 2.6.17's modpost, before the 0.8.1 release.



Attachment: pgpcLJ6lTNosj.pgp
Description: PGP signature

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to