A-DATA flash drive: "Attempt to query device size failed"

Igor B. Bykhalo goshik at binep.ac.ru
Fri Aug 8 09:16:52 PDT 2003

From: "Kevin Oberman" <oberman at es.net>
To: "Igor B. Bykhalo" <goshik at binep.ac.ru>
Cc: "FreeBSD Questions" <freebsd-questions at FreeBSD.org>; <freebsd-stable at freebsd.org>
Sent: Thursday, August 07, 2003 6:17 PM
Subject: Re: A-DATA flash drive: "Attempt to query device size failed" 

> > From: "Igor B. Bykhalo" <goshik at binep.ac.ru>
> > Date: Wed, 6 Aug 2003 11:15:40 +0400
> > > I'm not too sure how many of the fixes in 5.0 have been MFC'ed to
> > > STABLE. The 5.0 USB code has had a lot of work of late and most flash
> > 
> > The last commit to scsi_da.c was a week ago by njl, and looking to it
> > via cvsweb i don't see difference in quirks (well, by my untrained eyes).
> Nate MFCed the latest USB stuff last night. Try updating your system
> and see if things are better.
> -- 
> R. Kevin Oberman, Network Engineer
> Energy Sciences Network (ESnet)
> Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
> E-mail: oberman at es.net Phone: +1 510 486-8634

I tested fresh updates... All the same :-(

But i noticed a couple of strange things. From the output of the usbd -v:

/kernel: usbd: device-attach event at 0.020285000, USB Embedded Hub, A-DATA Technology Inc.:
/kernel: vndr=0x067b prdct=0x2515 rlse=0x0001 clss=0x0009 subclss=0x0000 prtcl=0x0000
/kernel: device names: uhub1
/kernel: usbd: Found action 'USB device' for USB Embedded Hub, A-DATA Technology Inc. at uhub1

/kernel: usbd: device-attach event at 0.023338000, USB Mass Storage Device, A-DATA Technology Inc.:
/kernel: vndr=0x067b prdct=0x2517 rlse=0x0001 clss=0x0000 subclss=0x0000 prtcl=0x0000
/kernel: device names: umass0
/kernel: usbd: Found action 'USB device' for USB Mass Storage Device, A-DATA Technology Inc. at umass0

Here we have:

vendor 0x067b - according to usbdevs.h this is Prolific Technology... hmmm

product 0x2515 (not in usbdevs.h) class 0x0009 (hub) - well, it is identified
as hub (UICLASS_HUB in usb.h)

product 0x2517 (not in usbdevs.h) class 0x0000 - my understanding is that
this should be 0x0008 (UICLASS_MASS in usb.h)

So: usbd reports vndr=0x067b but prints A-DATA; probably this is harmless...
    usbd reports clss=0x0000 for mass-storage part - i think this is bad?
    products identifiers are not in usbdevs, usbdevs.h - ?

How should i act in this situation?

Oh, and when using "options DA_OLD_QUIRKS", am i right i still
need to manually add quirk to scsi_da_c?



More information about the freebsd-questions mailing list