Re: Thinkpad T14 AMD Gen 3
On Fri, Nov 11, 2022 at 12:53:29AM -0500, Philippe Meunier wrote: > Jonathan Gray wrote: > >Glad to hear amdgpu works on Rembrandt/Yellow Carp. > > On a related note, I noticed I get the following kernel message when > shutting down the X server: > > [drm] *ERROR* Error waiting for DMUB idle: status=3 > > Otherwise X seems to work fine. > > >diff below for those, though it is just cosmetic > >run 'make' in /sys/dev/pci before building a kernel > > New dmesg below, although as you say it's just cosmetic. thanks, committed > > >Does sound work when using headphones? > > Neither built-in speakers nor plugged-in headphones work. > > Regarding networking, the following also shows up at boot, using the > default pf.conf and when there's no ethernet cable plugged in (I think: I > don't remember seeing this when the cable was plugged in): > > pfctl: DIOCADDRULE: Operation not supported by device > pf enabled > starting network > pfctl: DIOCADDRULE: Operation not supported by device A pf struct was recently changed. This message occurs when the kernel and pfctl are out of sync. > > Philippe > > > > OpenBSD 7.2-current (GENERIC.MP) #1: Thu Nov 10 22:06:16 EST 2022 > meun...@t14.fios-router.home:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 33014763520 (31485MB) > avail mem = 31996751872 (30514MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x73888000 (70 entries) > bios0: vendor LENOVO version "R23ET47W (1.17 )" date 05/27/2022 > bios0: LENOVO 21CF003XUS > efi0 at bios0: UEFI 2.7 > efi0: Lenovo rev 0x1110 > acpi0 at bios0: ACPI 6.3Undefined scope: \\_SB_.PCI0.GPP1 > Undefined scope: \\_SB_.PCI0.GPP2 > Undefined scope: \\_SB_.PCI0.GPP2.WWAN > Undefined scope: \\_SB_.PCI0.GPP0 > > acpi0: sleep states S0 S4 S5 > acpi0: tables DSDT FACP SSDT SSDT IVRS SSDT SSDT SSDT SSDT TPM2 MSDM BATB > HPET APIC MCFG SBST WSMT SSDT CRAT CDIT VFCT FPDT SSDT SSDT SSDT BGRT SSDT > SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT UEFI SSDT SSDT SSDT > acpi0: wakeup devices GPP5(S4) GPP6(S0) GPP7(S0) LID_(S4) SLPB(S3) > acpitimer0 at acpi0: 3579545 Hz, 32 bits > acpihpet0 at acpi0: 14318180 Hz > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD Ryzen 7 PRO 6850U with Radeon Graphics, 2700.01 MHz, 19-44-01 > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 24MHz > cpu0: mwait min=64, max=64, C-substates=1.1, IBE > cpu1 at mainbus0: apid 1 (application processor) > cpu1: AMD Ryzen 7 PRO 6850U with Radeon Graphics, 2700.00 MHz, 19-44-01 > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu1: smt 1, core 0, package 0 > tsc: cpu0/cpu1: sync test failed > timecounter: active counter changed: tsc -> acpihpet0 > cpu2 at mainbus0: apid 2 (application processor) > cpu2: AMD Ryzen 7 PRO 6850U with Radeon Graphics, 2700.00 MHz, 19-44-01 > cpu2: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu2: smt 0, core 1, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: AMD Ryzen 7 PRO 6850U with Radeon Graphics, 2700.01 MHz, 19
Re: 7.2 and iwm/amdgpu Firmware?
Seems to be solved. http://firmware.openbsd.org/firmware/7.2/ now has content and: 2022T160436 root@mpc:~# fw_update -vvv Detect firmware ... found. Trying 145.238.169.11... Requesting http://firmware.openbsd.org/firmware/7.2/SHA256.sig 100% || 2117 00:00 2117 bytes received in 0.00 seconds (3.12 MB/s) Trying 145.238.169.11... Requesting http://firmware.openbsd.org/firmware/7.2/amdgpu-firmware-20220913.tgz 100% || 21850 KB00:05 22374995 bytes received in 5.53 seconds (3.85 MB/s) Install amdgpu-firmware-202209... 100% |**| 21850 KB00:00 Trying 145.238.169.11... Requesting http://firmware.openbsd.org/firmware/7.2/iwm-firmware-20220111.tgz 100% || 9472 KB00:03 9700277 bytes received in 3.75 seconds (2.46 MB/s) Install iwm-firmware-20220111.tgz 100% |**| 9472 KB00:00 Trying 145.238.169.11... Requesting http://firmware.openbsd.org/firmware/7.2/vmm-firmware-1.14.0p0.tgz 100% || 42938 00:00 42938 bytes received in 0.05 seconds (711.13 KB/s) Install vmm-firmware-1.14.0p0.tgz 100% |**| 42938 00:00 fw_update: added amdgpu,iwm,vmm; updated none; kept none 2022T160451 root@mpc:~# reboot New dmesg: == OpenBSD 7.2 (GENERIC.MP) #0: Wed Oct 26 12:01:47 MDT 2022 r...@syspatch-72-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 6349602816 (6055MB) avail mem = 6139756544 (5855MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xde3db000 (43 entries) bios0: vendor American Megatrends Inc. version "V1.16_P2C10M3_AMILogo" date 05/30/2022 bios0: Default string AM02 acpi0 at bios0: ACPI 6.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT FIDT SSDT MSDM MCFG HPET UEFI VFCT TPM2 IVRS SSDT CRAT CDIT SSDT SSDT SSDT WSMT SSDT acpi0: wakeup devices GPP0(S4) GPP1(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) GPP6(S4) GP17(S4) XHC0(S3) XHC1(S3) GP18(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2395.64 MHz, 17-18-01 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu0: 32KB 64b/line 8-way D-cache, 64KB 64b/line 4-way I-cache, 512KB 64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 24MHz cpu0: mwait min=64, max=64, C-substates=1.1, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2395.51 MHz, 17-18-01 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu1: 32KB 64b/line 8-way D-cache, 64KB 64b/line 4-way I-cache, 512KB 64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2395.51 MHz, 17-18-01 cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,I
inteldrm won't stay disabled
I'm trying to disable inteldrm from loading on my headless firewall, because it slows down my system, but I can't make the change stick after another reboot. After upgrading to 7.2 I noticed a higher than usual load average on my openbsd firewall. A system process called drmwq seems to be responsible for this if I'm understanding systat pigs correctly. Seeing that this is a part of the inteldrm, I've disabled inteldrm in the kernel and rebooted and noticed that my system seems back to normal levels. Unfortunately after a reboot this morning, inteldrm is back. This box is a headless box and I don't know why drmwq is doing whatever it is doing, but I seem to be fine with it disabled. I realize I shouldn't disable things if I don't know what I'm doing, but I don't know what else I can do to with this drmwq process. How can I keep inteldrm disabled after reboots? I'm running current (Nov 10 snapshot) I've disabled intel drm this way: # config -ef /bsd ukc> disable inteldrm ukc> quit # sha256 -h /var/db/kernel.SHA256 /bsd # reboot The device I'm using: https://protectli.com/product/fw4b/ Here is my dmesg OpenBSD 7.2-current (GENERIC.MP) #827: Thu Nov 10 13:46:36 MST 2022 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4224679936 (4028MB) avail mem = 4079226880 (3890MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x7cd0b020 (14 entries) bios0: vendor coreboot version "v4.12.0.7" date 09/28/2021 bios0: Protectli FW4B acpi0 at bios0: ACPI 6.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT MCFG APIC acpi0: wakeup devices XHCI(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 acpimcfg0: addr 0xe000, bus 0-255 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Celeron(R) CPU J3160 @ 1.60GHz, 2240.41 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: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 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 79MHz 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, 2240.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: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 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, 2241.21 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: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 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, 2241.36 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: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 16-way L2 cache cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 115 pins, remapped acpiprt0 at acpi0: bus 0 (PCI0) acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001 "INT33BD" at acpi0 not configured acpicmos0 at acpi0 com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo com0: console chvgpio0 at acpi0 GPSW uid 1 addr 0xfed8/0x8000 irq 49, 56 pins chvgpio1 at acpi0 GPNC uid 2 addr 0xfed88000/0x8000 irq 48, 59 pins chvgpio2 at acpi0 GPEC uid 3 addr 0xfed9/0x8000 irq 50, 24 pins chvgpio3 at acpi0 GPSE uid 4 addr 0xfed98000/0x8000 irq 91, 55 pins "BOOT" at acpi0 not configured acpicpu0 at acpi0: C3(1@1500 mwait.1@0x52), C2(10@500 mwait.1@0x51)
Re: inteldrm won't stay disabled
On Fri, Nov 11, 2022 at 7:53 AM Finnegan McBrisket wrote: > > I'm trying to disable inteldrm from loading on my headless firewall, > because it slows down my system, but I can't make the change stick > after another reboot. > > After upgrading to 7.2 I noticed a higher than usual load average on > my openbsd firewall. A system process called drmwq seems to be > responsible for this if I'm understanding systat pigs correctly. > Seeing that this is a part of the inteldrm, I've disabled inteldrm in > the kernel and rebooted and noticed that my system seems back to > normal levels. Unfortunately after a reboot this morning, inteldrm is > back. This box is a headless box and I don't know why drmwq is doing > whatever it is doing, but I seem to be fine with it disabled. I > realize I shouldn't disable things if I don't know what I'm doing, but > I don't know what else I can do to with this drmwq process. How can I > keep inteldrm disabled after reboots? > > I'm running current (Nov 10 snapshot) > > I've disabled intel drm this way: > # config -ef /bsd > ukc> disable inteldrm > ukc> quit > # sha256 -h /var/db/kernel.SHA256 /bsd > # reboot > > The device I'm using: https://protectli.com/product/fw4b/ > > Here is my dmesg > > OpenBSD 7.2-current (GENERIC.MP) #827: Thu Nov 10 13:46:36 MST 2022 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 4224679936 (4028MB) > avail mem = 4079226880 (3890MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x7cd0b020 (14 entries) > bios0: vendor coreboot version "v4.12.0.7" date 09/28/2021 > bios0: Protectli FW4B > acpi0 at bios0: ACPI 6.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP SSDT MCFG APIC > acpi0: wakeup devices XHCI(S3) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimcfg0 at acpi0 > acpimcfg0: addr 0xe000, bus 0-255 > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Celeron(R) CPU J3160 @ 1.60GHz, 2240.41 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: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 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 79MHz > 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, 2240.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: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 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, 2241.21 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: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 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, 2241.36 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: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 1MB > 64b/line 16-way L2 cache > cpu3: smt 0, core 3, package 0 > ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 115 pins, remapped > acpiprt0 at acpi0: bus 0 (PCI0) > acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001 > "INT33BD" at acpi0 not configured > acpicmos0 at acpi0 > com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo > com0: console > chvgpio0 at acpi0 GPSW uid 1 addr 0xfed8/0x8000 irq 49, 56 pins > chvgpio1 at acpi0 GPNC uid 2 addr 0xfed88000/0x8000 irq 48, 59 pins > chvgp
xscreensaver-settings crashes in OpenBSD 7.2
xscreensaver-settings crashes in OpenBSD 7.2 Graphics card shows as radeon 7450 in the dmesg, "radeondrm0 at pci3 dev 0 function 0 "ATI Radeon HD 7450" rev 0x00", but it is a radeon hd 6450 exactly like this one: https://www.amazon.com/MSI-Profile-PCI-Express-R6450-MD1GD3-LP/dp/B004X6ABTM the screensavers mostly work, but I can't get to the settings menu gui. I've moved .xscreensaver and it didn't work either. This is the results of running xscreensaver-settings in a terminal : $ xscreensaver-settings --debug xscreensaver-settings: 14:45:30: DISPLAY=:0 xscreensaver-settings: 14:45:30: added "/usr/local/libexec/xscreensaver" to $PATH xscreensaver-settings: 14:45:30: (pref changed) xscreensaver-settings: 14:45:30: (pref changed) xscreensaver-settings: 14:45:30: (pref changed) xscreensaver-settings: 14:45:30: (pref changed) xscreensaver-settings: 14:45:30: (pref changed) xscreensaver-settings: 14:45:30: (pref changed) xscreensaver-settings: 14:45:30: (pref changed) xscreensaver-settings: 14:45:30: (pref changed) xscreensaver-settings: 14:45:30: (pref changed) xscreensaver-settings: 14:45:30: (pref changed) xscreensaver-settings: 14:45:30: (pref changed) xscreensaver-settings: 14:45:30: (pref changed) xscreensaver-settings: 14:45:30: (pref changed) xscreensaver-settings: 14:45:30: list selection changed xscreensaver-settings: 14:45:30: scheduling preview "gibson -root -delay 32743 -speed 2.477 -columns 6" xscreensaver-settings: 14:45:30: reading /usr/local/share/xscreensaver/config/gibson.xml... xscreensaver-settings: 14:45:30: scheduling preview "gibson --root --delay 32743 --speed 2.477 --columns 6" xscreensaver-settings: 14:45:30: reading /usr/local/share/xscreensaver/config/gibson.xml... xscreensaver-settings: 14:45:30: scheduling preview "gibson --root --delay 32743 --speed 2.477 --columns 6" xscreensaver-settings: 14:45:30: select list elt 91 xscreensaver-settings: 14:45:30: scheduling preview "gibson -root -delay 32743 -speed 2.477 -columns 6" xscreensaver-settings: 14:45:30: reading /usr/local/share/xscreensaver/config/gibson.xml... xscreensaver-settings: 14:45:30: scheduling preview "gibson --root --delay 32743 --speed 2.477 --columns 6" xscreensaver-settings: 14:45:31: xscreensaver-gl-visual says the GL visual is 0x21. xscreensaver-settings: 14:45:31: using non-default visual 0x21 xscreensaver-settings: 14:45:31: X error: xscreensaver-settings: Failed request: BadMatch (invalid parameter attributes) xscreensaver-settings: Major opcode: 42 (X_SetInputFocus) xscreensaver-settings: Resource id:0x83 xscreensaver-settings: Serial number: 450 / 451 /etc/X11/xorg.conf : (I've tried a variation on the radeon settings and reset them with rcctl restart xenodm, etc.) Section "Files" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/OTF/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/WinFonts/" # FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/local/share/fonts/spleen" EndSection Section "ServerFlags" Option "DontZap" "true" EndSection Section "Device" Identifier "radeoncard" Driver "radeon" Option "TearFree" "true" Option "DRI" "2" Option "AccelMethod" "EXA" Option "EXAVSync" "true" EndSection dmesg: OpenBSD 7.2 (GENERIC.MP) #0: Wed Oct 26 12:01:47 MDT 2022 r...@syspatch-72-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/ GENERIC.MP real mem = 51513982976 (49127MB) avail mem = 49935368192 (47622MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0x9e000 (88 entries) bios0: vendor American Megatrends Inc. version "2.1b" date 05/04/12 bios0: Supermicro X8DTH-i/6/iF/6F acpi0 at bios0: ACPI 4.0 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP APIC MCFG SLIT SPMI OEMB SRAT HPET DMAR SSDT acpi0: wakeup devices NPE2(S4) NPE3(S4) NPE4(S4) NPE5(S4) NPE6(S4) NPE7(S4) NPE8(S4) NPE9(S4) NPEA(S4) P0P1(S4) USB0(S4) USB1(S4) USB2(S4) USB5(S4) EUSB(S4) USB3(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) Xeon(R) CPU X5675 @ 3.07GHz, 3067.04 MHz, 06-2c-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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 4-way I-cache, 256KB 64b/line 8-way L2 cache, 12MB 64b/line 16-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ra
Re: xscreensaver-settings crashes in OpenBSD 7.2
On 2022-11-11, Luke Small wrote: > xscreensaver-settings crashes in OpenBSD 7.2 > > Graphics card shows as radeon 7450 in the dmesg, > "radeondrm0 at pci3 dev 0 function 0 "ATI Radeon HD 7450" rev 0x00", > but it is a radeon hd 6450 exactly like this one: > > https://www.amazon.com/MSI-Profile-PCI-Express-R6450-MD1GD3-LP/dp/B004X6ABTM > > the screensavers mostly work, but I can't get to the settings menu gui. > > I've moved .xscreensaver and it didn't work either. > > This is the results of running xscreensaver-settings in a terminal : > > $ xscreensaver-settings --debug > xscreensaver-settings: 14:45:30: DISPLAY=:0 > xscreensaver-settings: 14:45:30: added "/usr/local/libexec/xscreensaver" to > $PATH > xscreensaver-settings: 14:45:30: (pref changed) > xscreensaver-settings: 14:45:30: (pref changed) > xscreensaver-settings: 14:45:30: (pref changed) > xscreensaver-settings: 14:45:30: (pref changed) > xscreensaver-settings: 14:45:30: (pref changed) > xscreensaver-settings: 14:45:30: (pref changed) > xscreensaver-settings: 14:45:30: (pref changed) > xscreensaver-settings: 14:45:30: (pref changed) > xscreensaver-settings: 14:45:30: (pref changed) > xscreensaver-settings: 14:45:30: (pref changed) > xscreensaver-settings: 14:45:30: (pref changed) > xscreensaver-settings: 14:45:30: (pref changed) > xscreensaver-settings: 14:45:30: (pref changed) > xscreensaver-settings: 14:45:30: list selection changed > xscreensaver-settings: 14:45:30: scheduling preview "gibson -root -delay > 32743 -speed 2.477 -columns 6" > xscreensaver-settings: 14:45:30: reading > /usr/local/share/xscreensaver/config/gibson.xml... > xscreensaver-settings: 14:45:30: scheduling preview "gibson --root --delay > 32743 --speed 2.477 --columns 6" > xscreensaver-settings: 14:45:30: reading > /usr/local/share/xscreensaver/config/gibson.xml... > xscreensaver-settings: 14:45:30: scheduling preview "gibson --root --delay > 32743 --speed 2.477 --columns 6" > xscreensaver-settings: 14:45:30: select list elt 91 > xscreensaver-settings: 14:45:30: scheduling preview "gibson -root -delay > 32743 -speed 2.477 -columns 6" > xscreensaver-settings: 14:45:30: reading > /usr/local/share/xscreensaver/config/gibson.xml... > xscreensaver-settings: 14:45:30: scheduling preview "gibson --root --delay > 32743 --speed 2.477 --columns 6" > xscreensaver-settings: 14:45:31: xscreensaver-gl-visual says the GL visual > is 0x21. > xscreensaver-settings: 14:45:31: using non-default visual 0x21 > > xscreensaver-settings: 14:45:31: X error: > xscreensaver-settings: Failed request: BadMatch (invalid parameter > attributes) > xscreensaver-settings: Major opcode: 42 (X_SetInputFocus) > xscreensaver-settings: Resource id:0x83 > xscreensaver-settings: Serial number: 450 / 451 So it looks like the X driver for your video adapter has issues with something the gibson 'hack' is doing, you'll probably trigger it by directly running /usr/local/libexec/xscreensaver/gibson too. I think you should be able to get into settings if you move that file out the way temporarily, then you can unset it from running (then you can move it back). > /etc/X11/xorg.conf : (I've tried a variation on the radeon settings and > reset them with rcctl restart xenodm, etc.) Most people don't need an xorg.conf, so if you haven't already, try moving it out the way. > Section "Files" > FontPath "/usr/X11R6/lib/X11/fonts/misc/" > FontPath "/usr/X11R6/lib/X11/fonts/TTF/" > FontPath "/usr/X11R6/lib/X11/fonts/OTF/" > FontPath "/usr/X11R6/lib/X11/fonts/Type1/" > FontPath "/usr/X11R6/lib/X11/fonts/WinFonts/" > # FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" > FontPath "/usr/local/share/fonts/spleen" > EndSection > > Section "ServerFlags" > Option "DontZap" "true" > EndSection > > Section "Device" > Identifier "radeoncard" > Driver "radeon" > Option "TearFree" "true" > Option "DRI" "2" > Option "AccelMethod" "EXA" > Option "EXAVSync" "true" > EndSection > > > > > dmesg: > > OpenBSD 7.2 (GENERIC.MP) #0: Wed Oct 26 12:01:47 MDT 2022 > r...@syspatch-72-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/ > GENERIC.MP > real mem = 51513982976 (49127MB) > avail mem = 49935368192 (47622MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.6 @ 0x9e000 (88 entries) > bios0: vendor American Megatrends Inc. version "2.1b" date 05/04/12 > bios0: Supermicro X8DTH-i/6/iF/6F > acpi0 at bios0: ACPI 4.0 > acpi0: sleep states S0 S1 S4 S5 > acpi0: tables DSDT FACP APIC MCFG SLIT SPMI OEMB SRAT HPET DMAR SSDT > acpi0: wakeup devices NPE2(S4) NPE3(S4) NPE4(S4) NPE5(S4) NPE6(S4) NPE7(S4) > NPE8(S4) NPE9(S4) NPEA(S4) P0P1(S4) USB0(S4) USB1(S4) USB2(S4) USB5(S4) > EUSB(S4) USB3(S4) [...] > acpitimer0 at acpi0: 3
Re: 0.0.0.0/32 in pf's tables
a very clever man once said that God does not play dice.. and he was wrong! so it is too presumptuous to believe that you know the ways of the God ;) seriously, if i can use 0.0.0.0/32 in rules, then why can't i use the same in tables? i don't think God cares why i do it > God abhors a naked singularity. > On Tue, 2022-11-08 at 22:47 +0300, 3 wrote: >> what religion forbids using 0.0.0.0/32 in tables? 0_0 but 0/0 can be >> used.. what's going on?! is the world going mad? >>
Re: 0.0.0.0/32 in pf's tables
yeah 0.0.0.0/32 ,( legacy broadcast address is a valid address and would be included in very verbose explicit rules blocking traffic from invalid src addresses ( for example) hope this helps On Fri 11 Nov 2022, 20:23 3, wrote: > a very clever man once said that God does not play dice.. and he was > wrong! so it is too presumptuous to believe that you know the ways of the > God ;) seriously, if i can use 0.0.0.0/32 in rules, then why can't i use > the same in tables? i don't think God cares why i do it > > > > God abhors a naked singularity. > > > > On Tue, 2022-11-08 at 22:47 +0300, 3 wrote: > >> what religion forbids using 0.0.0.0/32 in tables? 0_0 but 0/0 can be > >> used.. what's going on?! is the world going mad? > >> > > >