From owner-freebsd-stable@FreeBSD.ORG Thu Sep 4 12:24:18 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66B75106566C for ; Thu, 4 Sep 2008 12:24:18 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2281E8FC18 for ; Thu, 4 Sep 2008 12:24:17 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 4980D19E027 for ; Thu, 4 Sep 2008 14:24:16 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 838A819E02A for ; Thu, 4 Sep 2008 14:24:09 +0200 (CEST) Message-ID: <48BFD38A.7090908@quip.cz> Date: Thu, 04 Sep 2008 14:24:42 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <48BE45F1.4020409@quip.cz> In-Reply-To: <48BE45F1.4020409@quip.cz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: external HDD disconnects - umass1: BBB reset failed, IOERROR (FreeBSD 6.3) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2008 12:24:18 -0000 I am sorry for the noise, it was caused by failure of enclosures power supply. Miroslav Lachman wrote: > Hi, > > I tried to use 1TB HDD (SAMSUNG HD103UJ) in external enclosure connected > by USB 2.0 to my old machine with FreeBSD 6.3-RELEASE-p1 GENERIC i386. > > It connects OK, I can read & write to disk (shown as /dev/da1). > But my dd command test failed after 50 minutes: > > root@amanda ~/# dd if=/dev/da1 of=/dev/da1 bs=1m > dd: /dev/da1: Invalid argument > 20435+0 records in > 20435+0 records out > 21427650560 bytes transferred in 2963.876996 secs (7229602 bytes/sec) > > Usr: 0.092s Krnl: 10.689s Totl: 49:23.87s CPU: 0.3% swppd: 0 I/O: 0+0 > > relevant part of /var/log/messages > > Sep 2 20:06:15 amanda kernel: umass1: Sunplus Technology Co.,Ltd. USB > to Serial-ATA bridge, rev 2.00/1.12, addr 3 > Sep 2 20:06:15 amanda kernel: da1 at umass-sim1 bus 1 target 0 lun 0 > Sep 2 20:06:15 amanda kernel: da1: Fixed Direct > Access SCSI-2 device > Sep 2 20:06:15 amanda kernel: da1: 40.000MB/s transfers > Sep 2 20:06:15 amanda kernel: da1: 953869MB (1953525168 512 byte > sectors: 255H 63S/T 121601C) > Sep 2 20:06:46 amanda login: ROOT LOGIN (root) ON ttyv0 > Sep 2 20:07:29 amanda ntpd[845]: kernel time sync enabled 6001 > Sep 2 20:24:32 amanda ntpd[845]: kernel time sync enabled 2001 > Sep 2 20:58:06 amanda kernel: umass1: BBB reset failed, IOERROR > Sep 2 20:58:06 amanda kernel: umass1: BBB bulk-in clear stall failed, > IOERROR > Sep 2 20:58:06 amanda kernel: umass1: BBB bulk-out clear stall failed, > IOERROR > Sep 2 20:58:06 amanda kernel: umass1: BBB reset failed, IOERROR > Sep 2 20:58:06 amanda kernel: umass1: BBB bulk-in clear stall failed, > IOERROR > Sep 2 20:58:06 amanda kernel: umass1: BBB bulk-out clear stall failed, > IOERROR > Sep 2 20:58:06 amanda kernel: umass1: BBB reset failed, IOERROR > Sep 2 20:58:06 amanda kernel: umass1: at uhub2 port 1 (addr 3) > disconnected > Sep 2 20:58:06 amanda kernel: (da1:umass-sim1:1:0:0): lost device > Sep 2 20:58:06 amanda kernel: (da1:dead_sim0:0:0:0): Synchronize cache > failed, status == 0x8, scsi status == 0x0 > Sep 2 20:58:06 amanda kernel: (da1:dead_sim0:0:0:0): removing device entry > Sep 2 20:58:06 amanda kernel: umass1: detached [...]