Realtek Ethernet drivers
Dear Kernel-Developers,
in the last few weeks I spend quite some time trying to fix a network problem on my home server which has two Realtek onboard ethernet cards, lspci-output:
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10) 00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
The problem was that sometimes one of the two cards or both obtained «no link» status while all cables where pugged in correctly. After unplugging the power supply and rebooting or after removing the module r8169 and reloading it all links where up again (or maybe not).
Searching the web I found that many other users have or had the same or similar problems with this kind of ethernet card. Some users suggested workarounds but none of these did work for me. Only after installing drivers [1] as provided by Realtek my «no link» problems disappeared.
Taking into account that the Realtek divers for RT8168 [2] and RT8169
[3] cards seem to be more reliable than the drivers in the Linux kernel tree and that the Realtek drivers [2, 3] are distributed under the terms of the GPL I wonder is there any good reason not to include these drivers into the Linux main source tree?
Regrads,
Heiko
P.S. I am running 2.6.32-24-generic on a 32-bit Ubuntu 10.04.1 LTS box.
[1] http://www.realtek.com.tw/downloads
[3] http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=4&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true
[2] http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false
Signature · 4 lines
-- Man könnte viele Beispiele für unsinnige Ausgaben nennen, aber keines -- ist treffender als die Errichtung einer Friedhofsmauer. Die, die -- drinnen sind, können sowieso nicht hinaus, und die, die draußen sind, -- wollen nicht hinein. (Mark Twain, am. Schriftsteller, 1835-1903)
Please Cc: [email protected] for network related issues.
Heiko Bauke <[email protected]> :
[...]
Quoted 6 lines
in the last few weeks I spend quite some time trying to fix a network problem on my home server which has two Realtek onboard ethernet cards, lspci-output:
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10) 00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
It's probably fixed with one of :
- 81a95f049962ec20a9aed888e676208b206f0f2e / 024a07bacf8287a6ddfa83e9d5b951c5e8b4070e
- 908ba2bfd22253f26fa910cd855e4ccffb1467d0
- 78f1cd02457252e1ffbc6caa44a17424a45286b8
[...]
Quoted 1 line
P.S. I am running 2.6.32-24-generic on a 32-bit Ubuntu 10.04.1 LTS box.
Your 2.6.32-24-generic includes :
- 908ba2bfd22253f26fa910cd855e4ccffb1467d0
- 78f1cd02457252e1ffbc6caa44a17424a45286b8
But it misses 81a95f049962ec20a9aed888e676208b206f0f2e and 024a07bacf8287a6ddfa83e9d5b951c5e8b4070e
Please upgrade.
Signature · 1 line
Ueimor
Dear Francois,
Quoted 10 lines · On Mon, 13 Sep 2010 00:37:25 +0200 Francois Romieu <[email protected]> wrote:
It's probably fixed with one of :
-81a95f049962ec20a9aed888e676208b206f0f2e/024a07bacf8287a6ddfa83e9d5b951c5e8b4070e
-908ba2bfd22253f26fa910cd855e4ccffb1467d0
-78f1cd02457252e1ffbc6caa44a17424a45286b8[...]
Quoted 2 lines
P.S. I am running 2.6.32-24-generic on a 32-bit Ubuntu 10.04.1 LTS box.
Quoted 6 lines
Your 2.6.32-24-generic includes :
-908ba2bfd22253f26fa910cd855e4ccffb1467d0
-78f1cd02457252e1ffbc6caa44a17424a45286b8But it misses
81a95f049962ec20a9aed888e676208b206f0f2eand024a07bacf8287a6ddfa83e9d5b951c5e8b4070e
I thank you for your reply. If there is time I will try a more recent kernel. (For the moment the Realtek drivers are fine for me.) I know how to (re-)compile distribution kernels and how to compile a vanilla kernel from kernel.org. However, I have no idea what the hex-codes you mentioned mean. Can you give me a hint?
Regards,
Heiko
Signature · 4 lines
-- Die glücklichen Sklaven sind die erbittertsten Feinde der Freiheit. -- (Marie von Ebner-Eschenbach, öst. Schriftst., 1830-1916) -- Number Crunch Blog @ http://numbercrunch.de -- Heiko Bauke @ http://www.mpi-hd.mpg.de/personalhomes/bauke
Quoted 29 lines · Heiko Bauke
Dear Francois,
Quoted 10 lines · On Mon, 13 Sep 2010 00:37:25 +0200 Francois Romieu<[email protected]> wrote:
It's probably fixed with one of :
-81a95f049962ec20a9aed888e676208b206f0f2e/024a07bacf8287a6ddfa83e9d5b951c5e8b4070e
-908ba2bfd22253f26fa910cd855e4ccffb1467d0
-78f1cd02457252e1ffbc6caa44a17424a45286b8[...]
Quoted 2 lines
P.S. I am running 2.6.32-24-generic on a 32-bit Ubuntu 10.04.1 LTS box.Quoted 6 lines
Your 2.6.32-24-generic includes :
-908ba2bfd22253f26fa910cd855e4ccffb1467d0
-78f1cd02457252e1ffbc6caa44a17424a45286b8But it misses
81a95f049962ec20a9aed888e676208b206f0f2eand024a07bacf8287a6ddfa83e9d5b951c5e8b4070eI thank you for your reply. If there is time I will try a more recent kernel. (For the moment the Realtek drivers are fine for me.) I know how to (re-)compile distribution kernels and how to compile a vanilla kernel from kernel.org. However, I have no idea what the hex-codes you mentioned mean. Can you give me a hint?
Quoted 4 lines
Regards,
Heiko
If not already staged, please consider including these commits for 2.6.32.y:
024a07bacf8287a6ddfa83e9d5b951c5e8b4070e81a95f049962ec20a9aed888e676208b206f0f2e
They are already included in 2.6.33.y and up, so its curious that they are not also included in 2.6.32.y as they do apply cleanly.
rtg
Signature · 1 line
Tim Gardner [email protected]
From: Tim Gardner <[email protected]>
Date: Mon, 13 Sep 2010 10:14:34 -0600
Quoted 8 lines
If not already staged, please consider including these commits for 2.6.32.y:
024a07bacf8287a6ddfa83e9d5b951c5e8b4070e81a95f049962ec20a9aed888e676208b206f0f2eThey are already included in 2.6.33.y and up, so its curious that they are not also included in 2.6.32.y as they do apply cleanly.
I'll take care of queueing these up to -stable, thanks.
Quoted 9 lines · Heiko Bauke
Quoted 2 lines
But it misses
81a95f049962ec20a9aed888e676208b206f0f2eand024a07bacf8287a6ddfa83e9d5b951c5e8b4070eI thank you for your reply. If there is time I will try a more recent kernel. (For the moment the Realtek drivers are fine for me.) I know how to (re-)compile distribution kernels and how to compile a vanilla kernel from kernel.org. However, I have no idea what the hex-codes you mentioned mean. Can you give me a hint?
These are git (the version control system used for kernel development) commit ids.
- Ben
Quoted 4 lines · Ben Gamari
Quoted 3 lines · Heiko Bauke
Quoted 2 lines
But it misses
81a95f049962ec20a9aed888e676208b206f0f2eand024a07bacf8287a6ddfa83e9d5b951c5e8b4070e
Quoted 8 lines
Quoted 6 lines
I thank you for your reply. If there is time I will try a more recent kernel. (For the moment the Realtek drivers are fine for me.) I know how to (re-)compile distribution kernels and how to compile a vanilla kernel from kernel.org. However, I have no idea what the hex-codes you mentioned mean. Can you give me a hint?
These are git (the version control system used for kernel development) commit ids.
Please add https://launchpad.net/~kernel-ppa/+archive/ppa
and install the latest kernel available from that repository if you are unsure as to how to compile a kernel.org kernel.
Heiko Bauke <[email protected]> :
Quoted 1 line
Francois Romieu <[email protected]> wrote:
[...]
Quoted 8 lines
Quoted 2 lines
But it misses
81a95f049962ec20a9aed888e676208b206f0f2eand024a07bacf8287a6ddfa83e9d5b951c5e8b4070eI thank you for your reply. If there is time I will try a more recent kernel. (For the moment the Realtek drivers are fine for me.) I know how to (re-)compile distribution kernels and how to compile a vanilla kernel from kernel.org. However, I have no idea what the hex-codes you mentioned mean. Can you give me a hint?
They are commit ID. See :
Signature · 1 line
Ueimor