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]


ps segfault

2003-11-01 Thread Alexander P. Goldhammer
Hi I am a newbie to FreeBSD so I am trying to get things going...

1) When I perform a ps command I get a seg fault (core dumped)
I then get: Nov 1 13:48:22 /kernel: pid 618 (ps), uid 1001:exited on
signal 11 (core dumped)

Is there a reason I cannot run a ps command? Or why I would get a seg
fault?

Thanks,

-Alex

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


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]


newbie downloading iso images

2003-09-18 Thread Alexander P. Goldhammer
I am trying to download a release 4.8 of FreeBSD but I am having
problems finding the correct file names/locations to download the files.

I can ftp to ftp1.us.FreeBSD.org as well as other mirror sites

I can cd to pub/FreeBSD/releases/i386/4.8-RELEASE

I cannot dir or ls to see the list of files in the directory--I get
Connection closed by remote host.  I assume the files are hidden?
Given that I cannot see the file names I was following the instructions
and filenames given in the FreeBSD Handbook.

I have tried to get: 
4.8-mini.iso
4.8-disc1.iso

I have also tried getting these images from this path as well:
pub/FreeBSD/ISO-IMAGES-i386/4.8

Does anyone know of a mirror ftp that will allow me to see the file
names?  Or allow me privileges to see and download the files?

Here is my typical session from DOS ftp:

C:\downloadftp
ftp open ftp1.us.FreeBSD.org

Connected to freebsd.secsup.org.
220 Welcome to mirrors.secsup.org FTP service.
User (freebsd.secsup.org:(none)): ftp
331 Please specify the password.
Password:
230 Login successful. Have fun.
ftp cd pub/FreeBSD/ISO-IMAGES-i386/4.8
250 Directory successfully changed.
ftp get 4.8-disc1.iso r48_disc1.iso
Connection closed by remote host.
ftp

I am at a loss.

-Alex

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