On Sunday 19 November 2017 17:02:44 Steven Wallace wrote:
> Ever since I have upgraded to FreeBSD 11.1 early this year, VirtualBox's
> virtual disks will hang randomly.   I have to SATA emulated devices which
> are configured as FLAT devices to /dev/sd#x on two separate physical
> drives.
> 

Just to clarify, after a few minutes of use, after a disk access, Windows 7 
will hang 
apparently waiting for a response from the vbox virtual driver.  The system is 
not under 
heavy I/O.

I am not sure why makes such a big difference, but I appear to have workaround 
based 
off of https://www.virtualbox.org/ticket/15281

     *  *System*: [x] Enable I/O APIC 
     *  *SATA controller*: [x] Use host I/O cache 
     *  *VDI*: [x] Solid-state drive 
Using the host i/O cache seems to be the big ticket for me, although if it 
really is a cache, 
I do not understand why it would be necessary for correct operation.
The following is a log after the hang, with the key error being:
00:05:52.661844 AioMgr0-N: Request 0x0000081a630b20 failed with 
rc=VERR_TRY_AGAIN, migrating endpoint /dev/ada0s1 to failsafe manager.
00:05:52.685027 AIOMgr: I/O manager 0x000008210bc3a0 encountered a critical 
error 
(rc=VERR_FILE_AIO_NO_REQUEST) during operation. Falling back to failsafe mode. 
Expect reduced performance
00:05:52.685114 AIOMgr: Error happened in /usr/ports/emulators/virtualbox-
ose/work/VirtualBox-5.2.0/src/VBox/VMM/VMMR3/PDMAsyncCompletionFileNormal.cpp:
(1673){int pdmacFileAioMgrNormal(RTTHREAD, void *)}
00:05:52.685162 AIOMgr: Please contact the product vendor

Steven

-----------------------------------------------------------------


