Date: Tue, 11 Jan 2005 10:39:56 +1030 From: "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au> To: usb@freebsd.org Subject: Re: [USB] JetFlash TS1GJF2B 2.00 Attempt to query device sizefailed: UNIT ATTENTION Message-ID: <20050111000956.GB32601@squash.dsto.defence.gov.au> In-Reply-To: <41DE4E52.2040301@elischer.org> References: <20050107064748.GE18554@squash.dsto.defence.gov.au> <41DE4E52.2040301@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > >> >>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: <JetFlash TS1GJF2B 2.00> 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 >> .... >> >> <JetFlash TS1GJF2B 2.00> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050111000956.GB32601>