From: "Michael Litchard" Subject: Re: Error report from attempt to run an HVM instance Date: Sun, 24 Aug 2008 00:43:01 -0700 Message-ID: <3dc350d00808240043l4e56b54fr3c520a7332ad4b2e@mail.gmail.com> References: <3dc350d00808231122m573b081ck33eaa8a4040ba3d5@mail.gmail.com> <48B06F1E.7040709@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48B06F1E.7040709@gmx.de> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger Cc: xen-devel@lists.xensource.com, port-xen@netbsd.org List-Id: xen-devel@lists.xenproject.org okay the instance is created # /usr/pkg/sbin/xm list Name ID Mem VCPUs State Time(s) Domain-0 0 1024 1 r----- 57.3 hvm-netbsd 1 256 1 r----- 237.2 but when I did a xm create -c I got this error, and again when I tried to attach to the console # /usr/pkg/sbin/xm console hvm-netbsd xenconsole: Could not read tty from store: No such file or directory I'm close. The config file is the same except the changes christoph suggested. What can I do now? On Sat, Aug 23, 2008 at 1:12 PM, Christoph Egger wrote: > Michael Litchard wrote: >> >> Tried to run an HVM instance, here's the error report I got. >> > [...] > >> kernel = "/usr/pkg/lib/xen/boot/hvmloader" >> >> builder='hvm' >> >> # Initial memory allocation (in megabytes) for the new domain. >> memory = 256 >> >> # A name for your domain. All domains must have different names. >> name = "hvm-netbsd" >> >> #Network interface. By default emules a realtek 8139. For a NetBSD guest >> you >> # have to disable re(4) and let rtk attach to use it. >> # ne2k_pci emulates a pci ne2000 clone; this his cpu-hungry in dom0 >> # pcnet emulates a AMD PCnet-PCI controller; but it corrupts packets with >> # pcn(4) under NetBSD. >> #vif = [ 'mac=00:16:3e:00:00:13, bridge=bridge0, type=ioemu, >> model=ne2k_pci' ] >> #vif = [ 'mac=00:16:3e:00:00:13, bridge=bridge0, type=ioemu, model=pcnet' >> ] >> vif = [ 'mac=00:16:3e:00:00:13, bridge=bridge0, type=ioemu' ] >> >> >> #---------------------------------------------------------------------------- >> # device model to use: only qemu-dm available for now >> device_model = '/usr/pkg/libexec/qemu-dm' >> >> # Define the disk devices you want the domain to have access to, and >> # what you want them accessible as. >> # Each disk entry is of the form phy:UNAME,DEV,MODE >> # where UNAME is the device, DEV is the device name the domain will see, >> # and MODE is r for read-only, w for read-write. >> # For hvm domains you can only use hda to hdd. You can set extra types >> # (e.g. cdrom) >> >> disk = [ 'file:/sys/domains/domU3/amd64cd.iso,ioemu:hdc:cdrom,r' ] >> >> disk = ['phy:/dev/wd0i,ioemu:hdb,w'] > > Replace these two disk lines by this: > > disk = [ 'phy:/dev/wd0i,ioemu:hdb,w', > 'file:/sys/domains/domU3/amd64cd.iso,ioemu:hdc:cdrom,r' ] > > Christoph >