Summary: | app-emulation/virtualbox-4.1.18 fails to start with multiple CPUs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | dE <de.techno> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED CANTFIX | ||
Severity: | major | CC: | patrick, swapon |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
dE
2012-08-23 12:48:34 UTC
Please add the output of emerge --info virtualbox and attach the ${HOME}/.VirtualBox/VBoxSVC.log file of a failed start to this bug. The content of /proc/cpuinfo of your host system would be of interest as well. emerge --info virtualbox Portage 2.2.0_alpha110_p35 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.14.1-r3, 3.4.2-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.4.2-gentoo-r1-x86_64-Intel-R-_Core-TM-_i3-2120_CPU_@_3.30GHz-with-gentoo-2.1 Timestamp of tree: Sat, 21 Jul 2012 11:30:02 +0000 app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.2.3 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.10.5 sys-apps/sandbox: 2.5 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.6 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.4 (virtual/os-headers) sys-libs/glibc: 2.14.1-r3 Repositories: gentoo proaudio mozilla sardemff7 x11 sabayon kde sunrise my-tree Installed sets: ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=native -O2 -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=n --complete-graph --binpkg-respect-use=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/pro-audio /var/lib/layman/mozilla /var/lib/layman/sardemff7 /var/lib/layman/x11 /var/lib/layman/sabayon /var/lib/layman/kde /var/lib/layman/sunrise /home/de/dev-tree" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 a53 aac aalib acc acpi adns alsa amd64 amr atm audiofile branding bzip2 cdda cdr cli consolekit cracklib css cups custom-cflags custom-optimization dbus dbx declarative dga dirac dri dts dv dvd dvdr emboss encode enscript exif ffmpeg firefox flac fortran gdu gif gles glut gmp gsm gstreamer gzip iconv imlib ipc jpeg jpeg2k kde ladspa lame lcms libedit libnotify libsamplerate libwww lzma lzo mad matroska matrox mikmod mime minimal mmap mmx mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack networkmanager nntp nocd nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp optimization orc osc pam pango pdf phonon plasma png policykit posix ppds pppd qt3support qt4 quicktime raw readline schroedinger sharedmem shorten smp sndfile sockets socks5 speex spell sse sse2 sse3 sse4 sse4_1 ssse3 startup-notification strong-optimization svg symlink sysfs taglib tcpd theora threads tiff toolame truetype twolame udev udisks unicode upower usb vaapi vcd vhosts vorbis wavpack wmf wxwidgets x264 xcb xcomposite xine xinerama xml xorg xpm xv xvid xvmc zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= app-emulation/virtualbox-4.1.18 was built with the following: USE="additions alsa (consolekit) extensions (multilib) opengl pam (policykit) qt4 -doc -headless -java -pulseaudio -python -sdk -vboxwebsrv -vnc" VBoxSVC.log -- VirtualBox (XP)COM Server 4.1.18_Gentoo_ r78361 linux.amd64 (Jul 23 2012 23:35:30) release log 00:00:00.000 main Log opened 2012-08-24T04:57:21.010054000Z 00:00:00.000 main OS Product: Linux 00:00:00.000 main OS Release: 3.4.2-gentoo-r1 00:00:00.000 main OS Version: #1 SMP PREEMPT Fri Jun 22 02:23:47 UTC 2012 00:00:00.000 main OS Service Pack: #1 SMP PREEMPT Fri Jun 22 02:23:47 UTC 2012 00:00:00.000 main Executable: /usr/lib64/virtualbox/VBoxSVC 00:00:00.000 main Process ID: 6398 00:00:00.000 main Package type: LINUX_64BITS_GENERIC (OSE) 00:00:00.196 nspr-2 Loading settings file "/home/de/.VirtualBox/VirtualBox.xml" with version "1.12-linux" 00:00:00.247 nspr-2 Successfully initialised host USB using sysfs 00:00:00.308 nspr-2 VDInit finished 00:00:00.333 nspr-2 Loading settings file "/home/de/.VirtualBox/Machines/ssh test/ssh test.vbox" with version "1.12-linux" 00:00:09.930 nspr-2 ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={5eaa9319-62fc-4b0a-843c-0cb1940f8a91} aComponent={Machine} aText={Machine is not locked for session (session state: Unlocked)}, preserve=false 00:00:10.433 Watcher ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={5eaa9319-62fc-4b0a-843c-0cb1940f8a91} aComponent={Machine} aText={The virtual machine 'ssh test' has terminated unexpectedly during startup with exit code 1}, preserve=false 00:00:22.307 nspr-3 ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={5eaa9319-62fc-4b0a-843c-0cb1940f8a91} aComponent={Machine} aText={Machine is not locked for session (session state: Unlocked)}, preserve=false 00:00:22.517 nspr-2 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={5eaa9319-62fc-4b0a-843c-0cb1940f8a91} aComponent={SessionMachine} aText={Saved screenshot data is not available (VERR_NOT_SUPPORTED)}, preserve=false 00:00:48.190 Watcher ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={c28be65f-1a8f-43b4-81f1-eb60cb516e66} aComponent={VirtualBox} aText={The object is not ready}, preserve=false Did you use some unofficial virtualbox ebuild to compile the package? I neither added "consolekit" nor "policykit" USE flags to the ebuilds. No. Are there any unofficial? (In reply to comment #5) > Are there any unofficial? AFAIK only the ones from my private overlay (poly-c). But currently I only have 4.2.0_{beta,rc} ebuilds in that overlay and didn't add consolekit/policykit USE flags there either. Unfortunately the VBoxSVC.log file doesn't reveal anything helpful other than that the process stopped unexpectedly. Can you maybe rename your ${HOME}/.VirtualBox folder and then recreate your VM again? If vbox asks you for a hard drive simply use the exising one from your renamed .VirtualBox folder. In case the VM boots successfully in that constellation your original config files might be broken. That extra use may be emerge --info specific -- [binary N ~] app-emulation/virtualbox-4.1.18 USE="additions alsa extensions opengl pam qt4 -doc -headless -java -pulseaudio -python -sdk -vboxwebsrv -vnc" 0 kB Could there be any chance one of the patches might be causing problems? In the mean time, the binary package works fine. Maybe I should strip Graphite flags. Yes. It has to do with Graphite. If Virtualbox (not modules) is compiled with -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity, it starts giving problems with multiple CPUs. So, this should reopen. The problem persists with Virtualbox 4.2.2 I suggest stripping the Graphite use flag for all CPU after verifying that this bug persists with multiple CPUs. Well, usually we don't filter out specific CFLAGS because this is a nightmare to maintain. Just keep your collection of flags as small as possible. |