From: Michael Lessard Subject: Re: Network still broken, new issue as well , 7468:17a9f111fa93 Date: Tue, 25 Oct 2005 20:10:16 -0400 Message-ID: References: <1129947991.4325.26.camel@pluto.linsolutions.com> <20051025174059.GJ13783@leeni.uk.xensource.com> <435EB181.6000401@us.ibm.com> <20051025230136.GB13075@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1189560105==" Return-path: In-Reply-To: <20051025230136.GB13075@leeni.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ewan Mellor Cc: Paul Larson , Ted Kaczmarek , xen-devel List-Id: xen-devel@lists.xenproject.org --===============1189560105== Content-Type: multipart/alternative; boundary="----=_Part_27028_10504185.1130285416727" ------=_Part_27028_10504185.1130285416727 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/25/05, Ewan Mellor wrote: > > On Tue, Oct 25, 2005 at 05:28:17PM -0500, Paul Larson wrote: > > > Please see bug #363 that's currently biting several of us with systems > > which, for various reasons, use eth1 instead of eth0. I hope you don't > > mind, I attached logfiles and command output to the bug rather than > > spamming here with it. > > I don't mind that at all, no. In fact, it's much better for me if the log= s > are on the bug, and drawing attention to a new bug on the list is good > too. > > > We have always had to workaround this it seems, > > but were hoping the new script would fix it. Instead, with the new > > script we just had to find a new workaround. > > > > Basicially, on these systems it assumes eth0 (which we don't use), so w= e > > never get networking on domU. > > I think you want to set, in /etc/xen/xend-config.sxp, > > (network-script blade-network) > > and then create a file /etc/xen/scripts/blade-network that looks like: > > #!/bin/sh > > dir=3D$(dirname "$0") > exec "$dir/network-bridge" "$@" "netdev=3Deth1" > > Don't forget to chmod +x /etc/xen/scripts/blade-network, too. > > Hopefully, that will do the trick. Let me know how you get on. > > Ewan. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > Bigelow:/etc/xen/scripts# ./blade-network start /etc/xen/scripts/network-bridge: line 211: /sbin/getcfg: No such file or directory I use Debian Sid .... ------=_Part_27028_10504185.1130285416727 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On 10/25/05, Ewan Mellor <ewan@xen= source.com> wrote:
On Tue, Oct 25, 2005 at 05:28:17PM -0500, Paul Larson wrote:

> Pl= ease see bug #363 that's currently biting several of us with systems
>= ; which, for various reasons, use eth1 instead of eth0.  I hope y= ou don't
> mind, I attached logfiles and command output to the bug rather tha= n
> spamming here with it.

I don't mind that at all, no. =  In fact, it's much better for me if the logs
are on the bug, and d= rawing attention to a new bug on the list is good too.

> We have always had to workaround this it seems,
> but we= re hoping the new script would fix it.  Instead, with the new
= > script we just had to find a new workaround.
>
> Basiciall= y, on these systems it assumes eth0 (which we don't use), so we
> never get networking on domU.

I think you want to set, in /= etc/xen/xend-config.sxp,

(network-script blade-network)

and t= hen create a file /etc/xen/scripts/blade-network that looks like:

#!/bin/sh

dir=3D$(dirname "$0")
exec "$dir/network= -bridge" "$@" "netdev=3Deth1"

Don't forget = to chmod +x /etc/xen/scripts/blade-network, too.

Hopefully, that wil= l do the trick.  Let me know how you get on.

Ewan.

_______________________________________________
Xen= -devel mailing list
Xen= -devel@lists.xensource.com
http://lists.xensource.com/xen-devel

Bigelow:/etc/xen/scripts# ./blade-network start
/etc/xen/scripts/network-bridge: line 211: /sbin/getcfg: No such file or di= rectory

I use Debian Sid ....



------=_Part_27028_10504185.1130285416727-- --===============1189560105== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1189560105==--