[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: realtek r8189 driver problem on 64 bit kernel



On 12/10/13 10:25 AM, Wackojacko wrote:
I have recently updated my motherboard which has resulted in me having
an updated realtek r8168 chip (rev 6 instead of rev 3), unfortunately
the new chip fails to get a connection via dhcp, and setting a static
address results in 100% packet loss.

I am currently running sid amd64 and have tried various things including
downloading the latest driver from Realtek, experimental kernel and
numerous live CD's. What I discovered by chance was that the NIC worked
when using debian 32 bit distribution (confirmed with debian live cd)
which is now installed to keep me on the go :). Interestingly it works
whether the firmware is installed or not on 32 bit.

I have compared the output of dmesg, lspci, lshw, ethtool from both
distributions and the only difference I found relating to the driver was

r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control

and a different address and IRQ for the NIC.

so I tried booting with pcie_aspm=off (it was disabled anyway) and the
warning disappeared but the NIC still didn't work.

This is the adapter on a Gigabyte 970a-dsp3 motherboard

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)

and dmesg shows on amd64

r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
r8169 0000:03:00.0: irq 72 for MSI/MSI-X
r8169 0000:03:00.0 eth0: RTL8168evl/8111evl at 0xffffc90000616000, (MAC
ADDRESS), XID 0c900880 IRQ 72
r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes, tx
checksumming: ko]
r8169 0000:03:00.0: firmware: agent loaded rtl_nic/rtl8168e-3.fw into
memory

on 32bit

r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
r8169 0000:03:00.0: irq 73 for MSI/MSI-X
r8169 0000:03:00.0 eth0: RTL8168evl/8111evl at 0xf8274000,(MAC ADDRESS),
XID 0c900880 IRQ 73
r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes, tx
checksumming: ko]
r8169 0000:03:00.0: firmware: agent loaded rtl_nic/rtl8168e-3.fw into
memory

As you can see the driver loads and eth0 comes up but no ip address from
the router.

Any help would be aprreciated

Thanks

Wackojacko

I had a similar problem but fixed it by enabling IOEMU in the BIOS of my Gigabyte 970A-D3P.


Reply to: