[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Xen 3.3 NetBSD DOM0: xenconsole: Could not read tty from store: No such file or directory



Hi Xen-users. Trying to bring up xen 3.3 on a Dell T110 running NetBSD 5.1 amd64 DOM0. I installed the OS from CD, then xentools33 and xenkernel33 with pkg_add, and I got DOM0 working...

[root@voodoo(NetBSD)]> uname -a
NetBSD voodoo 5.1 NetBSD 5.1 (XEN3_DOM0) #0: Sat Nov 6 13:19:24 UTC 2010 builds@xxxxxxxxxxxxx:/home/builds/ab/netbsd-5-1-RELEASE/amd64/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/amd64/compile/XEN3_DOM0 amd64
[root@voodoo(NetBSD)]> xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 1024 1 r----- 25.6
[root@voodoo(NetBSD)]> ls -l /dev/xen*
crw-------  1 root  wheel  143, 0 Oct 11 14:19 /dev/xencons
crw-------  1 root  wheel  141, 0 Oct 11 14:19 /dev/xenevt
[root@voodoo(NetBSD)]> ls -l /etc/rc.d/xen*
-r-xr-xr-x  1 root  wheel   293 Oct 11 15:28 /etc/rc.d/xenbackendd
-r-xr-xr-x  1 root  wheel   629 Oct 11 15:28 /etc/rc.d/xend
-r-xr-xr-x  1 root  wheel  3607 Oct 11 15:28 /etc/rc.d/xendomains


I created a big disk image file with dd...

[root@voodoo(NetBSD)]> ls -l /Xen/Disks/juju.img
-rw-r--r--  1 root  wheel  966367641600 Oct 11 22:40 /Xen/Disks/juju.img


And have my bridge set up...

[root@voodoo(NetBSD)]> cat /etc/ifconfig.bridge0
create
!brconfig $int add bge0 up
[root@voodoo(NetBSD)]> ifconfig bridge0
bridge0: flags=41<UP,RUNNING> mtu 1500

I want to use HVM for transparency [over speed]... but if I use this config file [basic HVM with disk/memory/mac changes...I want to boot and install FreeBSD from the ISO file]...

kernel = "/usr/pkg/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024
name = "juju"
vif = [ 'mac=00:16:3e:xx:xx:xx, bridge=bridge0, type=ioemu' ]
device_model = '/usr/pkg/libexec/qemu-dm'
disk = [ 'file:/Xen/Disks/juju.img,ioemu:hda,w', 'file:/Xen/CDs/FreeBSD-8.2-RELEASE-i386-disc1.iso,ioemu:hdc:cdrom,r' ]
boot='d'
usb=1
usbdevice='tablet'


when I try to create it:

[root@voodoo(NetBSD)]> xm create -c /Xen/Machines/juju.cnf
Using config file "/Xen/Machines/juju.cnf".
Started domain juju
xenconsole: Could not read tty from store: No such file or directory
[root@voodoo(NetBSD)]> xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 1024 1 r----- 16.5 juju 2 1024 1 r----- 16.3
[root@voodoo(NetBSD)]> xm console juju
xenconsole: Could not read tty from store: No such file or directory

I found something online about xenconsoled might not be running...it was not being started but I added it to /etc/rc.local, so it now starts up:

[root@voodoo(NetBSD)]> ps -ax|grep xen
222 ?     I    0:00.60 xenstored --pid-file /var/run/xenstore.pid
223 ? Il 0:00.00 xenconsoled 228 ? I 0:00.00 /usr/pkg/bin/python2.6 /usr/pkg/sbin/xend start
233 ?     Il   0:02.72 /usr/pkg/bin/python2.6 /usr/pkg/sbin/xend start
238 ?     Isl  0:00.01 /usr/pkg/sbin/xenbackendd
2134 ttyp0 S+   0:00.00 grep xen

This DOM0 box is headless and I don't want or need [do I??] X on it.

What am I missing?  Thanks.

--
Ron McDowell
San Antonio TX


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.