On Fri, Mar 06, 2015 at 11:24:27PM +0100, Martin Pieuchot wrote:
> On 06/03/15(Fri) 22:06, Remi Locherer wrote:
> > On Fri, Mar 06, 2015 at 09:15:23AM +0100, Stefan Sperling wrote:
> > > On Fri, Mar 06, 2015 at 08:45:20AM +0100, Remi Locherer wrote:
> > > > Hi,
> > > > 
> > > > Since about fall 2014 I see "urtwn0 timeout" every now an then like 
> > > > others that reported it. An unplug and replut of the urtwn device
> > > > usually helped.
> > > > 
> > > > But with the snapshots from March 1st and 3rd the system just freezes
> > > > when I unplug the urtwn device after I see the timeout message in
> > > > xconsole. The system just freezes and does not drop to ddb.
> > > > 
> > > > With the snapshot from February 20 I did not observe these freezes.
> > > > 
> > > > Outputs of lsusb -v and dmesg below.
> > > > 
> > > > Remi
> > > > 
> > > 
> > > Hi Remi,
> > > 
> > > I've discussed this with mpi. We're unsure what's going on exactly. 
> > > 
> > > Can you please really make sure you're not dropping into ddb (i.e.
> > > don't detach the device while in X, but when on console)?
> > 
> > Your assumption is right! Switching from X to console _before_ unplugging
> > the urtwn device gives me an ddb promt. I made photos from trace and ps:
> > 
> > * page fault trap: https://relo.ch/urtwn_freeze/IMG_20150306_184105.jpg
> > * trace cpu 0 - 3: https://relo.ch/urtwn_freeze/IMG_20150306_192412.jpg
> > * ps part 1: https://relo.ch/urtwn_freeze/IMG_20150306_192537.jpg
> > * ps part 2: https://relo.ch/urtwn_freeze/IMG_20150306_192708.jpg
> 
> It looks like we're trying to remove a transfer from the list of pending
> xfers when it has not yet been added to it.
> 
> Could you tell me if the diff below fixes your issue?

I built a kernel with this diff and the diff from Stefan applied on a
cvs checkout from yesterday. I could provoke an urtwn0 timeout with running
speedtest-cli.

* TX status and page fault trap: 
  https://relo.ch/urtwn_freeze/IMG_20150307_134913.jpg
* trace cpu 2,0,1,3: 
  https://relo.ch/urtwn_freeze/IMG_20150307_135150.jpg

I tested the same with urtwn plugged to the xhci port. The timeout also
happens but I can unplug the device without the system dropping to ddb.

Reply via email to