Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kernel parameters for VirtualBox
Date: Thu, 18 Feb 2016 11:23:53
Message-Id: 2054051.y4qMdmjpgY@wstn
In Reply to: Re: [gentoo-user] Kernel parameters for VirtualBox by "J. Roeleveld"
1 On Thursday 18 February 2016 11:51:19 J. Roeleveld wrote:
2 > On Thursday, February 18, 2016 10:06:25 AM Peter Humphrey wrote:
3 --->8
4 > > I still can't shake the idea that I don't have my kernel set up right. Do
5 > > I
6 > > need anything particular in control groups, or name spaces, or anything?
7 >
8 > About the kernel: I don't have anything special.
9 >
10 > USE-flags:
11 >
12 > [I] app-emulation/virtualbox
13 >
14 > Installed versions: 4.3.32{tbz2}(03:46:09 PM 11/25/2015)(additions
15 > alsa extensions java opengl pam pulseaudio qt4 sdk udev -doc -headless
16 > -libressl - python -vboxwebsrv -vnc ELIBC="-FreeBSD"
17 > PYTHON_TARGETS="python2_7")
18
19 My USE flags:
20
21 Installed versions: 4.3.32{tbz2}(10:25:28 18/02/16)(additions alsa
22 extensions opengl pam qt4 sdk udev -doc -headless -java -libressl -pulseaudio
23 -python -vboxwebsrv -vnc ELIBC="-FreeBSD" PYTHON_TARGETS="python2_7")
24
25 I don't have pulseaudio here, but do I need java for virtualbox?
26
27 > What does " dmesg " have to say?
28 >
29 > For me:
30 > % dmesg | grep -i vbox
31 > [ 165.950507] vboxdrv: Found 8 processor cores.
32 > [ 165.950787] vboxdrv: fAsync=0 offMin=0x1fe offMax=0xa4f9
33 > [ 165.950828] vboxdrv: TSC mode is 'synchronous', kernel timer mode is
34 > 'normal'.
35 > [ 165.950829] vboxdrv: Successfully loaded version 4.3.32 (interface
36 > 0x001a000b).
37 > [ 165.978641] vboxpci: pci-stub module not available, cannot detach PCI
38 > devices
39 > [ 165.978643] vboxpci: IOMMU found
40
41 $ dmesg | grep -i vbox
42 [ 4.163645] vboxdrv: Found 4 processor cores.
43 [ 4.163748] vboxdrv: fAsync=0 offMin=0x1d8 offMax=0xd44
44 [ 4.163792] vboxdrv: TSC mode is 'synchronous', kernel timer mode is
45 'normal'.
46 [ 4.163793] vboxdrv: Successfully loaded version 4.3.32 (interface
47 0x001a000b).
48 [ 4.173458] vboxpci: pci-stub module not available, cannot detach PCI
49 devices
50 [ 4.173461] vboxpci: IOMMU not found (not registered)
51
52 That last one is suspicious, presumably connected with this:
53
54 $ dmesg | grep IOMMU
55 [ 0.119875] dmar: IOMMU: failed to map dmar0
56 [ 4.173461] vboxpci: IOMMU not found (not registered)
57
58 I wonder what dmar0 is.
59
60 > How exactly are you starting the VMs?
61 >
62 > I do it all with the GUI: /usr/bin/VirtualBox
63
64 Me too, with no problems, but one BOINC project I use includes a .vdi which it
65 submits to virtualbox as a guest. That's what's failing. I want to make sure
66 virtualbox is set up right before going after that.
67
68 --
69 Rgds
70 Peter

Replies

Subject Author
Re: [gentoo-user] Kernel parameters for VirtualBox Peter Humphrey <peter@××××××××××××.uk>