M
Myatu
Guest
I've noticed the r8168 network driver (kernel) wasn't included with the 1.3 -> 1.4 upgrade (and r8169 doesn't work for it). Was this intentional?
I've noticed the r8168 network driver (kernel) wasn't included with the 1.3 -> 1.4 upgrade (and r8169 doesn't work for it). Was this intentional?
We include a backported version of the r8169, which also works with r8168 (at least a few people reported that it works).
host:~# [B]lspci -v | grep -i "Ethernet"[/B]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
03:01.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11) (rev 11)
Subsystem: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11)
udevinfo -a -p /sys/class/net/eth0
looking at device '/devices/pci0000:00/0000:00:1c.5/0000:04:00.0/net/eth0':
KERNEL=="eth0"
SUBSYSTEM=="net"
DRIVER==""
ATTR{addr_len}=="6"
ATTR{iflink}=="2"
ATTR{ifindex}=="2"
ATTR{features}=="0x180"
ATTR{type}=="1"
ATTR{link_mode}=="0"
ATTR{address}=="00:24:1e:a4:ff:32"
ATTR{broadcast}=="ff:ff:ff:ff:ff:ff"
ATTR{carrier}=="1"
ATTR{dormant}=="0"
ATTR{operstate}=="unknown"
ATTR{mtu}=="1500"
ATTR{flags}=="0x1103"
ATTR{tx_queue_len}=="1000"
looking at parent device '/devices/pci0000:00/0000:00:1c.5/0000:04:00.0/net':
KERNELS=="net"
SUBSYSTEMS==""
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:1c.5/0000:04:00.0':
KERNELS=="0000:04:00.0"
SUBSYSTEMS=="pci"
[B]DRIVERS=="r8169"[/B]
ATTRS{vendor}=="0x10ec"
[B]ATTRS{device}=="0x8168"[/B]
ATTRS{subsystem_vendor}=="0x1458"
ATTRS{subsystem_device}=="0xe000"
ATTRS{class}=="0x020000"
ATTRS{irq}=="2299"
ATTRS{local_cpus}=="00000000,00000000"
ATTRS{modalias}=="pci:v000010ECd00008168sv00001458sd0000E000bc02sc00i00"
ATTRS{numa_node}=="-1"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""
looking at parent device '/devices/pci0000:00/0000:00:1c.5':
KERNELS=="0000:00:1c.5"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport-driver"
ATTRS{vendor}=="0x8086"
ATTRS{device}=="0x3a4a"
ATTRS{subsystem_vendor}=="0x0000"
ATTRS{subsystem_device}=="0x0000"
ATTRS{class}=="0x060400"
ATTRS{irq}=="2300"
ATTRS{local_cpus}=="00000000,00000000"
ATTRS{modalias}=="pci:v00008086d00003A4Asv00000000sd00000000bc06sc04i00"
ATTRS{numa_node}=="-1"
ATTRS{enable}=="2"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}=="1"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
# lspci -s 03:00.0 -v
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Subsystem: Intel Corporation Device d608
Flags: bus master, fast devsel, latency 0, IRQ 2300
I/O ports at d000 [size=256]
Memory at fea20000 (64-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at e4000000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
Capabilities: [48] Vital Product Data <?>
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable+
Capabilities: [60] Express Endpoint, MSI 00
Capabilities: [84] Vendor Specific Information <?>
Kernel driver in use: r8168
Kernel modules: r8169
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 2299
I/O ports at c000 [size=256]
Memory at f8010000 (64-bit, prefetchable) [size=4K]
Memory at f8000000 (64-bit, prefetchable) [size=64K]
[virtual] Expansion ROM at f8020000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2
Capabilities: [d0] Vital Product Data <?>
Kernel driver in use:[B] r8169[/B]
Kernel modules: r8169
Myatu, your Onboard NIC is RTL8168 (rev 01). Mine is (rev 02). You are not using the backported driver.
I have execute this for using the backported driver
The first time i haven't execute this but the network don't works
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Subsystem: Intel Corporation Device d608
Flags: bus master, fast devsel, latency 0, IRQ 2300
I/O ports at e000 [size=256]
Memory at ff820000 (64-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at 80000000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
Capabilities: [48] Vital Product Data <?>
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable+
Capabilities: [60] Express Endpoint, MSI 00
Capabilities: [84] Vendor Specific Information <?>
Kernel driver in use: r8168
Kernel modules: r8169, r8168
Kernel driver in use: r8168
Kernel modules: r8169, r8168
My server is a ubuntu hardy and r8169 have problems with this distribution, the only solution I found to get network back was to build r8169 driver.