VirtualBox

Ticket #11088 (new defect)

Opened 18 months ago

Last modified 3 months ago

AHCI-related assertion failure

Reported by: mnz2000 Owned by:
Priority: major Component: virtual disk
Version: VirtualBox 4.2.2 Keywords:
Cc: Guest type: other
Host type: other

Description

I am getting the following assertion after some hours of running my virtual machine:

!ASMAtomicReadU32(&pAhciPort->cTasksActive)
10:03:27.007178 Location  : D:\tinderbox\win-4.2\src\VBox\Devices\Storage\DevAHCI.cpp(5405) bool __cdecl ahciCancelActiveTasks(struct AHCIPort *)

I am running VirtualBox 4.2.2 on Windows 7 host. The guest is Windows XP. I just upgraded from VirtualBox 4.2.0 to 4.2.2 and the same problem occurs here.

Attachments

VBox.log Download (300.7 KB) - added by mnz2000 18 months ago.
VirtualBox 4.2.2 log
VBox.log.2 Download (103.8 KB) - added by mnz2000 18 months ago.
VirtualBox 4.2.0 log
VBox.log.1 Download (58.8 KB) - added by fishbone 15 months ago.
assertion log
VBox.log.2.1 Download (78.7 KB) - added by ben1230 15 months ago.
Log file; no CRC errors

Change History

Changed 18 months ago by mnz2000

VirtualBox 4.2.2 log

Changed 18 months ago by mnz2000

VirtualBox 4.2.0 log

Changed 15 months ago by fishbone

assertion log

comment:1 Changed 15 months ago by fishbone

Same problem with version 4.2.6

More than one machine crashing after some minutes of running with the same description and assertion.

Host Windows 7 x64 Guests both oel 6.3

Shared disks attached to virtual SATA controller. Will try using host i/o.

comment:2 Changed 15 months ago by aeichner

Your log shows disturbing CRC errors while reading from the disk images. This points to a host disk problem. Can you run chkdsk on your host to check whether your hard drive is functioning properly?

Changed 15 months ago by ben1230

Log file; no CRC errors

comment:3 Changed 15 months ago by ben1230

Having the same problem. Version 4.2.6, Ubuntu 12.04 Host and Guest. The guest stays up for a while and then crashes with the assertion failure.

We do not see CRC errors.

comment:4 follow-up: ↓ 5 Changed 13 months ago by mpotter

I too am seeing this issue. Version 4.2.8, Ubuntu 10.04 Host, Windows XP Guest, Fixed VDI disk attached to virtual SATA controller. Do not see any CRC errors, however this VDI was previously on a hard-disk that was failing. It has since been copied to a good hard-disk.

comment:5 in reply to: ↑ 4 Changed 13 months ago by mpotter

Replying to mpotter:

Fixed VDI disk attached to virtual SATA controller.

Changed virtual controller to IDE. Have not seen this problem since, but with a performance hit.

comment:6 Changed 3 months ago by baxusm

I`ve probably the same problem on Ubuntu 12.04 x64 host with Win7 x86 guest (according to VBox.log) during heavy HDD load by guest (VirtualBox 4.3.6 + latest stock kernel 3.2.0-58). Also in /var/log/kern.log, I saw many errors like this one:

...
[20243.847797] sd 0:0:0:0: [sda] Unhandled sense code
[20243.847803] sd 0:0:0:0: [sda]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[20243.847810] sd 0:0:0:0: [sda]  Sense Key : Medium Error [current] [descriptor]
[20243.847818] Descriptor sense data with sense descriptors (in hex):
[20243.847823]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 
[20243.847840]         10 4c ae 48 
[20243.847848] sd 0:0:0:0: [sda]  Add. Sense: Unrecovered read error - auto reallocate failed
[20243.847860] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 10 4c ae 48 00 00 80 00
...

I found the problem - it was bad blocks on my host HDD (SSD). After fixing it VM crashes and errors in VBox.log/kern.log are disappeared. See the comment:2 from aeichner.

For fixing I boot from Ubuntu LiveCD and use command (valid for ext2/3/4 filesystems; change sda7 to your partition name):

sudo fsck -cc /dev/sda7

but of course first of all you must backup all data from HDD and don`t keep important information on this HDD.

Last edited 3 months ago by baxusm (previous) (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use