VirtualBox

Ticket #9193 (new defect)

Opened 3 years ago

Last modified 3 years ago

writing to shared folder errors with 'Protocol error' when 'VBoxControl sharedfolder list' runs

Reported by: dlesaffre Owned by:
Priority: major Component: shared folders
Version: VirtualBox 4.0.10 Keywords:
Cc: Guest type: Linux
Host type: Windows

Description

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.

Attachments

VBox.log Download (85.7 KB) - added by dlesaffre 3 years ago.
VBox.log

Change History

Changed 3 years ago by dlesaffre

VBox.log

comment:1 Changed 3 years ago by dlesaffre

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.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use