|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] Building firmware on NetBSD
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Pierrick Brossin
> Sent: 03 October 2006 14:17
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] Building firmware on NetBSD
>
> Hey guys,
>
> I am trying to get firmware (hvmloader) to work on NetBSD/XEN 3.0.
>
> I have succesfully built it but it segfaults on _start when I run it.
What do you mean "when I run it"? Hvmloader is not a regular
application, it's a piece of code intended to be loaded by Xen into the
virtual machine and executed there - is that what you're doing, or are
you typing "hvmloader" at the command prompt on the machine - the latter
is almost guaranteed to fail immediately (_start sounds like the first
thing that happens).
As far as I can think, there shouldn't be any difference to this on a
NetBSD or Linux platform, as both use gcc and related tools to build the
binary, and unless something has gone wrong with the link-scripts or
there are bugs in the gcc & friends for NetBSD that generates different
code or the linker locates the code to a different location, I don't see
how the OS that you build hvmloader on would of any matter...
--
Mats
>
> Is anyone skilled enough to help a bit with the asm code ?
> Or maybe someone can give me information.
>
> Thank you for your time
>
>
> -Pierrick Brossin
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|