From owner-freebsd-usb@FreeBSD.ORG Wed Feb 4 10:11:30 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91FC2106564A; Wed, 4 Feb 2009 10:11:30 +0000 (UTC) (envelope-from vova@sw.ru) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id E19D78FC19; Wed, 4 Feb 2009 10:11:29 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id n14ABQ3q001430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Feb 2009 13:11:27 +0300 (MSK) Received: from vova by vbook.fbsd.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LUej7-0002Aa-W6; Wed, 04 Feb 2009 13:11:26 +0300 From: Vladimir Grebenschikov To: Hans Petter Selasky In-Reply-To: <200902041044.27663.hselasky@c2i.net> References: <1233734352.1767.55.camel@localhost> <200902041044.27663.hselasky@c2i.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Wed, 04 Feb 2009 13:11:25 +0300 Message-Id: <1233742285.1767.142.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: USB2 - umass problem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 10:11:31 -0000 On Wed, 2009-02-04 at 10:44 +0100, Hans Petter Selasky wrote: > > Simple umass device (WD external disk) works fine, but > > integrated to doc-station card-reader failed: > > > > First time card insertion, two umass devices appeared, both just do not > > work: > > > > ugen4.4: at usbus4 > > umass0: on usbus4 > > umass0: SCSI over Bulk-Only; quirks = 0x0000 > > umass0:5:0:-1: Attached to scbus5 > > (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > > (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > > (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > > (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 > > (probe0:umass-sim0:0:0:0): Medium not present > > (probe0:umass-sim0:0:0:0): Unretryable error > > da0 at umass-sim0 bus 0 target 0 lun 0 > > da0: Removable Direct Access SCSI-0 device > > da0: 40.000MB/s transfers > > da0: Attempt to query device size failed: NOT READY, Medium not present > > Have you tried "cat /dev/null > /dev/da0", to refresh the label on the disk? > NOTE: /dev/null is not /dev/zero > > > da1 at umass-sim0 bus 0 target 0 lun 1 > > da1: Removable Direct Access SCSI-0 device > > da1: 40.000MB/s transfers > > da1: Attempt to query device size failed: NOT READY, Medium not present > > Same with "da1" > > > > > Second time - a bit better, second device read correct card label, but > > still failed on mount: > > Maybe your device needs a quirk, because it hangs on one of the issues SCSI > commands. Have you looked at: > > http://wiki.freebsd.org/USB Probably, did not tried yet, but old usb stack works as expected, did all usb1 quircks imported to usb2 ? -- Vladimir B. Grebenschikov vova@fbsd.ru