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] Install NetBSD guest on Linux host?

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Install NetBSD guest on Linux host?
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Wed, 14 Jun 2006 17:30:54 +0200
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 14 Jun 2006 08:31:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <7e614166752776455f944ff80b61996d@xxxxxxxxxxxx>
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>
References: <44900077.2080609@xxxxxxx> <7e614166752776455f944ff80b61996d@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (X11/20060317)
> You can't run a debug build of Xen because we steal bit 11 of PTEs to
> indicate grant-table mappings. But that bit is actually used by NetBSD.

Ah, ok.  A non-debug build boots netbsd much better and the install
actually starts ;)

Now the kernel crashes when the installer attempts to write the
disklabel :-(

Guess there is something wrong with the disk configuration.

I tries first with
  disk = [ 'phy:xen/netbsd,wd0d,w' ];

which I picked from the xen2 netbsd howto.  Building the domain fails,
xend gives me this:

[2006-06-14 17:24:28 xend] ERROR (xmlrpclib2:124) int argument required
Traceback (most recent call last):
  File "/usr/lib/python/xen/util/xmlrpclib2.py", line 103, in
_marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
    return func(*params)
  File "/usr/lib/python/xen/xend/server/XMLRPCServer.py", line 63, in
domain_create
    info = XendDomain.instance().domain_create(config)
  File "/usr/lib/python/xen/xend/XendDomain.py", line 227, in domain_create
    dominfo = XendDomainInfo.create(config)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 183, in create
    vm.initDomain()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1233, in
initDomain
    self.createDevices()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1393, in
createDevices
    self.createDevice(n, c)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1009, in
createDevice
    return self.getDeviceController(deviceClass).createDevice(devconfig)
  File "/usr/lib/python/xen/xend/server/DevController.py", line 80, in
createDevice
    (devid, back, front) = self.getDeviceDetails(config)
  File "/usr/lib/python/xen/xend/server/blkif.py", line 59, in
getDeviceDetails
    front = { 'virtual-device' : "%i" % devid }
TypeError: int argument required


Now I have
  disk = [ 'phy:xen/netbsd,0,w' ];

which I think isn't correct too, but it boots the guest at least ...

cheers,
  Gerd


-- 
Gerd Hoffmann <kraxel@xxxxxxx>
http://www.suse.de/~kraxel/julika-dora.jpeg

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>