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 problem after boot Xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] network problem after boot Xen
From: Gra zeus <gra_zeus@xxxxxxxxx>
Date: Thu, 23 Jul 2009 09:42:11 -0700 (PDT)
Delivery-date: Thu, 23 Jul 2009 09:47:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1248367331; bh=FMRvaz6vFTiw7l0ujtzTk3zMOHByQb6cKdnQKwkLXao=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=TzkkONfNVGNrAnLCy9dIe1VIDZdC0Q+NPhWG4+b1+FIixr+hlPu57vzo3SUywf1MDgpUJsgrnnwV2w/UK8OAZ+LSxFlfJYCoxasLcyfk6fwWOLyDqwmuI54JWAgHVSRXtzh863KDllQ5Q6BW2FLoArt4QTtv4nD5Y53xP1kxzx0=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=P/tX7ATv4qt8YwQys2Gl8yG+ZFZYvTWnVROjZT5wSGSxm0CSn43TzzGmnYY30EgQv0L8UdEE92au3NDIzB1DRIEE5YVHapjDb2yYykwWhLHdTxuFjxlakTYVRsHBQQlTx66oIU0+i3Z6U/LeZKNaarsfWKQ+9mNl4AViI81PVkg=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <F8226139-1ED6-4028-953B-DE908A32D98D@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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
sorry I forget to reply to mailing list




my original is REHL 2.6.18-128.1.1.el5 64bit. I compiled xen 's kernel with source that came with Xen 3.4.0. 

So I need to download my original kernel source code and compile it with Xen,right?

thx,
gra

--- On Thu, 7/23/09, Mike Lovell <mike@xxxxxxxxxxxx> wrote:

From: Mike Lovell <mike@xxxxxxxxxxxx>
Subject: Re: [Xen-users] network problem after boot Xen
To: "Gra zeus" <gra_zeus@xxxxxxxxx>
Date: Thursday, July 23, 2009, 8:58 AM

Most likely, it is a problem where the dom0 kernel does not have the drivers for your network interface. I don't know what you use. But my guess would be that if you were to do an lsmod you will not see a module for your interface. You can try to modprobe the module. If that doesn't work though, you might need to recompile your kernel, compile the network drivers against your kernel, or get a new kernel from your distribution. I probably should point out that the kernel you boot when not using xen and the kernel you boot when you are using xen might not be the same. Hence the different response from the different boot processes.

mike

Gra zeus wrote:
hello,

WHen i boot up the machine i found this line
"Bringing up interface eth0:  Device eth0 does not seem to be present, delaying initialization"

 i did `ls /sys/class/net/` and i found "lo" and "sit0". so i bring up sit0 but it didn't seem to work as eth0, I still couldn;t  access internet or local network.

this is ifconfig of sit0 after i start it up

sit0      Link encap:IPv6-in-IPv4  
          inet6 addr: ::127.0.0.1/96 Scope:Unknown
          UP RUNNING 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)

Is this something wrong with my Xen kernel and Xen ramdisk?

thx,
gra



--- On Wed, 7/22/09, Mike Lovell <mike@xxxxxxxxxxxx> wrote:

From: Mike Lovell <mike@xxxxxxxxxxxx>
Subject: Re: [Xen-users] network problem after boot Xen
To: "Gra zeus" <gra_zeus@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Wednesday, July 22, 2009, 4:00 PM

Gra zeus wrote:
Hello,

I installed Xen 3.4.0 yesterday and managed to boot it up. When I boot my machine with xen kernel I can't find my eth0. I tried ifconfig  but it return only loopback interface.
Anyone experienced this before? Do I need to install something to get network card to work?

///////////// when boot with Xen kernel
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1334 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1334 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:87408 (85.3 KiB)  TX bytes:87408 (85.3 KiB)

thx,
gra

Do a `ls /sys/class/net/`. Does it show anything besides lo in that directory? If not, then it is probably that the dom0 kernel you are booting does not have the driver for the particular network card that you have. If there is something besides lo, can you do an ifconfig on an interface named by what is listed there and get networking up?

Hopefully that gives you some direction.

mike

-----Inline Attachment Follows-----

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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>