Re: [gentoo-user] newish vbox gentoo guest crashes from startx

2016-12-07 Thread Alan McKinnon
On 07/12/2016 17:34, Harry Putnam wrote:
> Setup:
> 
>gentoo 32bit vbox guest on win 10 64bit host
>Installed xorg-server, lxde Meta pkgs and deps
>(along with many other pkgs ... to many to list
>here but included at the end)
> 
> uname -a:
>   Linux g0 4.8.8-gentoo #2 Fri Nov 18 20:16:14 EST 2016 i686 Intel(R)
>   Xeon(R) CPU X5450 @ 3.00GHz GenuineIntel GNU/Linux
> 
> Theoretically the install should be ready now to run X and lxde.
> However, when I run `startlxde' nothing whatsoever happens.  At least
> not at the command line or visibly.  Prompt just returns lamely.
> 
> However, if I run startx.  The vm crashes clear to power off or
> sometimes just becomes inoperable with these error messages showing.
> (Note: nothing can be clicked moved or etc at this point)



Your first problem seems to be you don't have any input or output
devices. Please post

- eix xorg-server
- values of INPUT_DEVICES and VIDEO_CARDS from make.conf
- confirm that you built the kernel with evdev and the kernel module is
loaded


There's a decent X11 install page on the gentoo wiki, did you follow it?
Installing on vbox is not too different from installing on metal except
you don't use the video driver for the physical card, you use the vbox
one (it's virtualized).

Lastly, why a 32 bit guest on a 64 bit host? There's little benefit from
doing that, and amd64 is far better supported in general than x86_64.
Plus you just create more work for the host.


Alan

> 
> 
> 
> 
> I'm having trouble figuring out where to start to get a handle on
> this.
> 
> This is not my first time installing gentoo in a vbox vm... I've done
> several over time and two just of late.  Although the installs were
> not trouble free, I had none of this sort of trouble.
> 
> Posting /var/log/Xorg.0.log which shows several modules not loading.
> vesa and fbdev... but checking my kernel compile I see both were
> selected for.  Other parts I'm not sure what they might mean.
> 
> Also included below is last 175 lines of a debug.log I have setup in
> rsyslog.
> 
> I can't tell how many lines to include so just a shot in the dark.
> There are a number of lines about Vbox not recognizing symbols
> 
> And finally a full listing of everthing that has been installed. Which
> runs to 650+ lines. So massive amount of data... which seems
> .. unavoidable.   I've labeled each between these:
> ---   ---   ---=---   ---   ---
> LABEL
> ---   ---   ---=---   ---   ---
> 
> Labels are:
> 
>Xorg.0.log
>tail_of_debug.log
>installed_pkgs_list.txt
> 
> Hopefull will make jumping around a bit easier if anyone even gets
> that far.
> 
> ---   ---   ---=---   ---   ---
> Xorg.0.log
> ---   ---   ---=---   ---   --- 
> [  1215.250] 
> X.Org X Server 1.18.4
> Release Date: 2016-07-19
> [  1215.262] X Protocol Version 11, Revision 0
> [  1215.266] Build Operating System: Linux 4.8.8-gentoo i686 Gentoo
> [  1215.268] Current Operating System: Linux g0 4.8.8-gentoo #2 Fri Nov 18 
> 20:16:14 EST 2016 i686
> [  1215.268] Kernel command line: root=/dev/sda3 vga=0x31b 
> video=vesfb:mtrr:3,ywrap
> [  1215.272] Build Date: 06 December 2016  09:05:57PM
> [  1215.274]  
> [  1215.277] Current version of pixman: 0.34.0
> [  1215.287]  Before reporting problems, check http://wiki.x.org
>   to make sure that you have the latest version.
> [  1215.287] Markers: (--) probed, (**) from config file, (==) default 
> setting,
>   (++) from command line, (!!) notice, (II) informational,
>   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [  1215.295] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec  7 10:07:52 
> 2016
> [  1215.348] (==) Using config directory: "/etc/X11/xorg.conf.d"
> [  1215.350] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
> [  1215.371] (==) No Layout section.  Using the first Screen section.
> [  1215.371] (==) No screen section available. Using defaults.
> [  1215.371] (**) |-->Screen "Default Screen Section" (0)
> [  1215.371] (**) |   |-->Monitor ""
> [  1215.372] (==) No monitor specified for screen "Default Screen Section".
>   Using a default monitor configuration.
> [  1215.372] (==) Automatically adding devices
> [  1215.372] (==) Automatically enabling devices
> [  1215.372] (==) Automatically adding GPU devices
> [  1215.373] (==) Max clients allowed: 256, resource mask: 0x1f
> [  1215.385] (WW) The directory "/usr/share/fonts/misc/" does not exist.
> [  1215.385]  Entry deleted from font path.
> [  1215.385] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
> [  1215.385]  Entry deleted from font path.
> [  1215.385] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
> [  1215.385]  Entry deleted from font path.
> [  1215.385] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
> [  1215.385]  Entry deleted from font path.
> [  

[gentoo-user] newish vbox gentoo guest crashes from startx

2016-12-07 Thread Harry Putnam
Setup:

   gentoo 32bit vbox guest on win 10 64bit host
   Installed xorg-server, lxde Meta pkgs and deps
   (along with many other pkgs ... to many to list
   here but included at the end)

uname -a:
  Linux g0 4.8.8-gentoo #2 Fri Nov 18 20:16:14 EST 2016 i686 Intel(R)
  Xeon(R) CPU X5450 @ 3.00GHz GenuineIntel GNU/Linux

Theoretically the install should be ready now to run X and lxde.
However, when I run `startlxde' nothing whatsoever happens.  At least
not at the command line or visibly.  Prompt just returns lamely.

