public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.26-pre5: XFS module link errors on PPC
@ 2004-03-23 17:20 Meelis Roos
  2004-03-23 22:17 ` Nathan Scott
  0 siblings, 1 reply; 2+ messages in thread
From: Meelis Roos @ 2004-03-23 17:20 UTC (permalink / raw)
  To: Linux Kernel list

I tried to make enamble a modular XFS on my PPC using current linux-2.4
bitkeeper snaphot. Unfortunately, there are unresolved symbols in xfs
module:

depmod: *** Unresolved symbols in /lib/modules/2.4.26-pre5/kernel/fs/xfs/xfs.o
depmod:         ioremap_bot
depmod:         vmalloc_start

XFS works fine when compiled in statically.

-- 
Meelis Roos (mroos@linux.ee)



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

* Re: 2.4.26-pre5: XFS module link errors on PPC
  2004-03-23 17:20 2.4.26-pre5: XFS module link errors on PPC Meelis Roos
@ 2004-03-23 22:17 ` Nathan Scott
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Scott @ 2004-03-23 22:17 UTC (permalink / raw)
  To: Meelis Roos, paulus; +Cc: Linux Kernel list

On Tue, Mar 23, 2004 at 07:20:05PM +0200, Meelis Roos wrote:
> I tried to make enamble a modular XFS on my PPC using current linux-2.4
> bitkeeper snaphot. Unfortunately, there are unresolved symbols in xfs
> module:
> 
> depmod: *** Unresolved symbols in /lib/modules/2.4.26-pre5/kernel/fs/xfs/xfs.o
> depmod:         ioremap_bot
> depmod:         vmalloc_start
> 
> XFS works fine when compiled in statically.
> 

Looks like XFS is picking them up via VMALLOC_START and VMALLOC_END
which are usually constants, but looks like these map to a couple
of global variables on PPC.  This should fix it, but I haven't got
a machine handy to test with...

cheers.

-- 
Nathan


--- arch/ppc/kernel/ppc_ksyms.c.orig	2004-03-24 09:04:15.000000000 +1100
+++ arch/ppc/kernel/ppc_ksyms.c	2004-03-24 09:07:20.000000000 +1100
@@ -161,6 +161,8 @@
 EXPORT_SYMBOL(_outsl_ns);
 EXPORT_SYMBOL(iopa);
 EXPORT_SYMBOL(mm_ptov);
+EXPORT_SYMBOL(vmalloc_start);
+EXPORT_SYMBOL(ioremap_bot);
 EXPORT_SYMBOL(ioremap);
 #ifdef CONFIG_PTE_64BIT
 EXPORT_SYMBOL(ioremap64);

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

end of thread, other threads:[~2004-03-23 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-23 17:20 2.4.26-pre5: XFS module link errors on PPC Meelis Roos
2004-03-23 22:17 ` Nathan Scott

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