Weird USB lockup with Linksys USB100TX NIC
scott+freebsd at fishballoon.org
Fri Jul 18 03:32:10 PDT 2003
On Thu, Jul 17, 2003 at 07:46:48PM +0100, Josef Karthauser wrote:
> On Mon, Jun 16, 2003 at 10:02:35PM +0100, Scott Mitchell wrote:
> > So I have one of these, that I bought cheap on eBay. It was working just
> > fine on my main -STABLE workstation (Abit KG7 motherboard), up until last
> > Friday when I moved it onto the VIA EPIA-M machine I'm building. The NIC
> > was detected OK as aue0, then the machine locked up running dhclient. It
> > turns out that it wasn't really hung, but apparently spinning in the kernel
> > on behalf of ifconfig. I say apparently, because the only thing I could
> > figure out was that I had an ifconfig process consuming vast amounts of CPU
> > in a wait on 'usbdly', before I got fed up waiting ~20s for keypresses to
> > respond and rebooted.
> > I've since discovered that I can reproduce this on demand by booting single
> > user and doing an 'ifconfig down aue0'. This will take at least a minute
> > to complete and leaves the machine almost totally unresponsive afterwards.
> > I'll often get a bunch of 'usb error on rx: IOERROR' kernel messages while
> > ifconfig is running. The NIC seems to still work OK otherwise.
> That's the network card that I use. Try plugging it into a 10 base
> connection (instead of 100 base) and watch it work. I could never work
> out why it hung my machine in 100 base mode.
Josef, you're a lifesaver. Plugged it into my old, dumb 10Mbit hub and it
works just fine. It certainly doesn't like the 10/100 switch that everything
else is plugged into though. Thinking back, the point where it 'stopped
working' might well be the time that I retired the old hub... the new switch
arrived at the same time as the Mini-ITX box, and the Linksys card never
wanted to work with that combination.
I wonder if it's an autonegotiation problem? This switch is just a cheapy
unmanaged DLink thing, so there's not much I can try here... maybe I'll take
it into the office and see what the Catalyst switches think about it.
This card is supposed to sit between my cable modem and new firewall/router
box. Fortunately the modem (Terayon TJ210) appears to only have a 10BaseT
port so I should be OK there.
More information about the freebsd-stable