* module
@ 2011-11-09 11:03 Renaud Barbier
2011-11-09 11:21 ` moduleg Sascha Hauer
0 siblings, 1 reply; 6+ messages in thread
From: Renaud Barbier @ 2011-11-09 11:03 UTC (permalink / raw)
To: barebox
Is there any example of running a module with barebox?
Cheers,
Renaud.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: moduleg
2011-11-09 11:03 module Renaud Barbier
@ 2011-11-09 11:21 ` Sascha Hauer
0 siblings, 0 replies; 6+ messages in thread
From: Sascha Hauer @ 2011-11-09 11:21 UTC (permalink / raw)
To: Renaud Barbier; +Cc: barebox
Hi Renaud,
On Wed, Nov 09, 2011 at 11:03:14AM +0000, Renaud Barbier wrote:
> Is there any example of running a module with barebox?
No, currently no example. It's similar to the kernel: enable module
support (depends on experimental), build barebox as usual and do
a make modules afterwards. There currently is no modules_install target,
you have to pick the .ko files manually and transfer them to your board.
Note that you will probably hit some 'undefined' errors, you would have
to add the missing EXPORT_SYMBOLs to some functions.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 6+ 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; 6+ 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] 6+ 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; 6+ 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] 6+ 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; 6+ 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] 6+ messages in thread
* Module
@ 2001-01-08 11:57 Sourav Sen
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
end of thread, other threads:[~2011-11-09 11:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09 11:03 module Renaud Barbier
2011-11-09 11:21 ` moduleg Sascha Hauer
-- strict thread matches above, loose matches on Subject: below --
2001-08-27 22:51 module sacx
2001-08-27 16:04 ` module John Levon
2001-08-27 23:17 ` module Keith Owens
2001-01-08 11:57 Module Sourav Sen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.