Joris Dobbelsteen
2008-Jan-17 14:46 UTC
[Xen-users] Gentoo Xen Control Daemon not starting - problem & resolution
Dear, Since power went down here a few hours ago (rare event in the Netherlands), I noticed that the Xen Control Daemon (xend) did not start using the init script provided with Gentoo 2007.0 and Xen 3.1.2 (from portage). The issue seems that xend is hanging on the network script. The network script was customed to make multiple calls to the "network-bridge", but for different interfaces. One of the calls was to create the bridge "xenbr2" for non-existing interface "eth2". When doing this by hard it worked. However it did cause xend to fail to start. My network script is: ==#!/bin/sh dir=$(dirname "$0") "$dir/network-bridge" "$@" vifnum=0 "$dir/network-bridge" "$@" vifnum=1 "$dir/network-bridge" "$@" vifnum=2 == The interfaces eth0 and eth1 exist, while eth2 does not exist. - Joris _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stefan de Konink
2008-Jan-17 16:04 UTC
Re: [Xen-users] Gentoo Xen Control Daemon not starting - problem & resolution
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Joris Dobbelsteen schreef:> Dear, > > Since power went down here a few hours ago (rare event in the > Netherlands), I noticed that the Xen Control Daemon (xend) did not start > using the init script provided with Gentoo 2007.0 and Xen 3.1.2 (from > portage). The issue seems that xend is hanging on the network script. > > The network script was customed to make multiple calls to the > "network-bridge", but for different interfaces. > One of the calls was to create the bridge "xenbr2" for non-existing > interface "eth2". When doing this by hard it worked. However it did > cause xend to fail to start. > > My network script is: > ==> #!/bin/sh > dir=$(dirname "$0") > "$dir/network-bridge" "$@" vifnum=0 > "$dir/network-bridge" "$@" vifnum=1 > "$dir/network-bridge" "$@" vifnum=2 > ==> > The interfaces eth0 and eth1 exist, while eth2 does not exist.Do you have IPv6 on the interface? Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHj3yOYH1+F2Rqwn0RCi8bAKCFVVQkwRi1Wqd5A8hUCjt9WzExhACbBMqU G1Rk/qi0gFxwujXBLiVYXiU=zP7h -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Joris Dobbelsteen
2008-Jan-17 16:41 UTC
RE: [Xen-users] Gentoo Xen Control Daemon not starting - problem & resolution
>-----Original Message----- >From: Stefan de Konink [mailto:skinkie@xs4all.nl] >Sent: Thursday, 17 January 2008 17:05 >To: Joris Dobbelsteen >Cc: xen-users@lists.xensource.com >Subject: Re: [Xen-users] Gentoo Xen Control Daemon not >starting - problem & resolution > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA512 > >Joris Dobbelsteen schreef: >> Dear, >> >> Since power went down here a few hours ago (rare event in the >> Netherlands), I noticed that the Xen Control Daemon (xend) did not >> start using the init script provided with Gentoo 2007.0 and >Xen 3.1.2 >> (from portage). The issue seems that xend is hanging on the >network script. >> >> The network script was customed to make multiple calls to the >> "network-bridge", but for different interfaces. >> One of the calls was to create the bridge "xenbr2" for non-existing >> interface "eth2". When doing this by hard it worked. However it did >> cause xend to fail to start. >> >> My network script is: >> ==>> #!/bin/sh >> dir=$(dirname "$0") >> "$dir/network-bridge" "$@" vifnum=0 >> "$dir/network-bridge" "$@" vifnum=1 >> "$dir/network-bridge" "$@" vifnum=2 >> ==>> >> The interfaces eth0 and eth1 exist, while eth2 does not exist. > > >Do you have IPv6 on the interface?No, I don''t use IPv6. But this doesn''t matter at all. The issue is that eth0 and eth1 exists, while eth2 does NOT exist. The box only has two network cards. Utilizing such configuration as I did causes xend to hang while starting. It might be that developers are interested (since issues could arise when changing network cards or simply moving to a new computer). For me the problem is currently solved, but points out that you should not modify the physical/dom0 config without testing carefully, including a complete system reboot. - Joris _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stefan de Konink
2008-Jan-17 19:11 UTC
Re: [Xen-users] Gentoo Xen Control Daemon not starting - problem & resolution
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Joris Dobbelsteen schreef:> No, I don''t use IPv6. But this doesn''t matter at all.I don''t care if you don''t use it. Is it enabled. Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHj6hUYH1+F2Rqwn0RCj1pAJ4kQG0Z/cvkFXWkhQvLvbeIdaSGLQCfd7+i BcQTNEbSYCMy5auv63D+3hI=fFGx -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Joris Dobbelsteen
2008-Jan-17 20:26 UTC
RE: [Xen-users] Gentoo Xen Control Daemon not starting - problem & resolution
>-----Original Message----- >From: Stefan de Konink [mailto:skinkie@xs4all.nl] >Sent: Thursday, 17 January 2008 20:11 >To: Joris Dobbelsteen >Cc: xen-users@lists.xensource.com >Subject: Re: [Xen-users] Gentoo Xen Control Daemon not >starting - problem & resolution > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA512 > >Joris Dobbelsteen schreef: >> No, I don''t use IPv6. But this doesn''t matter at all. > >I don''t care if you don''t use it. Is it enabled.I looked it up and I did remove the "IPv6" stuff from the kernel. So NO. - Joris _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users