Hi all, Has anyone managed to get CentOS 6 domU (i.e. guest) working on a Debian 6 do0? Both OS''s are 32bit and I''m running XEN 4.0.1 with HVM support. A CentOS 5.6 domU works fine on this very same server though. When I start CentOS 6, I get the following error: newusaxen:~# xm create -c /xen/genocide.cfg Using config file "/xen/genocide.cfg". xenconsole: Could not read tty from store: No such file or directory newusaxen:~# Error: Domain ''genocide'' does not exist. I have googled this, but couldn''t find anything related to CentOS 6, so I presume it''s still fairly new? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2011-Sep-08 09:31 UTC
Re: [Xen-users] CentOS 6 domU on Debian 6 dom0 not working
On Thu, Sep 8, 2011 at 10:43 AM, Christian Motschke <christian@motschke.de> wrote:> Hi, > > Am 08.09.2011 um 09:53 schrieb Rudi Ahlers: > >> Hi all, >> >> Has anyone managed to get CentOS 6 domU (i.e. guest) working on a Debian 6 do0? > I never tried CentOS. >> >> Both OS''s are 32bit and I''m running XEN 4.0.1 with HVM support. >> >> >> A CentOS 5.6 domU works fine on this very same server though. >> >> When I start CentOS 6, I get the following error: >> >> newusaxen:~# xm create -c /xen/genocide.cfg >> Using config file "/xen/genocide.cfg". >> xenconsole: Could not read tty from store: No such file or directory >> newusaxen:~# Error: Domain ''genocide'' does not exist. > > This is a HVM DomU? Maybe the qemu log has some hints (/var/log/xen/qemu-dm-*.log)? >Yes, it''s a HVM domU. After checking /var/log/xen/qemu-dm-genocide.log I got the following error: newusaxen:~# tail -f /var/log/xen/qemu-dm-genocide.log domid: 9 -c config qemu network with xen bridge for tap9.0 xenbr0 bridge xenbr0 does not exist! /etc/xen/scripts/qemu-ifup: could not launch network script Could not initialize device ''tap'' ^C Some googl''ing suggest that Debian Squeeze doesn''t use xenbr0 as bridge anymore, but eth0 instead. So I edit the genocide.cfg file and append the vif entry with "bridge=eth0". So now it starts up, but I can''t ping the VPS, nor can it ping anything from within the VPS. The instructions I followed are here: http://wiki.debian.org/Xen And it''s a bit unclear as to why there''s no xenbr0 bridge device. So now I need to figure out how to either add a xenbr0 bridge (the tutorials I got so far are for Debian Lenny, so I don''t know if they''ll work, and if it will break anything), or why networking doesn''t when using eth0 as a bridge. Has anyone gone down the road yet? What is the correct fix / approach to get HVM guests to have full networking? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christian Motschke
2011-Sep-08 09:44 UTC
Re: [Xen-users] CentOS 6 domU on Debian 6 dom0 not working
Am 08.09.2011 um 11:31 schrieb Rudi Ahlers:> On Thu, Sep 8, 2011 at 10:43 AM, Christian Motschke > <christian@motschke.de> wrote: >> Hi, >> >> Am 08.09.2011 um 09:53 schrieb Rudi Ahlers: >> >>> Hi all, >>> >>> Has anyone managed to get CentOS 6 domU (i.e. guest) working on a Debian 6 do0? >> I never tried CentOS. >>> >>> Both OS''s are 32bit and I''m running XEN 4.0.1 with HVM support. >>> >>> >>> A CentOS 5.6 domU works fine on this very same server though. >>> >>> When I start CentOS 6, I get the following error: >>> >>> newusaxen:~# xm create -c /xen/genocide.cfg >>> Using config file "/xen/genocide.cfg". >>> xenconsole: Could not read tty from store: No such file or directory >>> newusaxen:~# Error: Domain ''genocide'' does not exist. >> >> This is a HVM DomU? Maybe the qemu log has some hints (/var/log/xen/qemu-dm-*.log)? >> > > > Yes, it''s a HVM domU. After checking > /var/log/xen/qemu-dm-genocide.log I got the following error: > > newusaxen:~# tail -f /var/log/xen/qemu-dm-genocide.log > domid: 9 > -c config qemu network with xen bridge for > tap9.0 xenbr0 > bridge xenbr0 does not exist! > /etc/xen/scripts/qemu-ifup: could not launch network script > Could not initialize device ''tap'' > ^C > > > > > Some googl''ing suggest that Debian Squeeze doesn''t use xenbr0 as > bridge anymore, but eth0 instead. > > > So I edit the genocide.cfg file and append the vif entry with > "bridge=eth0". So now it starts up, but I can''t ping the VPS, nor can > it ping anything from within the VPS. > > > > > The instructions I followed are here: http://wiki.debian.org/Xen > > > And it''s a bit unclear as to why there''s no xenbr0 bridge device. > > > So now I need to figure out how to either add a xenbr0 bridge (the > tutorials I got so far are for Debian Lenny, so I don''t know if > they''ll work, and if it will break anything), or why networking > doesn''t when using eth0 as a bridge. > >I create the bridges in the Dom0 at boot. Put the following in your /etc/network/interfaces auto br0 iface br0 inet static address 192.168.42.10 netmask 255.255.255.0 network 192.168.42.0 broadcast 192.168.42.255 gateway 192.168.42.1 bridge_ports eth0 bridge_stp off bridge_maxwait 5 The edit the DomU config accordingly: vif = [ ''mac=00:16:1E:1E:1E:1E, bridge=br0'' ] And in /etc/xen/xend-config.sxp: #(network-script network-bridge) (network-script /bin/true)> > > Has anyone gone down the road yet? > What is the correct fix / approach to get HVM guests to have full networking? > > > -- > Kind Regards > Rudi Ahlers > SoftDux > > Website: http://www.SoftDux.com > Technical Blog: http://Blog.SoftDux.com > Office: 087 805 9573 > Cell: 082 554 7532 > > _______________________________________________ > 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
Rudi Ahlers
2011-Sep-08 10:10 UTC
Re: [Xen-users] CentOS 6 domU on Debian 6 dom0 not working
On Thu, Sep 8, 2011 at 11:44 AM, Christian Motschke <christian@motschke.de> wrote:> >> > I create the bridges in the Dom0 at boot. Put the following in your /etc/network/interfaces > > auto br0 > iface br0 inet static > address 192.168.42.10 > netmask 255.255.255.0 > network 192.168.42.0 > broadcast 192.168.42.255 > gateway 192.168.42.1 > bridge_ports eth0 > bridge_stp off > bridge_maxwait 5 > > The edit the DomU config accordingly: > > vif = [ ''mac=00:16:1E:1E:1E:1E, bridge=br0'' ] > > And in /etc/xen/xend-config.sxp: > > #(network-script network-bridge) > (network-script /bin/true) >Thanx, I got a post on the web with something similar (look here: http://www.medengineers.com/blog/?p=170) but this guy uses DHCP and I don''t use DHCP. So, my question to you is: Does xenbr0 actually need an IP address? Looking at all our CentOS servers, none of them has an IP address assigned to xenbr0, but I also can''t figure out how / where it''s setup since I just did a "yum install xen xen-kernel" and all of this was setup automatically. -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christian Motschke
2011-Sep-08 10:52 UTC
Re: [Xen-users] CentOS 6 domU on Debian 6 dom0 not working
Am 08.09.2011 um 12:39 schrieb Rudi Ahlers:> On Thu, Sep 8, 2011 at 12:18 PM, Christian Motschke > <christian@motschke.de> wrote: >> Am 08.09.2011 um 12:10 schrieb Rudi Ahlers: >> >>> On Thu, Sep 8, 2011 at 11:44 AM, Christian Motschke >>> <christian@motschke.de> wrote: >>>> >>>>> >>>> I create the bridges in the Dom0 at boot. Put the following in your /etc/network/interfaces >>>> >>>> auto br0 >>>> iface br0 inet static >>>> address 192.168.42.10 >>>> netmask 255.255.255.0 >>>> network 192.168.42.0 >>>> broadcast 192.168.42.255 >>>> gateway 192.168.42.1 >>>> bridge_ports eth0 >>>> bridge_stp off >>>> bridge_maxwait 5 > > > > > thanx, > > How do you actually get the bridge up? Do I need to reboot the > server, or is there another way? > >/etc/init.d/networking restart BTW, I use ifrename (apt-get install ifrename) to rename the real network interfaces. Because when you try different kernel, sometimes eth0 is eth1 and vice versa. That is the content of my /etc/iftab file: (use your real mac addresses) san1 mac 00:11:11:11:11:11 dmz mac 00:22:22:22:22:22 san2 mac 00:33:33:33:33:33 You then use the new interface name in the bridge_ports argument.> -- > Kind Regards > Rudi Ahlers > SoftDux > > Website: http://www.SoftDux.com > Technical Blog: http://Blog.SoftDux.com > Office: 087 805 9573 > Cell: 082 554 7532_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Apparently Analagous Threads
- correct steps to add XEN bridge to Debian squeeze?
- preferred XEN dom0 OS
- Re: unable to access Linux HVM via xm console - Couldnot read tty from store: No such file or directory
- unable to access Linux HVM via xm console - Could not read tty from store: No such file or directory
- Xen3.2 documentation?