Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] virtualbox: no x-server after kernel upgrade to 4.12.12-gentoo
Date: Fri, 15 Sep 2017 17:35:51
Message-Id: CAJ1xhMX=+GKRd_HdG9BODzmJBvKpz641a2ie2kgh9Dhzh6ZbHw@mail.gmail.com
In Reply to: [gentoo-user] virtualbox: no x-server after kernel upgrade to 4.12.12-gentoo by Alexander Puchmayr
1 On Fri, Sep 15, 2017 at 5:47 PM, Alexander Puchmayr <
2 alexander.puchmayr@×××××××.at> wrote:
3
4 > Hi there,
5 >
6 > I'm using a gentoo-guest inside a virtual box on a Win10 host. The last
7 > somewhat working combination was kernel 4.4.39/virtualbox-5.1.24.
8 >
9 > When I update to kernel 4.12.12, the X-Server does not work anymore (I've
10 > also
11 > tried with 4.9.xx, same result -- no X)
12 >
13 > I used genkernel to compile the kernel, copied the previous 4.4.39-config
14 > from
15 > /proc/config.gz to /usr/src/linux-4.12.12-gentoo via zcat, and did no
16 > further
17 > changes; so nothing relevant should be changed, at least to my knowledge.
18 >
19 > After compilation of the kernel, required packages have been re-emerged:
20 > - app-emulation/virtualbox-guest-additions
21 > - x11-drivers/xf86-video-virtualbox
22 >
23 > Booting with 4.12.12:
24 > - sddm crashes with segfaults
25 > - Starting X from the command line: X complains missing EGL_MESA_drm
26 > EGL_MESA_drm_image required.
27 > : CommandLine Error: Option 'asan-instrument-assembly' registered more than
28 > once!
29 > LLVM ERROR: inconsistency in registered CommandLine options
30 > [??? No idea where this comes from :-( ]
31 >
32 >
33 > cat /var/log/Xorg.0.log
34 > [ 793.159] (II) LoadModule: "vboxvideo"
35 > [ 793.159] (II) Loading /usr/lib64/xorg/modules/drivers/vboxvideo_drv.so
36 > [ 793.159] (II) Module vboxvideo: vendor="Oracle Corporation"
37 > [ 793.159] compiled for 1.19.3, module version = 1.0.1
38 > [ 793.159] Module class: X.Org Video Driver
39 > [ 793.159] ABI class: X.Org Video Driver, version 23.0
40 > [ 793.159] (**) Load address of symbol "VBOXVIDEO" is 0x7f3840a24380
41 > [ 793.160] (II) VBoxVideo: guest driver for VirtualBox: vbox
42 > [ 793.160] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
43 > [ 793.160] (II) FBDEV: driver for framebuffer: fbdev
44 > [ 793.160] (II) VESA: driver for VESA chipsets: vesa
45 > [ 793.160] (II) vboxvideo: kernel driver found, not loading.
46 > <-- !!!!!!
47 > [ 793.160] (II) vboxvideo: kernel driver found, not loading.
48 > [ 793.160] (II) modeset(0): using drv /dev/dri/card0
49 > [ 793.160] (II) Loading sub module "glamoregl"
50 > [ 793.160] (II) LoadModule: "glamoregl"
51 > [ 793.160] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
52 > [ 793.163] (II) Module glamoregl: vendor="X.Org Foundation"
53 > [ 793.163] compiled for 1.19.3, module version = 1.0.0
54 > [ 793.163] ABI class: X.Org ANSI C Emulation, version 0.4
55 > [ 793.163] (II) glamor: OpenGL accelerated X.org driver based.
56 > [ 793.217] (II) glamor: EGL version 1.4 (DRI2):
57 > [ 793.217] EGL_MESA_drm_image required.
58 > [ 793.218] (EE) modeset(0): glamor initialization failed
59 >
60 > dmesg shows:
61 > 5.269630] VBoxService 5.1.24 r117012 (verbosity: 0) linux.amd64 (Sep 15
62 > 2017
63 > 16:09:26) release log
64 > 00:00:00.000046 main Log opened
65 > 2017-09-15T15:23:25.220990000Z
66 > [ 5.269691] 00:00:00.000133 main OS Product: Linux
67 > [ 5.269717] 00:00:00.000165 main OS Release: 4.12.12-gentoo
68 > [ 5.269740] 00:00:00.000191 main OS Version: #1 SMP Fri Sep 15
69 > 15:33:45
70 > CEST 2017
71 > [ 5.269772] 00:00:00.000213 main Executable: /usr/sbin/vboxguest-
72 > service
73 > 00:00:00.000214 main Process ID: 4275
74 > 00:00:00.000215 main Package type: LINUX_64BITS_GENERIC
75 > (OSE)
76 > [ 5.272160] 00:00:00.002532 main 5.1.24 r117012 started. Verbose
77 > level
78 > = 0
79 > [7.780006] vboxvideo 0000:00:02.0: fb0: vboxdrmfb frame buffer device
80 >
81 > Booting old 4.4.39 kernel [Just select old kernel in grub]
82 > - sddm shows login screen
83 > - /var/log/Xorg.0.log shows lots of lines regarding VBoxVideo driver.
84 > - dmesg does not show the vboxvideo line from above
85 >
86 > Obviously, something is going terribly wrong here, and I'm getting stuck
87 > as I
88 > do not have any Idea where to start. The only thing that changed is a
89 > kernel
90 > upgrade and a rebuild of the virtual box modules.
91 >
92 > Any ideas?
93 >
94 > Thanks in advance,
95 > Alex
96 >
97 >
98 >
99 >
100 >
101 >
102 >
103 >
104 The Gentoo wiki article referenced below emphasizes the fact that certain
105 kernel config options need enabling in order to have proper hardware
106 emulation. So you want to make sure you have those enabled in your kernel
107 config. Then take it from there.
108
109 https://wiki.gentoo.org/wiki/VirtualBox

Replies

Subject Author
Re: [gentoo-user] virtualbox: no x-server after kernel upgrade to 4.12.12-gentoo [SOLVED] Alexander Puchmayr <alexander.puchmayr@×××××××.at>