i believe so brian...

debian 3.0 comes with 2.2.20 kernel; i then installed & compiled 2.4.20
kernel under /usr/src/linux and upgraded my system from 2.2.20 to 2.4.20. i
then compiled & installed LiS 2.16.12. finally, i compiled my driver on this
system and try to load it. this is when i get the errors listed. do you see
anything incorrect in this sequence of events? thanks,

gurol
 
-----Original Message-----
From: Brian F. G. Bidulock [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 30, 2003 12:37 AM
To: Gurol Akman
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Linux-streams] dynamically loadable drivers


Gurol,

Did you compile your streams module with the same kernel header files as
you compiled the kernel?

--brian

On Fri, 29 Aug 2003, Gurol Akman wrote:

> 
>    When  I  try  to use 'modprobe' to load my driver, i get the following
>    errors:
> 
> 
> 
>        couldn't find the kernel version the module was compiled for
> 
>        insmod /lib/modules/2.4.20/misc/streams-xyz.o failed
> 
> 
> 
>    1. I've compiled my driver with the -DMODULE and -DMODVERSIONS flags.
> 
>    2.  I  have the init_module() and cleanup_module() calls defined in my
>    driver code.
> 
>    3.  I'm using LiS 2.16.2 under Debian 3.0 with a kernel upgrade (i.e.,
>    2.4.20).
> 
> 
> 
>    Any ideas about what I may be missing or doing wrong? Thanks much,
> 
> 
> 
>    Gurol

-- 
Brian F. G. Bidulock    � The reasonable man adapts himself to the �
[EMAIL PROTECTED]    � world; the unreasonable one persists in  �
http://www.openss7.org/ � trying  to adapt the  world  to himself. �
                        � Therefore  all  progress  depends on the �
                        � unreasonable man. -- George Bernard Shaw �

_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to