00:00:02.137669   CPL-DS - CPL Qualified Debug Store                      = 0 
(0)
00:00:02.137670   VMX - Virtual Machine Extensions                        = 0 
(0)
00:00:02.137672   SMX - Safer Mode Extensions                             = 0 
(0)
00:00:02.137674   EST - Enhanced SpeedStep Technology                     = 0 
(0)
00:00:02.137675   TM2 - Terminal Monitor 2                                = 0 
(0)
00:00:02.137677   SSSE3 - Supplemental Streaming SIMD Extensions 3        = 1 
(1)
00:00:02.137683   CNTX-ID - L1 Context ID                                 = 0 
(0)
00:00:02.137685   SDBG - Silicon Debug interface                          = 0 
(0)
00:00:02.137686   FMA - Fused Multiply Add extensions                     = 0 
(1)
00:00:02.137688   CX16 - CMPXCHG16B instruction                           = 1 
(1)
00:00:02.137689   TPRUPDATE - xTPR Update Control                         = 0 
(0)
00:00:02.137691   PDCM - Perf/Debug Capability MSR                        = 0 
(0)
00:00:02.137692   PCID - Process Context Identifiers                      = 0 
(0)
00:00:02.137693   DCA - Direct Cache Access                               = 0 
(0)
00:00:02.137695   SSE4_1 - SSE4_1 support                                 = 1 
(1)
00:00:02.137697   SSE4_2 - SSE4_2 support                                 = 1 
(1)
00:00:02.137698   X2APIC - x2APIC support                                 = 0 
(0)
00:00:02.137700   MOVBE - MOVBE instruction                               = 0 
(0)
00:00:02.137702   POPCNT - POPCNT instruction                             = 1 
(1)
00:00:02.137703   TSCDEADL - Time Stamp Counter Deadline                  = 0 
(0)
00:00:02.137705   AES - AES instructions                                  = 1 
(1)
00:00:02.137706   XSAVE - XSAVE instruction                               = 0 
(1)
00:00:02.137708   OSXSAVE - OSXSAVE instruction                           = 0 
(1)
00:00:02.137709   AVX - AVX support                                       = 0 
(1)
00:00:02.137711   F16C - 16-bit floating point conversion instructions    = 0 
(1)
00:00:02.137712   RDRAND - RDRAND instruction                             = 0 
(0)
00:00:02.137714   HVP - Hypervisor Present (we're a guest)                = 1 
(0)
00:00:02.137715 Structured Extended Feature Flags Enumeration (leaf 7):
00:00:02.137716   Mnemonic - Description                                  = 
guest (host)
00:00:02.137716   FSGSBASE - RDFSBASE/RDGSBASE/WRFSBASE/WRGSBASE instr.   = 0 
(0)
00:00:02.137717   TSCADJUST - Supports MSR_IA32_TSC_ADJUST                = 0 
(0)
00:00:02.137718   SGX - Supports Software Guard Extensions                = 0 
(0)
00:00:02.137720   BMI1 - Advanced Bit Manipulation extension 1            = 0 
(1)
00:00:02.137721   HLE - Hardware Lock Elision                             = 0 
(0)
00:00:02.137722   AVX2 - Advanced Vector Extensions 2                     = 0 
(0)
00:00:02.137724   FDP_EXCPTN_ONLY - FPU DP only updated on exceptions     = 0 
(0)
00:00:02.137725   SMEP - Supervisor Mode Execution Prevention             = 0 
(0)
00:00:02.137726   BMI2 - Advanced Bit Manipulation extension 2            = 0 
(0)
00:00:02.137727   ERMS - Enhanced REP MOVSB/STOSB instructions            = 0 
(0)
00:00:02.137728   INVPCID - INVPCID instruction                           = 0 
(0)
00:00:02.137730   RTM - Restricted Transactional Memory                   = 0 
(0)
00:00:02.137731   PQM - Platform Quality of Service Monitoring            = 0 
(0)
00:00:02.137732   DEPFPU_CS_DS - Deprecates FPU CS, FPU DS values if set  = 0 
(0)
00:00:02.137733   MPE - Intel Memory Protection Extensions                = 0 
(0)
00:00:02.137735   PQE - Platform Quality of Service Enforcement           = 0 
(0)
00:00:02.137736   AVX512F - AVX512 Foundation instructions                = 0 
(0)
00:00:02.137737   RDSEED - RDSEED instruction                             = 0 
(0)
00:00:02.137743   ADX - ADCX/ADOX instructions                            = 0 
(0)
00:00:02.137744   SMAP - Supervisor Mode Access Prevention                = 0 
(0)
00:00:02.137745   CLFLUSHOPT - CLFLUSHOPT (Cache Line Flush) instruction  = 0 
(0)
00:00:02.137746   INTEL_PT - Intel Processor Trace                        = 0 
(0)
00:00:02.137748   AVX512PF - AVX512 Prefetch instructions                 = 0 
(0)
00:00:02.137749   AVX512ER - AVX512 Exponential & Reciprocal instructions = 0 
(0)
00:00:02.137750   AVX512CD - AVX512 Conflict Detection instructions       = 0 
(0)
00:00:02.137751   SHA - Secure Hash Algorithm extensions                  = 0 
(0)
00:00:02.137753   PREFETCHWT1 - PREFETCHWT1 instruction                   = 0 
(0)
00:00:02.137754   PKU - Protection Key for Usermode pages                 = 0 
(0)
00:00:02.137755   OSPKU - CR4.PKU mirror                                  = 0 
(0)
00:00:02.137757 Processor Extended State Enumeration (leaf 0xd):
00:00:02.137758    XSAVE area cur/max size by XCR0, guest: 0x0/0x0
00:00:02.137759     XSAVE area cur/max size by XCR0, host: 0x3c0/0x3c0
00:00:02.137760                    Valid XCR0 bits, guest: 0x00000000`00000000
00:00:02.137761                     Valid XCR0 bits, host: 0x40000000`00000007 
( x87 SSE 
YMM_Hi128 LWP )
00:00:02.137764                     XSAVE features, guest:
00:00:02.137765                      XSAVE features, host:
00:00:02.137766       XSAVE area cur size XCR0|XSS, guest: 0x0
00:00:02.137767        XSAVE area cur size XCR0|XSS, host: 0x0
00:00:02.137768                Valid IA32_XSS bits, guest: 0x00000000`00000000
00:00:02.137769                 Valid IA32_XSS bits, host: 0x00000000`00000000
00:00:02.137770   State #2, host:  off=0x0240, cb=0x0100 IA32_XSS-bit -- 
YMM_Hi128
00:00:02.137774   State #62, host:  off=0x0340, cb=0x0080 IA32_XSS-bit -- LWP
00:00:02.137776          Raw Hypervisor CPUID Leaves
00:00:02.137777      Leaf/sub-leaf  eax      ebx      ecx      edx
00:00:02.137777 Gst: 40000000/0000  40000006 786f4256 786f4256 786f4256
00:00:02.137779 Hst:                00000000 00000000 00000000 00000000
00:00:02.137780 Gst: 40000001/0000  31237648 00000000 00000000 00000000
00:00:02.137781 Hst:                00000000 00000000 00000000 00000000
00:00:02.137782 Gst: 40000002/0000  00000000 00000000 00000000 00000000
00:00:02.137783 Hst:                00000000 00000000 00000000 00000000
00:00:02.137784 Gst: 40000003/0000  00000af2 00000000 00000000 00000500
00:00:02.137785 Hst:                00000000 00000000 00000000 00000000
_______________________________________________
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"

Reply via email to