VirtualBox

Ticket #8463 (reopened defect)

Opened 6 years ago

Last modified 8 days ago

Protocol error when using strip over shared folders.

Reported by: kwhat Owned by:
Priority: major Component: shared folders
Version: VirtualBox 4.0.4 Keywords: Protocol error
Cc: Guest type: Linux
Host type: Linux

Description (last modified by aeichner) (diff)

Steps to reproduce: Share a folder to a Linux guest. Copy a dll file to the share folder. (I used the taskschd.dll to test) On the linux guest run strip /path/to/mounted/share/taskschd.dll and you get "strip:./st9tAIQu: Protocol error" Now to prove a point copy that dll to somewhere on the guest disk, cp /path/to/mounted/share/taskschd.dll /tmp ; strip /tmp and notice that there is no error.

I have absolutely no idea why this only happens with dll files. I am able to strip shared object files without issue. I am also able to strip dll files on windows using mingw from shared folders with no issues. This happens with every dll I have tired. Both the guest and host OS are gentoo.

Change History

comment:1 Changed 4 years ago by dougborg

I am running into the same problem. I have not yet figured out a fix or a work-around. I am running VirtualBox 4.12 on a Mac OSX 10.8 host with a Debian Squeeze guest.

EDIT: I am using the 4.12 version of the Guest Additions as well:

machine:root# modinfo vboxsf
filename:       /lib/modules/2.6.32-5-amd64/updates/dkms/vboxsf.ko
version:        4.2.12 (interface 0x00010004)
license:        GPL
author:         Oracle Corporation
description:    Oracle VM VirtualBox VFS Module for Host File System Access
srcversion:     C7A03F0E68482FC1229FEE5
depends:        vboxguest,nls_base
vermagic:       2.6.32-5-amd64 SMP mod_unload modversions
parm:           follow_symlinks:Let host resolve symlinks rather than showing them (int)
Last edited 4 years ago by dougborg (previous) (diff)

comment:2 Changed 3 years ago by larskanis

I have the same problem when running Ubuntu-12.04 64 Bit VM on Ubuntu-13.10 64 Bit. strip does not work on a shared folder:

$ i686-w64-mingw32-strip zlib1.dll
i686-w64-mingw32-strip:st7VXEcU: Protocol error

Module for shared folders is:

vagrant@precise64:/vagrant/nokogiri$ modinfo vboxsf
filename:       /lib/modules/3.2.0-23-generic/misc/vboxsf.ko
version:        4.2.0 (interface 0x00010004)
license:        GPL
author:         Oracle Corporation
description:    Oracle VM VirtualBox VFS Module for Host File System Access
srcversion:     7C0A7927C2C19F0B88EB55A
depends:        vboxguest
vermagic:       3.2.0-23-generic SMP mod_unload modversions 
parm:           follow_symlinks:Let host resolve symlinks rather than showing them (int)

comment:3 Changed 4 months ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)

Please reopen if still relevant with a recent VirtualBox release.

comment:4 Changed 9 days ago by jasonmbrown

I am getting this problem as well, using MXE To CrossCompile, Strip Runs fully it appears. But fails to overwrite the file being stripped. So it exits wih an error and leaves a randomly named file in the shared folder that works fine once renamed.

x86_64-w64-mingw32.static-strip:stqcFQZL: Protocol error
cddadev@ubuntu:~$ modinfo vboxsf
filename:       /lib/modules/4.8.0-27-generic/kernel/ubuntu/vbox/vboxsf/vboxsf.ko
version:        5.1.6_Ubuntu r110634
license:        GPL
author:         Oracle Corporation
description:    Oracle VM VirtualBox VFS Module for Host File System Access
srcversion:     308B21C2D1816AC5CAD8A3A
depends:        vboxguest
intree:         Y
vermagic:       4.8.0-27-generic SMP mod_unload modversions 
parm:           follow_symlinks:Let host resolve symlinks rather than showing them (int)
Last edited 8 days ago by jasonmbrown (previous) (diff)

comment:5 Changed 8 days ago by jasonmbrown

  • Status changed from closed to reopened
  • Resolution obsolete deleted
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use