Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2010 09:51:52 +0200
From:      Peter Ulrich Kruppa <ulrich@pukruppa.de>
To:        FreeBsd-Questions <freebsd-questions@freebsd.org>
Subject:   USB pen drive not detected
Message-ID:  <1281426712.3459.20.camel@pukruppa.de>

next in thread | raw e-mail | index | archive | help
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.=20
	# dmesg=20
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=20
	(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=20
	(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=20
	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=20
	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 :(=20

Greetings

Peter.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1281426712.3459.20.camel>