Red Hat Bugzilla – Bug 125792
3c59x driver polls link status too slowly
Last modified: 2007-11-30 17:10:44 EST
Kernel 2.6.6-1.422, Dell Latitude LS PP01S (PIII 500)
Onboard 3Com 3c905c-TX/TX-M [Tornado] (rev 78)
PCCard 3Com 3cCFE575CT (also used 3c59x driver)
Neither of these cards get their link status reported by netlink
sockets. Using ifplugd as a test (and a specialized test program), a
netlink socket is created and select()-ed on in the main loop.
However, the file descriptor of the netlink socket only had readable
data once, during the first select (or soon thereafter). Subsequent
cable connects/disconnects from the onboard card have no effect and
the file descriptor no longer ever has any data waiting.
mii-tool correctly reports link status for these cards, so they
definitely have mii registers which are readable and correct, but
netlink never notifies the user-space program that the socket has any
Ok, the problem is not that it never gets called, but that it only
gets called every minute. The vortex_timer() function has the line
Which arjan says is 1 minute (next_tick = 60 * HZ). That's really too
long of a wait...
Arjan's 2.6.6-1.434 seems to work acceptably
is this a dupe of #119965 ?
Dave: not a dupe, different driver AFAICT. Anyway, its fixed now