linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Unknown symbol vsyscall_end when loading external module
@ 2006-03-01 20:04 John Dykstra
  2006-03-01 22:29 ` Blaisorblade
  0 siblings, 1 reply; 2+ messages in thread
From: John Dykstra @ 2006-03-01 20:04 UTC (permalink / raw)
  To: user-mode-linux-devel

[-- Attachment #1: Type: text/plain, Size: 485 bytes --]

I'm getting this when loading an externally built module:

infinity: Unknown symbol vsyscall_end
infinity: Unknown symbol vsyscall_ehdr

The module uses copy_from_user().  When ARCH=um, copy_from_user() is
defined as inline, and uses FIXADDR_USER_END.  That macro is defined as
VSYSCALL_END, which in turn is defined as vsyscall_end.  However,
there's no EXPORT_SYMBOL(vsyscall_end).

This is in linux-2.6.16-rc4, with Jeff's patch set from last week.

TIA.

  --  John

[-- Attachment #2: Type: text/html, Size: 1160 bytes --]

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

* Re: [uml-devel] Unknown symbol vsyscall_end when loading external module
  2006-03-01 20:04 [uml-devel] Unknown symbol vsyscall_end when loading external module John Dykstra
@ 2006-03-01 22:29 ` Blaisorblade
  0 siblings, 0 replies; 2+ messages in thread
From: Blaisorblade @ 2006-03-01 22:29 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: John Dykstra

On Wednesday 01 March 2006 21:04, John Dykstra wrote:
> I'm getting this when loading an externally built module:
>
> infinity: Unknown symbol vsyscall_end
> infinity: Unknown symbol vsyscall_ehdr
>
> The module uses copy_from_user().  When ARCH=um, copy_from_user() is
> defined as inline, and uses FIXADDR_USER_END.  That macro is defined as
> VSYSCALL_END, which in turn is defined as vsyscall_end.  However,
> there's no EXPORT_SYMBOL(vsyscall_end).

Ok, EXPORT_SYMBOL for both ones should be added, to any suitable file 
(arch/um/kernel/ksyms.c, for instance), and it'll work.

We'll add the patch ASAP, but please remind us.

> This is in linux-2.6.16-rc4, with Jeff's patch set from last week.

> TIA.

>   --  John

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

end of thread, other threads:[~2006-03-01 22:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-01 20:04 [uml-devel] Unknown symbol vsyscall_end when loading external module John Dykstra
2006-03-01 22:29 ` Blaisorblade

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