[Fixed] SATA/AHCI related crash

Postings relating to old VirtualBox pre-releases
Post Reply
mhanor
Volunteer
Posts: 321
Joined: 7. Oct 2009, 12:40
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: various

[Fixed] SATA/AHCI related crash

Post by mhanor »

This is not a regression (see bug 13105), but I think you could squash this bug before the final release of VirtualBox 5.0
It's very easy to reproduce on a Linux host. I can reproduce the crash on my Ubuntu 14.04 x64 host, using VirtualBox 5.0 Beta 4, a live Lubuntu 14.04.1 x86 VM and a mapped device. Just run the commands below, in a terminal. You'll need to logout after adding the user account to the disk group.

Code: Select all

sudo usermod -a -G disk $USER
sudo dmsetup create bad_disk <<EOF
0 100000 zero
100000 1 error
100001 100000 zero
EOF
VBoxManage internalcommands createrawvmdk -filename bad_disk.vmdk -rawdisk /dev/mapper/bad_disk
Then create a Ubuntu x86 VM, add the bad_disk.vmdk to the SATA controller and mount the Lubuntu 14.04.1 ISO image, boot the live image, and run at the guest terminal:

Code: Select all

sudo cat /dev/sda > /dev/null
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: [Suggestion] SATA/AHCI related crash

Post by frank »

Just to let you know, we are able to reproduce this problem, thanks for the nice test case. We are working on a fix but most likely it will not be ready for 5.0.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: [Suggestion] SATA/AHCI related crash

Post by frank »

Actually in the meantime there is a fix available (after RC2) and I would like to provide you a test build. Which package do you prefer?
mhanor
Volunteer
Posts: 321
Joined: 7. Oct 2009, 12:40
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: various

Re: [Suggestion] SATA/AHCI related crash

Post by mhanor »

A Linux 64 bit package (I'm using Ubuntu 14.04 x64).
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: [Suggestion] SATA/AHCI related crash

Post by frank »

Sorry for the late response. Here is a 64-bit Linux .run package. And here is a 64-bit Ubuntu .deb package.
mhanor
Volunteer
Posts: 321
Joined: 7. Oct 2009, 12:40
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: various

Re: [Suggestion] SATA/AHCI related crash

Post by mhanor »

I can't reproduce the crash using the above test case and the new build.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: [Suggestion] SATA/AHCI related crash

Post by frank »

Thanks for testing! As always you are a big help!
Post Reply