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-ppc-devel

Re: [XenPPC] Re: 2 questions of creating domU

To: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
Subject: Re: [XenPPC] Re: 2 questions of creating domU
From: Hao Yu <yuh@xxxxxxxxxx>
Date: Thu, 26 Oct 2006 02:11:54 -0400
Cc: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>, Edi Shmueli <shedi@xxxxxxxxxx>, David M Daly <dmdaly@xxxxxxxxxx>, Doron Shiloach <doron@xxxxxxxxxx>, Robert W Wisniewski <bob@xxxxxxxxxxxxxx>, Maria Butrico <butrico@xxxxxxxxxx>, Dilma M Da silva <dilmasilva@xxxxxxxxxx>, XenPPC-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>, Jose Moreira <jmoreira@xxxxxxxxxx>
Delivery-date: Thu, 26 Oct 2006 07:05:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061026051417.GJ27551@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Tony,

Thanks for the info. I followed your steps and basically got the same
thing:

1. I got rid of the line : vif = [ '' ] , created a domain (id=8)

2. I issued xm network-attach 8, Here is the output

cso83:~ # xm network-attach 8
Error: Device 1 (vif) could not be connected. Backend device not found.
Usage: xm network-attach <Domain> [--script=<script>] [--ip=<ip>]
[--mac=<mac>]

Create a new virtual network device.
cso83:~ # xm network-attach 8 --ip=9.2.78.162
Error: Device 2 (vif) could not be connected. Backend device not found.
Usage: xm network-attach <Domain> [--script=<script>] [--ip=<ip>]
[--mac=<mac>]

Create a new virtual network device.


Besides, the 'ifconfig -a' output of the domU is

(none):/ # ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

tunl0     Link encap:IPIP Tunnel  HWaddr
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


Thanks,
Hao

Hao Yu

Commercial Scale Out
IBM T.J. Watson Research Center
1101 Kitchawan Rd/Route 134, Rm 36-019
Yorktown Heights, NY 10598-0218
914-945-1854, Email: yuh@xxxxxxxxxx


                                                                           
             Tony Breeds                                                   
             <tony@bakeyournoo                                             
             dle.com>                                                   To 
                                       Jimi Xenidis <jimix@xxxxxxxxxxxxxx> 
             10/26/2006 01:14                                           cc 
             AM                        Hao Yu/Watson/IBM@IBMUS, Edi        
                                       Shmueli/Watson/IBM@IBMUS, David M   
                                       Daly/Watson/IBM@IBMUS, Doron        
                                       Shiloach/Watson/IBM@IBMUS, Robert W 
                                       Wisniewski <bob@xxxxxxxxxxxxxx>,    
                                       Maria Butrico/Watson/IBM@IBMUS,     
                                       Dilma M Da silva/Watson/IBM@IBMUS,  
                                       XenPPC-devel                        
                                       <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx> 
                                       , Jose Moreira/Watson/IBM@IBMUS     
                                                                   Subject 
                                       Re: [XenPPC] Re: 2 questions of     
                                       creating domU                       
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




On Wed, Oct 25, 2006 at 10:38:46AM -0400, Jimi Xenidis wrote:

> this just works in my local disk environment and I'm pretty sure othe
> local disk environments work as well.
> Hollis, Tony are you able to create domain that have net access?

Yes. On my JS20 I was able to create a domU (called test).  Then add a
network device "xm network-attach $(xm domid test)".  Inside the domain
dhclient eth0 and get an IP.

Using both the xen block and network devices.

Yours Tony

   linux.conf.au       http://linux.conf.au/ ||
http://lca2007.linux.org.au/
   Jan 15-20 2007      The Australian Linux Technical Conference!




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