Build kernel modules and run it on L4linux

Björn Döbel doebel at os.inf.tu-dresden.de
Wed Feb 19 09:07:15 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19.02.2014 08:52, Irvanda Kurniadi wrote:
> On Wed, Feb 19, 2014 at 12:01 AM, Björn Döbel 
> <doebel at os.inf.tu-dresden.de>wrote:
> 
> 
>> In your case, the module seems to be available, there's just
>> something wrong with it. When you compiled the module, did you
>> configure the correct L4Linux build directory in the Makefile?
> 
> 
> I didn't configure using l4linux build directory. Is it something
> like L4DIR = ../.. ? I just followed the instruction to make kernel
> modules shown in tldp.org. Can you point an example of Makefile to
> to build kernel modules for L4Linux?

The TLDP guide is fine. The point is you cannot copy&paste their
Makefiles, because these will use "/lib/modules/$(shell uname
- -r/build" as the kernel build directory. This however refers to the
Linux kernel on your build machine, not the L4Linux one. Replace this
path with your L4Linux build dir, so that you build a kernel module
for L4Linux and not for your local machine.

Bjoern
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMEZjMACgkQP5ijxgQLUNknWgCdES3axbi3tS97+2RsKIT9Yxfn
BEUAmgMRgstwvypM9djHPkyXa5IvE/dj
=atz9
-----END PGP SIGNATURE-----




More information about the l4-hackers mailing list