RE: Mounting USB drives and PCI USB and ieee1394 drives

2003-11-05 Thread Alexander P. Goldhammer
Toni,

Thanks for your help.

camcontrol stop 0:0:0:0 and camcontrol eject 0:0:0:0 give me Unit
stopped successfully  When I unplug the USB cable, FreeBSD recognizes
the fact and gives me:
#umass0: at hub0 port 1 (addr 2) disconnected
(da0:umass-sim0:0:0): lost device
umass0: detached

When I plug the USB cable back in I am back to the same ol' problem:
umass0: In system Design USB Storage Adapter, rev 2.00/11.05, addr 2
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
over and over again then
(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

I was reading through the rest of the man page for camcontrol but it is
not clear to me that there is another command in camcontrol.

Any ideas?

-Alex

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.ht
ml
http://lists.freebsd.org/mailman/htdig/freebsd-stable/2003-October/00470
1.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|

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Mounting USB drives and PCI USB and ieee1394 drives

2003-11-04 Thread Alexander P. Goldhammer
Toni,

Thanks for your help.

camcontrol stop 0:0:0:0 and camcontrol eject 0:0:0:0 give me Unit
stopped successfully  When I unplug the USB cable, FreeBSD recognizes
the fact and gives me:
#umass0: at hub0 port 1 (addr 2) disconnected
(da0:umass-sim0:0:0): lost device
umass0: detached

When I plug the USB cable back in I am back to the same ol' problem:
umass0: In system Design USB Storage Adapter, rev 2.00/11.05, addr 2
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
over and over again then
(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

I was reading through the rest of the man page for camcontrol but it is
not clear to me that there is another command in camcontrol.

Any ideas?

-Alex

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.ht
ml
http://lists.freebsd.org/mailman/htdig/freebsd-stable/2003-October/00470
1.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|

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting USB drives and PCI USB and ieee1394 drives

2003-11-04 Thread Toni Schmidbauer
On Tue, Nov 04, 2003 at 08:45:20AM -0500, Alexander P. Goldhammer wrote:
 umass0: BBB reset failed, TIMEOUT
 umass0: BBB bulk-in clear stall failed, TIMEOUT
 umass0: BBB bulk-out clear stall failed, TIMEOUT
 over and over again then
 (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
 
 I was reading through the rest of the man page for camcontrol but it is
 not clear to me that there is another command in camcontrol.
 
 Any ideas?

sorry, but now i think we reached the point where we will need
an usb and/or scsi specialist :-(

i would play with camcontrol reset (but _read_ the manpage
before), camcontrol rescan ...

sorry
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| 


pgp0.pgp
Description: PGP signature


Mounting USB drives and PCI USB and ieee1394 drives

2003-11-01 Thread Alexander P. Goldhammer

1) I am also trying to mount a usb hard drive.  I have found a number of
articles on doing this but none of them seem to work completely or the
articles reference older versions of FreeBSD and I cannot seem to find
an analogous thing in a Release 4.8.

My motherboard has two built-in USB1.0 ports.  When I plug in my drive I
get:

Umass0: In system Design USB Storage Adapter, rev 2.00/11.05, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: IC25N030 ATSC04-0 CA30 Fixed Direct Access SCSI-0 device
da0: 650KB/s transfers
da0: 28615MB (58605120 512 byte sectors: 64H 32S/T 28615C)

This is great (I think).  I am able mount the drive by doing a:

mount -t msdos /dev/da0s1 /usb

I then get a msg saying:

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

I do a df and I see the drive listed.  I can see the files and
navigate the drive.   In fact I added this mount cmd to my fstab with a
noauto option

I do a umount /usb then a df and I see that the drive is no longer
listed.

When I physically disconnect the drive from the mother board I get:

#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.

If I then plug the device into the next USB1.0 port I get:
umass0: In system Design USB Storage Adapter, rev 2.00/11.05, addr 2
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
over and over again then
(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?

2) My next question is kind of related but different.

I have a PCI card that has 3 x USB2.0 ports and 2 x ieee1394 ports
(Smartdisk with a NEC OHCI Compliant IEEE1394 Host Controller IRQ3 PCI
Slot 3 PCI bus2, device15, function0).

a) How do I confirm that FreeBSD is aware of the card and that the
driver is operating correctly etc.  How do I do that for my Ethernet
card for that matter?  During my install there were no conflicts.  On
boot-up it seems FreeBSD is able to recognize it.


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? 

c) Is msdos the correct filesystem designation?

d) How can I mount/unmount the drive? Is the firewire port different.

e) How are the multiple usb/firewire ports designated/handled?



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting USB drives and PCI USB and ieee1394 drives

2003-11-01 Thread Toni Schmidbauer
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| 


pgp0.pgp
Description: PGP signature