Skip to contentSkip to conversation

Xen 3.1 and network card RTL-8169SC isn't working

DISCUSSION Marco Sinhoreli 3 participants 6 messages Jun 26, 2007 – Jun 27, 2007 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
Marco Sinhoreli

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

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 <[email protected]>:

Quoted 11 lines

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
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

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

Quoted 21 lines · Yu Ke

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.

Quoted 17 lines

Best Regards
Yu Ke

2007/6/26, Marco Sinhoreli <[email protected]>:

Quoted 3 lines

Hello all,

I have a network card "Realtek Semiconductor Co., Ltd. RTL-8169SC

Gigabit

Quoted 8 lines

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
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

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 <[email protected]>:

Quoted 45 lines

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

Quoted 7 lines · Yu Ke

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

Quoted 8 lines

(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
Quoted 11 lines

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 <[email protected]>:

Quoted 3 lines

Hello all,

I have a network card "Realtek Semiconductor Co., Ltd. RTL-8169SC

Gigabit

Quoted 6 lines
Quoted 6 lines

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

Quoted 10 lines
Quoted 3 lines
Quoted 2 lines

--
Marco Sinhoreli

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
In reply to Marco Sinhoreli
Quoted 1 line

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 ;-)

Quoted 4 lines

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

Signature · 4 lines
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!

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw
Quoted 8 lines · Mark Williamson
Quoted 2 lines

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.

Quoted 6 lines

I have a network card "Realtek Semiconductor Co., Ltd. RTL-8169SC Gigabit

Quoted 3 lines

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

Quoted 3 lines

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,

Quoted 9 lines

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!

Signature · 1 line
Marco Sinhoreli

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel