Subject: umass / sd and hotplug
To: None <netbsd-users@NetBSD.org>
From: iMil <imil@home.imil.net>
List: netbsd-users
Date: 10/18/2004 17:21:56
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi list,

I use different usb keys with my NetBSD 2.0_RC4 and I notice the same 
behaviour. When booting with the key plugged in, sd0 shows up on the boot 
log as shown :

[...]
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Generic, STORAGE DEVICE, 0125> disk 
removable
[...]

everything's ok, I can mount it, play with it, I can unplug / replug it, 
it will work as expected.

Now, if I boot the box without the key being plugged on, here's what I get 
when I plug it after the boot has completed :

umass0 at uhub0 port 1 configuration 1 interface 0
umass0: Lexar Media JumpDrive Trio, rev 2.00/1.25, addr 2
umass0: using SCSI over Bulk-Only
umass0: no buffer memory

and nothing more, no sd0 reference and of course the mount fails.
Am I missing something here or do you beleive this is worth a PR ?

regards,

- -------------------------
iMil <imil@home.imil.net>                                                 _
      http://gcu-squad.org                          ASCII ribbon campaign ( )
                                                     - against HTML email  X
                                                                 & vCards / \
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBc9+WFG3BlGWyzUIRAmWMAJ9wHNJqxD6pu0gwy2hehJ5tc5yMHwCdGdCW
LKaP5aHZlZn04VghoolGe9M=
=z0sp
-----END PGP SIGNATURE-----