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] network error, even when reboot into non-Xen smp kernel

To: "Nico Kadel-Garcia" <nkadel@xxxxxxxxx>
Subject: Re: [Xen-users] network error, even when reboot into non-Xen smp kernel
From: "Robert Ficcaglia" <rficcaglia@xxxxxxxxx>
Date: Mon, 9 Apr 2007 08:26:56 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Apr 2007 01:37:35 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=WxSV4o2cut3tvTgNlGSRdzuvK4HqPylGKBmQDIJiynT7XiqEUwG2n6JffFspPF940mlnusYKMW9fdSJ92/PLr1eCxkwUei0LFu0RltwUrtmN44GOt1+sov33d0U4K04LeZC7iBg4OPY7ik2no8L9hm27oKj45h15uS0NIldGElI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=h7cmu4wEjBoZ8XAaf5HG8J0q/gWu0NE4djw/P07N4PXkH1NjgfLFmegr1XNYFT1tnsyEIKBQ9gczNc+4PQKK08D5VNG8Y//VFQYkSHSSkp3+0EmB/LnKL4jsYn/crh83YGnh2L/G1DZAsfexSq35OXabYzmTwhBgXs3WYVOeqlo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <461A0E88.4020804@xxxxxxxxx>
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: <fc452c9a0704070053o3c7bb5e4x24f834933f3c5e02@xxxxxxxxxxxxxx> <461A0E88.4020804@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
No reason I used the tarball other than it was first on the list :) I would be glad to remove what's on there now and reinstall with RPMs, part of the problem is that I don't know the steps to completely remove Xen and start clean; this is the best list I found:
or download the src tarball and make uninstall (probably will be my first try)
 
To answer your other questions, yes - the trouble is with Dom0, and yes I have multiple (2) NICs (same hw).  So with 2 NICs, I presume I cannot simply comment out the HWARDDR (cause I tried that and it didn't help); so what is the procedure for 2 NICs?

 
On 4/9/07, Nico Kadel-Garcia <nkadel@xxxxxxxxx> wrote:
Robert Ficcaglia wrote:
> After installing xen-3.0.4_1-install-x86_32p.tgz on a CentOS 4.4, I
> was getting a network error:
> Device eth0 has different MAC address than expected
First, why aren't you using the RHEL 4 RPM? It's true they accidentally
left out the documentaiton in that, but it works fine, and has RPM
kernels for both Dom0 and DomU.

Second, unless you hard-code your MAC address in your Xen configuration
file, it's going to get changed randomly in your DomU's every freaking
time you reboot them. And RedHat's network setup tools look in
/etc/sysconfig/network-scripts/ifcfg-eth* to associate the HWADDR
setting with specific network devices. This keeps eth0 and eth1 from
getting swapped around for different kernel configurations, and helps
keep the network device names consistent when adding wi-fi or USB
network devices.

You can also simply comment out the HWADDR lines in
/etc/sysconfig/networ-kscripts/ifcfg-eth* if you have only one network
device and thus aren't worried about swapping them.

Is the problem in your Dom0? Do you have multiple network devices?

> I have searched for hours here and other places, tried all the
> recommended solutions and no luck. However, my real question is
> this... Even after I reboot into the previous CentOS kernel ( CentOS
> (2.6.9-42.0.10.ELsmp )), I get the same network error. I have tried
> this on 2 different boxes and it is completely reporducible.
> (Different network cards, too.)
>
> Strangely, I can boot into the non-smp kernel: CentOS
> (2.6.9-42.0.10.EL) and get networking.
See above.

>
> What is Xen doing that is persistent and causing network failure even
> after fallback to the original smp kernel?? (Maybe it is worth saying
> that the network was 100% fine before Xen install, in fact, sadly it
> is a completely remote server, so that is the only way to get into the
> box unless I want to pay for an expensive remote hands service!!)


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