Opened 16 years ago
Closed 5 years ago
#2584 closed defect (obsolete)
vboxfs EPROTO error during file read
Reported by: | Brian Litzinger | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 2.0.2 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Linux |
Description (last modified by )
I recently attemped to use vboxsf/vboxfs to make an Ubuntu 8.04 host filesystem available in an Ubuntu 8.04 guest instance.
All worked fine initially. A relatively simple application in the guest reads and writes files into a folder in the shared directory.
Every once in a while the read() system call returns EPROTO. However, simply repeating the open/read/close works.
It was failing about 1% of the time.
I mounted the filesystem via NFS rather than vboxfs and the operations work 100% 24 hours per day for days on end.
The operations also work days on end if the files are read/written to the filesystem inside the guest.
I was unable to find anything in the log files at the time of the failed read calls.
Change History (3)
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 10 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I consistently encounter this problem on a windows host with linux guest (guest additions 4.1.6 on a Suse Linux guest). The problem is with reading a file that was opened prior to saving machine state (and restoring it later).
In other words, to reproduce you need to follow this sequence:
- open() a file on a share (guest accessing the windows host)
- Save machine state
- Restore machine state
- read() or pread() from the file descriptor opened in 1.
Result - read() fails and errno is EPROTO
comment:3 by , 5 years ago
Description: | modified (diff) |
---|---|
Resolution: | → obsolete |
Status: | reopened → closed |
Please reopen if this is still an issue with VBox 3.2.0