[Bug 168298] VirtualBox using AIO on a zvol crashes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 27 07:30:21 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168298

--- Comment #40 from ml at netfence.it ---
(In reply to hjf from comment #39)

Yes, I'm able to build it (using Poudriere), with or without disabling AIO.
However, as I said in comment #38, the latest official version does not work
for me.
Reenabling AIO is much better (I occasionally get AHCI timeouts in a FreeBSD
guest, but that's fine as I don't use vbox for anything too serious, at least
now; also, it probably did before, I'm not sure).

If you are having the problem I had (not sure, you don't tell), instead of
reverting to the previous version, you might just try the latest without
disabling AIO: use the following:

# svn diff
Index: files/patch-src-VBox-Runtime-Makefile.kmk
===================================================================
--- files/patch-src-VBox-Runtime-Makefile.kmk   (revision 563032)
+++ files/patch-src-VBox-Runtime-Makefile.kmk   (working copy)
@@ -12,12 +12,3 @@
  # Unicode Specification reader used to regenerate unidata-*.cpp.
  #
  uniread_TEMPLATE = VBoxBldProg
-@@ -1632,7 +1637,7 @@ VBoxRT_SOURCES.solaris        += \
- VBoxRT_SOURCES.darwin         += \
-       r3/posix/fileaio-posix.cpp
- VBoxRT_SOURCES.freebsd        += \
--      r3/freebsd/fileaio-freebsd.cpp
-+      r3/posix/fileaio-posix.cpp
- VBoxRT_INCS                   := $(RuntimeR3_INCS)
- VBoxRT_INCS.$(KBUILD_TARGET)  := $(RuntimeR3_INCS.$(KBUILD_TARGET))
- VBoxRT_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) :=
$(RuntimeR3_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list