All of lore.kernel.org
 help / color / mirror / Atom feed
* [reiser4] can't build as module with reiser4-for-2.6.17-rc4-mm1-1.patch
@ 2006-05-19 20:52 Laurent Riffard
  2006-05-19 21:37 ` Vladimir V. Saveliev
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Riffard @ 2006-05-19 20:52 UTC (permalink / raw)
  To: reiserfs-list


[-- Attachment #1.1: Type: text/plain, Size: 1417 bytes --]

Hello,

I just downloaded reiser4-for-2.6.17-rc4-mm1-1.patch and gave it a try.
It seems that reiser4 won't build cleanly as a module.

>   CC [M]  fs/reiser4/plugin/regular.o
>   LD [M]  fs/reiser4/reiser4.o
>   CC      drivers/base/class.o
>   LD      drivers/base/built-in.o
>   LD      drivers/built-in.o
>   GEN     .version
>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
>   KSYM    .tmp_kallsyms1.S
>   AS      .tmp_kallsyms1.o
>   LD      .tmp_vmlinux2
>   KSYM    .tmp_kallsyms2.S
>   AS      .tmp_kallsyms2.o
>   LD      vmlinux
>   SYSMAP  System.map
>   SYSMAP  .tmp_System.map
>   AS      arch/i386/boot/setup.o
>   LD      arch/i386/boot/setup
>   OBJCOPY arch/i386/boot/compressed/vmlinux.bin
>   GZIP    arch/i386/boot/compressed/vmlinux.bin.gz
>   LD      arch/i386/boot/compressed/piggy.o
>   LD      arch/i386/boot/compressed/vmlinux
>   OBJCOPY arch/i386/boot/vmlinux.bin
>   BUILD   arch/i386/boot/bzImage
> Root device is (254, 4)
> Boot sector 512 bytes.
> Setup is 7183 bytes.
> System is 1309 kB
> Kernel: arch/i386/boot/bzImage is ready  (#6)
>   Building modules, stage 2.
>   MODPOST
> WARNING: "__copy_from_user_ll_nocache" [fs/reiser4/reiser4.ko] undefined!
>   LD [M]  fs/reiser4/reiser4.ko

The attached patch solved it.
~~
laurent


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: export_symbol__copy_from_user_ll_nocache.patch --]
[-- Type: text/x-patch; name="export_symbol__copy_from_user_ll_nocache.patch", Size: 612 bytes --]

reiser4 needs __copy_from_user_ll_nocache when built as a module.

Signed-off-by: Laurent Riffard <laurent.riffard@free.fr>
---
 arch/i386/lib/usercopy.c |    1 +
 1 files changed, 1 insertion(+)

Index: linux-2.6-mm/arch/i386/lib/usercopy.c
===================================================================
--- linux-2.6-mm.orig/arch/i386/lib/usercopy.c
+++ linux-2.6-mm/arch/i386/lib/usercopy.c
@@ -708,6 +708,7 @@ unsigned long __copy_from_user_ll_nocach
 #endif
 	return n;
 }
+EXPORT_SYMBOL(__copy_from_user_ll_nocache);
 
 /**
  * copy_to_user: - Copy a block of data into user space.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

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

* Re: [reiser4] can't build as module with reiser4-for-2.6.17-rc4-mm1-1.patch
  2006-05-19 20:52 [reiser4] can't build as module with reiser4-for-2.6.17-rc4-mm1-1.patch Laurent Riffard
@ 2006-05-19 21:37 ` Vladimir V. Saveliev
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir V. Saveliev @ 2006-05-19 21:37 UTC (permalink / raw)
  To: Laurent Riffard; +Cc: reiserfs-list

Hello

On Fri, 2006-05-19 at 22:52 +0200, Laurent Riffard wrote:
> Hello,
> 
> I just downloaded reiser4-for-2.6.17-rc4-mm1-1.patch and gave it a try.
> It seems that reiser4 won't build cleanly as a module.
> 
> >   CC [M]  fs/reiser4/plugin/regular.o
> >   LD [M]  fs/reiser4/reiser4.o
> >   CC      drivers/base/class.o
> >   LD      drivers/base/built-in.o
> >   LD      drivers/built-in.o
> >   GEN     .version
> >   CHK     include/linux/compile.h
> >   UPD     include/linux/compile.h
> >   CC      init/version.o
> >   LD      init/built-in.o
> >   LD      .tmp_vmlinux1
> >   KSYM    .tmp_kallsyms1.S
> >   AS      .tmp_kallsyms1.o
> >   LD      .tmp_vmlinux2
> >   KSYM    .tmp_kallsyms2.S
> >   AS      .tmp_kallsyms2.o
> >   LD      vmlinux
> >   SYSMAP  System.map
> >   SYSMAP  .tmp_System.map
> >   AS      arch/i386/boot/setup.o
> >   LD      arch/i386/boot/setup
> >   OBJCOPY arch/i386/boot/compressed/vmlinux.bin
> >   GZIP    arch/i386/boot/compressed/vmlinux.bin.gz
> >   LD      arch/i386/boot/compressed/piggy.o
> >   LD      arch/i386/boot/compressed/vmlinux
> >   OBJCOPY arch/i386/boot/vmlinux.bin
> >   BUILD   arch/i386/boot/bzImage
> > Root device is (254, 4)
> > Boot sector 512 bytes.
> > Setup is 7183 bytes.
> > System is 1309 kB
> > Kernel: arch/i386/boot/bzImage is ready  (#6)
> >   Building modules, stage 2.
> >   MODPOST
> > WARNING: "__copy_from_user_ll_nocache" [fs/reiser4/reiser4.ko] undefined!
> >   LD [M]  fs/reiser4/reiser4.ko
> 
> The attached patch solved it.

Thanks for your help

> ~~
> laurent
> 


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

end of thread, other threads:[~2006-05-19 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-19 20:52 [reiser4] can't build as module with reiser4-for-2.6.17-rc4-mm1-1.patch Laurent Riffard
2006-05-19 21:37 ` Vladimir V. Saveliev

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.