Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Hotplug scripts not working.
On Friday 19 June 2009 14:33:54 Goran wrote:
> Hi all,
>
> in spite of your help my Xen machine still does not run X-(
>
> After Manuel Bouyer noted that my VM config file had an error I've
> corrected this. So, now at least my VM starts but crashes directly:
>
> # xm create trial.hvm -c
> Using config file "/usr/pkg/etc/xen/trial.hvm".
> [Python warning...]
> Started domain trial
> [Python warning...]
> xenconsole: Could not read tty from store: No such file or directory
That means, that no serial console is configured for the guest.
>
> # xm list
> [Python warning...]
> Name ID Mem VCPUs State Time(s)
> Domain-0 0 256 1 r----- 18.2
> trial 3 128 1 ------ 0.0
>
> The VM trial is up but not running. I've searched about the message from
> xenconsole above and found many things but nothing concerning my
> problem.
>
> Below some files content:
>
>
> Failed to read /local/domain/0/backend/console/2/0/script (No such file
> or directory)
>
> # cat /var/log/xen/xend-debug.log
>
> Shared object "libXt.so.6" not found
>
> # cat /usr/pkg/etc/xen/trial.hvm
> kernel = "/usr/pkg/lib/xen/boot/hvmloader"
> builder = 'hvm'
> memory = 128
> name = "trial"
> device_model = '/usr/pkg/libexec/qemu-dm'
> vif = [ 'type=ioemu, bridge=bridge0' ]
> disk = [ 'file:/var/xen/trial.img,ioemu:hda,w',
> 'file:/var/xen/ubuntu.iso,ioemu:hdc:cdrom,r' ]
> boot = 'd'
Add
serial = 'pty'
and make sure the guest is configured to use the serial console.
Christoph
Home |
Main Index |
Thread Index |
Old Index