On Wed, May 10, 2000 at 11:25:17PM +0200, Vojtech Pavlik wrote:
> On Wed, May 10, 2000 at 02:17:41PM -0700, Matthew Dharm wrote:
> 
> > According to the sense data being returned by the device, you need to
> > wait longer before accessing it.  It's reporting "LOGICAL DRIVE NOT READY
> > -- BECOMING READY"
> 
> Odd, it's a flash memory reader - should be ready almost instantly. And
> 
> > I would recommend modprobing the driver, then waiting several seconds
> > before trying to mount the CD.
> 
> Not a CD - it's a SmartMedia flash card, and I can't wait between
> loading the usb-storage and accessing the device, because the system
> automatically tries to access the partition table (and fails).

Whoops! My bad... sorry.  Too many other people need help with their USB
CD-ROM drives.

Tho you're right... it shouldn't take any time to 'become ready'...

> By the way, the first thing that seems to be failing now is the
> READ_CAPACITY request - could it be possible that it also needs a
> different length?


No... READ_CAPACITY doesn't have a length field because it should only ever
transfer 8 bytes of data.  Ever.  Period.

At least, that's what the spec says.  I have to admit, I'm puzzled.

I'm curious... is the result the same with both UHCI drivers?

Matt Dharm

> > > 47:08    Vendor: HAGIWARA  Model: SmartMedia R/W    Rev: 1.00
> > > 47:08    Type:   Direct-Access                      ANSI SCSI revision: 02
> > > 47:08  Detected scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> 
> > > 47:08  usb-storage.c: Command READ_CAPACITY (10 bytes)
> > > 47:08  usb-storage.c:   25 00 00 00 00 00 00 00 00 00
> > > 47:08  usb-storage.c: Bulk command S 0x43425355 T 0x14 LUN 0 L 8 F 128 CL 10
> > > 47:08  usb-storage.c: Bulk command transfer result=0
> > > 47:08  usb-storage.c: Bulk xfer 0xc0477000(8)
> > > 47:08  usb-uhci.c: interrupt, status 3, frame# 992
> > > 47:08  usb-storage.c: bulk_msg returned -32 xferred 0/8
> > > 47:08  usb-storage.c: clearing endpoint halt for pipe 0xc0008580
> > > 47:11  usb_control/bulk_msg: timeout
> 
> -- 
> Vojtech Pavlik
> SuSE Labs

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Senior Engineer, QCP Inc.                        Work: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to