Re: [USB] JetFlash TS1GJF2B 2.00 Attempt to query device sizefailed: UNIT ATTENTION

From: Julian Elischer <julian_at_elischer.org>
Date: Fri, 07 Jan 2005 00:54:42 -0800
Wilkinson, Alex wrote:
> No response from usb_at_ so hopefully someone (julian) will respond here
> ;)

well you posted there at 8:49 and here at 10:47

I guess I didn't happen to read the usb list in that 1 hour and 58 minutes.

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.


> 
> 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 ?
> 
>  - aW
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Fri Jan 07 2005 - 07:55:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:25 UTC