public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* kernek version problem
@ 2005-07-30  8:16 rekha vn
  2005-07-30 10:36 ` Arturas Moskvinas
  0 siblings, 1 reply; 5+ messages in thread
From: rekha vn @ 2005-07-30  8:16 UTC (permalink / raw)
  To: linux-newbie

i have written a small module :



#define MODULE
#include<linux/module.h>
int init_module(){printk("<1>hello world");return 0;}
void cleanup_module(void){printk"<1>bye world");}

it got compiled without errors.when i'm trying to run
it by insmod:
insmod ./hello.o

i got the error message as:
./hello.o :kernel module version mismatch
./hello.o was compiled for kernel version 2.4.20 while
this kernel is version 2.4.21-4.EL

how do i update my kernel?
is there any way to bypass the kernel version
dependencies? 



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: kernek version problem
  2005-07-30  8:16 kernek version problem rekha vn
@ 2005-07-30 10:36 ` Arturas Moskvinas
  2005-07-30 12:14   ` rekha vn
  2005-07-30 12:50   ` kernel " rekha vn
  0 siblings, 2 replies; 5+ messages in thread
From: Arturas Moskvinas @ 2005-07-30 10:36 UTC (permalink / raw)
  To: rekha vn; +Cc: linux-newbie

> is there any way to bypass the kernel version
> dependencies?
Yes there is a way (modprobe --force your_module).

> how do i update my kernel?
What linux distribution do you use? There is different ways to install
kernel sources...

Arturas
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: kernek version problem
  2005-07-30 10:36 ` Arturas Moskvinas
@ 2005-07-30 12:14   ` rekha vn
  2005-07-30 12:50   ` kernel " rekha vn
  1 sibling, 0 replies; 5+ messages in thread
From: rekha vn @ 2005-07-30 12:14 UTC (permalink / raw)
  To: arturas.moskvinas; +Cc: linux-newbie

thanks .i'll try it.i have red hat linux installed .
bye



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: kernel version problem
  2005-07-30 10:36 ` Arturas Moskvinas
  2005-07-30 12:14   ` rekha vn
@ 2005-07-30 12:50   ` rekha vn
  2005-08-01 13:50     ` gautam borad
  1 sibling, 1 reply; 5+ messages in thread
From: rekha vn @ 2005-07-30 12:50 UTC (permalink / raw)
  To: arturas.moskvinas, borad.gautam; +Cc: linux-newbie

i've tried both the methods:

1.modprobe --force ./hello.o
2.-I in gcc (/usr/src/linux/include)

i'm getting "kernel will get tainted" warnings.

anyother better way?
In my /usr/src/ I have two folders one as LINUX and
also LINUX2.4.21-4.EL
how is it possible?
moreover, the LINUX folder has an arrow symbol over
it?what does that mean?



		
__________________________________ 
Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: 
http://tour.mail.yahoo.com/mailtour.html 

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: kernel version problem
  2005-07-30 12:50   ` kernel " rekha vn
@ 2005-08-01 13:50     ` gautam borad
  0 siblings, 0 replies; 5+ messages in thread
From: gautam borad @ 2005-08-01 13:50 UTC (permalink / raw)
  To: rekha vn; +Cc: linux-newbie

Hi Rekha,
          When i said use -l /usr/src/linux/include it does not mean u
have to type "exactly" that, the name of the folder will be different.
Use that name. Besides the arrow thing you are talking about is
actually a soft link (asuming you saw it in ls listing).

Bye       

On 7/30/05, rekha vn <vidiyala_r@yahoo.com> wrote:
> i've tried both the methods:
> 
> 1.modprobe --force ./hello.o
> 2.-I in gcc (/usr/src/linux/include)
> 
> i'm getting "kernel will get tainted" warnings.
> 
> anyother better way?
> In my /usr/src/ I have two folders one as LINUX and
> also LINUX2.4.21-4.EL
> how is it possible?
> moreover, the LINUX folder has an arrow symbol over
> it?what does that mean?
> 
> 
> 
> 
> __________________________________
> Yahoo! Mail
> Stay connected, organized, and protected. Take the tour:
> http://tour.mail.yahoo.com/mailtour.html
> 
> 


-- 

---------------------------------------
We would change the world....
but GOD wont give the source!!
---------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-01 13:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-30  8:16 kernek version problem rekha vn
2005-07-30 10:36 ` Arturas Moskvinas
2005-07-30 12:14   ` rekha vn
2005-07-30 12:50   ` kernel " rekha vn
2005-08-01 13:50     ` gautam borad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox