VirtualBox

Opened 14 years ago

Closed 8 years ago

#7514 closed defect (obsolete)

Guest Linux hangs on disk I/O every 30-60 min

Reported by: sasha29 Owned by:
Component: other Version: VirtualBox 3.2.10
Keywords: disk I/O, hang Cc:
Guest type: Linux Host type: Windows

Description (last modified by aeichner)

Hi, My Virtualbox is the latest 3.2.8, host WinXP 32bit, guest OpenSuse Linux 11.3. Every 30-60 min guest Linux hangs while trying to read/write to/from a disk. Sometimes it's accompamied by 100% use of one of CPU cores, sometimes - not. It seems like guest is infinitely waits for I/O from disk. While hanging, guest OS is responsing to mouse movements and clicks (buttons are raising on mouse move, terminals work) until the needed data are cached in memory. When they need to make disk I/O, they hang too, so finally everything waits for I/O and hangs. Host WinXP works perfectly, only guest freezes. Video mode, network, shared folders - do not affect. I tried 64-bit and 32-bit guest OpenSuse 11.3, it's the same. VDI disks are created in a standard way (expanding file) with limit of 30GB. Inside VDI there is 4Gb /dev/sda1 swap partition and 26gb /dev/sda2 ext4 root fs.

Help me please diagnose/fix the problem.

Attachments (5)

_VBox.log (49.3 KB ) - added by sasha29 14 years ago.
VirtualBox.mini.dmp (71.2 KB ) - added by sasha29 14 years ago.
Visual Studio 2010 Mini dump
Ubuntu-2010-10-04-16-08-08.log (47.7 KB ) - added by Kane O'Donnell 14 years ago.
VB Log (Win32 host, Ubuntu 10.04 64-bit guest)
20101019 VirtualBox freeze.MSVC 2010 minidump.dmp (71.4 KB ) - added by sasha29 14 years ago.
2010-10-19 Visual Studio 2010 Mini dump
VBox.log (75.5 KB ) - added by sasha29 14 years ago.
2010.10.19 VirtualBox Freeze log file

Download all attachments as: .zip

Change History (23)

by sasha29, 14 years ago

Attachment: _VBox.log added

by sasha29, 14 years ago

Attachment: VirtualBox.mini.dmp added

Visual Studio 2010 Mini dump

comment:1 by sasha29, 14 years ago

All threads of VirtualBox wait on RET at ntdll.dll!7c90e4f4()

7C90E4DA call 7C90E508 7C90E4DF mov eax,dword ptr [esp] 7C90E4E2 mov esp,ebp 7C90E4E4 pop ebp 7C90E4E5 ret 7C90E4E6 lea esp,[esp] 7C90E4ED lea ecx,[ecx] 7C90E4F0 mov edx,esp 7C90E4F2 sysenter 7C90E4F4 ret

comment:2 by sasha29, 14 years ago

7C90E4DA  call        7C90E508  
7C90E4DF  mov         eax,dword ptr [esp]  
7C90E4E2  mov         esp,ebp  
7C90E4E4  pop         ebp  
7C90E4E5  ret  
7C90E4E6  lea         esp,[esp]  
7C90E4ED  lea         ecx,[ecx]  
7C90E4F0  mov         edx,esp  
7C90E4F2  sysenter  
7C90E4F4  ret  

by Kane O'Donnell, 14 years ago

VB Log (Win32 host, Ubuntu 10.04 64-bit guest)

comment:3 by Kane O'Donnell, 14 years ago

Same problem for me, running Ubuntu 10.04 (64-bit) over Win32 XP SP3 as the host. Log attached. The problem is also apparent for VirtualBox 3.2.6.

comment:4 by Frank Mehnert, 14 years ago

Your log shows the error message VERR_IO_CRC. This might point to some problems with the physical drive where the virtual disk image is stored. Is that an USB drive or USB stick? What happens if you store the virtual disk image on another drive?

