Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2003 11:31:23 +0100
From:      Scott Mitchell <scott+freebsd@fishballoon.org>
To:        Josef Karthauser <joe@FreeBSD.org>, freebsd-stable@freebsd.org
Subject:   Re: Weird USB lockup with Linksys USB100TX NIC
Message-ID:  <20030718103123.GB5243@llama.fishballoon.org>
In-Reply-To: <20030717184648.GB851@genius.tao.org.uk>
References:  <20030616210235.GB691@tuatara.fishballoon.org> <20030717184648.GB851@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Many thanks,

	Scott



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030718103123.GB5243>