Subject: Re: USB memory key mounts very slowly on 3.0
To: Crni Gorac <cgorac@gmail.com>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: netbsd-users
Date: 04/16/2006 10:21:49
On Sunday 16 April 2006 06:41, Crni Gorac wrote:
> > > 		The device is immediately recognized with both
> > > kernels after plugging in, however it takes forever until mounted (or
> > > for any other operation, for example when looking for partitions using
> > > disklabel it takes again about 2 min. until showing partitions).  Once
> > > mounted, the device could be used fine, and un-mounting works
> > > instantly.

I've seen this behaviour (on a 3.99.11 system).  We have a batch of Dell 
rebranded  M-Systems 128MB memory keys that behave like this.  When you plug 
them in they take about 1 minute between printing:

  umass0 at uhub3 port 3 configuration 1 interface 0
  umass0: M-SysT5 Dell Memory Key, rev 2.00/2.00, addr 2
  umass0: using SCSI over Bulk-Only
  scsibus0 at umass0: 2 targets, 1 lun per target
  sd0 at scsibus0 target 0 lun 0: <M-SysT5, Dell Memory Key, 5.00> disk 
removable

and printing:

  sd0: 121 MB, 975 cyl, 128 head, 2 sec, 512 bytes/sect x 249599 sectors


and similar lengths of time to do a disklabel or mount but then are fine.  
Other memory keys and USB devices work fine (instantly).
Presumably some operation that is performed as part of the initial device 
sertup is taking a long time to time out (or is timing out when it normally 
wouldn't) for these devices - pointers to how to track down what it is would 
be appreciated.

I've been meaning to try on a current -current to see if the problem is still 
there but I don't believe anything has changed in the usb support between 
what I'm running and -current so I suspect it is.

cheers
mark