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] max loop

To: Mitch <mitchkelly@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] max loop
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Wed, 07 Nov 2007 11:04:26 +0000
Cc: Geoff Kirk <geoff.k@xxxxxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 07 Nov 2007 03:03:39 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=Cbtlhr6jmu7tbHkCUaRSUm4Y/JAX9XwIyyuPuXEN3do=; b=qy2Z8na6l7x3FVFjohrfhpQX8hOB6ckhIoqEjlt4yuZE+UqqXEmAr4cf8ACCJiZT39k5ZlH1ccvlWU8fRRC6Wg7+oWTMAeSlYrgoJdiqyc5EzYmWtc0GIDaHxa3iAJGiiyPJgBm8BbINcVB19TWBncqFhlWT9cgDKf8R664c+II=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=MjuG+VJXm17/UzfwSWY98NIJlz97YVKwwTuAoH9H02xM5GBMOpKiwhA55LFSEnF8QOAJeTRxDrwerOAYlY/HH6sZRT/twjmMYflYdyKmD8VrTS6C+3ncs6B2SQnNvMxH0mpL3r7/1LMQKjttJPtzBpqf+7WlwDO+otzcWyG1PHw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <00aa01c8212c$defa4380$fbc0063a@nsa>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <004c01c82128$66c4c880$344e5980$@com><473194B4.3050505@xxxxxxxxxxxxxxxxxxxxxx> <4731977E.10707@xxxxxxxxxxxxxxxxxxx> <00aa01c8212c$defa4380$fbc0063a@nsa>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.13 (Windows/20070809)
Mitch wrote:
i had exactly the same problem

This fixed it:
edit /etc/xen/network-bridge
Find the line that says:
${vifnum:-$(ip route list | awk '/^default / { print $NF }' | sed 's/^[^0-9]*//')}
Comment it out
Put there instead:
vifnum=0
Reboot PC

Loaded up 12Xens so far with no issues.

My original problem was related to the max_loop and it wouldnt bring up peth0 veth0 xenbr0, The fix above fixed it..
if you type: ip route list | awk '/^default /'
It should say something like this:
default via xxx.xxx.xxx.xxx dev eth0  metric 100
The problem is it tried to make veth100...

let me know how you go..

Mitch
Then shouldn't it be changed to something like this?

${vifnum:-$(ip route list | sed 's/ metric .*//g' | awk '/^default / { print $NF }' | sed 's/^[^0-9]*//')}

shouldn't it?


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

<Prev in Thread] Current Thread [Next in Thread>