Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VirtualBox with Win 10 guest: crashes and graphics errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
medaron
n00b
n00b


Joined: 25 Jan 2016
Posts: 16
Location: NY

PostPosted: Mon Aug 01, 2016 7:41 pm    Post subject: VirtualBox with Win 10 guest: crashes and graphics errors Reply with quote

Hello,

I have a gentoo host with a Windows 10 guest. VirtualBox crashes regularly. Seems to be graphics driver related (see segfault in libnvidia-glcore). Thanks for any advice regarding this issue.

dmesg after starting VirtualBox until crash:
Code:

[ 6605.877167] vboxdrv: ffffffffa0dfa020 VMMR0.r0
[ 6606.267743] vboxdrv: ffffffffa0c62020 VBoxDDR0.r0
[ 6609.295907] EMT-0[8755]: segfault at c8 ip 00007f020851f300 sp 00007f024cb6c770 error 4 in VBoxDD.so[7f0208420000+18d000]
[ 6614.158092] vboxdrv: ffffffffa0dfa020 VMMR0.r0
[ 6614.543748] vboxdrv: ffffffffa0c62020 VBoxDDR0.r0
[ 6755.064805] VDMA[8871]: segfault at 0 ip 00007fe4319bc250 sp 00007fe26edfd6c8 error 4 in libnvidia-glcore.so.367.35[7fe430955000+1757000]


VBoxSVC.log
Code:

VirtualBox XPCOM Server 5.1.2_Gentoo r108956 linux.amd64 (Jul 28 2016 17:05:10) release log
00:00:00.000209 main     Log opened 2016-08-01T19:29:56.291265000Z
00:00:00.000211 main     Build Type: release
00:00:00.000214 main     OS Product: Linux
00:00:00.000215 main     OS Release: 4.6.5-gentoo
00:00:00.000216 main     OS Version: #1 SMP Thu Jul 28 15:20:56 CDT 2016
00:00:00.000235 main     DMI Product Name: Precision Tower 5810
00:00:00.000240 main     DMI Product Version: 01
00:00:00.000279 main     Host RAM: 64261MB total, 62422MB available
00:00:00.000282 main     Executable: /usr/lib64/virtualbox/VBoxSVC
00:00:00.000283 main     Process ID: 8710
00:00:00.000284 main     Package type: LINUX_64BITS_GENERIC (OSE)
00:00:00.001153 main     IPC socket path: /tmp/.vbox-axel-ipc/ipcd
00:00:00.103013 nspr-2   VirtualBox: object creation starts
00:00:00.103061 nspr-2   Home directory: '/home/axel/.VirtualBox'
00:00:00.103184 nspr-2   Loading settings file "/home/axel/.VirtualBox/VirtualBox.xml" with version "1.12-linux"
00:00:00.103911 nspr-2   Successfully initialised host USB using sysfs
00:00:00.106374 nspr-2   NAT: resolv.conf: nameserver 129.59.1.10
00:00:00.106389 nspr-2   NAT: resolv.conf: nameserver 129.59.2.10
00:00:00.106393 nspr-2   NAT: resolv.conf: nameserver 129.59.1.9
00:00:00.106396 nspr-2   NAT: resolv.conf: too many nameserver lines, ignoring 8.8.8.8
00:00:00.106406 nspr-2   HostDnsMonitor: old information
00:00:00.106409 nspr-2     no server entries
00:00:00.106412 nspr-2     no domain set
00:00:00.106415 nspr-2     no search string entries
00:00:00.106418 nspr-2   HostDnsMonitor: new information
00:00:00.106421 nspr-2     server 1: 129.59.1.10
00:00:00.106424 nspr-2     server 2: 129.59.2.10
00:00:00.106427 nspr-2     server 3: 129.59.1.9
00:00:00.106430 nspr-2     no domain set
00:00:00.106433 nspr-2     no search string entries
00:00:00.106438 nspr-2   HostDnsMonitorProxy::notify
00:00:00.106464 nspr-2   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:00:00.106642 nspr-2   VD: VDInit finished
00:00:00.109372 nspr-2   Loading settings file "/home/axel/.VirtualBox/Machines/win_10/win_10.vbox" with version "1.15-linux"
00:00:00.110197 nspr-2   VirtualBox: object created
00:00:00.344624 nspr-4   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:00:02.933853 nspr-4   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:00:03.126824 nspr-3   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:00:03.151329 nspr-3   ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={edba9d10-45d8-b440-1712-46ac0c9bc4c5} aComponent={ExtPackManagerWrap} aText={No extension pack by the name 'Oracle VM VirtualBox Extension Pack' was found}, preserve=false aResultDetail=0
00:00:03.345158 nspr-6   ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={b2547866-a0a1-4391-8b86-6952d82efaa0} aComponent={SessionMachine} aText={Saved screenshot data is not available (VERR_NOT_SUPPORTED)}, preserve=false aResultDetail=0
00:00:03.409193 nspr-3   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:00:03.415386 nspr-3   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:00:06.965356 nspr-5   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:00:07.118558 Watcher  Reaper: Pid 8731 (221b) was signalled: 11 (0xb)
00:00:11.255179 nspr-6   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:00:11.439164 nspr-4   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:00:11.465838 nspr-4   ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={edba9d10-45d8-b440-1712-46ac0c9bc4c5} aComponent={ExtPackManagerWrap} aText={No extension pack by the name 'Oracle VM VirtualBox Extension Pack' was found}, preserve=false aResultDetail=0
00:00:11.648723 nspr-5   ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={b2547866-a0a1-4391-8b86-6952d82efaa0} aComponent={SessionMachine} aText={Saved screenshot data is not available (VERR_NOT_SUPPORTED)}, preserve=false aResultDetail=0
00:00:11.689864 nspr-3   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:00:11.696095 nspr-5   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:00:16.649565 nspr-4   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:00:49.649718 nspr-2   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:02:33.099636 nspr-7   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
00:02:33.172597 Watcher  Reaper: Pid 8801 (2261) was signalled: 11 (0xb)


