Changeset 64779 in vbox
- Timestamp:
- Dec 2, 2016 1:36:45 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r64510 r64779 3926 3926 /* 3927 3927 * Ext4 bug: Check if the host I/O cache is disabled and the disk image is located 3928 * on an ext4 partition. Later we have to check the Linux kernel version!3928 * on an ext4 partition. 3929 3929 * This bug apparently applies to the XFS file system as well. 3930 3930 * Linux 2.6.36 is known to be fixed (tested with 2.6.36-rc4). … … 3974 3974 mfSnapshotFolderExt4WarningShown = true; 3975 3975 } 3976 } 3977 3978 /* 3979 * 2.6.18 bug: Check if the host I/O cache is disabled and the host is running 3980 * Linux 2.6.18. See @bugref{8690}. Apparently the same problem as 3981 * documented in https://lkml.org/lkml/2007/2/1/14. We saw such 3982 * kernel oopses on Linux 2.6.18-416.el5. We don't know when this 3983 * was fixed but we _know_ that 2.6.18 EL5 kernels are affected. 3984 */ 3985 bool fKernelAsyncUnreliable = RT_FAILURE(rc) 3986 || (RTStrVersionCompare(szOsRelease, "2.6.19") < 0); 3987 if ( (uCaps & MediumFormatCapabilities_Asynchronous) 3988 && !*pfUseHostIOCache 3989 && fKernelAsyncUnreliable) 3990 { 3991 i_atVMRuntimeErrorCallbackF(0, "Linux2618TooOld", 3992 N_("The host I/O cache for at least one controller is disabled. " 3993 "There is a known Linux kernel bug which can lead to kernel " 3994 "oopses under heavy load. To our knowledge this bug affects " 3995 "all 2.6.18 kernels.\n" 3996 "Either enable the host I/O cache permanently in the VM " 3997 "settings or switch to a newer host kernel.\n" 3998 "The host I/O cache will now be enabled for this medium")); 3999 *pfUseHostIOCache = true; 3976 4000 } 3977 4001 #endif
Note:
See TracChangeset
for help on using the changeset viewer.

