I ran into this some time back and found the solution a few months later and was reminded today to document it here…. The situation is this… Linux host for VMWare server, the guest machine has usb support and in vmware, you can go to VM, Removable devices and in spite of the fact you have usb devices on the system, nothing is listed as available to use in the VM. Well, it seems this is not an isolated problem. First you need to be sure the usb device is not in use by the host system. But, there’s something else that you need. VMWare uses usbfs to keep track of usb devices and a few distributions ( Ubuntu Linux 6.06 SUSE Linux 10.1, SUSE Enterprise Linux Server 10, Mandriva Linux 2006, SLES9 SP3 64 bit) don’t enable it by default. ( mount -t usbfs none /proc/bus/usb ) should do the trick (as root) or you could set it in fstab usbfs /proc/bus/usb usbfs auto 0 0 (and now I’m thinking I may have already posted this once…. )
Category: Mandriva
-
Linux Permissions Headache
Yikes, what an evening….. it started innocently enough in the afternoon. I have an old Mandrake 10.0 server that I was upgrading clamav on (recent security update). While I was at it, I was reviewing the anti-spam setup to see if I could get any better success with filtering junk mail. spamassassin has had an update since I updated this one last and also it seemed that dcc was installed, but not in active use *(no indications that it’s being used at all.) So, I set about trying to fix that and install the latest spamassassin. Somehere along the way something BAD happened. In retrospect, I’m not entirely sure how, but at one point I was root having just installed the rpms for spamassassin and then exited to my user account. Promptly on switching back to my user account I got a “permission denied” error. Eh? Ok, well let’s su again and see what’s up…. “permission denied” uh oh…. ls “permission denied” most everything actually….. permission denied.
-
VMware server usb devices not listed on Mandriva host
I’ve been using vmware server quite a bit of course, I’ve mentioned it before. I had never played around with accessing a usb device in the guest environment though. When I tried (host operating system is Mandriva 2006)…. nothing was listed, in spite of several devices being plugged in (and unmounted from the host.) So, I looked around and found that according to this…. that vmware feature requires USBFS to be mounted on /proc/bus/usb …. Some systems that don’t do this by default are…. Ubuntu Linux 6.06, SUSE Linux 10.1, SUSE Enterprise Linux Server 10, Mandriva Linux 2006, SLES9 SP3 64 bit……………. so how do you fix it?