From owner-freebsd-usb@FreeBSD.ORG Sat Nov 16 21:39:47 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A27FAB1 for ; Sat, 16 Nov 2013 21:39:47 +0000 (UTC) Received: from vps.rulingia.com (host-122-100-2-194.octopus.com.au [122.100.2.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 528AF266F for ; Sat, 16 Nov 2013 21:39:45 +0000 (UTC) Received: from server.rulingia.com (c220-239-250-249.belrs5.nsw.optusnet.com.au [220.239.250.249]) by vps.rulingia.com (8.14.7/8.14.5) with ESMTP id rAGLHw3Q085248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 17 Nov 2013 08:18:00 +1100 (EST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.7/8.14.7) with ESMTP id rAGLHqSS075825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 17 Nov 2013 08:17:53 +1100 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.7/8.14.7/Submit) id rAGLHqCH075824 for freebsd-usb@freebsd.org; Sun, 17 Nov 2013 08:17:52 +1100 (EST) (envelope-from peter) Date: Sun, 17 Nov 2013 08:17:52 +1100 From: Peter Jeremy To: freebsd-usb@freebsd.org Subject: USB bus stopping Message-ID: <20131116211752.GA96782@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2013 21:39:47 -0000 --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--