View previous topic :: View next topic |
Author |
Message |
Fred Krogh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Wed Aug 24, 2011 8:10 pm Post subject: Realtek dual port pci-express network card fails -- SOLVED |
|
|
I've tried the Linux driver and also the one from Realtek, which is the one currently in my system.
Right now I'm using a single port card, lspci |grep -i realtek gives Quote: | 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
| Note that this works fine. With the dual port card loaded the same command gives Quote: | 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
| Although lights come on, on the card neither of the ports associated with this card will start using /etc/iniit.d/jnet.eth1 (or /etc/init.d/net.eth2). So the single port card works with the driver that comes with the kernel or with that from Realtek, and the dual port card works with neither. I'm looking for ideas. Thanks,
Fred
Last edited by Fred Krogh on Thu Aug 25, 2011 1:04 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DONAHUE Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2468228754a8b1493ea37b.gif)
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Aug 24, 2011 8:40 pm Post subject: |
|
|
what does lspci -k say about modules and driver in use for the dual port? _________________ Defund the FCC. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fred Krogh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Wed Aug 24, 2011 9:04 pm Post subject: |
|
|
This does not show a whole lot more. Without the dual port Quote: | 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. TEG-ECTX Gigabit PCI-E Adapter [Trendnet]
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
Subsystem: ASUSTeK Computer Inc. P8P67 Deluxe Motherboard [Realtek RTL8111E]
| With the dual port Quote: | 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
Subsystem: Realtek Semiconductor Co., Ltd. TEG-ECTX Gigabit PCI-E Adapter [Trendnet]
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
Subsystem: Realtek Semiconductor Co., Ltd. TEG-ECTX Gigabit PCI-E Adapter [Trendnet]
0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
Subsystem: ASUSTeK Computer Inc. P8P67 Deluxe Motherboard [Realtek RTL8111E] | Thanks for looking at this. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Wed Aug 24, 2011 9:18 pm Post subject: |
|
|
lspci -k should display the driver in use, like this:
Code: | 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
Kernel driver in use: r8169
|
See your dmesg, I discovered I had to supply firmware for above card to make it work properly. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fred Krogh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Wed Aug 24, 2011 9:29 pm Post subject: |
|
|
This is weird. lsmod |grep r81 shows
r8168 175144 0
Anyway, I'd appreciate knowing how to get and install the firmware. Can you help with that? Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fred Krogh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Wed Aug 24, 2011 10:27 pm Post subject: |
|
|
Things checked o.k. with http://kmuto.jp/debian/hcl/. I downloaded the firmware as you suggested and have unpacked it. I'm unclear on how to proceed at this point. Do I just copy all the stuff that unpacked into .lib/firmware over to /lib/firmware? Thanks,
Fred |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fred Krogh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Wed Aug 24, 2011 10:35 pm Post subject: |
|
|
Here are results from dmesg|grep -i -b1 -a2 realtek Quote: | 52126-[ 1.867044] r8168: This product is covered by one or more of the following patents: US5,307,459, US5,434,872, US5,732,094, US6,570,884, US6,115,776, and US6,327,625.
52295-[ 1.867047] eth0: Identified chip type is 'RTL8168C/8111C'.
52358:[ 1.867049] r8168 Copyright (C) 2011 Realtek NIC software team <nicfae@realtek.com>
52448-[ 1.867050] This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>.
52569-[ 1.867052] This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>.
--
53367-[ 1.895643] r8168: This product is covered by one or more of the following patents: US5,307,459, US5,434,872, US5,732,094, US6,570,884, US6,115,776, and US6,327,625.
53536-[ 1.895646] eth0: Identified chip type is 'RTL8168C/8111C'.
53599:[ 1.895647] r8168 Copyright (C) 2011 Realtek NIC software team <nicfae@realtek.com>
53689-[ 1.895648] This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>.
53810-[ 1.895649] This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>.
--
54813-[ 2.240396] r8168: This product is covered by one or more of the following patents: US5,307,459, US5,434,872, US5,732,094, US6,570,884, US6,115,776, and US6,327,625.
54982-[ 2.240399] eth0: Identified chip type is 'RTL8168E/8111E'.
55045:[ 2.240400] r8168 Copyright (C) 2011 Realtek NIC software team <nicfae@realtek.com>
55135-[ 2.240401] This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>.
55256-[ 2.240402] This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>.
| And dmesg |grep -i -b1 -a2 ether give Quote: | 51149-[ 1.837151] ACPI: Power Button [PWRF]
51190-[ 1.840152] ACPI: acpi_idle yielding to intel_idle
51244:[ 1.840704] r8168 Gigabit Ethernet driver 8.024.00-NAPI loaded
51310-[ 1.840728] r8168 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
51388-[ 1.840764] r8168 0000:04:00.0: setting latency timer to 64
--
52448-[ 1.867050] This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>.
52569-[ 1.867052] This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>.
52710:[ 1.867059] r8168 Gigabit Ethernet driver 8.024.00-NAPI loaded
52776-[ 1.867082] r8168 0000:05:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
52854-[ 1.867117] r8168 0000:05:00.0: setting latency timer to 64
--
53689-[ 1.895648] This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>.
53810-[ 1.895649] This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>.
53951:[ 1.895656] r8168 Gigabit Ethernet driver 8.024.00-NAPI loaded
54017-[ 1.895673] r8168 0000:0a:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
54095-[ 1.895695] r8168 0000:0a:00.0: setting latency timer to 64
| Is there more that would be useful? Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Wed Aug 24, 2011 10:42 pm Post subject: |
|
|
Fred,
I had a line in dmesg instructing me to put rtl8168d-2.fw into /lib/firmware/rtl_nic/
I did so and the message went away. I think there is something else wrong with your setup. Can you boot from a known good liveCD like SystemRescueCd and see if the card works. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fred Krogh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Thu Aug 25, 2011 12:22 am Post subject: |
|
|
The live cd (actually a usb stick) is able to access all the ethernet ports. It is using the r8169 driver just like I'm trying to do. I've tried copying over the firmware driver as was suggested as a possibility. That has had no effect. With the live cd, dmesg showed the jme ethernet driver getting loaded. I've tried putting that in my kernel, but that had no effect as I would expect. The live cd is dong something right that I'm not doing. I'd appreciate suggestions on how to track that down. My poking around did me no good. Thanks,
Fred |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fred Krogh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Thu Aug 25, 2011 4:04 am Post subject: |
|
|
Here is lspci -kvnn from the live cd: Quote: | 04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168]
Flags: bus master, fast devsel, latency 0, IRQ 43
I/O ports at a000 [size=256]
Memory at fa200000 (64-bit, non-prefetchable) [size=4K]
Memory at f4200000 (64-bit, prefetchable) [size=64K]
Expansion ROM at f4220000 [disabled] [size=128K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=2 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number a5-27-00-00-68-4c-e0-00
Kernel driver in use: r8169
Kernel modules: r8169
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168]
Flags: bus master, fast devsel, latency 0, IRQ 44
I/O ports at 9000 [size=256]
Memory at fa100000 (64-bit, non-prefetchable) [size=4K]
Memory at f4100000 (64-bit, prefetchable) [size=64K]
Expansion ROM at f4120000 [disabled] [size=128K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=2 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 93-27-00-00-68-4c-e0-00
Kernel driver in use: r8169
Kernel modules: r8169
0a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
Subsystem: ASUSTeK Computer Inc. P8P67 Deluxe Motherboard [Realtek RTL8111E] [1043:8432]
Flags: bus master, fast devsel, latency 0, IRQ 45
I/O ports at c000 [size=256]
Memory at f4304000 (64-bit, prefetchable) [size=4K]
Memory at f4300000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
Kernel driver in use: r8169
Kernel modules: r8169
|
And here is the same with the usual boot. Quote: | 04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)
Subsystem: Realtek Semiconductor Co., Ltd. TEG-ECTX Gigabit PCI-E Adapter [Trendnet] [10ec:8168]
Flags: bus master, fast devsel, latency 0, IRQ 54
I/O ports at a000 [size=256]
Memory at fa200000 (64-bit, non-prefetchable) [size=4K]
Memory at f4200000 (64-bit, prefetchable) [size=64K]
Expansion ROM at f4220000 [disabled] [size=128K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=2 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number a5-27-00-00-68-4c-e0-00
Kernel driver in use: r8169
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)
Subsystem: Realtek Semiconductor Co., Ltd. TEG-ECTX Gigabit PCI-E Adapter [Trendnet] [10ec:8168]
Flags: bus master, fast devsel, latency 0, IRQ 55
I/O ports at 9000 [size=256]
Memory at fa100000 (64-bit, non-prefetchable) [size=4K]
Memory at f4100000 (64-bit, prefetchable) [size=64K]
Expansion ROM at f4120000 [disabled] [size=128K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=2 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 93-27-00-00-68-4c-e0-00
Kernel driver in use: r8169
0a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
Subsystem: ASUSTeK Computer Inc. P8P67 Deluxe Motherboard [Realtek RTL8111E] [1043:8432]
Flags: bus master, fast devsel, latency 0, IRQ 56
I/O ports at c000 [size=256]
Memory at f4304000 (64-bit, prefetchable) [size=4K]
Memory at f4300000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
Kernel driver in use: r8169
|
The live cd is using modules while the usual case has the driver compiled into the kernel. Here is a diff of these two Quote: | Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168]
< Flags: bus master, fast devsel, latency 0, IRQ 43
---
> Subsystem: Realtek Semiconductor Co., Ltd. TEG-ECTX Gigabit PCI-E Adapter [Trendnet] [10ec:8168]
> Flags: bus master, fast devsel, latency 0, IRQ 54
17d16
< Kernel modules: r8169
20,21c19,20
< Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168]
< Flags: bus master, fast devsel, latency 0, IRQ 44
---
> Subsystem: Realtek Semiconductor Co., Ltd. TEG-ECTX Gigabit PCI-E Adapter [Trendnet] [10ec:8168]
> Flags: bus master, fast devsel, latency 0, IRQ 55
35d33
< Kernel modules: r8169
38c36
< Flags: bus master, fast devsel, latency 0, IRQ 45
---
> Flags: bus master, fast devsel, latency 0, IRQ 56
51d48
< Kernel modules: r8169
mon | I hope this suggests something to someone, as it doesn't do much for me. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fred Krogh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Thu Aug 25, 2011 4:19 am Post subject: |
|
|
Just to remove the question, I have tried this with the realtek driver included as a module. The only change is that when forming the difference between the previous uaual case and the new usual case, I get these three lines Quote: | Kernel modules: r8169 | . And of course when trying to bring up net.eth1, I get the message Quote: | * Bringing up interface eth1
* ERROR: interface eth1 does not exist
* Ensure that you have loaded the correct kernel module for your hardware
* ERROR: net.eth1 failed to start
| It seems there is some problem with the kernel module, but what??? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fred Krogh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Thu Aug 25, 2011 1:04 pm Post subject: |
|
|
You nailed it! There were 5 rules there. I just exchanged the names eth4, eth1, and eth5,eth2, and all is working. Well almost, I'm still not getting my eth2 to connect properly to the wireless router, but that is a different problem.
Many thanks, I've learned a lot here. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|