Ron McDowell
2011-Oct-13 16:43 UTC
[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@b6.netbsd.org:/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@lists.xensource.com http://lists.xensource.com/xen-users
Roger Pau Monné
2011-Oct-13 19:45 UTC
Re: [Xen-users] Xen 3.3 NetBSD DOM0: xenconsole: Could not read tty from store: No such file or directory
2011/10/13 Ron McDowell <rcm@fuzzwad.org>:> 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@b6.netbsd.org:/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.You should connect to HVM DomU using VNC. Here is an example of what you should add to your config file: #---------------------------------------------------------------------------- # enable VNC library for graphics, default = 1 vnc=1 #---------------------------------------------------------------------------- # address that should be listened on for the VNC server if vnc is set. # default is to use ''vnc-listen'' setting from # auxbin.xen_configdir() + /xend-config.sxp vnclisten="0.0.0.0" #---------------------------------------------------------------------------- # set password for domain''s VNC console # default is depents on vncpasswd in xend-config.sxp vncpasswd=''XXXXXX'' And then connect to the domain using "vncviewer <ip>:0" (replace 0 with 1, 2, 4... if you have several machines running). Hope this helps, Roger. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ron McDowell
2011-Oct-15 16:57 UTC
Re: [Xen-users] Xen 3.3 NetBSD DOM0: xenconsole: Could not read tty from store: No such file or directory
Roger Pau Monné wrote:> 2011/10/13 Ron McDowell <rcm@fuzzwad.org>: > >> [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@lists.xensource.com http://lists.xensource.com/xen-users
Roger Pau Monné
2011-Oct-17 08:06 UTC
Re: [Xen-users] Xen 3.3 NetBSD DOM0: xenconsole: Could not read tty from store: No such file or directory
> 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 0x5Can 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ron McDowell
2011-Oct-17 15:20 UTC
Re: [Xen-users] Xen 3.3 NetBSD DOM0: xenconsole: Could not read tty from store: No such file or directory
Roger Pau Monné wrote:>> 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'' ] >yes, and also with vif = [ ''bridge=bridge0'' ] vif = [ ''mac=00:16:3e:00:00:01'' ] vif = [ '''' ]>> 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. > >[root@voodoo(NetBSD)]> brconfig bridge0 # on DOM0 bridge0: flags=41<UP,RUNNING> Configuration: priority 32768 hellotime 2 fwddelay 15 maxage 20 ipfilter disabled flags 0x0 Interfaces: tap0 flags=3<LEARNING,DISCOVER> port 6 priority 128 xvif1.0 flags=3<LEARNING,DISCOVER> port 5 priority 128 bge0 flags=3<LEARNING,DISCOVER> port 1 priority 128 Address cache (max cache: 100, timeout: 1200): 00:0d:b9:21:fa:54 bge0 1174 flags=0<> [juju is the DOM0... then I pinged it from a 3rd box...] [root@voodoo(NetBSD)]> tcpdump -v host juju listening on bge0, link-type EN10MB (Ethernet), capture size 96 bytes 10:09:16.994741 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET 10:09:17.999872 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET 10:09:19.000298 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET 10:09:20.000630 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET 10:09:21.001109 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET [...and tried to ssh to it...] 10:14:06.466718 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET 10:14:07.424952 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET 10:14:08.426830 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET 10:14:09.428074 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET 10:14:10.429499 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET [and on DOMU ifconfig and netstat look right...ip address 172.17.9.33/24, default route 172.17.9.1]>> 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@lists.xensource.com >> http://lists.xensource.com/xen-users >> >>-- Ron McDowell San Antonio TX _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Roger Pau Monné
2011-Oct-17 16:23 UTC
Re: [Xen-users] Xen 3.3 NetBSD DOM0: xenconsole: Could not read tty from store: No such file or directory
> yes, and also with > > vif = [ ''bridge=bridge0'' ] > vif = [ ''mac=00:16:3e:00:00:01'' ] > vif = [ '''' ] > > [root@voodoo(NetBSD)]> brconfig bridge0 # on DOM0 > bridge0: flags=41<UP,RUNNING> > > Configuration: > priority 32768 hellotime 2 fwddelay 15 maxage 20 > ipfilter disabled flags 0x0 > Interfaces: > tap0 flags=3<LEARNING,DISCOVER> > port 6 priority 128 > xvif1.0 flags=3<LEARNING,DISCOVER> > port 5 priority 128 > bge0 flags=3<LEARNING,DISCOVER> > port 1 priority 128 > Address cache (max cache: 100, timeout: 1200): > 00:0d:b9:21:fa:54 bge0 1174 flags=0<>This looks fine, DomU interfaces are added to the bridge.> [juju is the DOM0... then I pinged it from a 3rd box...] > > [root@voodoo(NetBSD)]> tcpdump -v host juju > listening on bge0, link-type EN10MB (Ethernet), capture size 96 bytes > 10:09:16.994741 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET > 10:09:17.999872 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET > 10:09:19.000298 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET > 10:09:20.000630 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET > 10:09:21.001109 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET > > [...and tried to ssh to it...] > > 10:14:06.466718 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET > 10:14:07.424952 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET > 10:14:08.426830 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET > 10:14:09.428074 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET > 10:14:10.429499 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NETCould you perform a tcpdump -i bge0 and post the results when you try to ping the machine from the outside, and when you try to ping an outside host form inside the domu? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ron McDowell
2011-Oct-17 18:41 UTC
Re: [Xen-users] Xen 3.3 NetBSD DOM0: xenconsole: Could not read tty from store: No such file or directory
Roger Pau Monné wrote:>> yes, and also with >> >> vif = [ ''bridge=bridge0'' ] >> vif = [ ''mac=00:16:3e:00:00:01'' ] >> vif = [ '''' ] >> >> [root@voodoo(NetBSD)]> brconfig bridge0 # on DOM0 >> bridge0: flags=41<UP,RUNNING> >> >> Configuration: >> priority 32768 hellotime 2 fwddelay 15 maxage 20 >> ipfilter disabled flags 0x0 >> Interfaces: >> tap0 flags=3<LEARNING,DISCOVER> >> port 6 priority 128 >> xvif1.0 flags=3<LEARNING,DISCOVER> >> port 5 priority 128 >> bge0 flags=3<LEARNING,DISCOVER> >> port 1 priority 128 >> Address cache (max cache: 100, timeout: 1200): >> 00:0d:b9:21:fa:54 bge0 1174 flags=0<> >> > > This looks fine, DomU interfaces are added to the bridge. > > >> [juju is the DOM0... then I pinged it from a 3rd box...] >> >> [root@voodoo(NetBSD)]> tcpdump -v host juju >> listening on bge0, link-type EN10MB (Ethernet), capture size 96 bytes >> 10:09:16.994741 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET >> 10:09:17.999872 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET >> 10:09:19.000298 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET >> 10:09:20.000630 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET >> 10:09:21.001109 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET >> >> [...and tried to ssh to it...] >> >> 10:14:06.466718 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET >> 10:14:07.424952 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET >> 10:14:08.426830 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET >> 10:14:09.428074 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET >> 10:14:10.429499 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET >> > > Could you perform a tcpdump -i bge0 and post the results when you try > to ping the machine from the outside, and when you try to ping an > outside host form inside the domu? >cast of characters [all netmasks are /24]: voodoo: DOM0, 172.17.9.38 juju: DOMU, 172.17.9.33 zombie: macbook air that is my desktop box with the vnc session to DOMU and ssh session to DOM0, 172.17.5.4 alix2-e0: default router, 172.17.9.1, wired network alix2-w0: wifi side, 172.17.5.1, only connection is to zombie d430: the outside box, 172.17.9.36 pinging out [d430] from DOMU [juju]: voodoo# tcpdump -i bge0 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on bge0, link-type EN10MB (Ethernet), capture size 96 bytes 13:15:35.663665 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET 13:15:35.663899 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui Unknown) 13:15:35.804971 IP voodoo-e0.FuzzWad.NET.65031 > alix2-e0.FuzzWad.NET.domain: 12889+ PTR? 36.9.17.172.in-addr.arpa. (42) 13:15:35.805830 IP alix2-e0.FuzzWad.NET.domain > voodoo-e0.FuzzWad.NET.65031: 12889* 1/1/1 PTR[|domain] 13:15:35.805955 IP voodoo-e0.FuzzWad.NET.65030 > alix2-e0.FuzzWad.NET.domain: 12890+ PTR? 33.9.17.172.in-addr.arpa. (42) 13:15:35.806657 IP alix2-e0.FuzzWad.NET.domain > voodoo-e0.FuzzWad.NET.65030: 12890* 1/1/1 PTR[|domain] 13:15:36.673680 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET 13:15:36.673914 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui Unknown) 13:15:36.804797 IP voodoo-e0.FuzzWad.NET.65029 > alix2-e0.FuzzWad.NET.domain: 12891+ PTR? 1.9.17.172.in-addr.arpa. (41) 13:15:36.805499 IP alix2-e0.FuzzWad.NET.domain > voodoo-e0.FuzzWad.NET.65029: 12891* 1/1/1 PTR[|domain] 13:15:36.805603 IP voodoo-e0.FuzzWad.NET.65028 > alix2-e0.FuzzWad.NET.domain: 12892+ PTR? 38.9.17.172.in-addr.arpa. (42) 13:15:36.806305 IP alix2-e0.FuzzWad.NET.domain > voodoo-e0.FuzzWad.NET.65028: 12892* 1/1/1 PTR[|domain] 13:15:37.683694 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET 13:15:37.683927 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui Unknown) 13:15:37.804795 IP voodoo-e0.FuzzWad.NET.5901 > zombie.FuzzWad.NET.54422: P 3957151084:3957151104(20) ack 3615361740 win 4197 <nop,nop,timestamp 129095 905335335> 13:15:37.914544 IP zombie.FuzzWad.NET.54422 > voodoo-e0.FuzzWad.NET.5901: . ack 20 win 65535 <nop,nop,timestamp 905335706 129095> 13:15:38.693717 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET 13:15:38.693950 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui Unknown) 13:15:38.804797 IP voodoo-e0.FuzzWad.NET.65027 > alix2-e0.FuzzWad.NET.domain: 12893+ PTR? 4.5.17.172.in-addr.arpa. (41) 13:15:38.805655 IP alix2-e0.FuzzWad.NET.domain > voodoo-e0.FuzzWad.NET.65027: 12893* 1/1/1 PTR[|domain] 13:15:38.815330 IP zombie.FuzzWad.NET.54422 > voodoo-e0.FuzzWad.NET.5901: P 1:11(10) ack 20 win 65535 <nop,nop,timestamp 905335715 129095> 13:15:39.014708 IP voodoo-e0.FuzzWad.NET.5901 > zombie.FuzzWad.NET.54422: . ack 11 win 4197 <nop,nop,timestamp 129097 905335715> 13:15:39.703732 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET 13:15:39.703966 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui Unknown) 13:15:40.713755 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET 13:15:40.713989 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui Unknown) 13:15:41.723767 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET 13:15:41.724001 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui Unknown) ^C 28 packets captured 28 packets received by filter 0 packets dropped by kernel Pinging DOMU [juju] from outside [d430]: voodoo# voodoo# tcpdump -i bge0 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on bge0, link-type EN10MB (Ethernet), capture size 96 bytes 13:18:03.416797 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET 13:18:03.806349 IP voodoo-e0.FuzzWad.NET.65024 > alix2-e0.FuzzWad.NET.domain: 13910+ PTR? 33.9.17.172.in-addr.arpa. (42) 13:18:03.807206 IP alix2-e0.FuzzWad.NET.domain > voodoo-e0.FuzzWad.NET.65024: 13910* 1/1/1 PTR[|domain] 13:18:03.807317 IP voodoo-e0.FuzzWad.NET.65023 > alix2-e0.FuzzWad.NET.domain: 13911+ PTR? 1.9.17.172.in-addr.arpa. (41) 13:18:03.808018 IP alix2-e0.FuzzWad.NET.domain > voodoo-e0.FuzzWad.NET.65023: 13911* 1/1/1 PTR[|domain] 13:18:04.417209 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET 13:18:04.806175 IP voodoo-e0.FuzzWad.NET.65022 > alix2-e0.FuzzWad.NET.domain: 13912+ PTR? 38.9.17.172.in-addr.arpa. (42) 13:18:04.806877 IP alix2-e0.FuzzWad.NET.domain > voodoo-e0.FuzzWad.NET.65022: 13912* 1/1/1 PTR[|domain] 13:18:05.836126 IP voodoo-e0.FuzzWad.NET.5901 > zombie.FuzzWad.NET.54422: P 3957206628:3957206648(20) ack 3615362238 win 4197 <nop,nop,timestamp 129391 905337123> 13:18:05.885190 IP zombie.FuzzWad.NET.54422 > voodoo-e0.FuzzWad.NET.5901: . ack 20 win 65535 <nop,nop,timestamp 905337183 129391> 13:18:06.790471 IP zombie.FuzzWad.NET.54422 > voodoo-e0.FuzzWad.NET.5901: P 1:11(10) ack 20 win 65535 <nop,nop,timestamp 905337192 129391> 13:18:06.806179 IP voodoo-e0.FuzzWad.NET.65021 > alix2-e0.FuzzWad.NET.domain: 13913+ PTR? 4.5.17.172.in-addr.arpa. (41) 13:18:06.807037 IP alix2-e0.FuzzWad.NET.domain > voodoo-e0.FuzzWad.NET.65021: 13913* 1/1/1 PTR[|domain] 13:18:06.986080 IP voodoo-e0.FuzzWad.NET.5901 > zombie.FuzzWad.NET.54422: . ack 11 win 4197 <nop,nop,timestamp 129393 905337192> ^C 14 packets captured 14 packets received by filter 0 packets dropped by kernel -- Ron McDowell San Antonio TX _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Roger Pau Monné
2011-Oct-18 08:14 UTC
Re: [Xen-users] Xen 3.3 NetBSD DOM0: xenconsole: Could not read tty from store: No such file or directory
> [root@voodoo(NetBSD)]> brconfig bridge0 # on DOM0 > bridge0: flags=41<UP,RUNNING> > > Configuration: > priority 32768 hellotime 2 fwddelay 15 maxage 20 > ipfilter disabled flags 0x0 > Interfaces: > tap0 flags=3<LEARNING,DISCOVER> > port 6 priority 128 > xvif1.0 flags=3<LEARNING,DISCOVER> > port 5 priority 128 > bge0 flags=3<LEARNING,DISCOVER> > port 1 priority 128 > Address cache (max cache: 100, timeout: 1200): > 00:0d:b9:21:fa:54 bge0 1174 flags=0<>I haven''t noticed it, but it looks like the bridge is not correctly caching the mac address of the added interfaces, I usually have something like this in the "Address cache" of a bridge: Address cache (max cache: 100, timeout: 1200): 00:16:3e:7c:11:77 xvif8i0 18446744073709551596 flags=0<> 00:16:3e:30:9e:ee vlan2304 18446744073709551471 flags=0<>> cast of characters [all netmasks are /24]: > voodoo: DOM0, 172.17.9.38 > juju: DOMU, 172.17.9.33 > zombie: macbook air that is my desktop box with the vnc session to DOMU and > ssh session to DOM0, 172.17.5.4 > alix2-e0: default router, 172.17.9.1, wired network > alix2-w0: wifi side, 172.17.5.1, only connection is to zombie > d430: the outside box, 172.17.9.36 > > pinging out [d430] from DOMU [juju]: > > voodoo# tcpdump -i bge0 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on bge0, link-type EN10MB (Ethernet), capture size 96 bytes > 13:15:35.663665 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET > 13:15:35.663899 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui > Unknown) > 13:15:35.804971 IP voodoo-e0.FuzzWad.NET.65031 > > alix2-e0.FuzzWad.NET.domain: 12889+ PTR? 36.9.17.172.in-addr.arpa. (42) > 13:15:35.805830 IP alix2-e0.FuzzWad.NET.domain > > voodoo-e0.FuzzWad.NET.65031: 12889* 1/1/1 PTR[|domain] > 13:15:35.805955 IP voodoo-e0.FuzzWad.NET.65030 > > alix2-e0.FuzzWad.NET.domain: 12890+ PTR? 33.9.17.172.in-addr.arpa. (42) > 13:15:35.806657 IP alix2-e0.FuzzWad.NET.domain > > voodoo-e0.FuzzWad.NET.65030: 12890* 1/1/1 PTR[|domain] > 13:15:36.673680 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET > 13:15:36.673914 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui > Unknown) > 13:15:36.804797 IP voodoo-e0.FuzzWad.NET.65029 > > alix2-e0.FuzzWad.NET.domain: 12891+ PTR? 1.9.17.172.in-addr.arpa. (41) > 13:15:36.805499 IP alix2-e0.FuzzWad.NET.domain > > voodoo-e0.FuzzWad.NET.65029: 12891* 1/1/1 PTR[|domain] > 13:15:36.805603 IP voodoo-e0.FuzzWad.NET.65028 > > alix2-e0.FuzzWad.NET.domain: 12892+ PTR? 38.9.17.172.in-addr.arpa. (42) > 13:15:36.806305 IP alix2-e0.FuzzWad.NET.domain > > voodoo-e0.FuzzWad.NET.65028: 12892* 1/1/1 PTR[|domain] > 13:15:37.683694 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET > 13:15:37.683927 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui > Unknown) > 13:15:37.804795 IP voodoo-e0.FuzzWad.NET.5901 > zombie.FuzzWad.NET.54422: P > 3957151084:3957151104(20) ack 3615361740 win 4197 <nop,nop,timestamp 129095 > 905335335> > 13:15:37.914544 IP zombie.FuzzWad.NET.54422 > voodoo-e0.FuzzWad.NET.5901: . > ack 20 win 65535 <nop,nop,timestamp 905335706 129095> > 13:15:38.693717 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET > 13:15:38.693950 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui > Unknown) > 13:15:38.804797 IP voodoo-e0.FuzzWad.NET.65027 > > alix2-e0.FuzzWad.NET.domain: 12893+ PTR? 4.5.17.172.in-addr.arpa. (41) > 13:15:38.805655 IP alix2-e0.FuzzWad.NET.domain > > voodoo-e0.FuzzWad.NET.65027: 12893* 1/1/1 PTR[|domain] > 13:15:38.815330 IP zombie.FuzzWad.NET.54422 > voodoo-e0.FuzzWad.NET.5901: P > 1:11(10) ack 20 win 65535 <nop,nop,timestamp 905335715 129095> > 13:15:39.014708 IP voodoo-e0.FuzzWad.NET.5901 > zombie.FuzzWad.NET.54422: . > ack 11 win 4197 <nop,nop,timestamp 129097 905335715> > 13:15:39.703732 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET > 13:15:39.703966 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui > Unknown) > 13:15:40.713755 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET > 13:15:40.713989 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui > Unknown) > 13:15:41.723767 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET > 13:15:41.724001 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui > Unknown) > ^C > 28 packets captured > 28 packets received by filter > 0 packets dropped by kernel > > Pinging DOMU [juju] from outside [d430]: > > voodoo# voodoo# tcpdump -i bge0 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on bge0, link-type EN10MB (Ethernet), capture size 96 bytes > 13:18:03.416797 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET > 13:18:03.806349 IP voodoo-e0.FuzzWad.NET.65024 > > alix2-e0.FuzzWad.NET.domain: 13910+ PTR? 33.9.17.172.in-addr.arpa. (42) > 13:18:03.807206 IP alix2-e0.FuzzWad.NET.domain > > voodoo-e0.FuzzWad.NET.65024: 13910* 1/1/1 PTR[|domain] > 13:18:03.807317 IP voodoo-e0.FuzzWad.NET.65023 > > alix2-e0.FuzzWad.NET.domain: 13911+ PTR? 1.9.17.172.in-addr.arpa. (41) > 13:18:03.808018 IP alix2-e0.FuzzWad.NET.domain > > voodoo-e0.FuzzWad.NET.65023: 13911* 1/1/1 PTR[|domain] > 13:18:04.417209 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET > 13:18:04.806175 IP voodoo-e0.FuzzWad.NET.65022 > > alix2-e0.FuzzWad.NET.domain: 13912+ PTR? 38.9.17.172.in-addr.arpa. (42) > 13:18:04.806877 IP alix2-e0.FuzzWad.NET.domain > > voodoo-e0.FuzzWad.NET.65022: 13912* 1/1/1 PTR[|domain] > 13:18:05.836126 IP voodoo-e0.FuzzWad.NET.5901 > zombie.FuzzWad.NET.54422: P > 3957206628:3957206648(20) ack 3615362238 win 4197 <nop,nop,timestamp 129391 > 905337123> > 13:18:05.885190 IP zombie.FuzzWad.NET.54422 > voodoo-e0.FuzzWad.NET.5901: . > ack 20 win 65535 <nop,nop,timestamp 905337183 129391> > 13:18:06.790471 IP zombie.FuzzWad.NET.54422 > voodoo-e0.FuzzWad.NET.5901: P > 1:11(10) ack 20 win 65535 <nop,nop,timestamp 905337192 129391> > 13:18:06.806179 IP voodoo-e0.FuzzWad.NET.65021 > > alix2-e0.FuzzWad.NET.domain: 13913+ PTR? 4.5.17.172.in-addr.arpa. (41) > 13:18:06.807037 IP alix2-e0.FuzzWad.NET.domain > > voodoo-e0.FuzzWad.NET.65021: 13913* 1/1/1 PTR[|domain] > 13:18:06.986080 IP voodoo-e0.FuzzWad.NET.5901 > zombie.FuzzWad.NET.54422: . > ack 11 win 4197 <nop,nop,timestamp 129393 905337192> > ^C > 14 packets captured > 14 packets received by filter > 0 packets dropped by kernel>From what I can see, looks like the DomU is able to send packets tothe outside, but the network card is not properly forwarding incoming packets to the xvif interface (probably because it doesn''t have the MAC address of the xvif interface in the address cache). I don''t know what the problem might be, you should try asking the port-xen NetBSD mailing list, maybe tell will be able to shed some light on this issue. Also I don''t have much experience with Xen 3, I''ve always used Xen 4 so I don''t know if there are some bugs related to network configuration. Sorry I cannot be of much help, regards, Roger. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ron McDowell
2011-Oct-21 23:05 UTC
Re: [Xen-users] Xen 3.3 NetBSD DOM0: xenconsole: Could not read tty from store: No such file or directory
Roger Pau Monné wrote:>> [root@voodoo(NetBSD)]> brconfig bridge0 # on DOM0 >> bridge0: flags=41<UP,RUNNING> >> >> Configuration: >> priority 32768 hellotime 2 fwddelay 15 maxage 20 >> ipfilter disabled flags 0x0 >> Interfaces: >> tap0 flags=3<LEARNING,DISCOVER> >> port 6 priority 128 >> xvif1.0 flags=3<LEARNING,DISCOVER> >> port 5 priority 128 >> bge0 flags=3<LEARNING,DISCOVER> >> port 1 priority 128 >> Address cache (max cache: 100, timeout: 1200): >> 00:0d:b9:21:fa:54 bge0 1174 flags=0<> >> > > I haven''t noticed it, but it looks like the bridge is not correctly > caching the mac address of the added interfaces, I usually have > something like this in the "Address cache" of a bridge: > > Address cache (max cache: 100, timeout: 1200): > 00:16:3e:7c:11:77 xvif8i0 18446744073709551596 flags=0<> > 00:16:3e:30:9e:ee vlan2304 18446744073709551471 flags=0<> > > >> cast of characters [all netmasks are /24]: >> voodoo: DOM0, 172.17.9.38 >> juju: DOMU, 172.17.9.33 >> zombie: macbook air that is my desktop box with the vnc session to DOMU and >> ssh session to DOM0, 172.17.5.4 >> alix2-e0: default router, 172.17.9.1, wired network >> alix2-w0: wifi side, 172.17.5.1, only connection is to zombie >> d430: the outside box, 172.17.9.36 >> >> pinging out [d430] from DOMU [juju]: >> >> voodoo# tcpdump -i bge0 >> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode >> listening on bge0, link-type EN10MB (Ethernet), capture size 96 bytes >> 13:15:35.663665 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET >> 13:15:35.663899 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui >> Unknown) >> 13:15:35.804971 IP voodoo-e0.FuzzWad.NET.65031 > >> alix2-e0.FuzzWad.NET.domain: 12889+ PTR? 36.9.17.172.in-addr.arpa. (42) >> 13:15:35.805830 IP alix2-e0.FuzzWad.NET.domain > >> voodoo-e0.FuzzWad.NET.65031: 12889* 1/1/1 PTR[|domain] >> 13:15:35.805955 IP voodoo-e0.FuzzWad.NET.65030 > >> alix2-e0.FuzzWad.NET.domain: 12890+ PTR? 33.9.17.172.in-addr.arpa. (42) >> 13:15:35.806657 IP alix2-e0.FuzzWad.NET.domain > >> voodoo-e0.FuzzWad.NET.65030: 12890* 1/1/1 PTR[|domain] >> 13:15:36.673680 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET >> 13:15:36.673914 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui >> Unknown) >> 13:15:36.804797 IP voodoo-e0.FuzzWad.NET.65029 > >> alix2-e0.FuzzWad.NET.domain: 12891+ PTR? 1.9.17.172.in-addr.arpa. (41) >> 13:15:36.805499 IP alix2-e0.FuzzWad.NET.domain > >> voodoo-e0.FuzzWad.NET.65029: 12891* 1/1/1 PTR[|domain] >> 13:15:36.805603 IP voodoo-e0.FuzzWad.NET.65028 > >> alix2-e0.FuzzWad.NET.domain: 12892+ PTR? 38.9.17.172.in-addr.arpa. (42) >> 13:15:36.806305 IP alix2-e0.FuzzWad.NET.domain > >> voodoo-e0.FuzzWad.NET.65028: 12892* 1/1/1 PTR[|domain] >> 13:15:37.683694 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET >> 13:15:37.683927 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui >> Unknown) >> 13:15:37.804795 IP voodoo-e0.FuzzWad.NET.5901 > zombie.FuzzWad.NET.54422: P >> 3957151084:3957151104(20) ack 3615361740 win 4197 <nop,nop,timestamp 129095 >> 905335335> >> 13:15:37.914544 IP zombie.FuzzWad.NET.54422 > voodoo-e0.FuzzWad.NET.5901: . >> ack 20 win 65535 <nop,nop,timestamp 905335706 129095> >> 13:15:38.693717 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET >> 13:15:38.693950 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui >> Unknown) >> 13:15:38.804797 IP voodoo-e0.FuzzWad.NET.65027 > >> alix2-e0.FuzzWad.NET.domain: 12893+ PTR? 4.5.17.172.in-addr.arpa. (41) >> 13:15:38.805655 IP alix2-e0.FuzzWad.NET.domain > >> voodoo-e0.FuzzWad.NET.65027: 12893* 1/1/1 PTR[|domain] >> 13:15:38.815330 IP zombie.FuzzWad.NET.54422 > voodoo-e0.FuzzWad.NET.5901: P >> 1:11(10) ack 20 win 65535 <nop,nop,timestamp 905335715 129095> >> 13:15:39.014708 IP voodoo-e0.FuzzWad.NET.5901 > zombie.FuzzWad.NET.54422: . >> ack 11 win 4197 <nop,nop,timestamp 129097 905335715> >> 13:15:39.703732 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET >> 13:15:39.703966 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui >> Unknown) >> 13:15:40.713755 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET >> 13:15:40.713989 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui >> Unknown) >> 13:15:41.723767 arp who-has d430-e0.FuzzWad.NET tell juju-e0.FuzzWad.NET >> 13:15:41.724001 arp reply d430-e0.FuzzWad.NET is-at 00:21:70:b7:f0:70 (oui >> Unknown) >> ^C >> 28 packets captured >> 28 packets received by filter >> 0 packets dropped by kernel >> >> Pinging DOMU [juju] from outside [d430]: >> >> voodoo# voodoo# tcpdump -i bge0 >> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode >> listening on bge0, link-type EN10MB (Ethernet), capture size 96 bytes >> 13:18:03.416797 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET >> 13:18:03.806349 IP voodoo-e0.FuzzWad.NET.65024 > >> alix2-e0.FuzzWad.NET.domain: 13910+ PTR? 33.9.17.172.in-addr.arpa. (42) >> 13:18:03.807206 IP alix2-e0.FuzzWad.NET.domain > >> voodoo-e0.FuzzWad.NET.65024: 13910* 1/1/1 PTR[|domain] >> 13:18:03.807317 IP voodoo-e0.FuzzWad.NET.65023 > >> alix2-e0.FuzzWad.NET.domain: 13911+ PTR? 1.9.17.172.in-addr.arpa. (41) >> 13:18:03.808018 IP alix2-e0.FuzzWad.NET.domain > >> voodoo-e0.FuzzWad.NET.65023: 13911* 1/1/1 PTR[|domain] >> 13:18:04.417209 arp who-has juju-e0.FuzzWad.NET tell alix2-e0.FuzzWad.NET >> 13:18:04.806175 IP voodoo-e0.FuzzWad.NET.65022 > >> alix2-e0.FuzzWad.NET.domain: 13912+ PTR? 38.9.17.172.in-addr.arpa. (42) >> 13:18:04.806877 IP alix2-e0.FuzzWad.NET.domain > >> voodoo-e0.FuzzWad.NET.65022: 13912* 1/1/1 PTR[|domain] >> 13:18:05.836126 IP voodoo-e0.FuzzWad.NET.5901 > zombie.FuzzWad.NET.54422: P >> 3957206628:3957206648(20) ack 3615362238 win 4197 <nop,nop,timestamp 129391 >> 905337123> >> 13:18:05.885190 IP zombie.FuzzWad.NET.54422 > voodoo-e0.FuzzWad.NET.5901: . >> ack 20 win 65535 <nop,nop,timestamp 905337183 129391> >> 13:18:06.790471 IP zombie.FuzzWad.NET.54422 > voodoo-e0.FuzzWad.NET.5901: P >> 1:11(10) ack 20 win 65535 <nop,nop,timestamp 905337192 129391> >> 13:18:06.806179 IP voodoo-e0.FuzzWad.NET.65021 > >> alix2-e0.FuzzWad.NET.domain: 13913+ PTR? 4.5.17.172.in-addr.arpa. (41) >> 13:18:06.807037 IP alix2-e0.FuzzWad.NET.domain > >> voodoo-e0.FuzzWad.NET.65021: 13913* 1/1/1 PTR[|domain] >> 13:18:06.986080 IP voodoo-e0.FuzzWad.NET.5901 > zombie.FuzzWad.NET.54422: . >> ack 11 win 4197 <nop,nop,timestamp 129393 905337192> >> ^C >> 14 packets captured >> 14 packets received by filter >> 0 packets dropped by kernel >> > > >From what I can see, looks like the DomU is able to send packets to > the outside, but the network card is not properly forwarding incoming > packets to the xvif interface (probably because it doesn''t have the > MAC address of the xvif interface in the address cache). > > I don''t know what the problem might be, you should try asking the > port-xen NetBSD mailing list, maybe tell will be able to shed some > light on this issue. Also I don''t have much experience with Xen 3, > I''ve always used Xen 4 so I don''t know if there are some bugs related > to network configuration. > > Sorry I cannot be of much help, regards, Roger. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >After much experimenting I have come up with a repeatable way of making this work or fail. It doesn''t make much sense to me... but if I have in my config file ''vcpus = 1'' [or no vcpus designation] everything works fine. If I set vcpus to 2 or 4, the bridge0 does not connect. I tried HVM DOMUs with FreeBSD 8.2 RELEASE, both i386 and amd64, and memory sized at 256m/512m/1024m/2048m as well as 4096m on amd64 only. Anybody have any idea what could be going on here? Again, as background, the hardware is a Dell T110, Quad Core Xeon, 8gb ram, 4x1tb SATA. Dom0 is NetBSD 5.1 RELEASE, and xen 3.3 installed via pkg_add. -- Ron McDowell San Antonio TX _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users