emerge --info
Code:

Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r2, 4.6.5-gentoo x86_64)
=================================================================
System uname: Linux-4.6.5-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-1650_v3_@_3.50GHz-with-gentoo-2.2
KiB Mem:    65803876 total,  61151836 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of repository gentoo: Mon, 01 Aug 2016 16:30:01 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p46::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2-r1::gentoo
sys-apps/openrc:          0.21.3::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

axel
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned 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"
MAKEOPTS="-j13"
PKGDIR="/usr/portage/packages"
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="X aac acl acpi alsa amd64 berkdb branding btrfs bzip2 cairo cli consolekit cracklib crypt curl cxx dbus djvu dri drm egl emacs exif fam ffmpeg flac fontconfig fortran gbm gdbm gif gimp git glamor gles gles1 gles2 gnutls gpg gpm gstreamer gtk gtkstyle harfbuzz iconv icu imagemagick imap infinality ipv6 jit jpeg latex lcms libnotify llvm lm_sensors lvm mad matroska mime mmx mmxext modules mp3 mp4 mpd mpeg multilib ncurses network nls nptl ntfs nvidia offensive ogg opengl openmax openmp openvg pam pango pcre pdf physics png policykit pulseaudio python readline sdl seccomp session sound spell sqlite sse sse2 ssl subversion svg tcpd threads tiff truetype udev udisks unicode upower usb videos vorbis x264 xa xattr xcb xft xinerama xkb xml xv xvid xvmc zlib zsh-completion" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2569

PostPosted: Tue Aug 02, 2016 12:18 am    Post subject: Reply with quote

Non-expert here, but I just fought through something like this on an Ubuntu host with Win10 a couple days ago. While I run gentoo with virtualization it's headless and I use kvm.

Question: Have you put in the VirtualBox extras and then not installed them, or had them in and uninstalled them, or upgraded VirtualBox but not upgraded the drivers in the guest?

The reason I'm saying is that my Ubuntu version was 15.10, which was out of support. So I upgraded it in the middle of my fight with VirtualBox (I'm unfamiliar with it altogether, not just with Windows VMs) and then I was getting hard lockups in my host system. No error message, no kernel panic, can't ping or ssh from another host to my Ubuntu host, can't switch to a virtual terminal.

For me this turned out to be an Ubuntu video driver not completely installed due to my ubuntu upgrade. But the error I got in VirtualBox is what got me wondering about it.

So I guess my non-expert recommendation is first to check your gentoo host system's video drivers, and then verify that the VirtualBox guest extras is installed and of the correct version.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30888
Location: here

PostPosted: Tue Aug 02, 2016 6:14 am    Post subject: Reply with quote

Bug on ubuntu
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2569

PostPosted: Tue Aug 02, 2016 2:05 pm    Post subject: Reply with quote

I was going to point out that the OP is on Gentoo, but the last post of the bug report points out that it's a cross-platform fix.
Back to top
View user's profile Send private message
medaron
n00b
n00b


Joined: 25 Jan 2016
Posts: 16
Location: NY

PostPosted: Tue Aug 02, 2016 5:50 pm    Post subject: Reply with quote

Thanks for the replies. I installed app-emulation/virtualbox-extpack-oracle and verified that the version of app-emulation/virtualbox-additions installed in the Windows guest matches the version of VirtualBox. Unfortunately, there are still crashes occurring:

dmesg:
Code:

[  623.671206] vboxdrv: ffffffffa19df020 VMMR0.r0
[  623.759378] vboxdrv: ffffffffa16c5020 VBoxDDR0.r0
[  626.825790] EMT-0[6301]: segfault at c8 ip 00007f3895ef5300 sp 00007f38cad7b770 error 4 in VBoxDD.so[7f3895df6000+18


In the few cases when it does not crash, I am experiencing display issues. The application showing the Windows guest is getting smaller and smaller (see multiple windows taskbars in screenshot): https://s32.postimg.org/i6jbkcskh/IMG_20160802_123809.jpg (11.8 kB)
Problems occur with and without having 3D acceleration enabled.
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2569

PostPosted: Tue Aug 02, 2016 6:51 pm    Post subject: Reply with quote

OK so that gets back to the situation I had on the Ubuntu box. I had a driver half-installed wierdness which didn't manifest except when I was running VirtualBox.

I recommend that you re-emerge [edit: your drivers] and re-configure your video card. And then maybe reboot.
Back to top
View user's profile Send private message
medaron
n00b
n00b


Joined: 25 Jan 2016
Posts: 16
Location: NY

PostPosted: Tue Aug 02, 2016 7:18 pm    Post subject: Reply with quote

Sorry, forgot to mention that in my previous post. I already reemerged the nvidia-drivers and redid the configuration.This did not help unfortunately.

But I think I found the cause of the problem. I am using xmonad and the graphics errors disappear if switch the VirtualBox window to floating mode and maximize it Which is a bit surprising to me, since I have the same software setup on a different computer and don't experience those problems there. The only significant differences between the computers are the graphics cards / drivers (nvidia vs radeon).
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1217
Location: Motown

PostPosted: Thu Jul 20, 2017 4:14 pm    Post subject: Reply with quote

This bug report of mine may help:
https://bugs.gentoo.org/show_bug.cgi?id=625642
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum