System76 Lemur Pro kernel panic when starting X on OpenBSD 6.9

2021-05-02 Thread Aaron Ash
>Synopsis:startx causes panic: pool_do_get: drmobj free list modified
>Category:system
>Environment:
System  : OpenBSD 6.9
Details : OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT 2021
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
On a System76 Lemur Pro i7-1165G7, Attempting to startx manually
or via xenodm
results in what looks like a kernel panic.
When starting manually via startx:
panic: pool_do_get: drmobj free list modified: page
0x80a2; item addr 0x80a20940; offset
0x0=0x7f007f != 0x1a8ce54a45a479c3

When starting x automatically via xenodm it lands in ddb:
uvm_fault(0xfd823f79c880, 0x7eff87, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at i915_gem_get_aperture_ioctl+0x68: testl
$0x3ff,0xff08(%rax)
>How-To-Repeat:
Install OpenBSD 6.9 via install69.img.
Do a "normal" install with default auto disk layout whole disk GPT mode.
Reboot and allow firmware to install.  Reboot again and attempt to startx.
Alternatively reboot with xenodm enabled.
>Fix:
Unknown.


dmesg:
OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT 2021
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8411475968 (8021MB)
avail mem = 8141176832 (7764MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x76b27040 (16 entries)
bios0: vendor coreboot version "2021-04-07_236914e" date 03/19/2021
acpi0 at bios0: ACPI 6.0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP SSDT MCFG TPM2 LPIT APIC DMAR DBG2 HPET BGRT
acpi0: wakeup devices XHCI(S3) GLAN(S4) TXHC(S4) TDM0(S4) TRP0(S4)
PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) CNVW(S3) PWRB(S3) SLPB(S3)
LID0(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0
acpimcfg0: addr 0xc000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 14561.18 MHz, 06-8c-01
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,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,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 256KB 64b/line disabled L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 38MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.1.2.1.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 2095.18 MHz, 06-8c-01
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,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,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 256KB 64b/line disabled L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 2095.18 MHz, 06-8c-01
cpu2: 
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,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,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 256KB 64b/line disabled L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 2095.18 MHz, 06-8c-01
cpu3: 

Re: AMD Ryzen based Asus ZENBOOK 14 UM433DA-PURE4 14" panic at first boot post install - how to debug further

2021-05-02 Thread Peter Nicolai Mathias Hansteen


> 2. mai 2021 kl. 19:54 skrev Mark Kettenis :
> 
> 
> Can you file a proper sendbug report for this machine?
> 
> 
I just did a sendbug. It went by really fast so I hope it actually contains the 
required information.

All the best,
Peter


—
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.






signature.asc
Description: Message signed with OpenPGP


Re: Lenovo Thinkstation Intel Xeon - Fails to boot

2021-05-02 Thread Florian Viehweger
Hi,

> Does someone have hints on this issue please ?

> The type of server is a Levono Thinkstation P720 fit with Intel
> Silver Xeon Silver 4110 processor. I installed the i386 OpenBSD 6.8.
> I can have a shell from finishing the install process, this works. It
> doesn't boot in single user mode, but can boot with boot -c option
> into user kernel configuration.

this CPU has 64 bit support, please test amd64 OpenBSD 6.9 instead of
i386 and report back.

-- 
greetings,

Florian Viehweger



Re: AMD Ryzen based Asus ZENBOOK 14 UM433DA-PURE4 14" panic at first boot post install - how to debug further

2021-05-02 Thread Bryan Steele
On Sun, May 02, 2021 at 04:02:17PM -0400, Bryan Steele wrote:
> On Sun, May 02, 2021 at 09:51:13PM +0200, Peter Nicolai Mathias Hansteen 
> wrote:
> > 
> > 
> > > 2. mai 2021 kl. 19:54 skrev Mark Kettenis :
> > > 
> > > 
> > > Can you file a proper sendbug report for this machine?
> > > 
> > > 
> > I just did a sendbug. It went by really fast so I hope it actually contains 
> > the required information.
> > 
> > All the best,
> > Peter
> 
> It is much better to generate the report using sendbug -E, fill out the
> template and send the report from a system that has mail configured.
> 
> -Bryan.

Sorry, sendbug -P



Boot Fail after Upgrade to 6.9 Intel Celeron SATA SSD

2021-05-02 Thread hans . freitag
>Synopsis:  Boot Fail after Upgrade to 6.9
>Category:  boot
>Environment:
System  : OpenBSD 6.9
Details : OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT 
2021
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
When I made the upgrade to 6.9 the system did not boot, more annoyingly 
the screen went black 
after the Blue status messages leaving no clue what has happened. The 
System also did not respond 
to the (USB) keyboard and needed to be resetted via power cycle. I 
figured out after a while that 
I could boot bsd.rd and after trying out various settings I figured out 
that i can boot 
by "set device sd0a". So mainly: Discovery of the root partition on 
sd0a does not work, and 
the display of that problem does not work either.
>How-To-Repeat:
Hardware here is a Tuxedo Nano (quadcore celeron) with 2GB ram and SATA 
SSD and UEFI boot. 
>Fix:
Workaround by adding "set device sd0a" to /etc/boot.conf


dmesg:
OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT 2021
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1783894016 (1701MB)
avail mem = 1714515968 (1635MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x6b92d000 (17 entries)
bios0: vendor American Megatrends Inc. version "P1.70" date 04/10/2017
bios0: ASRock J3160-NUC
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT AAFT MCFG SSDT SSDT SSDT UEFI LPIT CSRT
acpi0: wakeup devices XHC1(S4) HDEF(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) 
RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) PWRB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Celeron(R) CPU J3160 @ 1.60GHz, 1600.42 MHz, 06-4c-04
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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu0: 1MB 64b/line 16-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 80MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3.3, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Celeron(R) CPU J3160 @ 1.60GHz, 1599.96 MHz, 06-4c-04
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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu1: 1MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Celeron(R) CPU J3160 @ 1.60GHz, 1599.98 MHz, 06-4c-04
cpu2: 
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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu2: 1MB 64b/line 16-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Celeron(R) CPU J3160 @ 1.60GHz, 1599.97 MHz, 06-4c-04
cpu3: 
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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu3: 1MB 64b/line 16-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 115 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpiec0 at acpi0: not present
acpicmos0 at acpi0
acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
"BCM2E64" at acpi0 not configured
"BCM4752" at acpi0 not configured
"SMO91D0" at acpi0 not configured
"INT33F7" at acpi0 not configured
"INT33BE" at acpi0 not configured
"INTCF1C" at acpi0 not configured
"MSFT0002" at acpi0 not configured
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpicpu0 at acpi0: C3(10@1000 mwait.1@0x64), C2(10@500 mwait.1@0x58), C1(1000@1 
mwait.1), PSS
acpicpu1 at acpi0: 

Re: AMD Ryzen based Asus ZENBOOK 14 UM433DA-PURE4 14" panic at first boot post install - how to debug further

2021-05-02 Thread Mark Kettenis
> Date: Sun, 2 May 2021 13:05:49 +0200
> From: "Peter N. M. Hansteen" 
> 
> On Sat, May 01, 2021 at 07:58:20PM +0200, Peter N. M. Hansteen wrote:
> > On Fri, Apr 30, 2021 at 09:59:14PM +1000, Jonathan Gray wrote:
> > > 
> > > Or perhaps boot -c and disable acpicpu* if that doesn't break anything.
> > 
> > Doing the boot -c and disable acpicpu* did enable the thing to boot, so
> > for now it's running with a config -e'd kernel.
> > 
> > The next hurdle is that the iwm interface is recognized but
> > 
> > iwm0 at pci1 dev 0 function 0 "Intel Dual Band Wireless-AC 8265" rev 0x78, 
> > msi
> > iwm0: Failed to wake up the nic
> > 
> > I find a few instances of this message in Linux forums but I'm not entirely 
> > sure
> > how to apply any of that to my setup here.
> > 
> > The thing has now had a sysupgrade and I've run fw_update (the thing now 
> > connects via 
> > wired, ure).
> > 
> > dmesg attached and at https://www.bsdly.net/~peter/dmesg.zelda
> 
> I left the thing running a rscync of my home directory from the old one, and 
> this
> morning I found it had crashed (apparently the kernel reordering had not 
> worked,
> perhaps not a surprise), this time with "kernel: integer divide fault trap, 
> code=0"
> 
> trace and ps in the following pictures:
> 
> https://www.bsdly.net/~peter/20210502_111412.jpg 
> https://www.bsdly.net/~peter/20210502_111425.jpg 
> https://www.bsdly.net/~peter/20210502_111436.jpg 
> https://www.bsdly.net/~peter/20210502_111444.jpg 
> https://www.bsdly.net/~peter/20210502_111459.jpg 
> https://www.bsdly.net/~peter/20210502_111508.jpg
> 
> I'll likely try with jsg's patch again later today but any other
> input would be much appreciated.

Can you file a proper sendbug report for this machine?



Re: AMD Ryzen based Asus ZENBOOK 14 UM433DA-PURE4 14" panic at first boot post install - how to debug further

2021-05-02 Thread Peter N. M. Hansteen
On Sat, May 01, 2021 at 07:58:20PM +0200, Peter N. M. Hansteen wrote:
> On Fri, Apr 30, 2021 at 09:59:14PM +1000, Jonathan Gray wrote:
> > 
> > Or perhaps boot -c and disable acpicpu* if that doesn't break anything.
> 
> Doing the boot -c and disable acpicpu* did enable the thing to boot, so
> for now it's running with a config -e'd kernel.
> 
> The next hurdle is that the iwm interface is recognized but
> 
> iwm0 at pci1 dev 0 function 0 "Intel Dual Band Wireless-AC 8265" rev 0x78, msi
> iwm0: Failed to wake up the nic
> 
> I find a few instances of this message in Linux forums but I'm not entirely 
> sure
> how to apply any of that to my setup here.
> 
> The thing has now had a sysupgrade and I've run fw_update (the thing now 
> connects via 
> wired, ure).
> 
> dmesg attached and at https://www.bsdly.net/~peter/dmesg.zelda

I left the thing running a rscync of my home directory from the old one, and 
this
morning I found it had crashed (apparently the kernel reordering had not worked,
perhaps not a surprise), this time with "kernel: integer divide fault trap, 
code=0"

trace and ps in the following pictures:

https://www.bsdly.net/~peter/20210502_111412.jpg 
https://www.bsdly.net/~peter/20210502_111425.jpg 
https://www.bsdly.net/~peter/20210502_111436.jpg 
https://www.bsdly.net/~peter/20210502_111444.jpg 
https://www.bsdly.net/~peter/20210502_111459.jpg 
https://www.bsdly.net/~peter/20210502_111508.jpg

I'll likely try with jsg's patch again later today but any other input would be 
much
appreciated.

All the best
Peter 

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.