Random data corruption on Linux guests

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Robert Stevens
Posts: 1
Joined: 22. Apr 2020, 13:23

Random data corruption on Linux guests

Post by Robert Stevens »

Hello, I have the latest version of VirtualBox (Version 6.1.6 r137129) running on Windows 10.
When attempting to install a Linux O/S (Kali, Debian based), during the package installation phase it would fail. The apt logs showed that the hashes were wrong on various packages (despite the .iso being valid). A screenshot is included of this failure scenario. The packages are loaded from the mounted disk (no network mirror). Each re-install attempt would reveal different packages having the wrong hashes (but correct filesize).

Eventually I was able to install a smaller distribution of Debian and I can trigger the same issue while the guest O/S is running.

Doing a wget on the guest, downloading the same file from the Internet four times in succession will result in different file hashes. The file sizes are all the same:
user@debian:~$ md5sum nmap-7.80.tgz
05bb63c890ed67c33fd4b78ca15c1951  nmap-7.80.tgz

user@debian:~$ md5sum nmap-7.80.tgz.1
96673f23b3165bf8341f37027b3ed285  nmap-7.80.tgz.1

user@debian:~$ md5sum nmap-7.80.tgz.2
c76e5aab92d51745ae89eeb9d2c529f0  nmap-7.80.tgz.2

user@debian:~$ md5sum nmap-7.80.tgz.3
7d14935704815ed83e220d0f73db0fab  nmap-7.80.tgz.3
Same file-sizes.
user@debian:~$ ls -l nmap-7.80.tgz*
-rw-r--r-- 1 user user 13132692 Aug 10  2019 nmap-7.80.tgz
-rw-r--r-- 1 user user 13132692 Aug 10  2019 nmap-7.80.tgz.1
-rw-r--r-- 1 user user 13132692 Aug 10  2019 nmap-7.80.tgz.2
-rw-r--r-- 1 user user 13132692 Aug 10  2019 nmap-7.80.tgz.3
What debug related logs would be useful to attempt to identify the source of this strange issue?
Note I have tried both dynamic and fixed size disks and the issue occurs on both. I can't help but suspect there is an issue here possibly related to I/O related drivers.

Thank you.
Attachments
Kali fail on installation
Kali fail on installation
Capture.PNG (44.12 KiB) Viewed 654 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Random data corruption on Linux guests

Post by scottgus1 »

There have been some reports of the data on a good ISO failing to be read correctly for a guest install.

First, please run a hash check on the ISO file you downloaded and confirm that the hash matches the Linux website's hash.

Can you please uninstall Virtualbox, and the Extension Pack if you have it, and install 6.1.2? See if you can install correctly. If not, go back to 6.1.0 or 6.0.14 If 6.1.2 is good, please then upgrade to 6.1.4 and try a new install in a new guest.
Post Reply