lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1389385824.2025.95.camel@bwh-desktop.uk.level5networks.com>
Date:	Fri, 10 Jan 2014 20:30:24 +0000
From:	Ben Hutchings <bhutchings@...arflare.com>
To:	Thomas Kear <thomas@...r.co.nz>
CC:	netdev <netdev@...r.kernel.org>, <linux-usb@...r.kernel.org>
Subject: Re: PROBLEM: usbnet / ax88179_178a: Panic in usb_hcd_map_urb_for_dma

On Sat, 2014-01-11 at 08:56 +1300, Thomas Kear wrote:
> USB3 gigabit ethernet adapters with the ASIX AX88179 chipset (LevelOne
> USB0401-V3, Plugable USB3-E1000, SIIG JU-NE0211-S1 and others) are
> experiencing kernel panics in usb_hcd_map_urb_for_dma since 3.12.
[...]
> So far as I can tell, the driver is unaffected as late as 3.11.6, but
> problematic as of 3.12 (and still affected in 3.13-rc5).  The history
> of drivers/net/usb/ax88179_178a.c for this time period yields this
> patch, which at least in my somewhat limited understanding appeared a
> likely candidate.  I've reverted this on my system - against several
> linux-next builds from the last 3-4 weeks - and have had no issues
> with this network controller since.
> 
> commit 3804fad45411b48233b48003e33a78f290d227c8
> Author: Ming Lei <ming.lei@...onical.com>
> Date:   Thu Aug 8 21:48:25 2013 +0800
> 
>     USBNET: ax88179_178a: enable tso if usb host supports sg dma

Enabling SG DMA here has unfortunately caused a number of regressions as
the XHCI (USB 3 controller) hardware is a bit inflexible and the driver
wasn't quite ready to handle the SG lists generated for net devices.

I don't think I've seen this particular symptom though, and it might
indicate a bug in usbnet.

[...]
> [2] http://i.imgur.com/NCanPUY.jpg

For those joining us on linux-usb, this is a photo of the panic.

Ben.

-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