*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been using FreeBSD 5.4, GENERIC kernel for two weeks now. I am very satisfied with it.
However I have an irritating problem: I cannot mount my USB storage drive (Iomega 256Mb) which has data from my work (Win 2000) on it.
I have searched in Google, in this forum, but could not find an example with a solution. Pardon me if my question has already been posted a number of times.
/dev/usbx (/dev/usb0, etc) is probably not what you want, it is the device attached to the /dev/usbx device that you are looking for, and not the usb device. The /dev/umass0 device means that (AFAIK) freebsd communicates with your device; in fact, your device does identify itself. So, you are looking for the device that you can mount. Do an ls /dev before you plug the device in. Then do an ls /dev after you plug in the device and see if there is another device (like /da0, or da1, etc) that gets created. If there is, then try to mount the first slice. Suppose you created this mount point: /mnt/iomega, and /dev shows a /da0 device. Try this:
I tried what you said but unfortunately got no new device in /dev, especially no /da* (0, 1 ...) created when I plug in my USB drive.
Could it be a problem of USB2 (my USB drive) versus USB1 port (it's an old computer it should not have all this modern hardware)?
Thanks for the thread, it was very useful: I am in the same situation, ehci is commented out in the config file of the generic kernel.
I have made the following experience: I have tried another USB pen drive and it worked: I was able to mount it using mount -t msdosfs /dev/da0s1 /mnt/usbdrive and to read and copy data. So, *big success*.
I retried the initial pendrive and no success (no appearance of /dev/da*) and a third one with the same failure. Both USB drives work perfectly on win2000 (at work) and debian sarge (at home).
Would my FreeBSD box be able to mount and use only certain types of USB pen drives, and not others? Is it related to the type of USB key (version 1. or 2.0) or USB port? What could I do to use all types?
Please, advise. And thanks for your help, I think that I am learning a lot through my difficulties.
I have uncommented device ehci in GENERIC and built a new kernel, and then rebooted.
But it does not help, always the same problem: I cannot mount the usb drive. The other devices: scbus, da, umass, uhci, ohci, usb, ugen are not commented.
What could I try now? Is it a problem of fs on the drive?
Your usb device should be something like da0s1. If it doesn't work, when you plug the usb drive look at the first console(alt-f1) you should see the device name.
Originally posted by realnerd I have uncommented device ehci in GENERIC and built a new kernel, and then rebooted.
But it does not help, always the same problem: I cannot mount the usb drive. The other devices: scbus, da, umass, uhci, ohci, usb, ugen are not commented.
What could I try now? Is it a problem of fs on the drive?
I have been able to reproduce (sort of) your problem. My laptop has USB 2.0 ports. They will not "see" a 1.0 device. I stumbled across this quite by accident. Don't know why, either.
My FreeBSD system can mount certain USB drives (e.g. Intuix 128MB) and not others (Iomega 256MB) (but the latter works with win2000 and debian sarge). I think that both are USB 2.0 drives. My computer is an old one (1998) and I'm almost sure that in 1998 computers had only USB 1.1 ports I don't have the data of the computer: is there a software in FreeBSD which could tell me type of USB ports the computer has?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.