Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 760791 - virtualbox 6.1.6 doesn't start, and hangs w hen reaching 20%
Summary: virtualbox 6.1.6 doesn't start, and hangs w hen reaching 20%
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-20 01:27 UTC by aion1223
Modified: 2020-12-20 05:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel dmesg log (dmesg.log,3.82 KB, text/x-log)
2020-12-20 01:27 UTC, aion1223
Details
VBoxSVC.log (VboxSVC.gentoo.log,4.22 KB, text/x-log)
2020-12-20 01:27 UTC, aion1223
Details
VBox.log (VBox.gentoo.log,1.55 KB, text/x-log)
2020-12-20 01:27 UTC, aion1223
Details
cpuinfo, uname, emerge --info (machine.log,31.04 KB, text/x-log)
2020-12-20 01:29 UTC, aion1223
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aion1223 2020-12-20 01:27:18 UTC
Created attachment 678846 [details]
kernel dmesg log

Not sure if this is upstream bug or some bad combination of packages. Today, I saw about two other users that may have the same issue like mine. 

Here's my virtualbox, which is the only one that I can build but is not working properly:
[I] app-emulation/virtualbox
     Available versions:  6.0.24-r1(0/6.0) (~)6.1.16-r1(0/6.1) {alsa debug doc dtrace headless java libressl lvm +opengl +opus pam pax_kernel pulseaudio python +qt5 +sdk +udev vboxwebsrv vnc ELIBC="FreeBSD" KERNEL="linux" PYTHON_SINGLE_TARGET="python3_6 python3_7 python3_8"}
     Installed versions:  6.1.16-r1(0/6.1)(04:47:40 PM 12/19/2020)(alsa java opengl opus pam pulseaudio python qt5 sdk udev vboxwebsrv vnc -debug -doc -dtrace -headless -libressl -lvm -pax_kernel ELIBC="-FreeBSD" KERNEL="linux" PYTHON_SINGLE_TARGET="python3_8 -python3_6 -python3_7")
     Homepage:            https://www.virtualbox.org/
     Description:         Family of powerful x86 virtualization products for enterprise and home use

Firstly, the /dev/vboxdrv* files had permissions of 600. VBoxSVC.log file complaint that it cannot access /dev/vboxdrvu file. I manually changed the permission after rebooting, and that complaints are gone. 

Regardless, the Virtualbox and modules build well. It shows the fancy GUI. However, any VM I have does not run: all stop at the point that shows "Starting Virtual Machine ... (2/2)" The graphical progressive bar below the message in the same dialog is always stuck at 20%. 

I did downgrade the kernel version to 5.4.84, rebuild all the packages again; did not work. 

I will attach:
 dmesg | tail -100  (from the point where I started the VM)
 VBoxSVC.log
 VBox.log
 emerge --info
 uname -a
 cat /proc/cpuinfo

The same version of VirtualBox was working well on my Intel laptop. My desktop is Ryzen 3700.
Comment 1 aion1223 2020-12-20 01:27:37 UTC
Created attachment 678849 [details]
VBoxSVC.log
Comment 2 aion1223 2020-12-20 01:27:58 UTC
Created attachment 678852 [details]
VBox.log
Comment 3 aion1223 2020-12-20 01:29:38 UTC
Created attachment 678855 [details]
cpuinfo, uname, emerge --info
Comment 4 aion1223 2020-12-20 01:30:49 UTC
For your convenience, copy-and-paste'ing the emerge --info here. Please note that the contents should be the same as those in the attached file:

Portage 3.0.12 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-10.2.0, glibc-2.32-r5, 5.10.1-gentoo-r1 x86_64)
=================================================================
System uname: Linux-5.10.1-gentoo-r1-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-gentoo-2.7
KiB Mem:    65815972 total,  62836420 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 19 Dec 2020 06:30:01 +0000
Head commit of repository gentoo: a7f7a21972c631d837b4772d16561a4c13554a36
sh bash 5.1
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash:          5.1::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          3.6.12-r1::gentoo, 3.7.9-r1::gentoo, 3.8.7_rc1::gentoo, 3.9.1::gentoo
dev-util/cmake:           3.19.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            10.2.0-r4::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

eclipse
    location: /var/lib/layman/eclipse
    masters: gentoo
    priority: 50

libressl
    location: /var/lib/layman/libressl
    masters: gentoo
    priority: 50

stuff
    location: /var/lib/layman/stuff
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US ko"
MAKEOPTS="-j16"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="R X a52 aac acc accountsservice acl acpi alsa amd64 anthy apache apache2 apng apparmor avx avx2 berkdb bluetooth bluetooth-sound branding btpclient bzip2 c++ cairo caja cdda cdpau cdr cjk clang cleartype cli colord corefonts crypt cuda cups cxx dbus detex device-mapper dhcp dirac divx dri drm dts dvd dvdr dvdread dvi2tty eds egl emacs emboss encode epspdf evo exif extras ffmpeg flac fortran fuse gallium gdbm gdu gif gimp gles gles1 gles2 glitz gnome gnome-keyring gnome-online-accounts gold gpm gstreamer gtk gtk3 gui hal hwaccel iconv icu imap introspection ipod ipv6 irc java jingle jpeg jpeg2k lame latex lcms libffi libglvnd libnotify libsecret libtirpc libwww linguas_en linguas_ja linguas_ko linlinguas_en_US lto m17n-lib mad maildir mate mikmod mmx mng mp2 mp3 mp3g2 mp4 mp4live mpeg mpi mplayer multilib multitarget nautilus ncurses networkmanager nls nptl nsplugin ogg ogm opengl openmp pam pango pcre pdf pdfannotextractor pluginwrapper png podcast policykit postscript ppds pstricks publishers pulseaudio python qt3 qt4 qt5 readline real samba sasl science scim sdl seccomp sftp sid snmp sound spell split-usr sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssh ssl ssse3 startup-notification static-libs static-pie subversion svg syslog sysprof systemd systemtap tcpd tex4ht texi2html theora threads tiff tracker truetype type1 udev udisks unicode upower usb vaapi vala vcd vdpau vnc vorbis wayland win32codecs wma wmf wmp wxwidgets x264 x265 xa xattr xcb xetex xine xinerama xml xv xvid youtube zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias http2 slotmem_shm xml2enc proxy proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_html proxy_http" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 multiboot" INPUT_DEVICES="mouse keyboard evdev synaptics virtualbox" KERNEL="linux" L10N="ja ko en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF NVPTX X86 AArch64 ARM Hexagon MSP430 Mips PowerPC Sparc SystemZ XCore" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_6 python3_7 python3_8" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 arm" QEMU_USER_TARGETS="aarch64 arm armeb x86_64" RUBY_TARGETS="ruby25 ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 aion1223 2020-12-20 01:35:20 UTC
Here are similar bug reports, interestingly all AMD Ryzen users:
 https://bugs.archlinux.org/task/68541?project=5&openedfrom=-1+week
 https://www.virtualbox.org/ticket/20084
Comment 6 aion1223 2020-12-20 05:18:10 UTC
I have read the posting on Arch Linux one more time thoroughly, and turned of AMD Secure Memory Encryption (disabled from the Kernel Configuration options). It works even though VirtualBox still complains that it failed to open /dev/vboxdrvu. 

I don't think this is Gentoo bug. This should be an upstream bug if it is ever a bug.