Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2013 08:17:52 +1100
From:      Peter Jeremy <peter@rulingia.com>
To:        freebsd-usb@freebsd.org
Subject:   USB bus stopping
Message-ID:  <20131116211752.GA96782@server.rulingia.com>

next in thread | raw e-mail | index | archive | help

--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I'm trying to do a dump|restore from one disk to a replacement, with
the new disk in a USB enclosure.  Every few minutes (though it's
random), the writes stop for a few minutes for no obvious reason.  I
managed to capture one instance with usbdump:

07:34:26.142023 usbus4.2 SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
16384,IVAL=3D0
07:34:26.143096 usbus4.2 DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0,ERR=3D0
07:34:26.143110 usbus4.2 SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0
07:34:26.143220 usbus4.2 DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D=
16,IVAL=3D0,ERR=3D0
07:34:26.143321 usbus4.2 SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
32,IVAL=3D0
07:34:26.143478 usbus4.2 DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0,ERR=3D0
07:34:26.143582 usbus4.2 SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
65536,IVAL=3D0
07:34:26.145743 usbus4.2 DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0,ERR=3D0
07:34:26.145761 usbus4.2 SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0
07:34:26.145842 usbus4.2 DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D=
16,IVAL=3D0,ERR=3D0
07:34:26.145884 usbus4.2 SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
32,IVAL=3D0
07:34:26.145964 usbus4.2 DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0,ERR=3D0
07:34:26.146027 usbus4.2 SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
32768,IVAL=3D0
07:34:26.147098 usbus4.2 DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0,ERR=3D0
07:34:26.147114 usbus4.2 SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0
07:34:26.147222 usbus4.2 DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D=
16,IVAL=3D0,ERR=3D0
07:34:26.147299 usbus4.2 SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
32,IVAL=3D0
07:34:26.147358 usbus4.2 DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0,ERR=3D0
07:34:26.147420 usbus4.2 SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
20480,IVAL=3D0
07:35:29.624720 usbus4.2 DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D0,SLEN=3D=
0,IVAL=3D0,ERR=3DTIMEOUT
07:35:29.624742 usbus4.2 SUBM-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D=
8,IVAL=3D0
07:35:29.624842 usbus4.2 DONE-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0,ERR=3D0
07:35:29.624858 usbus4.2 SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0
07:35:29.624955 usbus4.2 DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D=
16,IVAL=3D0,ERR=3D0
07:35:29.625051 usbus4.2 SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
32,IVAL=3D0
07:35:29.625205 usbus4.2 DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0,ERR=3D0
07:35:29.625239 usbus4.2 SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
4096,IVAL=3D0
07:35:29.625453 usbus4.2 DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0,ERR=3D0
07:35:29.625463 usbus4.2 SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0
07:35:29.625579 usbus4.2 DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D=
16,IVAL=3D0,ERR=3D0
07:35:29.625657 usbus4.2 SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
32,IVAL=3D0
07:35:29.625712 usbus4.2 DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0,ERR=3D0
07:35:29.625736 usbus4.2 SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
4096,IVAL=3D0
07:35:29.625955 usbus4.2 DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0,ERR=3D0
07:35:29.625965 usbus4.2 SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D=
0,IVAL=3D0
07:35:29.626078 usbus4.2 DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D=
16,IVAL=3D0,ERR=3D0

One anomoly is that the above doesn't match the usbdump man page.

The system is a JW-D2500-GT motherboard (Intel D2500 CPU) using the builtin
N10 for USB, running FreeBSD 9.2R/amd64.  The disk is a new WDC WD5000BPKT
plugged into a Sunplus Technology Inc. adapter.  I'm not using any hubs.

The problem doesn't seem to occur if I just do sequential writes (dd
to the disk).  Any suggestions?

--=20
Peter Jeremy

--IS0zKkzwUGydFO0o
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iKYEARECAGYFAlKH4QBfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldDBCRjc3QTcyNTg5NEVCRTY0RjREN0VFRUZF
OEE0N0JGRjAwRkI4ODcACgkQ/opHv/APuIdoSwCgt5qzJkl4GipN432QHxGr5hbM
WS0An0dbCtZNyaQ5wrHMV4XmWKQ8fSWr
=U2AR
-----END PGP SIGNATURE-----

--IS0zKkzwUGydFO0o--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131116211752.GA96782>