r8169 driver does not detect link
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-source-2.6.20 (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned | ||
linux-source-2.6.22 (Ubuntu) |
Fix Released
|
Unknown
|
Unassigned |
Bug Description
Binary package hint: linux-source-2.6.20
You need system with r8169 card (Realtek Gigabit card)
1. start system with ethernet cable _disconnected_
2. connect ethernet cable
- system says no link detected - not true
To overcome this you have to
1) unload driver - rmmod r8169
2) load the driver again - modprobe r8169
after that opreations driver sees link
important pieces from dmesg:
loading driver
[ 4.184000] r8169 Gigabit Ethernet driver 2.2LK loaded
[ 4.184000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18 (level, low) -> IRQ 17
[ 4.184000] PCI: Setting latency timer of device 0000:03:00.0 to 64
[ 4.184000] eth0: RTL8168b/8111b at 0xf88b8000, 00:18:f3:ee:2f:2a, IRQ 17
init driver (ethernet disconnected)
[ 16.372000] r8169: eth0: link down
[ 17.252000] NET: Registered protocol family 10
[ 17.252000] lo: Disabled Privacy Extensions
[ 17.252000] ADDRCONF(
at this point ethtool says that there is no link detected (machine at the other side of the cable says otherwise)
unloading driver:
[ 5641.472000] ACPI: PCI interrupt for device 0000:03:00.0 disabled
and loading it again:
5644.756000] r8169 Gigabit Ethernet driver 2.2LK loaded
[ 5644.756000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18 (level, low) -> IRQ 17
[ 5644.756000] PCI: Setting latency timer of device 0000:03:00.0 to 64
[ 5644.756000] eth0: RTL8168b/8111b at 0xf8d42000, 00:18:f3:ee:2f:2a, IRQ 17
[ 5644.804000] r8169: eth0: link down
[ 5644.804000] ADDRCONF(
[ 5646.380000] r8169: eth0: link up
[ 5646.380000] ADDRCONF(
[ 5656.756000] eth0: no IPv6 routers present
and now link is properly detected
important lspci -vvnn piece
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 01)
Subsystem: ASUSTeK Computer Inc. Unknown device [1043:11f5]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 17
Region 0: I/O ports at c800 [size=256]
Region 2: Memory at fe1ff000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at fe1e0000 [disabled] [size=64K]
uname -a
Linux ali 2.6.20-8-generic #2 SMP Tue Feb 13 05:18:42 UTC 2007 i686 GNU/Linux
My system is Asus A8Jn laptop
Changed in linux-source-2.6.20: | |
assignee: | brian-murray → nobody |
status: | Needs Info → Confirmed |
Changed in linux-source-2.6.20: | |
assignee: | nobody → ubuntu-kernel-team |
importance: | Undecided → Medium |
Changed in linux-source-2.6.20: | |
assignee: | nobody → ubuntu-kernel-team |
Changed in linux-source-2.6.22 (Ubuntu): | |
status: | Fix Released → Confirmed |
Thanks for your bug report. Could you please also add the output of ethtool after you have connected the cable? Thanks in advance.