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

Re: [Xen-devel] Xen 3.1 and network card RTL-8169SC isn't working

To: "Marco Sinhoreli" <msinhore@xxxxxxxxx>
Subject: Re: [Xen-devel] Xen 3.1 and network card RTL-8169SC isn't working
From: "Yu Ke" <mr.yuke@xxxxxxxxx>
Date: Wed, 27 Jun 2007 06:55:13 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 26 Jun 2007 15:53:07 -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:content-transfer-encoding:content-disposition:references; b=UmxRSgq/eWl9gIpXLX1+DuaKegQ3p7tIOHWDE1uA8YsvrlFd52u5NDyqu1LTInMpwW8HQQsGqJN9M8UrP6/P+aV9FQrQKs+CqaDah+jjDVMri+pMn8hIkafVFvn7j/Tfs/9FraaFIJjK6rsqU+EOqI42eDHbiIEGNtv+F7IYyZo=
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:content-transfer-encoding:content-disposition:references; b=JUW87WmyzTyLsfNR0kljf/bnmGYj8SAsE5i2OUvHSLDQGaJs3QveNC0/KP9Kf6EjmPYZzlBo2VSU1v+7vVa8duY7BJGhCGR2OoBRLpYQ+xZIPbjPzkx2V8EAmJOus+tuoaePCVkJZzfclKsUBSq/XrIwQQafrTFj11Bz4uo3u0M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20fe3cf60706260644w7391060akafb2ffb9553ad501@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20fe3cf60706251949o446f5913h1428e5a46e217a92@xxxxxxxxxxxxxx> <631d03500706252020k3b6f178enc5cf57b19766e57e@xxxxxxxxxxxxxx> <20fe3cf60706260644w7391060akafb2ffb9553ad501@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
That's interesting. Since you mention the peth0, I assume you have
execute the "xend start". So could you please clarify if the NIC works
or not before "xend start".

if eth0 does not work before "xend start", then that should be a
driver problem. you may want to try the latest linux kernel (e.g.
2.6.21) first. if native kernels works, then backport the r8139.c to
xen source.

if eth0 does work before "xend start", then you may want to check the
xen bridge config or xen netwokr script. Generally speaking, This case
should be rare, since the xen bridge and network script is not driver
specific.

Best Regards
Yu Ke

2007/6/26, Marco Sinhoreli <msinhore@xxxxxxxxx>:
I do it but without success. The module was compiled, the peth0 link is up,
but the NIC is without network communication (not configure an IP address
via dhcp protocol). If I set a static IP address, it continue without
network communication. r8139 module return many messages "link up" in dmesg
to peth0 alias.

Regards
Marco Sinhoreli


On 6/26/07, Yu Ke <mr.yuke@xxxxxxxxx> wrote:
> I also meet this problem when I try to setup a ASUS Santa Rosa laptop
> with RTL-8169SC NIC card. I try the following steps and bring up the
> NIC with Xen 3.1 in Ubuntu 7.04. Hope it is also helpful to you.
>
> 1. untar the xen 3.1 source, say it is in in ~/xen-3.1.0-src
> 2. get RTL-8169SC linux 2.6 driver source from
>
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=3&PNid=13&PFid=4&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true
> (choose  "Linux driver for kernel 2.6.x (Support x86 and x64)" )
> 3. untar the driver r8169-6.001.00.tar.bz2, say it is in ~/r8169-6.001.00
> 4. copy the r8169 driver src to xen linux sparese tree:
>     # mkdir -p ~/xen-3.1-src/linux-2.6-xen-sparse/drivers/net
>     # cp ~/r8169- 6.001.00/src/r8169_n.c
> ~/xen-3.1-src/linux-2.6-xen-sparse/drivers/net/r8169.c
> 5. compile and install the Xen source as usual
>
> As a temporarily solution, this works in my side. But I think the
> final solution would be: r8169.c updated to latest version in linux
> kernel, and Xen sync to the updated kernel.
>
> Best Regards
> Yu Ke
>
> 2007/6/26, Marco Sinhoreli <msinhore@xxxxxxxxx>:
> > Hello all,
> >
> > I have a network card "Realtek Semiconductor Co., Ltd. RTL-8169SC
Gigabit
> > Ethernet" in my machine. It's working fine  with xen 3.0.3 but with xen
> > 3.1compilled from source  isn't working. I'm using Debian lenny. Any
> > suggestion?
> >
> > Regards
> >
> > --
> > Marco Sinhoreli
>

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


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