Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: newish vbox gentoo guest crashes from startx
Date: Thu, 08 Dec 2016 01:04:31
Message-Id: ac062a49-5dbd-7bd1-e5ec-89256ecbc3a0@gmail.com
In Reply to: [gentoo-user] Re: newish vbox gentoo guest crashes from startx by Harry Putnam
1 On 08/12/2016 02:26, Harry Putnam wrote:
2 > Alan McKinnon <alan.mckinnon@×××××.com> writes:
3 >
4 >> On 07/12/2016 17:34, Harry Putnam wrote:
5 >>> Setup:
6 >>>
7 >>> gentoo 32bit vbox guest on win 10 64bit host
8 >>> Installed xorg-server, lxde Meta pkgs and deps
9 >>> (along with many other pkgs ... to many to list
10 >>> here but included at the end)
11 >>>
12 >>> uname -a:
13 >>> Linux g0 4.8.8-gentoo #2 Fri Nov 18 20:16:14 EST 2016 i686 Intel(R)
14 >>> Xeon(R) CPU X5450 @ 3.00GHz GenuineIntel GNU/Linux
15 >>>
16 >>> Theoretically the install should be ready now to run X and lxde.
17 >>> However, when I run `startlxde' nothing whatsoever happens. At least
18 >>> not at the command line or visibly. Prompt just returns lamely.
19 >>>
20 >>> However, if I run startx. The vm crashes clear to power off or
21 >>> sometimes just becomes inoperable with these error messages showing.
22 >>> (Note: nothing can be clicked moved or etc at this point)
23 >>
24 >>
25 >>
26 >> Your first problem seems to be you don't have any input or output
27 >> devices. Please post
28 >>
29 >> - eix xorg-server
30 >> - values of INPUT_DEVICES and VIDEO_CARDS from make.conf
31 >
32 >> - confirm that you built the kernel with evdev and the kernel module is
33 >> loaded
34 >
35 > harry > eix xorg-server
36 > [I] x11-base/xorg-server
37 > Available versions: 1.12.4-r5(0/1.12.4) 1.12.4-r7(0/1.12.4) 1.15.2-r2(0/1.15.2) 1.15.2-r4(0/1.15.2) 1.16.4(0/1.16.1) 1.16.4-r5(0/1.16.1) 1.17.4(0/1.17.4) (~)1.18.0(0/1.18.0) (~)1.18.1(0/1.18.1) (~)1.18.2(0/1.18.2) (~)1.18.3(0/1.18.3) 1.18.4(0/1.18.4) [M](~)1.19.0(0/1.19.0) **9999(0/9999) {dmx doc glamor ipv6 kdrive libressl minimal nptl selinux static-libs +suid systemd tslib +udev unwind wayland xephyr xnest xorg xvfb}
38 > Installed versions: 1.18.4(21:29:32 12/06/16)(doc glamor suid udev xorg -dmx -ipv6 -kdrive -libressl -minimal -selinux -static-libs -systemd -tslib -unwind -wayland -xephyr -xnest -xvfb)
39 > Homepage: https://www.x.org/wiki/
40 > Description: X.Org X servers
41 >
42 > ------- --------- ---=--- --------- --------
43 >
44 > harry > grep VIDEO /etc/portage/make.conf
45 > VIDEO_CARDS="virtualbox"
46 >
47 > I don't have anthing in make.conf about Input devices nor have I had
48 > on 2 other gentoo installs that successfully ran lxde.
49 >
50 > I've used the same make.conf with little variation on all three
51 >
52 > ------- ------- ---=--- ------- -------
53 >
54 > harry > cd /lib/modules
55 >
56 > harry > grep -r evdev.ko *
57 > Binary file 4.8.8-gentoo/modules.dep.bin matches
58 > 4.8.8-gentoo/modules.order:kernel/drivers/input/evdev.ko
59 > 4.8.8-gentoo/modules.dep:kernel/drivers/input/evdev.ko:
60 >
61 > ------- ------- ---=--- ------- -------
62 >
63 > harry > sudo lsmod
64 > Module Size Used by
65 > vboxguest 171071 0
66 > evdev 8704 0
67
68
69
70 All that looks OK.
71 AFAIR xorg uses evdev as the default, so if you don't specify it
72 explicitly, it's what you get.
73
74 Just for fun, do you have x11-drivers/xf86-input-evdev emerged?
75
76 The only thing I can think of left to check is
77 emerge @x11-module-rebuild
78 and see what it will install
79
80
81 >
82 >
83 >> There's a decent X11 install page on the gentoo wiki, did you follow it?
84 >> Installing on vbox is not too different from installing on metal except
85 >> you don't use the video driver for the physical card, you use the vbox
86 >> one (it's virtualized).
87 >
88 > I used the gentoo lxde wiki, which basically says that once you've got
89 > a basic gentoo install AND the xorg-server is installed you are ready
90 > to install lxde. It recommends using the meta package which I did.
91 >
92 > I assumed emerge would take care of dependants.
93
94 You assume correct
95
96 >
97 >> Lastly, why a 32 bit guest on a 64 bit host? There's little benefit from
98 >> doing that, and amd64 is far better supported in general than x86_64.
99 >> Plus you just create more work for the host.
100 >
101 > Does that have bearing on my problem?
102
103 Not really. I noticed and wondered. We can ignore it for the rest of the
104 discussion
105
106
107
108
109 >
110 > There were two reasons:
111 > 1) I hadn't yet found the BIOS switch to turn on Virtualization and
112 > the newer VBox since late 4.XX I think, do not even offer 64 bit
113 > if it is not set in bios. So the vbox version I used didn't have
114 > that on offer.
115 >
116 > 2) I found the discussions about the new approach with 2 sets of
117 > libraries and so forth to be pretty confusing... don't recall now
118 > exactly what things confused me... so I went straight 32 bit with the
119 > idea it would be less confusing. And for 2 gentoo installs that
120 > seemed to be born out.
121 >
122 > Since I had no trouble with those, thought I would stay with the tried
123 > and true approach. But apparently I missed something important or
124 > some such.
125 >
126 >
127
128
129 --
130 Alan McKinnon
131 alan.mckinnon@×××××.com

Replies

Subject Author
[gentoo-user] Re: newish vbox gentoo guest crashes from startx Harry Putnam <reader@×××××××.com>