From mboxrd@z Thu Jan 1 00:00:00 1970 From: Craig Small Subject: r8169 won't transmit with 3.12 Date: Tue, 21 Jan 2014 11:06:15 +1100 Message-ID: <20140121000615.GA30495@enc.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org To: Realtek linux nic maintainers , Francois Romieu Return-path: Received: from ipmail06.adl6.internode.on.net ([150.101.137.145]:44148 "EHLO ipmail06.adl6.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750822AbaAUAGZ (ORCPT ); Mon, 20 Jan 2014 19:06:25 -0500 Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: Hi, I seem to be having lots of troubles with the RealTek chipsets. I have one onboard and two PCI-e cards and they all have the same problem. They will not transmit anything. The r8169 driver does it, as does the r8168-dkms module. It's a new setup so it might of never worked. It's not likely to be a hardware problem as its three different devices. I've sent what I think you might need for starters, but if there is extra stuff you'd like to see, let me know. I'm using a stock Debian kernel 3.12-1-amd64 #1 SMP Debian 3.12.6-2 (2013-12-29) I've included the lspci output of one of the cards below. I'm not really sure what else you'd need to check things. The problem shows up the same, the TX dropped counter increments. I'm not sure why 42 packets made it out (or even if they really did) Receive works fine, I can even start up wireshark and see packets pass by. eth0 Link encap:Ethernet HWaddr 00:e0:4c:80:66:57 inet addr:192.168.1.222 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::2e0:4cff:fe80:6657/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8252 errors:0 dropped:0 overruns:0 frame:0 TX packets:42 errors:0 dropped:8029 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:584930 (571.2 KiB) TX bytes:5083 (4.9 KiB) ethtool -S shows a similar story, not sure if the rx_missed counter is another problem: NIC statistics: tx_packets: 47 rx_packets: 31342 tx_errors: 0 rx_errors: 0 rx_missed: 47438 align_errors: 0 tx_single_collisions: 0 tx_multi_collisions: 0 unicast: 1 broadcast: 29638 multicast: 1891 tx_aborted: 0 tx_underrun: 0 I've disabled the on-board device now, but the simple lspci output was: 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) The PCI-e cards have the following: 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02) Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-