From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: Install NetBSD guest on Linux host? Date: Wed, 14 Jun 2006 17:30:54 +0200 Message-ID: <44902BAE.5020703@suse.de> References: <44900077.2080609@suse.de> <7e614166752776455f944ff80b61996d@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <7e614166752776455f944ff80b61996d@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel List-Id: xen-devel@lists.xenproject.org > 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 http://www.suse.de/~kraxel/julika-dora.jpeg