However, if I run startx.  The vm crashes clear to power off or
sometimes just becomes inoperable with these error messages showing.
(Note: nothing can be clicked moved or etc at this point)


I'm having trouble figuring out where to start to get a handle on
this.

This is not my first time installing gentoo in a vbox vm... I've done
several over time and two just of late.  Although the installs were
not trouble free, I had none of this sort of trouble.

Posting /var/log/Xorg.0.log which shows several modules not loading.
vesa and fbdev... but checking my kernel compile I see both were
selected for.  Other parts I'm not sure what they might mean.

Also included below is last 175 lines of a debug.log I have setup in
rsyslog.

I can't tell how many lines to include so just a shot in the dark.
There are a number of lines about Vbox not recognizing symbols

And finally a full listing of everthing that has been installed. Which
runs to 650+ lines. So massive amount of data... which seems
.. unavoidable.   I've labeled each between these:
---   ---   ---=---   ---   ---
LABEL
---   ---   ---=---   ---   ---

Labels are:

   Xorg.0.log
   tail_of_debug.log
   installed_pkgs_list.txt

Hopefull will make jumping around a bit easier if anyone even gets
that far.

---   ---   ---=---   ---   ---
Xorg.0.log
---   ---   ---=---   ---   --- 
[  1215.250] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  1215.262] X Protocol Version 11, Revision 0
[  1215.266] Build Operating System: Linux 4.8.8-gentoo i686 Gentoo
[  1215.268] Current Operating System: Linux g0 4.8.8-gentoo #2 Fri Nov 18 
20:16:14 EST 2016 i686
[  1215.268] Kernel command line: root=/dev/sda3 vga=0x31b 
video=vesfb:mtrr:3,ywrap
[  1215.272] Build Date: 06 December 2016  09:05:57PM
[  1215.274]  
[  1215.277] Current version of pixman: 0.34.0
[  1215.287]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  1215.287] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1215.295] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec  7 10:07:52 
2016
[  1215.348] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1215.350] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1215.371] (==) No Layout section.  Using the first Screen section.
[  1215.371] (==) No screen section available. Using defaults.
[  1215.371] (**) |-->Screen "Default Screen Section" (0)
[  1215.371] (**) |   |-->Monitor ""
[  1215.372] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[  1215.372] (==) Automatically adding devices
[  1215.372] (==) Automatically enabling devices
[  1215.372] (==) Automatically adding GPU devices
[  1215.373] (==) Max clients allowed: 256, resource mask: 0x1f
[  1215.385] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[  1215.385]Entry deleted from font path.
[  1215.385] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  1215.385]Entry deleted from font path.
[  1215.385] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  1215.385]Entry deleted from font path.
[  1215.385] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  1215.385]Entry deleted from font path.
[  1215.385] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[  1215.385]Entry deleted from font path.
[  1215.385] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[  1215.385]Entry deleted from font path.
[  1215.385] (==) FontPath set to:

[  1215.385] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1215.385] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[  1215.386] (II) Loader magic: 0x8282620
[  1215.386] (II) Module ABI versions:
[  1215.386]X.Org ANSI C Emulation: 0.4
[  1215.386]X.Org Video Driver: 20.0
[  1215.386]X.Org XInput driver : 22.1
[  1215.386]X.Org Server Extension : 9.0
[  1215.390] (--) PCI:*(0:0:2:0) 80ee:beef:: rev 0, Mem @ 
0xe000/33554432, BIOS @ 0x/131072
[  1215.390] (II) LoadModule: "glx"