Subject: Re: USB memory key mounts very slowly on 3.0
To: Mark Davies <mark@mcs.vuw.ac.nz>
From: Joseph A. Dacuma <jadacuma@ched.gov.ph>
List: netbsd-users
Date: 05/08/2006 18:50:52
> 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
>

Hi,

Im using IBM R51 Installed NetBSD a few hours ago. I have no problems
encountered using a USB flash drive like sluggish behaviour.  Its an
Apacer Handy Steno 256MB. I just dont know what no door lock means. :)

=== begin dmesg output ========
NetBSD 3.0_STABLE (genericlap) #0: Sun May  7 10:11:52 PHT 2006
        root@dagohoy.ched.gov.ph:/usr/obj/sys/arch/i386/compile/genericlap
total memory = 246 MB
avail memory = 236 MB

----snip----

mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Dothan) (686-class), 1598.69 MHz, id 0x6d6
cpu0: features afe9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR>
cpu0: features afe9f9bf<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features afe9f9bf<FXSR,SSE,SSE2,SS,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 1.60GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: L2 cache 2 MB 64B/line 8-way
cpu0: using thermal monitor 2
cpu0: Enhanced SpeedStep (1340 mV) 1600 MHz
cpu0: Enhanced SpeedStep frequencies available (MHz): 1600 1400 1200 1000
800 600
cpu0: 64 page colors
pci0 at mainbus0 bus 0: configuration mode 1

------snip------

umass0 at uhub3 port 4 configuration 1 interface 0
umass0: vendor 0xffff USB Flash Drive, rev 2.00/1.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: <USB, Flash Drive, 1.12> disk removable
sd0: 247 MB, 500 cyl, 8 head, 32 sec, 512 bytes/sect x 507901 sectors
sd0(umass0:0:0:0): no door lock

==== end dmesg output ========