VirtualBox

Opened 13 years ago

Closed 8 years ago

#9193 closed defect (obsolete)

writing to shared folder errors with 'Protocol error' when 'VBoxControl sharedfolder list' runs — at Version 2

Reported by: David Lesaffre Owned by:
Component: shared folders Version: VirtualBox 4.0.10
Keywords: Cc:
Guest type: Linux Host type: Windows

Description (last modified by aeichner)

On a Windows 7 host, using VirtualBox 4.0.10 (also happened with 4.0.8), I have an Ubuntu Lucid host running (kernel 2.6.32-28-generic), with the corresponding guest additions.

Scenario:

  • define a SharedFolder, say C:\vbShare, named vbShare
  • mount the share in the Ubuntu guest (automount, or mount with 'mount -t vboxsf ..', or mount with 'mount.vboxsf ..', makes no difference)
  • in one xterm session, run
    # dd if=/dev/urandom of=/media/sf_vbShare/random_data.txt bs=1M count=100
    
  • in another xterm session, while the above command runs, run
    # VBoxControl sharedfolder list
    
  • the first command errors out with
    dd: writing '/media/sf_vbShare/rando_data.txt': Protocol error
    

I'm using 'dd' to be able to reproduce a more general problem. Copying or moving a big enough file to the shared folder results in the same error message when the 'VBoxControl sharedfolder list' command is run before the copy/move operation is finished.

The error was first observed from within a Terminal server session running in the Ubuntu guest, copying a large file to the shared folder.

The error is also reproducible with a Gentoo Linux guest (kernel 2.6.35-gentoo-r15, with outdated guest additions (3.2.12)).

When this error occurs, there is no change in the VBox.log file of the VM session.

Change History (3)

by David Lesaffre, 13 years ago

Attachment: VBox.log added

VBox.log

comment:1 by David Lesaffre, 13 years ago

Reproduced on another combination:

  • Host: Gentoo Linux (64-bit, kernel 2.6.38-gentoo-r6) with VB 4.0.10
  • Guest: Windows XP (32-bit) with corresponding guest additions

Copying a big file from the XP guest into the shared folder gets interrupted if the "VBoxControl sharedfolder list" command is run during the copy process.

The XP guest shows this error:

Windows - Delayed Write Failed
Windows was unable to save all the data for the file \VBOXSVR\vbShare\bigfile. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.

In fact, it shows this error twice: once as a regular windows error dialog, and once as an information balloon in the bottom right of the screen.

comment:2 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use