Re: ax88179_178a hang over xhci

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 05, 2014 at 06:04:19PM +0200, Andrea Arcangeli wrote:
> On Fri, Sep 05, 2014 at 08:53:59AM +0000, David Laight wrote:
> > > On Wed, Aug 20, 2014 at 04:12:49PM +0200, Andrea Arcangeli wrote:
> > > > Hi Sarah,
> > > >
> > > > just a short followup on this. I still had 1gbps hangs with the
> > > > 0b95:1790 ASIX Electronics Corp device using xhci. But it seems now
> > > > stable for the last 12 hours under heavy load after I removed all
> > > > powersaving features.
> > > >
> > ...
> > > > > Unless the hardware is broken there's something wrong in xhci or the
> > > > > usbnet driver that makes it hang with my usual stress test I do to
> > > > > check if the networks is reliable. The device driver is ax88179_178a.c
> > 
> > There are still some bugs in the xhci ring handling that can affect
> > the ax88179_178a driver+hardware.
> > I needs the fix to ensure that the ring boundaries are aligned with usb
> > packets, otherwise packets can get lost and the tx side can lock up.
> 
> Ok once fixed feel free to CC me so I can test it.

Andrea, Dan Williams has a set of patches that should resolve this
issue, please test these:

http://marc.info/?l=linux-usb&m=140872773111261&w=2

> I'm running
> ax88179_178a in two places without apparent problems, interestingly I
> didn't reproduce more lockups after turning off the powersave
> feature. The only catch is that the xhci hang is not easily
> reproducible...

Which powersave feature?

> One more thing worth mentioning, I had to disable tx/rx checksum in
> hardware (enabled by default) with ethtool or it wouldn't resume from
> RAM but that was a black and white issue, the only real annoyance was
> the occasional xhci hang that requires rmmod xhci_hcd to recover from.

What do you mean by hang?  Do other USB devices work under xhci (e.g.
mouse and keyboard) but the ethernet stops working?  Or all USB devices
under xHCI stop working?  Or the xHCI driver causes a kernel oops?
What's the failure mode?

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux