All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@suse.de>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Install NetBSD guest on Linux host?
Date: Wed, 14 Jun 2006 17:30:54 +0200	[thread overview]
Message-ID: <44902BAE.5020703@suse.de> (raw)
In-Reply-To: <7e614166752776455f944ff80b61996d@cl.cam.ac.uk>

> 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@suse.de>
http://www.suse.de/~kraxel/julika-dora.jpeg

      reply	other threads:[~2006-06-14 15:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14 12:26 Install NetBSD guest on Linux host? Gerd Hoffmann
2006-06-14 12:36 ` Keir Fraser
2006-06-14 15:30   ` Gerd Hoffmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44902BAE.5020703@suse.de \
    --to=kraxel@suse.de \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.