| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] After switching from "xm" to "xl" toolstack, can't get Guest networking to work.
 Hi Ian.
On Tue, Jan 24, 2012, at 09:10 AM, erin.balid@xxxxxxxxxxxx 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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |