public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Module
@ 2001-01-08 11:57 Sourav Sen
  0 siblings, 0 replies; 4+ messages in thread
From: Sourav Sen @ 2001-01-08 11:57 UTC (permalink / raw)
  To: lkml, kernelnewbies


Hi,
	I am facing problems in loading a module under 2.2.16. The actual
kernel is 2.2.14 and it loads in it without any trouble, but when I run my 
unmodified kernel 2.2.16(I only patched the kdb patch with it and
configured with all kernel hacking options on) and try to do a insmod, it
says that it could not find the kernel the module was compiled for. I put
the CONFIG_MODVERSIONS on(ie, included modversions.h) also included the
specific version.h file. (I declared the __NO_VERSION__ before including
module.h so that it does not  include version.h). But still it does not
work. Any idea whats going wrong?

-sourav    
--------------------------------------------------------------------------------
SOURAV SEN    MSc(Engg.) CSA IISc BANGALORE URL : www2.csa.iisc.ernet.in/~sourav 
ROOM NO : N-78      TEL :(080)309-2454(HOSTEL)          (080)309-2906 (COMP LAB) 
--------------------------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: module
  2001-08-27 22:51 module sacx
@ 2001-08-27 16:04 ` John Levon
  2001-08-27 23:17 ` module Keith Owens
  1 sibling, 0 replies; 4+ messages in thread
From: John Levon @ 2001-08-27 16:04 UTC (permalink / raw)
  To: linux-kernel

On Mon, Aug 27, 2001 at 06:51:49PM -0400, sacx@zebra.sibnet.ro wrote:

> Hi,
> 
> 	I'm trying to comunicate some parameters from kernel to a module.
> 	I define a new function somwhere in kernel and after rebuilding
> the version of my function is something like :
> 
> c027b7f0 function_R__ver_function (# cat /proc/ksyms | grep function)
> (somewhere in *.ver files I can see the correct version)

If you're using module versions, then you need to do the necessary build
stuff correctly.

> P.S. I'm a newbie in kernel hacking and I don't want to disturb you but
> if you can help me ... please answer to my email :)))

In that case you should be reading http://kernelnewbies.org and posting
to kernelnewbies@nl.linux.org

regards
john

-- 
"Premature generalization is the root of all evil."
	- Karl Fogel

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

* module
@ 2001-08-27 22:51 sacx
  2001-08-27 16:04 ` module John Levon
  2001-08-27 23:17 ` module Keith Owens
  0 siblings, 2 replies; 4+ messages in thread
From: sacx @ 2001-08-27 22:51 UTC (permalink / raw)
  To: linux-kernel

Hi,

	I'm trying to comunicate some parameters from kernel to a module.
	I define a new function somwhere in kernel and after rebuilding
the version of my function is something like :

c027b7f0 function_R__ver_function (# cat /proc/ksyms | grep function)
(somewhere in *.ver files I can see the correct version)
And if I want to insert my module in kernel I get an error :
func.o: unresolved symbol function (because of the wrong function version)

Something is wrong, but I don't know what ...

You can help me ?

Best Regards
Adrian Stanila

P.S. I'm a newbie in kernel hacking and I don't want to disturb you but
if you can help me ... please answer to my email :)))



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

* Re: module
  2001-08-27 22:51 module sacx
  2001-08-27 16:04 ` module John Levon
@ 2001-08-27 23:17 ` Keith Owens
  1 sibling, 0 replies; 4+ messages in thread
From: Keith Owens @ 2001-08-27 23:17 UTC (permalink / raw)
  To: sacx; +Cc: linux-kernel

On Mon, 27 Aug 2001 18:51:49 -0400 (EDT), 
<sacx@zebra.sibnet.ro> wrote:
>c027b7f0 function_R__ver_function (# cat /proc/ksyms | grep function)
>P.S. I'm a newbie in kernel hacking and I don't want to disturb you but

Always read the FAQ before asking questions.  You will find this
question answered in the lkml FAQ which appears at the end of every
mail on lkml.


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

end of thread, other threads:[~2001-08-27 23:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-27 22:51 module sacx
2001-08-27 16:04 ` module John Levon
2001-08-27 23:17 ` module Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2001-01-08 11:57 Module Sourav Sen

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