Marco Sinhoreli
2007-Jun-26 02:49 UTC
[Xen-devel] Xen 3.1 and network card RTL-8169SC isn''t working
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@lists.xensource.com http://lists.xensource.com/xen-devel
Yu Ke
2007-Jun-26 03:20 UTC
Re: [Xen-devel] Xen 3.1 and network card RTL-8169SC isn''t working
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@gmail.com>:> 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@lists.xensource.com http://lists.xensource.com/xen-devel
Marco Sinhoreli
2007-Jun-26 13:44 UTC
Re: [Xen-devel] Xen 3.1 and network card RTL-8169SC isn''t working
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@gmail.com> 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@gmail.com>: > > 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@lists.xensource.com http://lists.xensource.com/xen-devel
Yu Ke
2007-Jun-26 22:55 UTC
Re: [Xen-devel] Xen 3.1 and network card RTL-8169SC isn''t working
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@gmail.com>:> 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@gmail.com> 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@gmail.com>: > > > 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@lists.xensource.com > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2007-Jun-27 00:30 UTC
Re: [Xen-devel] Xen 3.1 and network card RTL-8169SC isn''t working
> Hello all,Hi, This sort of question is probably better to direct at xen-users initially, but I''ll reply here now that we''ve started ;-)> 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?Maybe the kernel config defaults are different? Have you checked that the driver was built? Have you installed any modules that are built? Can you modprobe the driver manually? Others might also like to chip in if they have any ideas at this point... There are a few cards which have had issues with Xen over the course of time, but I''m not sure which they were or if they''re still problematic. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Marco Sinhoreli
2007-Jun-27 01:52 UTC
Fwd: [Xen-devel] Xen 3.1 and network card RTL-8169SC isn''t working
On 6/26/07, Mark Williamson <mark.williamson@cl.cam.ac.uk> wrote:> > > Hello all, > > Hi, > > This sort of question is probably better to direct at xen-users initially, > but > I'll reply here now that we've started ;-)I know, I post this message in xen-user too.> 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? > > Maybe the kernel config defaults are different?No, is default config. Have you checked that the driver was built? Yes, the module r8169.ko was builted. Have you installed any modules that are built? I used the makefile default made by xensource 3.1. Can you modprobe the driver manually? Yes, I do it and the network not work... Others might also like to chip in if they have any ideas at this point...> There are a few cards which have had issues with Xen over the course of > time, > but I'm not sure which they were or if they're still problematic.I´m thinking in to abandon the onboard card and use another card in my PCI. Will be good if this card worked. Well, I´m waiting some help with it. Best regards Cheers,> Mark > > -- > Dave: Just a question. What use is a unicyle with no seat? And no pedals! > > Mark: To answer a question with a question: What use is a skateboard? > Dave: Skateboards have wheels. > Mark: My wheel has a wheel! >-- Marco Sinhoreli _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel