Apologies to dmesg@ for mistakenly posting this email to that list instead of to misc@.
On Sun, Mar 01, 2026 at 11:27:49AM +1300, Avon Robertson wrote: > I have been using this machine from a console, usually with tmux, for > many weeks. This has worked reliably. > > My problem has been and still is, that the machine will not enter the > X Windows System reliably when '$ startx' is invoked. > > Booting via xenodm is also unreliable. When the machine enters X, > the keyboard freezes shortly afterwards. > > What methodology is suited, to gather information, and then use the > information to debug such issues? > > This machine is running a recent OpenBSD-current snapshot and has > packages that were updated immediately after the snapshot was > installed. > > TIA for your reply. > > 1. /etc/sysctl.conf > -------------------- > Contents prior to invoking startx: > ddb.panic=1 > ddb.console=1 > machdep.allowaperture=1 > ^^^^^^^^^^^^^^^^^^^^^^^ # mentioned in Xorg.0.log below > > 2. Core file > ------------- > -rw------- 1 aer aer 12743104 Feb 28 18:38 /home/aer/Xorg.core > > Invoking egdb from $HOME with a command line as below > > $ egdb WHATPROG Xorg.core > > needs a binary to replace WHATPROG? > > Because 'startx' is a script, it could not represent WHATPROG? > Would the Xorg.core file contain meaningful debug info in this context? > > 3. Xorg.0.log > -------------- > Contents of ~/.local/share/xorg/Xorg.0.log on next boot. > > [ 670.989] > X.Org X Server 1.21.1.21 > X Protocol Version 11, Revision 0 > [ 670.990] Current Operating System: OpenBSD wrcr4.xan.priv 7.8 > GENERIC.MP#257 amd64 > [ 670.990] > [ 670.990] Current version of pixman: 0.46.4 > [ 670.991] Before reporting problems, check http://wiki.x.org > to make sure that you have the latest version. > [ 670.991] Markers: (--) probed, (**) from config file, (==) default > setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > [ 670.992] (==) Log file: "/home/aer/.local/share/xorg/Xorg.0.log", Time: > Sat Feb 28 18:37:59 2026 > [ 671.005] (==) Using system config directory > "/usr/X11R6/share/X11/xorg.conf.d" > [ 671.027] (==) No Layout section. Using the first Screen section. > [ 671.027] (==) No screen section available. Using defaults. > [ 671.027] (**) |-->Screen "Default Screen Section" (0) > [ 671.027] (**) | |-->Monitor "<default monitor>" > [ 671.028] (==) No monitor specified for screen "Default Screen Section". > Using a default monitor configuration. > [ 671.028] (**) Allowing byte-swapped clients > [ 671.028] (==) Automatically adding devices > [ 671.028] (==) Automatically enabling devices > [ 671.028] (==) Not automatically adding GPU devices > [ 671.028] (==) Automatically binding GPU devices > [ 671.033] (==) Max clients allowed: 256, resource mask: 0x1fffff > [ 671.063] (==) FontPath set to: > /usr/X11R6/lib/X11/fonts/misc/, > /usr/X11R6/lib/X11/fonts/TTF/, > /usr/X11R6/lib/X11/fonts/OTF/, > /usr/X11R6/lib/X11/fonts/Type1/, > /usr/X11R6/lib/X11/fonts/100dpi/, > /usr/X11R6/lib/X11/fonts/75dpi/ > [ 671.063] (==) ModulePath set to "/usr/X11R6/lib/modules" > [ 671.063] (II) The server relies on wscons to provide the list of input > devices. > If no devices become available, reconfigure wscons or disable > AutoAddDevices. > [ 671.063] (II) Loader magic: 0xc8c2f89c0d0 > [ 671.063] (II) Module ABI versions: > [ 671.063] X.Org ANSI C Emulation: 0.4 > [ 671.063] X.Org Video Driver: 25.2 > [ 671.063] X.Org XInput driver : 24.4 > [ 671.063] X.Org Server Extension : 10.0 > [ 671.064] (--) Using wscons driver on /dev/ttyC4 > [ 671.069] (WW) checkDevMem: failed to open /dev/mem and /dev/xf86 > (Permission denied) > Check that you have set 'machdep.allowaperture=1' > in /etc/sysctl.conf and reboot your machine > refer to xf86(4) for details > [ 671.069] linear framebuffer access unavailable > [ 671.069] (II) LoadModule: "glx" > [ 671.078] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so > [ 671.277] (II) Module glx: vendor="X.Org Foundation" > [ 671.277] compiled for 1.21.1.21, module version = 1.0.0 > [ 671.277] ABI class: X.Org Server Extension, version 10.0 > [ 671.278] (==) Matched modesetting as autoconfigured driver 0 > [ 671.278] (==) Assigned the driver to the xf86ConfigLayout > [ 671.278] (II) LoadModule: "modesetting" > [ 671.278] (II) Loading /usr/X11R6/lib/modules/drivers/modesetting_drv.so > [ 671.306] (II) Module modesetting: vendor="X.Org Foundation" > [ 671.306] compiled for 1.21.1.21, module version = 1.21.1 > [ 671.306] Module class: X.Org Video Driver > [ 671.306] ABI class: X.Org Video Driver, version 25.2 > [ 671.306] (II) modesetting: Driver for Modesetting Kernel Drivers: kms > [ 671.306] (WW) Falling back to old probe method for modesetting > [ 671.307] (II) modeset(0): using default device > [ 671.307] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card > support > [ 671.307] (II) modeset(0): Creating default Display subsection in Screen > section > "Default Screen Section" for depth/fbbpp 24/32 > [ 671.307] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 > [ 671.307] (==) modeset(0): RGB weight 888 > [ 671.307] (==) modeset(0): Default visual is TrueColor > [ 671.307] (II) Loading sub module "glamoregl" > [ 671.307] (II) LoadModule: "glamoregl" > [ 671.308] (II) Loading /usr/X11R6/lib/modules/libglamoregl.so > [ 671.343] (II) Module glamoregl: vendor="X.Org Foundation" > [ 671.343] compiled for 1.21.1.21, module version = 1.0.1 > [ 671.343] ABI class: X.Org ANSI C Emulation, version 0.4 > [ 671.693] (EE) Segmentation fault at address 0x0 > [ 671.693] (EE) > Fatal server error: > [ 671.693] (EE) Caught signal 11 (Segmentation fault). Server aborting > [ 671.693] (EE) > [ 671.693] (EE) > Please consult the The X.Org Foundation support > at http://wiki.x.org > for help. > [ 671.693] (EE) Please also check the log file at > "/home/aer/.local/share/xorg/Xorg.0.log" for additional information. > [ 671.693] (EE) > [ 671.699] (EE) Server terminated with error (1). Closing log file. > > 4. dmesg > -------- > I regret not capturing dmesg on the next reboot following the Xorg > failure. This dmesg was captured prior to posting this email. > > OpenBSD 7.8-current (GENERIC.MP) #257: Tue Feb 24 20:53:35 MST 2026 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 34274910208 (32687MB) > avail mem = 33208860672 (31670MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xecf30 (90 entries) > bios0: vendor American Megatrends Inc. version "2702" date 10/27/2015 > bios0: ASUS All Series > acpi0 at bios0: ACPI 5.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC FPDT SSDT SSDT SSDT MCFG HPET SSDT SSDT UEFI > acpi0: wakeup devices PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) PEGP(S4) > RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP05(S4) PXSX(S4) > RP06(S4) PXSX(S4) [...] > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, 3997.81 MHz, 06-3c-03, patch > 00000028 > cpu0: cpuid 1 > edx=bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > ecx=77fafbbf<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND> > cpu0: cpuid 6 eax=77<SENSOR,ARAT,PTS> ecx=9<EFFFREQ> > cpu0: cpuid 7.0 > ebx=27ab<FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID> > edx=9c000600<SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD> > cpu0: cpuid a vers=3, gp=8, gpwidth=48, ff=3, ffwidth=48 > cpu0: cpuid d.1 eax=1<XSAVEOPT> > cpu0: cpuid 80000001 edx=2c100800<NXE,PAGE1GB,RDTSCP,LONG> ecx=21<LAHF,ABM> > cpu0: cpuid 80000007 edx=100<ITSC> > cpu0: MELTDOWN > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 8-way L2 cache, 8MB 64b/line 16-way L3 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 99MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, 3997.82 MHz, 06-3c-03, patch > 00000028 > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 4 (application processor) > cpu2: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, 3997.91 MHz, 06-3c-03, patch > 00000028 > cpu2: smt 0, core 2, package 0 > cpu3 at mainbus0: apid 6 (application processor) > cpu3: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, 3998.08 MHz, 06-3c-03, patch > 00000028 > cpu3: smt 0, core 3, package 0 > ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins > acpimcfg0 at acpi0 > acpimcfg0: addr 0xe0000000, bus 0-255 > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (PEG0) > acpiprt2 at acpi0: bus -1 (PEG1) > acpiprt3 at acpi0: bus -1 (PEG2) > acpiprt4 at acpi0: bus 2 (RP01) > acpiprt5 at acpi0: bus -1 (RP02) > acpiprt6 at acpi0: bus -1 (RP03) > acpiprt7 at acpi0: bus -1 (RP05) > acpiprt8 at acpi0: bus -1 (RP06) > acpiprt9 at acpi0: bus 9 (RP07) > acpiprt10 at acpi0: bus -1 (RP08) > acpiprt11 at acpi0: bus 3 (RP04) > acpiec0 at acpi0 > acpiec at acpi0 not configured > acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000 > acpicmos0 at acpi0 > "PNP0C14" at acpi0 not configured > acpibtn0 at acpi0: PWRB > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0A0A" at acpi0 not configured > "PNP0C14" at acpi0 not configured > acpicpu0 at acpi0: C1(@1 halt!), PSS > acpicpu1 at acpi0: C1(@1 halt!), PSS > acpicpu2 at acpi0: C1(@1 halt!), PSS > acpicpu3 at acpi0: C1(@1 halt!), PSS > acpipwrres0 at acpi0: PG00, resource for PEG0 > acpipwrres1 at acpi0: PG01, resource for PEG1 > acpipwrres2 at acpi0: PG02, resource for PEG2 > acpipwrres3 at acpi0: FN00, resource for FAN0 > acpipwrres4 at acpi0: FN01, resource for FAN1 > acpipwrres5 at acpi0: FN02, resource for FAN2 > acpipwrres6 at acpi0: FN03, resource for FAN3 > acpipwrres7 at acpi0: FN04, resource for FAN4 > acpitz0 at acpi0 > acpitz0: critical temperature is 105 degC > acpitz1 at acpi0 > acpitz1: critical temperature is 105 degC > acpivideo0 at acpi0: GFX0 > acpivout0 at acpivideo0: DD1F > cpu0: using VERW MDS workaround (except on vmm entry) > cpu0: Enhanced SpeedStep 3997 MHz: speeds: 4001, 4000, 3800, 3500, 3300, > 3100, 2900, 2600, 2400, 2200, 1900, 1700, 1500, 1300, 1000, 800 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06 > ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi > pci1 at ppb0 bus 1 > radeondrm0 at pci1 dev 0 function 0 "ATI Pitcairn" rev 0x00 > drm0 at radeondrm0 > radeondrm0: msi > azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 7700 Audio" rev 0x00: msi > azalia0: no supported codecs > xhci0 at pci0 dev 20 function 0 "Intel 9 Series xHCI" rev 0x00: msi, xHCI 1.0 > usb0 at xhci0: USB revision 3.0 > uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 > addr 1 > "Intel 9 Series MEI" rev 0x00 at pci0 dev 22 function 0 not configured > em0 at pci0 dev 25 function 0 "Intel I218-V" rev 0x00: msi, address > 10:c3:7b:6c:ce:b6 > ehci0 at pci0 dev 26 function 0 "Intel 9 Series USB" rev 0x00: apic 8 int 16 > usb1 at ehci0: USB revision 2.0 > uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > azalia1 at pci0 dev 27 function 0 "Intel 9 Series HD Audio" rev 0x00: msi > azalia1: codecs: Realtek ALC1150 > audio0 at azalia1 > ppb1 at pci0 dev 28 function 0 "Intel 9 Series PCIE" rev 0xd0 > pci2 at ppb1 bus 2 > ppb2 at pci0 dev 28 function 3 "Intel 9 Series PCIE" rev 0xd0: msi > pci3 at ppb2 bus 3 > ppb3 at pci3 dev 0 function 0 "ASMedia ASM1184e" rev 0x00 > pci4 at ppb3 bus 4 > ppb4 at pci4 dev 1 function 0 "ASMedia ASM1184e" rev 0x00: msi > pci5 at ppb4 bus 5 > ppb5 at pci4 dev 3 function 0 "ASMedia ASM1184e" rev 0x00: msi > pci6 at ppb5 bus 6 > ppb6 at pci4 dev 5 function 0 "ASMedia ASM1184e" rev 0x00: msi > pci7 at ppb6 bus 7 > ppb7 at pci4 dev 7 function 0 "ASMedia ASM1184e" rev 0x00: msi > pci8 at ppb7 bus 8 > vendor "Oxford", unknown product 0xc140 (class communications subclass > serial, rev 0x00) at pci8 dev 0 function 0 not configured > vendor "Oxford", unknown product 0xc141 (class communications subclass > serial, rev 0x00) at pci8 dev 0 function 1 not configured > ppb8 at pci0 dev 28 function 6 "Intel 9 Series PCIE" rev 0xd0: msi > pci9 at ppb8 bus 9 > xhci1 at pci9 dev 0 function 0 "ASMedia ASM1042A xHCI" rev 0x00: msix, xHCI > 1.0 > usb2 at xhci1: USB revision 3.0 > uhub2 at usb2 configuration 1 interface 0 "ASMedia xHCI root hub" rev > 3.00/1.00 addr 1 > ehci1 at pci0 dev 29 function 0 "Intel 9 Series USB" rev 0x00: apic 8 int 23 > usb3 at ehci1: USB revision 2.0 > uhub3 at usb3 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > pcib0 at pci0 dev 31 function 0 "Intel Z97 LPC" rev 0x00 > ahci0 at pci0 dev 31 function 2 "Intel 9 Series AHCI" rev 0x00: msi, AHCI 1.3 > ahci0: port 0: 6.0Gb/s > ahci0: port 2: 6.0Gb/s > ahci0: port 5: 1.5Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD2003FZEX-0, 01.0> > naa.50014ee26bccb002 > sd0: 1907729MB, 512 bytes/sector, 3907029168 sectors > sd1 at scsibus1 targ 2 lun 0: <ATA, WDC WD2003FZEX-0, 01.0> > naa.50014ee216776939 > sd1: 1907729MB, 512 bytes/sector, 3907029168 sectors > cd0 at scsibus1 targ 5 lun 0: <HL-DT-ST, BD-RE BH16NS40, 1.01> removable > ichiic0 at pci0 dev 31 function 3 "Intel 9 Series SMBus" rev 0x00: apic 8 int > 18 > iic0 at ichiic0 > spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-10600 > spdmem1 at iic0 addr 0x51: 8GB DDR3 SDRAM PC3-10600 > spdmem2 at iic0 addr 0x52: 8GB DDR3 SDRAM PC3-10600 > spdmem3 at iic0 addr 0x53: 8GB DDR3 SDRAM PC3-10600 > isa0 at pcib0 > isadma0 at isa0 > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > wbsio0 at isa0 port 0x2e/2: NCT6791D rev 0x03 > wbsio0 port 0x290/2 not configured > uhidev0 at uhub0 port 5 configuration 1 interface 0 "KYE SYSTEMS CORP. Wired > Mouse" rev 1.10/24.58 addr 2 > uhidev0: iclass 3/1 > ums0 at uhidev0: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > uhidev1 at uhub0 port 5 configuration 1 interface 1 "KYE SYSTEMS CORP. Wired > Mouse" rev 1.10/24.58 addr 2 > uhidev1: iclass 3/0, 1 report id > uhid0 at uhidev1 reportid 1: input=0, output=0, feature=7 > uhidev2 at uhub0 port 6 configuration 1 interface 0 "Logitech USB Keyboard" > rev 1.10/64.00 addr 3 > uhidev2: iclass 3/1 > ukbd0 at uhidev2: 8 variable keys, 6 key codes > wskbd1 at ukbd0 mux 1 > uhidev3 at uhub0 port 6 configuration 1 interface 1 "Logitech USB Keyboard" > rev 1.10/64.00 addr 3 > uhidev3: iclass 3/0, 3 report ids > ucc0 at uhidev3 reportid 1: 2 usages, 3 keys, enum > wskbd2 at ucc0 mux 1 > uhid1 at uhidev3 reportid 2: input=1, output=0, feature=0 > ucc1 at uhidev3 reportid 3: 21 usages, 14 keys, enum > wskbd3 at ucc1 mux 1 > uplcom0 at uhub0 port 14 configuration 1 interface 0 "Prolific Technology > Inc. USB-Serial Controller D" rev 1.10/4.00 addr 4 > ucom0 at uplcom0: usb0.0.0000e.0 > uhub4 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" > rev 2.00/0.00 addr 2 > uhub5 at uhub3 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" > rev 2.00/0.00 addr 2 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (11e402f17390ca5c.a) swap on sd0b dump on sd0b > radeondrm0: PITCAIRN > radeon_audio_component_init: stub > radeondrm0: 2560x1440, 32bpp > wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 > wskbd1: connecting to wsdisplay0 > wskbd2: connecting to wsdisplay0 > wskbd3: connecting to wsdisplay0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) > > -- > aer -- aer

