[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: Problem on slow keystroke response - guest on Xen box


  • To: Javier Barroso <javibarroso@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Stephen Liu <satimis@xxxxxxxxx>
  • Date: Wed, 3 Dec 2008 21:45:50 +0800 (CST)
  • Cc:
  • Delivery-date: Wed, 03 Dec 2008 05:46:28 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=unbnDfT4HOxtf0tgZGluSvBPz3NORo3ud5qeEfa3vl4f6IWRe5FQu9WUeDDhlp8LUx12DCa7SkQq3+OIXZAQcTTVkCoRT+f507WVNZEzNIrTq5Kew+F6r3CzvWzOfA55fnsZbxfsr5LPNwTuNzdEiC+HmIFcj/k42MZ3xnqPVx8=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

--- Javier Barroso <javibarroso@xxxxxxxxx> wrote:

> On Wed, Dec 3, 2008 at 7:55 AM, Stephen Liu <satimis@xxxxxxxxx>
> wrote:
> 
> >
> > Hi Javier,
> >
> >
> > Further to my late posting;
> >
> >
> > After installing udev on next boot the guest was completely cut off
> > from outside world.  It can't be ssh-connected remotely.  After
> > starting it with "xm console ....." it can't ping the host, other
> > guests and Internet.
> >
> >
> > # /etc/init.d/networking restart
> > Reconfiguring network interfaces...SIOCSIFADDR: No such device
> > eth0: ERROR while getting interface flags: No such device
> > SIOCSIFNETMASK: No such device
> > eth0: ERROR while getting interface flags: No such device
> > Failed to bring up eth0.
> >
> >
> > # find /sys -iname *eth*
> > /sys/class/net/eth5
> > /sys/devices/xen/vif-0/net:eth5
> 
> If you have in xen config
> vif = [ 'mac=xx:xx:xx:xx:xx' ]
> 
> and in /etc/udev/rules.d/z25_persistent-net.rules
> 
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="xx:xx:xx:xx:xx:xx",
> NAME="eth0"
> 
> Then your system have to reboot fine and get networking if eth0 is
> configured on /etc/network/interfaces
> 
> Regards
> 
> 
> then
> 
> 
> > I was compelled to remove udev.
> >
> >
> > # apt-get remove udev
> > # rm -rf /etc/udev
> > # rm /etc/init.d/udev
> > # reboot
> >
> >
> > Then it returns normal.  I think the guests must run dynamic MAC
> 
> 
> > address.
> 
> No, your guest should run with a static MAC ( I think is the prefer
> method
> and the uniq if you want to use dhcp)


On guest reinstalled udev


# apt-get install udev


# cat /etc/udev/rules.d/z25_persistent-net.rules
# This file was automatically generated by the
/lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules
file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.

SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:16:3e:5b:c3:ad",
NAME="eth0"
* end *


On host;

# nano /etc/xen/xen1.satimis.com.cfg
made change as follow;
vif  = [ 'mac=00:16:3e:5b:c3:ad' ]


# xm create /etc/xen/xen1.satimis.com.cfg

Now it works.  Thanks.


"mac=" is need before the address


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.