From mboxrd@z Thu Jan 1 00:00:00 1970 From: erin.balid@inoutbox.com Subject: Re: After switching from "xm" to "xl" toolstack, can't get Guest networking to work. Date: Tue, 24 Jan 2012 10:05:29 -0800 Message-ID: <1327428329.24310.140661027473797@webmail.messagingengine.com> References: <1327176409.25269.140661026313477@webmail.messagingengine.com><1327318076.24561.63.camel@zakaz.uk.xensource.com><1327332514.25697.140661026919117@webmail.messagingengine.com><1327415184.24561.182.camel@zakaz.uk.xensource.com><1327420611.19936.140661027415609@webmail.messagingengine.com><1327423312.24561.211.camel@zakaz.uk.xensource.com> <1327425015.8709.140661027442201@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1327425015.8709.140661027442201@webmail.messagingengine.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Hi Ian. On Tue, Jan 24, 2012, at 09:10 AM, erin.balid@inoutbox.com wrote: > > At this point I'm afraid my only suggesting is to drop "echo made it to > > XXX" breadcrumbs throughout the script and try to narrow down to the > > line which exits. > > I'll give that a try and report. I can't figure out how to get xl to output to a xend-debug.log (xm does, as expected). Using the same log redirection you mentioned before edit /etc/xen/scripts/vif-bridge #!/bin/bash + exec 1>>/tmp/vif-bridge.log + exec 2>&1 + echo "`date`: Running $0 $*" ... + ## TEST ## + echo "made it to 001" dir=$(dirname "$0") . "$dir/vif-common.sh" + ## TEST ## + echo "made it to 002" domu=$(xenstore_read_default "$XENBUS_PATH/domain" "") if [ -z "$domu" ] then log debug "No device details in $XENBUS_PATH, exiting." exit 0 fi + ## TEST ## + echo "made it to 003" ... Then xl destroy test xl create /etc/xen/vm/test.cfg tail -f /tmp/vif-bridge.log Tue Jan 24 09:59:29 PST 2012: Running /etc/xen/scripts/vif-bridge online type_if=vif made it to 001 made it to 002 Tue Jan 24 09:59:29 PST 2012: Running /etc/xen/scripts/vif-bridge online made it to 001 made it to 002 Never makes it to "003". Erin