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

[Xen-devel] Re: Error report from attempt to run an HVM instance

To: "Christoph Egger" <Christoph_Egger@xxxxxx>
Subject: [Xen-devel] Re: Error report from attempt to run an HVM instance
From: "Michael Litchard" <michael@xxxxxxxxxxx>
Date: Sun, 24 Aug 2008 00:43:01 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, port-xen@xxxxxxxxxx
Delivery-date: Sun, 24 Aug 2008 00:43:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48B06F1E.7040709@xxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <3dc350d00808231122m573b081ck33eaa8a4040ba3d5@xxxxxxxxxxxxxx> <48B06F1E.7040709@xxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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 <Christoph_Egger@xxxxxx> 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
>

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

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