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: Ron McDowell <rcm@xxxxxxxxxxx>
Subject: Re: [Xen-users] Xen 3.3 NetBSD DOM0: xenconsole: Could not read tty from store: No such file or directory
From: Roger Pau Monné <roger.pau@xxxxxxxxxxxxx>
Date: Mon, 17 Oct 2011 10:06:27 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 17 Oct 2011 01:08:23 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=4F//gB9Dcdo6NrxO3xHG/UxAzMyPGSIkryhp5lAEl2c=; b=g8/9lPrEfvbYKkq3+2iiwOc0OyXJglPt31ii1YU1hmNexKlE4+XW/ft9IvojcIPawB 3UIfQ4m6D72xb5SUoGyINyGapNGqd69cRWMoedUZmSU/Dd9XoprSdWWiKvJLGQiPs6BS HlA+HMyaEjFJeyX9/Ah8sfYnw+v149hmmZn0Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E99BB61.3050208@xxxxxxxxxxx>
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> <4E99BB61.3050208@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> 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' ]

Have you tried with:

vif = [ 'mac=00:16:3e:00:00:01, bridge=bridge0' ]

> 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


Can you post the output of "brconfig bridge0"? (only the Interfaces
section is fine). Also you could perform a tcpdump of interface bge0,
to see if packets can reach it.

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

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