On Fri, Sep 16, 2022 at 01:55:13PM +0200, Walter Alejandro Iglesias wrote:
> Hello everone,
> 
> After upgrading to the latest snapshot I'm experiencing something
> similar to what's described here:

What snapshot were you running before?

> 
>   https://marc.info/?l=openbsd-bugs&m=166286641515911&w=2
> 
> I'm not sure if it's the same bug.  In my case Xorg crashes (trace
> below).

I don't think that is related.  Quite different hardware and a different
Mesa driver.

> 
> It happens with modesetting driver only, NOT with intel.
> 
> It happens using fvwm2 while browsing its menus.  Text desapears, the
> screen flashes a few times and eventually X crashes.
> 
> I've build a new kernel activating *all* the options in this patch
> but that did NOT solve the issue.
> 
>   https://marc.info/?l=openbsd-bugs&m=166286799416220&w=2

That is also unrelated.

> 
> 
> # egdb -ex bt -batch /usr/xobj/xserver/hw/xfree86/Xorg Xorg.core
> [New process 532797]
> [New process 424021]
> [New process 348856]
> Core was generated by `Xorg'.
> Program terminated with signal SIGABRT, Aborted.
> #0  thrkill () at /tmp/-:3
> [Current thread is 1 (process 532797)]
> #0  thrkill () at /tmp/-:3
> #1  0x00000abab5e5b0fe in _libc_abort () at 
> /usr/src/lib/libc/stdlib/abort.c:51
> #2  0x00000ab89683e00a in OsAbort ()
> #3  0x00000ab896844e4e in AbortServer ()
> #4  0x00000ab8968434eb in FatalError ()
> #5  0x00000ab89683b684 in OsSigHandler ()
> #6  <signal handler called>
> #7  thrkill () at /tmp/-:3
> #8  0x00000abab5e5b0fe in _libc_abort () at 
> /usr/src/lib/libc/stdlib/abort.c:51
> #9  0x00000abac74d84e8 in ?? () from /usr/X11R6/lib/modules/dri/crocus_dri.so
> #10 0x00000abac74d5d30 in ?? () from /usr/X11R6/lib/modules/dri/crocus_dri.so
> #11 0x00000abac6c10197 in ?? () from /usr/X11R6/lib/modules/dri/crocus_dri.so
> #12 0x00000abb67a0d709 in _glamor_block_handler () from 
> /usr/X11R6/lib/modules/libglamoregl.so
> #13 0x00000abb7863c24a in msBlockHandler () from 
> /usr/X11R6/lib/modules/drivers/modesetting_drv.so
> #14 0x00000ab896694414 in BlockHandler ()
> #15 0x00000ab896833b28 in WaitForSomething ()
> #16 0x00000ab89668843c in Dispatch ()
> #17 0x00000ab89669375c in dix_main ()
> #18 0x00000ab89667a2d2 in _start ()
> 
> # dmesg | tail
> i915_vma_coredump_create: stub
> i915_vma_coredump_create: stub
> i915_vma_coredump_create: stub
> i915_vma_coredump_create: stub
> i915_vma_coredump_create: stub
> pool_fini: stub
> err_free_sgl: stub
> drm:pid77674:intel_gt_reset *NOTICE* [drm] Resetting chip for stopped 
> heartbeat on rcs0
> inteldrm0: no ifp
> drm:pid77674:mark_guilty *NOTICE* [drm] Xorg[27880] context reset due to GPU 
> hang

I'll see if I can reproduce this on another 965 machine.

> 
> 
> dmesg (generated by sendbug)
> --------------------------------
> OpenBSD 7.2 (GENERIC.MP) #2: Fri Sep 16 12:36:28 CEST 2022
>     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 4135260160 (3943MB)
> avail mem = 3992539136 (3807MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xeb920 (70 entries)
> bios0: vendor Hewlett-Packard version "786E1 v01.16" date 08/17/2011
> bios0: Hewlett-Packard HP Compaq dc7700 Convertible Minitower
> acpi0 at bios0: ACPI 1.0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC HPET
> acpi0: wakeup devices PCI0(S4) COM1(S4) PEG1(S4) IGBE(S4) PCX1(S4) PCX2(S4) 
> HUB_(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) EUS1(S3) EUS2(S3) 
> PBTN(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)2 CPU 4300 @ 1.80GHz, 1795.59 MHz, 06-0f-02
> cpu0: 
> 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,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
> cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 
> 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 199MHz
> cpu0: mwait min=64, max=64, C-substates=0.2, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz, 1795.51 MHz, 06-0f-02
> cpu1: 
> 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,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
> cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 
> 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins, remapped
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xf4000000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG1)
> acpiprt2 at acpi0: bus 32 (PCX1)
> acpiprt3 at acpi0: bus -1 (PCX2)
> acpiprt4 at acpi0: bus 7 (HUB_)
> acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
> acpicmos0 at acpi0
> com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
> "PNP0003" at acpi0 not configured
> tpm0 at acpi0 TPM_ 1.2 (TIS) addr 0x4e/0x2, device 0xffffffff rev 0xff
> acpibtn0 at acpi0: PBTN
> "PNP0C14" at acpi0 not configured
> acpicpu0 at acpi0: C1(@1 halt!), PSS
> acpicpu1 at acpi0: C1(@1 halt!), PSS
> cpu0: Enhanced SpeedStep 1795 MHz: speeds: 1800, 1200 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel 82Q965 Host" rev 0x02
> inteldrm0 at pci0 dev 2 function 0 "Intel 82Q965 Video" rev 0x02
> drm0 at inteldrm0
> intagp0 at inteldrm0
> agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
> inteldrm0: apic 1 int 16, I965G, gen 4
> "Intel 82Q965 HECI" rev 0x02 at pci0 dev 3 function 0 not configured
> em0 at pci0 dev 25 function 0 "Intel ICH8 IGP AMT" rev 0x02: apic 1 int 19, 
> address 00:0f:fe:77:4f:df
> uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: apic 1 int 20
> uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: apic 1 int 21
> ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: apic 1 int 22
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
> addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: apic 1 
> int 21
> azalia0: codecs: Realtek ALC262
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02
> pci1 at ppb0 bus 32
> uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: apic 1 int 20
> uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: apic 1 int 21
> ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: apic 1 int 20
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
> addr 1
> ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xf2
> pci2 at ppb1 bus 7
> pcib0 at pci0 dev 31 function 0 "Intel 82801HO LPC" rev 0x02
> pciide0 at pci0 dev 31 function 2 "Intel 82801H SATA" rev 0x02: DMA, channel 
> 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide0: using apic 1 int 18 for native-PCI interrupt
> wd0 at pciide0 channel 0 drive 0: <WDC WD10EZEX-08M2NA0>
> wd0: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> usb2 at uhci0: USB revision 1.0
> uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 
> addr 1
> usb3 at uhci1: USB revision 1.0
> uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 
> addr 1
> usb4 at uhci2: USB revision 1.0
> uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 
> addr 1
> usb5 at uhci3: USB revision 1.0
> uhub5 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 
> addr 1
> isa0 at pcib0
> isadma0 at isa0
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard
> pms0 at pckbc0 (aux slot)
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> root on wd0a (d911fb9e85a4603e.a) swap on wd0b dump on wd0b
> inteldrm0: 1680x1050, 32bpp
> wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> 
> -- 
> Walter
> 
> 

Reply via email to