Mounting USB drives and PCI USB and ieee1394 drives

Toni Schmidbauer toni at stderror.at
Sat Nov 1 13:44:58 PST 2003


On Sat, Nov 01, 2003 at 02:50:13PM -0500, Alexander P. Goldhammer wrote:

i am really no scsi, usb, firewire specialist but i think for
some of your questions i can give an answer :-)

> (da0:umass-sim0:0:0:0): Read(6)/write(6) not supported, increasing the
> minimum_cmd_size to 10.

this is normal. 4.8 first tried 6 byte scsi commands. as the
messages says, for this device 10 byte scsi commands are required.
the default changed in 4.9 from 6 to 10 bytes for usb devices.

> #umass0: at hub0 port 1 (addr 2) disconnected
> (da0:umass-sim0:0:0): lost device
> (da0:umass-sim0:0:0): removing device entry
> umass0: detached
> 
> My intuition tells me this is not good.

you should stop the drive before removing it (camcontrol stop
0:0:0). see camcontrol(8).

> (da0:umass-sim0:0:0:0): got CAM status 0x4
> (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
> (da0:umass-sim0:0:0:0): lost device
> (da0:umass-sim0:0:0:0): removing device entry
> 
> Does anyone have any ideas on how to address this/fix this?

when you stop the device (camcontrol), then remove it,
reattaching should work.

> b) If/when I plug it a USB/Firewire drive into this card how is the
> "device name" specified?  Or is there a command to figure this out? 

man 8 camcontrol

> c) Is msdos the correct "filesystem" designation?

if you share your data between windows and freebsd msdosfs is the
right fs. but be aware i had problems with huge partitions
and msdosfs see:

http://lists.freebsd.org/mailman/htdig/freebsd-stable/2003-May/000950.html
http://lists.freebsd.org/mailman/htdig/freebsd-stable/2003-October/004701.html

hth
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.       | Toni Schmidbauer
-- Rudolf Steiner                                | 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031101/93832896/attachment.bin


More information about the freebsd-questions mailing list