Date: Mon, 10 Jan 2005 21:49:34 -0600 From: Dan Olson <danolson@visi.com> To: "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au> Cc: usb@freebsd.org Subject: Re: [USB] JetFlash TS1GJF2B 2.00 Attempt to query devicesizefailed: UNIT ATTENTION Message-ID: <41E34CCE.7080808@visi.com> In-Reply-To: <20050111013925.GD32601@squash.dsto.defence.gov.au> References: <20050107064748.GE18554@squash.dsto.defence.gov.au> <41DE4E52.2040301@elischer.org> <20050111000956.GB32601@squash.dsto.defence.gov.au> <20050111013925.GD32601@squash.dsto.defence.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Wilkinson, Alex wrote: > 0n Tue, Jan 11, 2005 at 10:39:56AM +1030, Wilkinson, Alex wrote: > > > >> (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) > > Okay, I'm trying to make sense of the aforementioned debug output. > > 1. (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 > > I'm suspecting that this means that the READ CAPACITY command > failed, therefore we are unable to determine the device's > physical parameters. > > 2. (da0:umass-sim0:0:0:0): SCSI Status: Check Condition > > Looks like we are waiting to for the device to become ready to be > accessed. > > 3. (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 > > This 'Additional Sense Code' seems to be where it fails. Looking at > the RBC specs we should see an ASC/ASCQ of 'NEW MEDIA READY FOR > ACCESS'. However, we don't. > > This is as far as I can go without having my hand held. I would dearly > like to get this UMASS device working. > > Can any USB wizards please suggest quirks etc that could result in a > solution. > > Thanks > > - Alex I too am having this problem but with a Kingston DataTraveler Elite 1GB usb drive. In the dmesg of 6.0 CURRENT from Dec 22 I get: FreeBSD 6.0-CURRENT #0: Wed Dec 22 17:10:48 CST 2004 umass0: Kingston DT Elite HS 2.0, rev 2.00/2.00, addr 4 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <Kingston DT Elite HS 2.0 5.02> Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: UNIT ATTENTION, Medium not present (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:3a,0 (da0:umass-sim0:0:0:0): Medium not present (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:3a,0 (da0:umass-sim0:0:0:0): Medium not present (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:3a,0 (da0:umass-sim0:0:0:0): Medium not present (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:3a,0 (da0:umass-sim0:0:0:0): Medium not present (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:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retries Exhausted Which is a little different from the OP. But in a stock NetBSD 2.0 it works as shown below. NetBSD 2.0 (GENERIC) #0: Wed Dec 1 10:58:25 UTC 2004 builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj... /big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC umass0 at uhub3 port 5 configuration 1 interface 0 umass0: Kingston DT Elite HS 2.0, rev 2.00/2.00, addr 4 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, 1 lun per target sd0 at scsibus0 target 0 lun 0: <Kingston, DT Elite HS 2.0, 5.02> disk removable sd0: 1002 MB, 844 cyl, 128 head, 19 sec, 512 bytes/sect x 2052607 sectors umass0: at uhub3 port 5 (addr 4) disconnected sd0 detached scsibus0 detached umass0 detached If it is any help, it may work in NetBSD 2.0 which might provide a basis of code to be ported over to FreeBSD. To get mine to work, I will have to wait for the port over as I am a newbie. Thanks Dan Olson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41E34CCE.7080808>