Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2005 17:17:48 +1030
From:      "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>
To:        freebsd-current@freebsd.org
Subject:   [USB] JetFlash TS1GJF2B 2.00 Attempt to query device size failed: UNIT ATTENTION
Message-ID:  <20050107064748.GE18554@squash.dsto.defence.gov.au>

next in thread | raw e-mail | index | archive | help
No response from usb@ so hopefully someone (julian) will respond here
;)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050107064748.GE18554>