Re: strange errors with unofficial kernel module

2001-12-09 Thread Andreas Bombe

On Sun, Dec 09, 2001 at 01:23:20PM +0100, Robert Millan wrote:
 
 Hello,
 
 I maintain the plex86 package which includes a custom kernel module I
 provide make-kpkg scripts to build on the users' host.
 
 The module's always worked fine. however, i get this errors when loading
 it:
 
 *** Unresolved symbols in /lib/modules/2.4.16/misc/plex86.o
 
 Warning: loading /lib/modules/2.4.16/misc/plex86.o will taint the kernel:
 no license
 
 Anyone can help? I know the first is something with depmod, but i have no
 further idea.

It should give you the symbols that are unresolved when you try to load
it.  You can use that to find out what's missing.

 For the second, Plex86's license is LGPL. where can i specify it so that
 insmod knows?

It's part of the module information.  In the source, use

MODULE_LICENSE(GPL);

to indicate the license.  The strings have to match exactly, according
to $linuxsrc/include/linux/modules.h there is no LGPL tag.  But LGPL can
count as GPL when linked with GPL code.

-- 
Andreas Bombe [EMAIL PROTECTED]DSA key 0x04880A44


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




strange errors with unofficial kernel module

2001-12-09 Thread Robert Millan

Hello,

I maintain the plex86 package which includes a custom kernel module I
provide make-kpkg scripts to build on the users' host.

The module's always worked fine. however, i get this errors when loading
it:

*** Unresolved symbols in /lib/modules/2.4.16/misc/plex86.o

Warning: loading /lib/modules/2.4.16/misc/plex86.o will taint the kernel:
no license

Anyone can help? I know the first is something with depmod, but i have no
further idea.

For the second, Plex86's license is LGPL. where can i specify it so that
insmod knows?

Thanks

-- 

Robert Millan  Debian GNU/Hurd user
zeratul2 wanadoo eshttp://getyouriso.dyndns.org/

GPG ID C8D6942C
237F 8688 C2E5 BC64 E152  97B4 FB28 D41B C8D6 942C

Free Dmitry Sklyarov!  http://www.freesklyarov.org

Join us in civil disobedience and distribute DeCSS!!

/*efdtt.c Author:  Charles M. Hannum [EMAIL PROTECTED]*/
/*Length:  434 bytes (excluding unnecessary newlines)*/
/*Usage is:  cat title-key scrambled.vob | efdtt clear.vob  */
/*title-key can be read from the DVD by css-auth. (see livid.org)*/
#define m(i)(x[i]^s[i+84])
unsigned char x[5],y,s[2048];main(n){for(read(0,x,5);read(0,s,n=2048);write(1,s
,n))if(s[y=s[13]%8+20]/16%4==1){int i=m(1)17^256+m(0)8,k=m(2)0,j=m(4)17^m(3)9^k
*2-k%8^8,a=0,c=26;for(s[y]-=16;--c;j*=2)a=a*2^i1,i=i/2^j124;for(j=127;++jn
;c=cy)c+=y=i^i/8^i4^i12,i=i8^y17,a^=a14,y=a^a*8^a6,a=a8^y9,k=s
[j],k=7Wo~'G_\216[k7]+2^cr3sfw6v;*k+/n.[k4]*2^k*257/8,s[j]=k^(kk*234)
*6^c+~y;}}



Re: strange errors with unofficial kernel module

2001-12-09 Thread Andreas Bombe
On Sun, Dec 09, 2001 at 01:23:20PM +0100, Robert Millan wrote:
 
 Hello,
 
 I maintain the plex86 package which includes a custom kernel module I
 provide make-kpkg scripts to build on the users' host.
 
 The module's always worked fine. however, i get this errors when loading
 it:
 
 *** Unresolved symbols in /lib/modules/2.4.16/misc/plex86.o
 
 Warning: loading /lib/modules/2.4.16/misc/plex86.o will taint the kernel:
 no license
 
 Anyone can help? I know the first is something with depmod, but i have no
 further idea.

It should give you the symbols that are unresolved when you try to load
it.  You can use that to find out what's missing.

 For the second, Plex86's license is LGPL. where can i specify it so that
 insmod knows?

It's part of the module information.  In the source, use

MODULE_LICENSE(GPL);

to indicate the license.  The strings have to match exactly, according
to $linuxsrc/include/linux/modules.h there is no LGPL tag.  But LGPL can
count as GPL when linked with GPL code.

-- 
Andreas Bombe [EMAIL PROTECTED]DSA key 0x04880A44