On Wed, Sep 25, 2019 at 06:07:48PM +0100, Ken Moffat via blfs-dev wrote: > > I think the elogind circular dependency might be what matters most
As Bruce surmised, it made no difference. I completed the build, then rebooted to ensure that elogind would definitely come up. The initial confirmation that elogind is running: Sep 27 03:43:26 deluxe klogd: <38>[ 63.915255] elogind-daemon[1304]: New seat seat0. Sep 27 03:43:26 deluxe klogd: <38>[ 63.916238] elogind-daemon[1304]: Watching system buttons on /dev/input/event1 (Power Button) Sep 27 03:43:26 deluxe klogd: <38>[ 63.933222] elogind-daemon[1304]: Watching system buttons on /dev/input/event0 (Power Button) Sep 27 03:43:26 deluxe klogd: <38>[ 63.933432] elogind-daemon[1304]: Watching system buttons on /dev/input/event13 (SEM USB Keyboard) Sep 27 03:43:26 deluxe klogd: <38>[ 63.933635] elogind-daemon[1304]: Watching system buttons on /dev/input/event14 (SEM USB Keyboard Consumer Control) Sep 27 03:43:26 deluxe klogd: <38>[ 63.933839] elogind-daemon[1304]: Watching system buttons on /dev/input/event15 (SEM USB Keyboard System Control) Sep 27 03:43:26 deluxe dbus-daemon[1131]: [system] Successfully activated service 'org.freedesktop.login1' Sep 27 03:43:26 deluxe klogd: <38>[ 64.078662] elogind-daemon[1304]: New session c1 of user ken. But startx fails. The log has: [ 321.033] X.Org X Server 1.20.5 X Protocol Version 11, Revision 0 [ 321.035] Build Operating System: Linux 5.3.1 x86_64 [ 321.036] Current Operating System: Linux deluxe 5.3.1 #2 SMP PREEMPT Thu Sep 26 20:37:57 BST 2019 x86_64 [ 321.036] Kernel command line: BOOT_IMAGE=/vmlinuz-5.3.1-sda7 root=/dev/sda7 ro resume=/dev/sda13 [ 321.038] Build Date: 27 September 2019 03:06:54AM [ 321.038] [ 321.039] Current version of pixman: 0.38.4 [ 321.040] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 321.040] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 321.043] (==) Log file: "/home/ken/.local/share/xorg/Xorg.0.log", Time: Fri Sep 27 03:47:43 2019 [ 321.045] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 321.045] (==) No Layout section. Using the first Screen section. [ 321.045] (==) No screen section available. Using defaults. [ 321.045] (**) |-->Screen "Default Screen Section" (0) [ 321.045] (**) | |-->Monitor "<default monitor>" [ 321.046] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 321.046] (==) Automatically adding devices [ 321.046] (==) Automatically enabling devices [ 321.046] (==) Automatically adding GPU devices [ 321.046] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 321.046] (==) FontPath set to: ${prefix}/share/fonts/X11/misc/, ${prefix}/share/fonts/X11/TTF/, ${prefix}/share/fonts/X11/OTF/, ${prefix}/share/fonts/X11/Type1/, ${prefix}/share/fonts/X11/100dpi/, ${prefix}/share/fonts/X11/75dpi/ [ 321.046] (==) ModulePath set to "/usr/lib/xorg/modules" [ 321.046] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 321.046] (II) Loader magic: 0x665c60 [ 321.046] (II) Module ABI versions: [ 321.046] X.Org ANSI C Emulation: 0.4 [ 321.046] X.Org Video Driver: 24.0 [ 321.046] X.Org XInput driver : 24.1 [ 321.046] X.Org Server Extension : 10.0 [ 321.046] (II) xfree86: Adding drm device (/dev/dri/card0) [ 321.051] (--) PCI:*(9@0:0:0) 1002:15d8:1002:15d8 rev 200, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfcc00000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072 [ 321.051] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) [ 321.051] (II) LoadModule: "glx" [ 321.052] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 321.058] (II) Module glx: vendor="X.Org Foundation" [ 321.058] compiled for 1.20.5, module version = 1.0.0 [ 321.058] ABI class: X.Org Server Extension, version 10.0 [ 321.058] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0 [ 321.058] loading driver: amdgpu [ 321.058] (==) Matched amdgpu as autoconfigured driver 0 [ 321.058] (==) Matched ati as autoconfigured driver 1 [ 321.058] (==) Matched modesetting as autoconfigured driver 2 [ 321.058] (==) Matched fbdev as autoconfigured driver 3 [ 321.058] (==) Matched vesa as autoconfigured driver 4 [ 321.058] (==) Assigned the driver to the xf86ConfigLayout [ 321.058] (II) LoadModule: "amdgpu" [ 321.059] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so [ 321.062] (II) Module amdgpu: vendor="X.Org Foundation" [ 321.062] compiled for 1.20.5, module version = 19.0.1 [ 321.062] Module class: X.Org Video Driver [ 321.062] ABI class: X.Org Video Driver, version 24.0 [ 321.062] (II) LoadModule: "ati" [ 321.062] (WW) Warning, couldn't open module ati [ 321.062] (EE) Failed to load module "ati" (module does not exist, 0) [ 321.062] (II) LoadModule: "modesetting" [ 321.062] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 321.063] (II) Module modesetting: vendor="X.Org Foundation" [ 321.063] compiled for 1.20.5, module version = 1.20.5 [ 321.063] Module class: X.Org Video Driver [ 321.063] ABI class: X.Org Video Driver, version 24.0 [ 321.063] (II) LoadModule: "fbdev" [ 321.063] (WW) Warning, couldn't open module fbdev [ 321.063] (EE) Failed to load module "fbdev" (module does not exist, 0) [ 321.063] (II) LoadModule: "vesa" [ 321.063] (WW) Warning, couldn't open module vesa [ 321.063] (EE) Failed to load module "vesa" (module does not exist, 0) [ 321.063] (II) AMDGPU: Driver for AMD Radeon: All GPUs supported by the amdgpu kernel driver [ 321.063] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 321.063] (++) using VT number 1 [ 321.063] (II) AMDGPU(0): [KMS] Kernel modesetting enabled. [ 321.064] (WW) Falling back to old probe method for modesetting [ 321.064] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 321.064] (II) AMDGPU(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 321.064] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32 [ 321.064] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) [ 321.064] (==) AMDGPU(0): Default visual is TrueColor [ 321.064] (==) AMDGPU(0): RGB weight 888 [ 321.064] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC) [ 321.064] (--) AMDGPU(0): Chipset: "Unknown AMD Radeon GPU" (ChipID = 0x15d8) comment: it's newer than the released amdgpu driver [ 321.064] (II) Loading sub module "fb" [ 321.064] (II) LoadModule: "fb" [ 321.064] (II) Loading /usr/lib/xorg/modules/libfb.so [ 321.065] (II) Module fb: vendor="X.Org Foundation" [ 321.065] compiled for 1.20.5, module version = 1.0.0 [ 321.065] ABI class: X.Org ANSI C Emulation, version 0.4 [ 321.065] (II) Loading sub module "dri2" [ 321.065] (II) LoadModule: "dri2" [ 321.065] (II) Module "dri2" already built-in [ 321.216] (II) Loading sub module "glamoregl" [ 321.216] (II) LoadModule: "glamoregl" [ 321.216] (II) Loading /usr/lib/xorg/modules/libglamoregl.so [ 321.220] (II) Module glamoregl: vendor="X.Org Foundation" [ 321.220] compiled for 1.20.5, module version = 1.0.1 [ 321.220] ABI class: X.Org ANSI C Emulation, version 0.4 [ 321.246] (II) AMDGPU(0): glamor X acceleration enabled on AMD RAVEN (DRM 3.33.0, 5.3.1, LLVM 8.0.1) [ 321.246] (II) AMDGPU(0): glamor detected, initialising EGL layer. [ 321.246] (==) AMDGPU(0): TearFree property default: auto [ 321.246] (==) AMDGPU(0): VariableRefresh: disabled [ 321.246] (II) AMDGPU(0): KMS Pageflipping: enabled [ 321.246] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section [ 321.246] (II) AMDGPU(0): Output DVI-D-0 has no monitor section [ 321.246] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section [ 321.249] (II) AMDGPU(0): EDID for output HDMI-A-0 [ 321.249] (II) AMDGPU(0): Manufacturer: ACR Model: 42e Serial#: 2215641880 [ 321.249] (II) AMDGPU(0): Year: 2018 Week: 41 [ 321.249] (II) AMDGPU(0): EDID Version: 1.3 [ 321.249] (II) AMDGPU(0): Digital Display Input [ 321.249] (II) AMDGPU(0): DFP 1.x compatible TMDS [ 321.249] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 52 vert.: 29 [ 321.249] (II) AMDGPU(0): Gamma: 2.20 [ 321.249] (II) AMDGPU(0): DPMS capabilities: Off [ 321.249] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 [ snip almost all remaining amdgpu info here ] [ 321.250] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0) [ 321.250] (II) Loading sub module "ramdac" [ 321.250] (II) LoadModule: "ramdac" [ 321.250] (II) Module "ramdac" already built-in [ 321.250] (II) UnloadModule: "modesetting" [ 321.250] (II) Unloading modesetting [ 321.250] Unable to retrieve master [ 321.250] (EE) Fatal server error: [ 321.250] (EE) AddScreen/ScreenInit failed for driver 0 [ 321.250] (EE) [ 321.250] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 321.250] (EE) Please also check the log file at "/home/ken/.local/share/xorg/Xorg.0.log" for additional information. [ 321.250] (EE) [ 321.270] (EE) Server terminated with error (1). Closing log file. Just to prove that soemthing in usermode Xorg is the problem, I then ran 'chmod 4755 /usr/libexec/Xorg' as root and was able to successfully run 'startx' as a normal user. I'll eventually recover this system to a backup from before I started to build PAM and the Xorg packages, but meanwhile I'll revert to 9.0 so that I can look at rust. ĸen -- thread 'main' panicked at 'giraffe', /tmp/rustc-1.32.0-src/src/test/run-fail/while-panic.rs:17:13 -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
