Bug 11926
Summary: | [PATCH]sis190 doesn't detect ethernet cable removal (Realtek PHY) | ||
---|---|---|---|
Product: | Drivers | Reporter: | Herton Ronaldo Krzesinski (herton) |
Component: | Network | Assignee: | drivers_network (drivers_network) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | alan, fry.kun, hadamax, jgarzik, jsantos |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.30.1 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
poll for link status
Herton's patch, updated for 2.6.33+ |
Description
Herton Ronaldo Krzesinski
2008-10-31 14:37:39 UTC
Created attachment 18559 [details]
poll for link status
This patch I made fixed the problem for me. Not sure why in sis190 device here LinkChange isn't reported.
I can confirm this problem still exists... SiS191... x86_64 2.6.29+ I am also affected by 4G memory problems which I can get around by limiting the kernel to access only 3G... but link detection is broken for me still... upon cable disconnect there are no notifications... (In reply to comment #2) > I can confirm this problem still exists... SiS191... x86_64 2.6.29+ I > am > also affected by 4G memory problems which I can get around by limiting the > kernel to access only 3G... but link detection is broken for me still... upon > cable disconnect there are no notifications... Can you check the patch I attached in the ticket here? It should fix the issue, or you can say workaround as it's weird LinkChange isn't reported (it should be). I can confirm the problem persists in vanilla kernel 2.6.30.1, I then applied the patch to the same kernel and the driver started working as expected. It now detects correctly when the cable is plugged and when is unplugged. I'm using Debian Lenny with vanila kernell 2.6.30.1 on a Clevo/kapok computer device 0802 Laptop. Created attachment 25296 [details]
Herton's patch, updated for 2.6.33+
Updated Herton's patch to apply to the current kernel as of March 1, 2010.
A re-test to confirm this fixes the issue would be appreciated.
Posted to netdev: http://marc.info/?l=linux-netdev&m=126747601613756&w=2 Confirm working with Atheros PHY. Without this patch, link changes are not detected |