VirtualBox version is 2.0.6, VirtualBox Host is WindowXP, Client is Linux, /src is a virtual share directory:
root [ /src/bdrr ]# make
make -C /lib/modules/2.6.26/build M=/src/bdrr modules
make[1]: Entering directory `/u/linux-2.6.26'
rm: cannot remove `/src/bdrr/.tmp_versions/*': Protocol error
make[1]: *** [crmodverdir] Error 1
make[1]: Leaving directory `/u/linux-2.6.26'
make: *** [default] Error 2
Then I contiue to test:
#rm /sharedir/*
Protocol error
# ls /src/bdrr/.tmp_versions/*
ls: cannot access /src/bdrr/.tmp_versions/*: Protocol error
So I think when a directolry is empty, the operator the directory such as:
rm <directory>/*
ls <directory>/*
This is my temportary solution:
cd /vboxsetup
/mnt/cdrom/VBoxLinuxAdditions.run --tar xvf
change the source files Error Code "EPROTO" to "ENOENT":
sed -i "s/\-EPROTO/\-ENOENT/g" `grep "\-EPROTO" -rl /u/vbox/module/vboxvfs/*.c`
Then reinstall vboxvfs module:
./install.sh vfs-module
A bug in virtualBox file share in Windows Hosts.
Thanks TangCheng....
Thank you very much.
Your solution is great~~...
I would like to add one more,
after executing your final command "./install.sh vfs-module"
I can't use copy/paste, in XP host, Linux guest env.
So I change your final command as "./install.sh"
It was good for everyting...
Thanks...
Your solution is great~~...
I would like to add one more,
after executing your final command "./install.sh vfs-module"
I can't use copy/paste, in XP host, Linux guest env.
So I change your final command as "./install.sh"
It was good for everyting...
Thanks...
-
- Posts: 2
- Joined: 13. Sep 2010, 03:37
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: ubuntu
Re: A bug in virtualBox file share in Windows Hosts.
I have exactly this problem, but it seems the format of the guest extensions installer has changed. I tried making the same substitution in the "src/vboxsf-3.2.8" directory (from the internal .tar.bz2 file) and running make && make install. The command completes without errors (some warnings) but after I reboot guest additions no longer mount. Does anyone know what else I should do?
Thanks!
(sorry for thread necro, this seems to be the only place on the internet where people mention this problem)
Thanks!
(sorry for thread necro, this seems to be the only place on the internet where people mention this problem)
-
- Posts: 2
- Joined: 13. Sep 2010, 03:37
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: ubuntu
Re: A bug in virtualBox file share in Windows Hosts.
I mostly got it working.
First, run the installer. Then use the --tar xjf command to extract its contents somewhere.
Next, fix your source:
root@ubuntu-vm:~# cd /usr/src/vboxsf*
root@ubuntu-vm:/usr/src/vboxsf-3.2.8# sed -i "s/\-EPROTO/\-ENOENT/g" `grep "\-EPROTO" -rl *.c`
finally, go to the place you extracted the installer's contents and run ./vboxadd setup
I now seem to have some troubles with it automatically mounting on startup, but if need be I can fix it manually everytime I reboot. Anyway, if you have this problem this should get things running for you.
First, run the installer. Then use the --tar xjf command to extract its contents somewhere.
Next, fix your source:
root@ubuntu-vm:~# cd /usr/src/vboxsf*
root@ubuntu-vm:/usr/src/vboxsf-3.2.8# sed -i "s/\-EPROTO/\-ENOENT/g" `grep "\-EPROTO" -rl *.c`
finally, go to the place you extracted the installer's contents and run ./vboxadd setup
I now seem to have some troubles with it automatically mounting on startup, but if need be I can fix it manually everytime I reboot. Anyway, if you have this problem this should get things running for you.