From owner-freebsd-usb@FreeBSD.ORG Tue Jan 11 00:14:46 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FFB416A4CE for ; Tue, 11 Jan 2005 00:14:46 +0000 (GMT) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1857843D5D for ; Tue, 11 Jan 2005 00:14:45 +0000 (GMT) (envelope-from wilkinsa@squash.dsto.defence.gov.au) Received: from ednmsw503.dsto.defence.gov.au (ednmsw503.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au with ESMTP id j0B0DZg2029808 for ; Tue, 11 Jan 2005 10:43:35 +1030 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by ednmsw503.dsto.defence.gov.au (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Tue, 11 Jan 2005 10:44:37 +1030 Received: from ednex501.dsto.defence.gov.au (ednex501.dsto.defence.gov.au [131.185.2.81]) by muttley.dsto.defence.gov.au (8.11.3/8.11.3) with ESMTP id j0B09SQ29565 for ; Tue, 11 Jan 2005 10:39:28 +1030 (CST) Received: from squash.dsto.defence.gov.au ([131.185.40.212]) by ednex501.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id YK378NCG; Tue, 11 Jan 2005 10:39:13 +1030 Received: from squash.dsto.defence.gov.au (localhost [127.0.0.1]) by squash.dsto.defence.gov.au (8.12.11/8.12.11) with ESMTP id j0B09uKG032806 for ; Tue, 11 Jan 2005 10:39:56 +1030 (CST) (envelope-from wilkinsa@squash.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by squash.dsto.defence.gov.au (8.12.11/8.12.11/Submit) id j0B09upW032805 for usb@freebsd.org; Tue, 11 Jan 2005 10:39:56 +1030 (CST) (envelope-from wilkinsa) Date: Tue, 11 Jan 2005 10:39:56 +1030 From: "Wilkinson, Alex" To: usb@freebsd.org Message-ID: <20050111000956.GB32601@squash.dsto.defence.gov.au> Mail-Followup-To: usb@freebsd.org References: <20050107064748.GE18554@squash.dsto.defence.gov.au> <41DE4E52.2040301@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <41DE4E52.2040301@elischer.org> User-Agent: Mutt/1.5.6i Subject: Re: [USB] JetFlash TS1GJF2B 2.00 Attempt to query device sizefailed: UNIT ATTENTION X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2005 00:14:46 -0000 > > >> >>Hi all, >> >>I have a new 1GB JetFlash TS1GJF2B 2.00 thumb drive. >> >>When I plug in the thumb drive dmesg(8) outputs the following: >> >> umass0: USB Flash Disk, rev 2.00/2.00, addr 2 >> da0 at umass-sim0 bus 0 target 0 lun 0 >> da0: Removable Direct Access SCSI-2 device >> da0: 1.000MB/s transfers >> da0: Attempt to query device size failed: UNIT ATTENTION, Not ready to >> ready change, >> (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 >> (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error >> (da0:umass-sim0:0:0:0): SCSI Status: Check Condition >> (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 >> (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have >> changed >> (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) >> (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 >> (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error >> (da0:umass-sim0:0:0:0): SCSI Status: Check Condition >> (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 >> (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have >> changed >> (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) >> (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 >> (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error >> (da0:umass-sim0:0:0:0): SCSI Status: Check Condition >> (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 >> (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have >> changed >> (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) >> (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 >> (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error >> (da0:umass-sim0:0:0:0): SCSI Status: Check Condition >> (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 >> (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have >> changed >> (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) >> (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 >> (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error >> (da0:umass-sim0:0:0:0): SCSI Status: Check Condition >> (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 >> (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have >> changed >> (da0:umass-sim0:0:0:0): Retries Exhausted >> Opened disk da0 -> 6 >> (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 >> (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error >> (da0:umass-sim0:0:0:0): SCSI Status: Check Condition >> (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 >> (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have >> changed >> (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) >> (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 >> (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error >> (da0:umass-sim0:0:0:0): SCSI Status: Check Condition >> (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 >> (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have >> changed >> (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) >> >># camcontrol devlist -v >> .... >> >> at scbus5 target 0 lun 0 (da0) >> scbus-1 on xpt0 bus 0: >> < > at scbus-1 target -1 lun -1 (xpt0) >> >># mount -t msdos /dev/da0 /mnt >>msdosfs: /dev/da0: Resource temporarily unavailable >> >>and then after trying to mount I get these errors in dmesg(8) >> >> fsync: giving up on dirty: 0xc2c24420: tag devfs, type VCHR, usecount >> 1, writecount 0, refcount 33, flags (VV_OBJBUF), lock type devfs: EXCL >> (count 1) by thread 0xc309c320 (pid 9693) >> dev da0 >> >>I have the following in my kernel: >> >>device ehci # Enchanced Host Controller Int >>device uhci # UHCI PCI->USB interface >>device ohci # OHCI PCI->USB interface >> >>OS: FreeBSD 5.3-STABLE #21: Thu Jan 6 16:45:52 CST 2005 >> >>Not sure what to make of this. Anyone ? 0n Fri, Jan 07, 2005 at 12:54:42AM -0800, Julian Elischer wrote: >we may need to make it use a quirk to use a different read capacity command >or skip it.. > >I'll have to look to remember what collection of 'quirks' we have in our >collection. Okay, well can someone please define what is meant by a "Quirk" ? Once that is done can someone please recommend to me the necessary quirk that I need to get this device working. Thanks - aW