USB pen drive not detected
Peter Ulrich Kruppa
ulrich at pukruppa.de
Tue Aug 10 07:49:25 UTC 2010
Hi,
I am running FreeBSD 8.1-STABLE amd64 and have got a strange problem
when I try to attach and mount my 16 GB USB pen drive.
# dmesg
delivers something like
ugen1.2: <vendor 0x058f> at usbus1
umass0: <vendor 0x058f Spaceloop 16GB, class 0/0, rev 2.00/1.02,
addr 2> on usbus1
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: DATA PROTECT asc:6e,17
(Reserved ASC/ASCQ pair)
(probe0:umass-sim0:0:0:0): AutoSense failed
No /dev/da0s1 is created and of course it can not be mounted.
On the other hand: when I attach the drive and reboot I get:
# dmesg
ugen1.2: <vendor 0x058f> at usbus1
umass0: <vendor 0x058f Spaceloop 16GB, class 0/0, rev 2.00/1.02,
addr 2> on usbus1
Root mount waiting for: usbus1
Trying to mount root from ufs:/dev/ad0s1a
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0
(Not ready to ready change, medium may have changed)
da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
da0: < Spaceloop 16GB 8.07> Removable Direct Access SCSI-2
device
da0: 40.000MB/s transfers
da0: 16086MB (32945152 512 byte sectors: 255H 63S/T 2050C)
GEOM: da0: partition 1 does not start on a track boundary.
GEOM: da0: partition 1 does not end on a track boundary.
Now I can do
# mount_msdosfs /dev/da0s1 /mnt
and access the drive.
What is going on here? How can I access my drive without rebooting?
For a comparision:
I have got an old USB pen drive (512 MB) which works without any
trouble:
# dmesg
ugen0.3: <USB> at usbus0
umass0: <USB Solid state disk, class 0/0, rev 1.10/1.00, addr 3>
on usbus0
da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
da0: <QDI USBDisk 1.11> Removable Direct Access SCSI-2 device
da0: 1.000MB/s transfers
da0: 503MB (1031936 512 byte sectors: 64H 32S/T 503C)
Sorry to say the 16 GB thing works smoothly with Debian, Fedora and even
Windows :(
Greetings
Peter.
More information about the freebsd-questions
mailing list