XOrg in Debian10/Buster not usable with AMD Duron / Matrox G400

Markus Hiereth post at hiereth.de
Mon Jul 22 20:30:13 UTC 2019


Hello Adam,

Adam Jackson schrieb am 22. Juli 2019 um 20:22

> > apparently I am able to run gdb locally on my computer.   
 
> The reason I mentioned ssh is: if you start X under gdb from the
> console, the X server will switch away to a new virtual terminal while
> it initializes. Then, when it crashes, it will halt in gdb; but you
> won't be able to switch virtual terminals back to gdb, because X has
> put the vt into process mode, and is now halted under gdb so it can't
> run the code to release the vt back to the kernel.

installing the openssh-server - package made no problem. So I was able
to invoke gdb from my backup computer via ssh.

  gdb /usr/lib/xorg/Xorg

and within gdb

  run

introduced an attempt to start the X server. The logging is attached.
I do not know whether it contains a hint what is going wrong. Perhaps
the line "Cannot open /dev/tty0" are due to usage of gdb. Maybe
necessary configuration information to analyse the situation

  ~$ ls -l /dev/tty0
  crw--w---- 1 root tty 4, 0 Jul 22 21:46 /dev/tty0

  grep tty /etc/group
  tty:x:5:

Best regards
Markus
-------------- next part --------------
[   652.694] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[   652.697] Build Operating System: Linux 4.9.0-8-amd64 i686 Debian
[   652.698] Current Operating System: Linux lune 4.19.0-5-686-pae #1 SMP Debian 4.19.37-5 (2019-06-19) i686
[   652.698] Kernel command line: BOOT_IMAGE=/vmlinuz-4.19.0-5-686-pae root=/dev/sda7
[   652.700] Build Date: 05 March 2019  08:11:12PM
[   652.701] xorg-server 2:1.20.4-1 (https://www.debian.org/support) 
[   652.702] Current version of pixman: 0.36.0
[   652.703] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   652.704] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   652.707] (==) Log file: "/home/hiereth/.local/share/xorg/Xorg.0.log", Time: Mon Jul 22 21:57:01 2019
[   652.708] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   652.710] (==) No Layout section.  Using the first Screen section.
[   652.711] (==) No screen section available. Using defaults.
[   652.712] (**) |-->Screen "Default Screen Section" (0)
[   652.712] (**) |   |-->Monitor "<default monitor>"
[   652.716] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   652.717] (==) Automatically adding devices
[   652.718] (==) Automatically enabling devices
[   652.719] (==) Automatically adding GPU devices
[   652.720] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   652.721] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   652.721] 	Entry deleted from font path.
[   652.722] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[   652.723] (==) ModulePath set to "/usr/lib/xorg/modules"
[   652.724] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   652.724] (II) Loader magic: 0x678740
[   652.724] (II) Module ABI versions:
[   652.724] 	X.Org ANSI C Emulation: 0.4
[   652.724] 	X.Org Video Driver: 24.0
[   652.724] 	X.Org XInput driver : 24.1
[   652.724] 	X.Org Server Extension : 10.0
[   652.744] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_35
[   652.748] (II) xfree86: Adding drm device (/dev/dri/card0)
[   652.751] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted
[   652.763] (--) PCI:*(1 at 0:0:0) 102b:0525:102b:19d8 rev 4, Mem @ 0xdc000000/33554432, 0xdfefc000/16384, 0xdf000000/8388608, BIOS @ 0x????????/131072
[   652.768] (II) LoadModule: "glx"
[   652.770] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   653.058] (II) Module glx: vendor="X.Org Foundation"
[   653.058] 	compiled for 1.20.4, module version = 1.0.0
[   653.060] 	ABI class: X.Org Server Extension, version 10.0
[   653.061] (==) Matched mga as autoconfigured driver 0
[   653.062] (==) Matched modesetting as autoconfigured driver 1
[   653.063] (==) Matched fbdev as autoconfigured driver 2
[   653.063] (==) Matched vesa as autoconfigured driver 3
[   653.064] (==) Assigned the driver to the xf86ConfigLayout
[   653.065] (II) LoadModule: "mga"
[   653.066] (II) Loading /usr/lib/xorg/modules/drivers/mga_drv.so
[   653.102] (II) Module mga: vendor="X.Org Foundation"
[   653.102] 	compiled for 1.20.3, module version = 2.0.0
[   653.102] 	Module class: X.Org Video Driver
[   653.102] 	ABI class: X.Org Video Driver, version 24.0
[   653.102] (II) LoadModule: "modesetting"
[   653.103] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   653.147] (II) Module modesetting: vendor="X.Org Foundation"
[   653.147] 	compiled for 1.20.4, module version = 1.20.4
[   653.147] 	Module class: X.Org Video Driver
[   653.147] 	ABI class: X.Org Video Driver, version 24.0
[   653.147] (II) LoadModule: "fbdev"
[   653.148] (WW) Warning, couldn't open module fbdev
[   653.148] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   653.148] (II) LoadModule: "vesa"
[   653.150] (WW) Warning, couldn't open module vesa
[   653.151] (EE) Failed to load module "vesa" (module does not exist, 0)
[   653.152] (II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
	mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI,
	mgag200 SE A PCI, mgag200 SE B PCI, mgag200 EV Maxim,
	mgag200 ER SH7757, mgag200 eW Nuvoton, mgag200 eW3 Nuvoton,
	mgag200eH, mgag200eH3, mgag400, mgag550
[   653.163] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   653.164] (EE) 
Fatal server error:
[   653.165] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
[   653.166] (EE) 
[   653.166] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   653.167] (EE) Please also check the log file at "/home/hiereth/.local/share/xorg/Xorg.0.log" for additional information.
[   653.167] (EE) 
[   653.169] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[   653.170] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[   653.174] (EE) Server terminated with error (1). Closing log file.


More information about the xorg mailing list