Description of problem: The Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 20) Ethernet adapter does not work under kernel 3.5.x. It *does* work under kernel 3.4.4-5. Version-Release number of selected component (if applicable): See above. How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This bug was observed under Fedora 17 i686 on an HP pavilion zt3010US laptop with revision 20 of some RTL-8139/C/C+ NIC on the motherboard. Upon connecting to a network with a DHCP server, NetworkManager never gets an IP address, and no packets are transmitted from the laptop. The NIC uses the 8139cp driver. The 3.5 and 3.6 kernels are affected, the 3.4 kernels work. The system logs show nothing unusual until the point where the NIC fails to obtain a DHCP address. The code in cp_init_hw() in the kernel 8139cp module was changed at 3.5, setting up the ring buffers before rather than after enabling transmit/receive. This prevents the NIC from transmitting packets. A patch is attached to fix the problem for the 3.6 kernels. It should work on 3.5.x also. The 3.7 kernels have not been tested.
Created attachment 645181 [details] Bug fix Realtek 8139cp driver patch
This bug appears to have been reported and fixed upstream at kernel.org. https://bugzilla.kernel.org/show_bug.cgi?id=47271 The fix is already in the sacred source tree of the Holy One. :-)
Nice spot. We'll get this in.
Patch applied. Thanks for your efforts on this one William.
Actually, we have two different commits we were pointed to in net-next by David Woodhouse. Would you please give this scratch build a try when it completes and let us know if the problem is resolved for you? http://koji.fedoraproject.org/koji/taskinfo?taskID=4730596
This build resolves the problem. Several boots and cable connect/disconnect cycles were done to confirm that the Ethernet port was working properly.
Excellent. Thank you for letting us know. I'll get these fixes in today.
kernel-3.6.8-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/kernel-3.6.8-2.fc16
kernel-3.6.8-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/kernel-3.6.8-2.fc17
Package kernel-3.6.8-2.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kernel-3.6.8-2.fc17' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-19337/kernel-3.6.8-2.fc17 then log in and leave karma (feedback).
kernel-3.6.8-2.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
kernel-3.6.9-4.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/kernel-3.6.9-4.fc18
kernel-3.6.9-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/kernel-3.6.9-2.fc16
kernel-3.6.9-4.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
kernel-3.6.10-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/kernel-3.6.10-2.fc16
kernel-3.6.10-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.