User mode linux- kernel module

User mode linux- kernel module

am 17.07.2010 18:43:59 von ratheesh k

Hi ,

i have ubuntu linux on my 64 bit machine . I have successully built
and up an instance of UML which is 32 bit . I am able to establish
networking also .

I would like to build a simple hello world kernel module on host 64
bit machine , which should be loaded in UML . How do i build the same
?

Thanks,
Ratheesh
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: User mode linux- kernel module

am 18.07.2010 17:54:21 von ratheesh k

root@dasaradham-laptop:/home/fox/workspace#
root@dasaradham-laptop:/home/fox/workspace# make -C
/home/fox/workspace3/linux-2.6.32/ M=3D`pwd` modules ARCH=3Dum
make: Entering directory `/home/fox/workspace3/linux-2.6.32'
CC [M] /home/fox/workspace/hello.o
In file included from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.h:=
13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-generic=
h:13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:54=
,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/fox/workspace/hello.c:2:
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/ptra=
ce.h:43:1:
warning: "HOST_DS" redefined
In file included from
/home/fox/workspace3/linux-2.6.32/arch/um/include/shared/ska s_ptregs.h:=
4,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/ptra=
ce.h:17,
from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.h:=
13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-generic=
h:13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:54=
,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/fox/workspace/hello.c:2:
/home/fox/workspace3/linux-2.6.32/arch/um/include/shared/use r_constants=
h:25:1:
warning: this is the location of the previous definition
In file included from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.h:=
13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-generic=
h:13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:54=
,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/fox/workspace/hello.c:2:
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/ptra=
ce.h:44:1:
warning: "HOST_ES" redefined
In file included from
/home/fox/workspace3/linux-2.6.32/arch/um/include/shared/ska s_ptregs.h:=
4,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/ptra=
ce.h:17,
from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.h:=
13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-generic=
h:13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:54=
,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/fox/workspace/hello.c:2:
/home/fox/workspace3/linux-2.6.32/arch/um/include/shared/use r_constants=
h:27:1:
warning: this is the location of the previous definition
In file included from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.h:=
13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-generic=
h:13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:54=
,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/fox/workspace/hello.c:2:
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/ptra=
ce.h:45:1:
warning: "HOST_FS" redefined
In file included from
/home/fox/workspace3/linux-2.6.32/arch/um/include/shared/ska s_ptregs.h:=
4,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/ptra=
ce.h:17,
from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.h:=
13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-generic=
h:13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:54=
,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/fox/workspace/hello.c:2:
/home/fox/workspace3/linux-2.6.32/arch/um/include/shared/use r_constants=
h:26:1:
warning: this is the location of the previous definition
In file included from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.h:=
13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-generic=
h:13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:54=
,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/fox/workspace/hello.c:2:
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/ptra=
ce.h:46:1:
warning: "HOST_GS" redefined
In file included from
/home/fox/workspace3/linux-2.6.32/arch/um/include/shared/ska s_ptregs.h:=
4,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/ptra=
ce.h:17,
from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.h:=
13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
from
/home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-generic=
h:13,
from
/home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:54=
,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/fox/workspace/hello.c:2:
/home/fox/workspace3/linux-2.6.32/arch/um/include/shared/use r_constants=
h:28:1:
warning: this is the location of the previous definition
In file included from include/linux/bitmap.h:8,
from include/linux/nodemask.h:95,
from include/linux/mmzone.h:16,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /home/fox/workspace/hello.c:2:
include/linux/string.h:101: warning: conflicting types for built-in
function =91__builtin_memcmp=92
In file included from include/net/sock.h:60,
from include/linux/tcp.h:177,
from /home/fox/workspace/hello.c:9:
include/net/dst.h: In function =91dst_hold=92:
include/net/dst.h:157: error: negative width in bit-field =91 >=92
make[1]: *** [/home/fox/workspace/hello.o] Error 1
make: *** [_module_/home/fox/workspace] Error 2
make: Leaving directory `/home/fox/workspace3/linux-2.6.32'
root@dasaradham-laptop:/home/fox/workspace#





On Sat, Jul 17, 2010 at 10:13 PM, ratheesh k w=
rote:
> Hi ,
>
> =A0i have ubuntu linux =A0on my 64 bit machine . I have successully b=
uilt
> and =A0up an instance of UML =A0which is 32 bit . I am able to establ=
ish
> networking also .
>m
> =A0I would like to build a simple hello world kernel module on host 6=
4
> bit machine , which should be loaded in UML . How do i build the same
> ?
>
> Thanks,
> Ratheesh
>
--
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

Re: User mode linux- kernel module

am 19.07.2010 05:42:40 von ratheesh k

Below command works fine .

make -C /home/fox/workspace3/linux-2.6.32/ M=3D`pwd` modules ARCH=3Dum
SUBARCH=3Di386



