USB Ethernet (aue) panics on 4.10 (kern/69319)
scott+freebsd at fishballoon.org
Thu Dec 2 14:54:52 PST 2004
On Thu, Dec 02, 2004 at 09:15:21PM +0100, Barry Bouwsma wrote:
> On Thu, 2 Dec 2004 00:08:31 +0000, Scott Mitchell wrote:
> > > I've put what I *think* I've compiled into a module up at
> > > https://NOSPAM.dydnds.dk/hacks/
> > Cool. I'll take a look at this over the weekend. if_axe looks similar
> > enough to the rest of the USB Ethernet drivers (they were all wpaul
> > creations to begin with) so it shouldn't be too hard to put together
> > something that's mostly right...
> I'm overjoyed to report that your patches to if_aue and its ilk
> (and uhbdi-whatnot) are what I needed to get if_axe working, whee
> And that's what I'm sending this mail out on, no less. Though I
> haven't done a Real Test -- I've only made a 10Mbit/sec connection
> to a Cabal Modem. I'll probably try a 100Mbit/sec switch sometime
> Real Soon Now.
Excellent news! Certainly makes my job a lot easier if you've already done
all the hard work to get the thing running :-)
> There are two more if_axe.c files in the location given above to
> be downloaded now -- -NEWTEST, and -THIS_REALLY_WORKS!!@!!
> The latter is what I'm using. The only real difference between
> it and -NEWTEST is that the former has splx(s) and the like, taken
> from either NetBSD or DragonFly's if_axe code.
> I don't think that locking was what caused me to have panics in
> nd6_timer; I think it's one of my homebrewed scripts I use to
> assign IPv6 addresses, that is sub-optimal when more than one
> dhclient'ed interface is present. (Not that I should be able to
> induce an IPv6-related panic by ifconfig'ing interfaces, but it's
> been that way for years)
I'm pretty sure we don't need the locking in these drivers anymore,
although I'm not 100% clear on the details. Certainly all the
splusb()/splx() stuff disappeared with Julian's mega-MFC after 4.10.
> Anyway, I still plan to take the latest -current code, and merge
> in what's needed from my ugly-hacked versions as neatly as possible,
> and put that up eventually as if_axe.c with no suffix.
Looking forward to it.
Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England | 0x54B171B9 | don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B | -- Anon
More information about the freebsd-usb