VirtualBox

Ticket #2182 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Raw vmdk does not work with SATA -> fixed in 2.0.4

Reported by: vkov_tinsky Assigned to:
Priority: major Component: virtual disk
Version: VirtualBox 2.0.0 Keywords: sata raw disk
Cc: Guest type: other
Host type: other

Description

Trying to start a VM with a raw vmdk attached in SATA mode results in the following error:

Unknown error creating VM.
VBox status code: -2 (VERR_INVALID_PARAMETER).

Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
Console
Interface: 
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
  • Attaching the raw vmdk using IDE works fine
  • Reproduced on hosts: Windows, Linux (Ubuntu 8.04, i686, kernel 2.6.24-21)
  • Problem not present on VirtualBox v1.6.6 (using same vmdk)

Attachments

VBox.log (26.2 kB) - added by vkov_tinsky on 2008-09-09 20:01:13.
Log for raw vmdk + SATA problem
Vbox-2008-09-13-20-03-15.log (31.3 kB) - added by misterjaytee on 2008-09-13 21:17:00.
Log for SATA problem on VirtualBox 2.0.0 and 2.0.2

Change History

2008-09-09 20:01:13 changed by vkov_tinsky

  • attachment VBox.log added.

Log for raw vmdk + SATA problem

2008-09-13 21:17:00 changed by misterjaytee

  • attachment Vbox-2008-09-13-20-03-15.log added.

Log for SATA problem on VirtualBox 2.0.0 and 2.0.2

2008-09-13 21:18:32 changed by misterjaytee

I have the same problem on VirtualBox 2.0.2 (happened to me on 2.0.0 as well). Running Vista x64 Host and Windows XP Pro (32-bit) Guest. Error occurs almost straight away before the VB BIOS screen appears. The disk image boots okay when switched to IDE mode.

2008-09-14 12:23:21 changed by seraphim

the bug still exists in 2.0.2 with debian etch kernel 2.6.18-6-686 host and windows guest.

(follow-up: ↓ 4 ) 2008-09-15 17:22:40 changed by sandervl73

  • summary changed from Raw vmdk does not work with SATA to Raw vmdk does not work with SATA -> fixed in 2.0.4.

Thanks for reporting it. Just fixed it locally. Unfortunately you'll have to wait for the next version.

(in reply to: ↑ 3 ) 2008-10-01 17:44:18 changed by loomy

Replying to sandervl73:

Thanks for reporting it. Just fixed it locally. Unfortunately you'll have to wait for the next version.

Is there an ETA on 2.0.4? :O

2008-10-24 10:11:48 changed by frank

  • status changed from new to closed.
  • resolution set to fixed.

2008-10-24 19:13:38 changed by vkov_tinsky

Raw vmdk + SATA still does not work:
Booting a WinXP SP2 (32-bit) guest with v2.0.4 (on both WinXP & Ubuntu 8.04 hosts) results in a crash (in vboxdd). Again, the issue does not appear when using IDE.
(see http://forums.virtualbox.org/viewtopic.php?p=43020#43020)

2008-10-24 19:37:27 changed by aeichner

Can you provide a core dump please? This is described here http://www.virtualbox.org/wiki/Core_dump Please compress and make it available for download somewhere like for example http://www.2shared.com or http://www.rapidshare.com

Thank you.

2008-10-24 20:49:42 changed by aeichner

  • status changed from closed to reopened.
  • resolution deleted.

No need to create a core dump I was able to reproduce it. Can you try if the following command works around the crash: VBoxManage setextradata <VM name> VBoxInternal/Devices/ahci/0/Config/UseAsyncInterfaceIfAvailable 0

I'm really sorry for any inconveniences.

2008-10-25 14:44:59 changed by vkov_tinsky

Setting UseAsyncInterfaceIfAvailable? 0 does indeed stop the crash and the VM boots normally with SATA enabled. (I've only had time to test this with XP host+guest for now.)

2008-10-25 19:30:02 changed by vkov_tinsky

Setting UseAsyncInterfaceIfAvailable?=0 on Linux host (Xubuntu 8.04 32-bit) cures the crash also.

2008-10-25 19:35:12 changed by vkov_tinsky

Sorry, forgot to ask: Does setting UseAsyncInterfaceIfAvailable?=0 reduce performance and does it only affect SATA? (Theoretical question of course since VM boot isn't possible otherwise.)

Regards, VT

2008-10-25 21:10:13 changed by aeichner

Yes only SATA is affected. Performance shouldn't be affected.

2008-10-29 05:05:05 changed by vkov_tinsky

Apologies in advance since this is slightly off-topic: I get worse performance with SATA than IDE under WinXP host (see http://forums.virtualbox.org/viewtopic.php?p=43470#43470). As far as I'm aware there's nothing wrong with my host XP installation so my question is whether a) This is normal or b) I should report this.

2008-11-24 10:34:29 changed by frank

  • status changed from reopened to closed.
  • resolution set to fixed.

Please check version 2.0.6. The bugs should be fixed and the SATA performance should be improved.

© 2009 Sun Microsystems, Inc.
ContactPrivacy policy