There is a script which comes with vmware called vmware-mount.pl, it's purpose it to be able to mount a vmware virtual disk to a mountpoint. Kinda handy when you need it. Anyway, it seems vmware hasn't really updated it to work with 2.6 kernels... Fortunately, all it takes is a one line fix :) changing line 30 from my $nbd_prefix = "/dev/nb"; to my $nbd_prefix = "/dev/nbd"; does the trick just fine, would be nice if this was patched during install instead of me doing it manually every time I update. It probably should do some version detection, but that's I'll leave that up to you guys. The script already has code to check what version it is running in which looks like this: if (Kernel_RunningVersion() >= Kernel_MakeVersion(2, 4, 0)) { } Also, it likes to attempt to create /dev/nbd[n] entries if you don't have the nbd.ko module, may wanna disable this when udev is in use. Evan Teran
Ehh, "with vmware" meaning vmware-workstation? vmware-player? both?
sorry bout that, I have only looked at vmware-workstation, I haven't toyed with vmware-player but since player isn't supposed to let you do anything more than run a VM, I doubt that it would have this script. Obviously, this shoudl be double checked though proxt
Sorry that this has sat for so long. I've honestly just been busy working on other things. I'm going to guess that this hasn't corrected itself, even with the new 5.5.2 ebuilds, right?
(In reply to comment #3) > Sorry that this has sat for so long. I've honestly just been busy working on > other things. I'm going to guess that this hasn't corrected itself, even with > the new 5.5.2 ebuilds, right? > I can confirm that the fix detailed here works for kernel 2.6.18-gentoo-r2 on amd64, with the nbd module loaded, and vmware server 1.0.1.29996-r4. This is not fixed in vmware-server-1.0.2.39867. Please make the given change, this script is handy.
I think this should be reported to upstream and not just patched "downstream" in gentoo itself...
The latest versions of vmware-workstation use FUSE rather than a perl script. I'm therefore going to close this bug. Please reopen it if you are still have problems when using the latest versions of vmware.