Subject: USB Mass Storage Problem!
To: tech-kern <tech-kern@netbsd.org>
From: Ahmad M. Afuni <pseudo.statistic@gmail.com>
List: tech-kern
Date: 09/23/2006 00:38:16
Hello,

I recently got one of these "Sandisk Sansa e200" MP3 players.
Anyway, plugging it in through USB (In USB Mass Storage mode) to my
NetBSD-i386 3.x box, I get:

umass1 at uhub3 port 5 configuration 128 interface 0
umass1: SanDisk Sansa e260, rev 2.00/7.20, addr 3
umass1: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets, 2 luns per target
sd1 at scsibus1 target 0 lun 0: <SanDisk, Sansa e260, \001> disk removable

*UNPLUG HERE*

umass1: at uhub3 port 5 (addr 3) disconnected
sd1(umass1:0:0:0): generic HBA error
sd1(umass1:0:0:0): generic HBA error
sd1: fabricating a geometry
sd1: 3835 MB, 3835 cyl, 64 head, 32 sec, 512 bytes/sect x 7854080 sectors
probe(umass1:0:0:1): generic HBA error
sd1(umass1:0:0:0): generic HBA error
sd1 detached
scsibus1 detached
umass1 detached

*PLUG IN AGAIN*

umass1 at uhub3 port 5 configuration 128 interface 0
umass1: SanDisk Sansa e260, rev 2.00/7.20, addr 3
umass1: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets, 2 luns per target
sd1 at scsibus1 target 0 lun 0: <SanDisk, Sansa e260, \001> disk removable

*A FEW MINUTES LATER*

sd1: fabricating a geometry
sd1: 3835 MB, 3835 cyl, 64 head, 32 sec, 512 bytes/sect x 7854080 sectors

After then running 'disklabel sd1', it just freezes..
Unplugging the device then freezes the system.
This works fine on Windows-- however, something interesting to note is that
the device has a microSD slot and thus, when plugging it in, it is
recognized as two seperate drives on Windows.
Could this perhaps be the problem here? Would anyone know of some sort of
solution? (I'm not really aiming for the microSD here, just the main
device's memory)

Thanks,
Ahmad