On Sun, Jul 18, 2010 at 9:24 PM, ratheesh k wr=
ote:
> root@dasaradham-laptop:/home/fox/workspace#
> root@dasaradham-laptop:/home/fox/workspace# make =A0-C
> /home/fox/workspace3/linux-2.6.32/ M=3D`pwd` modules ARCH=3Dum
> make: Entering directory `/home/fox/workspace3/linux-2.6.32'
> =A0CC [M] =A0/home/fox/workspace/hello.o
> In file included from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.=
h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-gener=
ic.h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:=
54,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/prefetch.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/list.h:6,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/module.h:9,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from /home/fox/workspace/hello.c:2:
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/pt=
race.h:43:1:
> warning: "HOST_DS" redefined
> In file included from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/shared/ska s_ptregs.=
h:4,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/pt=
race.h:17,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.=
h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-gener=
ic.h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:=
54,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/prefetch.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/list.h:6,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/module.h:9,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from /home/fox/workspace/hello.c:2:
> /home/fox/workspace3/linux-2.6.32/arch/um/include/shared/use r_constan=
ts.h:25:1:
> warning: this is the location of the previous definition
> In file included from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.=
h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-gener=
ic.h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:=
54,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/prefetch.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/list.h:6,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/module.h:9,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from /home/fox/workspace/hello.c:2:
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/pt=
race.h:44:1:
> warning: "HOST_ES" redefined
> In file included from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/shared/ska s_ptregs.=
h:4,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/pt=
race.h:17,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.=
h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-gener=
ic.h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:=
54,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/prefetch.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/list.h:6,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/module.h:9,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from /home/fox/workspace/hello.c:2:
> /home/fox/workspace3/linux-2.6.32/arch/um/include/shared/use r_constan=
ts.h:27:1:
> warning: this is the location of the previous definition
> In file included from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.=
h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-gener=
ic.h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:=
54,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/prefetch.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/list.h:6,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/module.h:9,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from /home/fox/workspace/hello.c:2:
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/pt=
race.h:45:1:
> warning: "HOST_FS" redefined
> In file included from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/shared/ska s_ptregs.=
h:4,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/pt=
race.h:17,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.=
h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-gener=
ic.h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:=
54,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/prefetch.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/list.h:6,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/module.h:9,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from /home/fox/workspace/hello.c:2:
> /home/fox/workspace3/linux-2.6.32/arch/um/include/shared/use r_constan=
ts.h:26:1:
> warning: this is the location of the previous definition
> In file included from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.=
h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-gener=
ic.h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:=
54,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/prefetch.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/list.h:6,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/module.h:9,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from /home/fox/workspace/hello.c:2:
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/pt=
race.h:46:1:
> warning: "HOST_GS" redefined
> In file included from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/shared/ska s_ptregs.=
h:4,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/shared/ sysdep/pt=
race.h:17,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/ptrace -generic.=
h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/ptr ace.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/include/asm/proces sor-gener=
ic.h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from
> /home/fox/workspace3/linux-2.6.32/arch/um/sys-x86_64/asm/pro cessor.h:=
54,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/prefetch.h:14,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/list.h:6,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/module.h:9,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from /home/fox/workspace/hello.c:2:
> /home/fox/workspace3/linux-2.6.32/arch/um/include/shared/use r_constan=
ts.h:28:1:
> warning: this is the location of the previous definition
> In file included from include/linux/bitmap.h:8,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/nodemask.h:95,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/mmzone.h:16,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/gfp.h:4,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/kmod.h:22,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/module.h:13,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from /home/fox/workspace/hello.c:2:
> include/linux/string.h:101: warning: conflicting types for built-in
> function =91__builtin_memcmp=92
> In file included from include/net/sock.h:60,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from include/linux/tcp.h:177,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from /home/fox/workspace/hello.c:9:
> include/net/dst.h: In function =91dst_hold=92:
> include/net/dst.h:157: error: negative width in bit-field =91 us>=92
> make[1]: *** [/home/fox/workspace/hello.o] Error 1
> make: *** [_module_/home/fox/workspace] Error 2
> make: Leaving directory `/home/fox/workspace3/linux-2.6.32'
> root@dasaradham-laptop:/home/fox/workspace#
>
>
>
>
>
> On Sat, Jul 17, 2010 at 10:13 PM, ratheesh k =
wrote:
>> Hi ,
>>
>> =A0i have ubuntu linux =A0on my 64 bit machine . I have successully =
built
>> and =A0up an instance of UML =A0which is 32 bit . I am able to estab=
lish
>> networking also .
>>m
>> =A0I would like to build a simple hello world kernel module on host =
64
>> bit machine , which should be loaded in UML . How do i build the sam=
e
>> ?
>>
>> Thanks,
>> Ratheesh
>>
>
--
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