WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Building firmware on NetBSD

To: "Pierrick Brossin" <pierrick@xxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] Building firmware on NetBSD
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 3 Oct 2006 15:53:53 +0200
Delivery-date: Tue, 03 Oct 2006 06:57:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061003131709.GJ18911@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acbm7lvd8yBkBA/QTk+SkMvapWB5iwABGpnA
Thread-topic: [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