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-users

Re: [Xen-users] Xen 3.3 NetBSD DOM0: xenconsole: Could not read tty from

To: Roger Pau Monné <roger.pau@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Xen 3.3 NetBSD DOM0: xenconsole: Could not read tty from store: No such file or directory
From: Ron McDowell <rcm@xxxxxxxxxxx>
Date: Sat, 15 Oct 2011 11:57:05 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 15 Oct 2011 10:00:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAPLaKK5bjF3-iZRV9a6Q9-mrTq9nV-+Nc1ieuZqC__YE1HUd7g@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4E971542.8060008@xxxxxxxxxxx> <CAPLaKK5bjF3-iZRV9a6Q9-mrTq9nV-+Nc1ieuZqC__YE1HUd7g@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
Roger Pau Monné wrote:
2011/10/13 Ron McDowell <rcm@xxxxxxxxxxx>:
[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
You should connect to HVM DomU using VNC. Here is an example of what
you should add to your config file:

Thanks, Roger. I got sidetracked with other problems for a day or so. That indeed does work fine.
Now I've got bridging problems, though.

On my DOM0:

voodoo# cat /etc/ifconfig.bridge0 create
!brconfig $int add bge0 up

voodoo# ifconfig -a bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 capabilities=3f80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
       enabled=0
       address: bc:30:5b:d0:a1:46
media: Ethernet autoselect (1000baseT full-duplex,flowcontrol,rxpause,txpause)
       status: active
       inet 172.17.9.38 netmask 0xffffff00 broadcast 172.17.9.255
       inet6 fe80::be30:5bff:fed0:a146%bge0 prefixlen 64 scopeid 0x1
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33648
       inet 127.0.0.1 netmask 0xff000000
       inet6 ::1 prefixlen 128
       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
bridge0: flags=41<UP,RUNNING> mtu 1500

voodoo# cat /usr/pkg/etc/xen/juju kernel = '/usr/pkg/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = 4096
vcpus = 4
name = 'juju'
vif = [ 'mac=00:16:3e:00:00:01, bridge=bridge0, type=ioemu' ]
device_model = '/usr/pkg/libexec/qemu-dm'
disk = [ 'file:/Xen/Disks/juju0000.img,ioemu:hda,w' ]
boot = 'c'
vnc = 1
vnclisten = '0.0.0.0'
vncpasswd = 'XXXXXX'
vncdisplay = 1

voodoo# xm create /usr/pkg/etc/xen/juju
Using config file "/usr/pkg/etc/xen/juju".
Started domain juju

voodoo# xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 1024 1 r----- 11.0 juju 1 4096 4 -b---- 46.0

voodoo# ifconfig -a bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 capabilities=3f80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
       enabled=0
       address: bc:30:5b:d0:a1:46
media: Ethernet autoselect (1000baseT full-duplex,flowcontrol,rxpause,txpause)
       status: active
       inet 172.17.9.38 netmask 0xffffff00 broadcast 172.17.9.255
       inet6 fe80::be30:5bff:fed0:a146%bge0 prefixlen 64 scopeid 0x1
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33648
       inet 127.0.0.1 netmask 0xff000000
       inet6 ::1 prefixlen 128
       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
bridge0: flags=41<UP,RUNNING> mtu 1500
xvif1.0: flags=8923<UP,BROADCAST,NOTRAILERS,PROMISC,SIMPLEX,MULTICAST> mtu 1500
       capabilities=2800<TCP4CSUM_Tx,UDP4CSUM_Tx>
       enabled=0
       address: 00:16:3e:01:00:01
       inet6 fe80::216:3eff:fe01:1%xvif1.0 prefixlen 64 scopeid 0x4
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
       address: f2:0b:a4:80:47:02
       media: Ethernet autoselect
       inet6 fe80::f00b:a4ff:fe80:4702%tap0 prefixlen 64 scopeid 0x5

The re0 device on the FreeBSD DOMU is set up on 172.17.9.33, everything looks fine there [I can do screenshots if needed] but there's no connectivity, DOM0->DOMU or DOMU->DOM0. Here again, I'm pretty sure it's some little detail I'm missing and just not seeing.

Thanks in advance.

--
Ron McDowell
San Antonio TX



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