From owner-freebsd-usb@FreeBSD.ORG Mon Apr 27 11:13:56 2015 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 69B6CAE7 for ; Mon, 27 Apr 2015 11:13:56 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2B7F21469 for ; Mon, 27 Apr 2015 11:13:55 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id F177D1FE023; Mon, 27 Apr 2015 13:13:53 +0200 (CEST) Message-ID: <553E1A22.7000402@selasky.org> Date: Mon, 27 Apr 2015 13:14:42 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: kott , freebsd-usb@freebsd.org Subject: Re: usb write error References: <1430118496759-6007874.post@n5.nabble.com> <553E0EE0.60701@selasky.org> <1430133010408-6007910.post@n5.nabble.com> In-Reply-To: <1430133010408-6007910.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Apr 2015 11:13:56 -0000 On 04/27/15 13:10, kott via freebsd-usb wrote: > root$ dd if=/dev/zero of=/dev/da0 seek=0x3bafff bs=512 > > (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 3b af ff 00 00 01 00 > (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error > (da0:umass-sim0:0:0:0): Retrying command > > (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 3b af ff 00 00 01 00 > Jan 1 00:27:59 kernel: (da0:umass-sim0:0:0:0): CAM status: CCB request > completed with an error > Jan 1 00:27:59 kernel: (da0:umass-sim0:0:0:0): Retrying command > (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 3b af ff 00 00 01 00 > (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error > (da0:umass-sim0:0:0:0): Retrying command > , Retries exhausted > dd: /dev/da0: Input/output error > 1+0 records in > 0+0 records out > > 0 bytes transferred in 96.712889 secs (0 bytes/sec) > , Retries exhausted > (da0:umass-sim0:0:0:0): got CAM status 0x44 > (da0:umass-sim0:0:0:0): fatal error, failed to attach to device > da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > da0: < USB DISK 2.0 PMAP> s/n 7F004CFA835CDF49 detached > > (da0:umass-sim0:0:0:0): Periph destroyed > (da0:umass-sim0:0:0:0): Periph destroyed > > would this indicate usb Hw storage is flaky? > Thanks > kott > Hi, Is the LBA within the range of the DISK size? Can you check if the offset is valid: diskinfo -v da0 --HPS