comment:5 by Kane O'Donnell, 14 years ago

It was a hard drive, and yes, it had a lot of problems. Had to get a new drive as there were 131Mb of bad sectors reported by CHKDSK in Windows. Most were outside the VirtualBox virtual disk so it's not a VirtualBox-specific problem. Thanks!

comment:6 by Frank Mehnert, 14 years ago

Thanks kaneod for the feedback!

sasha29, is your problem still relevant with VBox 3.2.10? If so, could you attach a new VBox.log file?

comment:7 by sasha29, 14 years ago

The original problem was the same for 32 and 64 bit guests. I localized that it happens if I turn on ACPI I/O and 2 CPUs for the guest. If I turn ACPI off and leave only one CPU to the guest, no problems at all for 32 and 64 bit guests.

My HDD on ThinkPad T400 has active Secure Boot and encryption if it does matter.

Just installed 3.2.10, turned ACPI and 2 CPUs in guest. Wait for results.

comment:8 by sasha29, 14 years ago

3.2.10 has the same issue. Freezes with 32 and 64-bit Linux quests in ACPI mode with 2 CPUs. Sometimes, CPU is idle during freeze, sometimes 50% of two cores are consuming. Attached are new log and minidump files.

by sasha29, 14 years ago

2010-10-19 Visual Studio 2010 Mini dump

by sasha29, 14 years ago

Attachment: VBox.log added

2010.10.19 VirtualBox Freeze log file

comment:9 by Paul Dorman, 14 years ago

Just a heads-up that this may be related to a regression with the 2.6.35 kernel. If you are running this kernel in your guest you may want to use an earlier release, or the latest release candidate for 2.6.36. See http://lkml.org/lkml/2010/8/1/40.

comment:10 by sasha29, 14 years ago

I am running 2.6.34 default kernel from OpenSuse 11.3 distribution with the latest patches, kernel-default-2.6.34.7-0.4.1. The bug happens on all versions of kernels of this distribution. From the kernel changelog it's fixed in this kernel version.

  • Mon Sep 13 2010 jslaby@…
    • Update to 2.6.34.7
      • obsoletes:
      • patches.fixes/vmscan-fix-stalls.patch

2.6.34.3:

  • Thu Aug 12 2010 jslaby@…
    • patches.fixes/vmscan-fix-stalls.patch: vmscan: raise the bar to PAGEOUT_IO_SYNC stalls (bnc#625339).

comment:11 by sasha29, 14 years ago

Hi, any ideas what's going wrong? It's the same for 3.2.8, 3.2.10 and all versions of kernels including the last one 2.6.36. Once ACPI and 2 CPUs are ON, the guest freezes after some time. Without ACPI and with single CPU is fine.

comment:12 by sasha29, 14 years ago

Sorry, IO APIC, not ACPI.

comment:13 by Frank Mehnert, 14 years ago

Version: VirtualBox 3.2.8VirtualBox 3.2.10

comment:14 by Nikita Krjukov, 14 years ago

It looks I have the same problem. I have the following configuration: Host: ThinkPad T410 Win& x64 Prof VirtualBox 3.2.12 Guest: OpenSuse 11.3 x64 with VBox Addition 3.2.12 Kernel "2.6.34.7-0.5-desktop" Hardware virtualization is On (VT-x/AMD-V + Nested Paging)

System usually hangs after several minutes of idling and only if more then 1 CPU is selected and IO APIC is On. Foxed/Dynamic virtual disk type doesn't matter.

comment:15 by Frank Mehnert, 13 years ago

Still relevant with VBox 4.1.4?

comment:16 by Janzert, 13 years ago

Yes, I've been seeing this on 4.1.4 and found this while looking for a solution. I've only disabled IO APIC for a short while but so far it does seem to have helped.

comment:17 by Janzert, 13 years ago

So after upgrading to 4.1.6 and using it for some time now, disabling IO APIC seems to help very little if at all.

comment:18 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette