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] Changing MTU of vif

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Changing MTU of vif
From: Tracy R Reed <treed@xxxxxxxxxxxxxxx>
Date: Tue, 25 Mar 2008 19:00:22 -0700
Delivery-date: Tue, 25 Mar 2008 19:00:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47E8A423.4020504@xxxxxxxxxxxxxxx>
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: <47E8A423.4020504@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (X11/20071115)
Tracy R Reed wrote:
case "$command" in
    online)
        setup_bridge_port "$vif"
        add_to_bridge "$bridge" "$vif"
        if [ ${bridge} = "stbr0" ]; then
                ip link set ${dev} mtu 9000
        fi

Oops...that ${dev} should have been ${vif}. But either way I still have the same problem. The xm create command just hangs.

Ok, another take on this: Anyone know how I can debug what is going on inside the vif-bridge script? xm create is swallowing up its stdin and I am going through the python code trying to figure out where I can tap into it myself to see what is going on. I do see people pasting what seems to be output from this script running set -x but I don't know how to get that. I have included some echo statements to a file in vif-bridge and that seems to work so I know that the $vif and $bridge are set to what I expect. I can run the above ip link command from the command line after having created the domain and everything seems to work.


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