Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2016 13:38:26 -0300
From:      =?UTF-8?B?T3RhY8OtbGlv?= <otacilio.neto@bsd.com.br>
To:        Hans Petter Selasky <hps@selasky.org>, Adrian Chadd <adrian@freebsd.org>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: Small example program shut down urtwn
Message-ID:  <44440370-dfc1-f781-e69b-97fbcbc582b2@bsd.com.br>
In-Reply-To: <65f68e6c-a1cc-73ec-f3f0-048d4f339ad8@selasky.org>
References:  <fea1f0b8-d17c-5fc1-9593-6d8a6e2032db@bsd.com.br> <CAJ-Vmokotf8cf2HEDhwc6WYzMNLGoj-ZeV4UAxJFDjD6=yu76w@mail.gmail.com> <65f68e6c-a1cc-73ec-f3f0-048d4f339ad8@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Em 06/09/2016 04:44, Hans Petter Selasky escreveu:
> On 09/06/16 06:47, Adrian Chadd wrote:
>>  missing some bus
>> barriers for ARM or something?
>
> FYI: Most of the USB control and data memory is coherently allocated 
> and don't need barriers. You can try capturing a trace using usbdump, 
> of the traffic on your device, and see where it hangs:
>
> usbdump -i usbusX -f Y -s 65536
>
> --HPS

I did and after a lot of messages this error appears. If you need I can 
send the all log file.

13:04:30.421645 usbus1.2 
DONE-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0
13:04:30.486012 usbus1.2 
DONE-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=384,IVAL=0,ERR=0
13:04:30.486026 usbus1.2 SUBM-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=0,IVAL=0
13:04:30.684198 usbus1.2 
DONE-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=384,IVAL=0,ERR=0
13:04:30.684215 usbus1.2 SUBM-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=0,IVAL=0
13:04:30.785275 usbus1.2 
DONE-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=384,IVAL=0,ERR=0
13:04:30.785290 usbus1.2 SUBM-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=0,IVAL=0
13:04:30.886512 usbus1.2 
DONE-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=384,IVAL=0,ERR=0
13:04:30.886524 usbus1.2 SUBM-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=0,IVAL=0
13:04:30.899415 usbus1.2 
DONE-BULK-EP=00000003,SPD=HIGH,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
13:04:30.959399 usbus1.2 SUBM-CTRL-EP=00000000,SPD=HIGH,NFR=1,SLEN=8,IVAL=50
13:04:30.959469 usbus1.2 
DONE-CTRL-EP=00000000,SPD=HIGH,NFR=1,SLEN=0,IVAL=50,ERR=0
13:04:30.959484 usbus1.2 
SUBM-BULK-EP=00000003,SPD=HIGH,NFR=1,SLEN=1576,IVAL=0
13:04:30.991390 usbus1.2 
DONE-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=384,IVAL=0,ERR=0
13:04:30.991404 usbus1.2 SUBM-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=0,IVAL=0
13:04:31.093821 usbus1.2 
DONE-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=384,IVAL=0,ERR=0


After a lot of messages this appears:

13:04:40.000436 usbus1.2 
DONE-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=384,IVAL=0,ERR=0
13:04:40.000447 usbus1.2 SUBM-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=0,IVAL=0
urtwn0: device timeout



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44440370-dfc1-f781-e69b-97fbcbc582b2>