X/DRM freeze on 7.2

2022-10-21 Thread Mickael Torres
Hello,

Since upgrading to 7.2, I have X/DRM freezes on one computer (dmesg below).

When it happens, the screen is completely frozen, but I can still ssh to the 
machine.
It only happened when starting firefox or VLC, for now. Once they are started I 
didn't have any
problem.
When the machine is in that state, the X and firefox processes are in the DRM 
wait state:
87821 _x11 -200   97M  110M idle  DRM   0:01  0.00% Xorg
76467 mike -200   12M   28M idle  DRM   0:00  0.00% firefox
51234 mike -200 5972K   49M idle  DRM   0:00  0.00% firefox
Nothing in dmesg or Xorg.0.log.

As far as I can remember, it never happened with 7.1.

Is there anything I can do to further debug this?

Best,
Mickael

OpenBSD 7.2 (GENERIC.MP) #758: Tue Sep 27 11:57:54 MDT 2022
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 68598935552 (65421MB)
avail mem = 66502520832 (63421MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.3 @ 0xbda23000 (49 entries)
bios0: vendor American Megatrends International, LLC. version "F37d" date 
07/27/2022
bios0: Gigabyte Technology Co., Ltd. X570 AORUS ELITE
acpi0 at bios0: ACPI 6.2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT FIDT MCFG HPET SSDT IVRS FPDT VFCT 
BGRT PCCT SSDT CRAT CDIT SSDT SSDT SSDT SSDT WSMT APIC SSDT
acpi0: wakeup devices GPP0(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) GPP6(S4) 
GPP7(S4) GPP8(S4) GPP9(S4) GPPA(S4) GPPB(S4) GPPC(S4) GPPD(S4) GPPE(S4) 
GPPF(S4) GP10(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimcfg0 at acpi0
acpimcfg0: addr 0xf000, bus 0-127
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 9 5900X 12-Core Processor, 3700.08 MHz, 19-21-00
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,ERMS,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, 32MB 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 100MHz
cpu0: mwait min=64, max=64, C-substates=1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Ryzen 9 5900X 12-Core Processor, 3700.00 MHz, 19-21-00
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,ERMS,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, 32MB 64b/line 16-way L3 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Ryzen 9 5900X 12-Core Processor, 3700.00 MHz, 19-21-00
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,ERMS,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, 32MB 64b/line 16-way L3 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD Ryzen 9 5900X 12-Core Processor, 3700.00 MHz, 19-21-00
cpu3: 
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,ERMS,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu3: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 32MB 64b/line 16-way L3 cache
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: 

Thanls to developers for 7.2

2022-10-21 Thread Jonathan Drews
Thanks to Theo and all the developers for OpenBSD 7.2. I am running
it on a Lenoveo T440 Thinkpad. Here is what works:

*) The F1 through F8 keys work
*) 802.11N Wifi works
*) Suspend and resume by closing the lid works.
*) USB scanning works. I use a Canon LiDe scanner.
*) CUPS Printing works. I use a wireless Xerox 6022 Phaser printer
*) Mounting of EXT2 , MSDOS and FFS external hard drives works.
*) The camera and microphone work. I regularly participate in Jitsi.
*) Sound and video playing works.
*) A wireless usb mouse works.
*) The keyboard illumination works (Fn-> Space bar)
*) The MariaDB works

In gratitude for such a great system I donated $75.00 USD.

--
Kind regards,
Jonathan



Re: smtpd.comf: '... reject "message"' fails

2022-10-21 Thread Lyndon Nerenberg (VE7TFX/VE6BBM)
Florian Obser writes:
>
> You need this one:
>
>  filter filter-name phase phase-name match conditions decision
>  Register a filter filter-name.  A decision about what to do with
>  the mail is taken at phase phase-name when matching conditions.
>  Phases, matching conditions, and decisions are described in MAIL
>  FILTERING, below.
>
> i.e.
>
> filter dtag phase mail-from match rdns regex "\.t-online\.de$" reject "550 
> 5.7.1 you don't accept our mail, so we don't accept yours."
> listen on egress filter dtag

Thanks Florian, that clears up a lot for me.  So my reading of the
grammar was right -- the form of reject I was using doesn't accept
a following string.  I got compleetely lost when I tried to parse
the other reject forms in the grammar, and missed the other syntax
you desribed above.

Now that I have that clear, it seems pretty straight forward to
modify the grammar to allow a string in the other reject cases.  I
think I'll give that a go over the weekend.

Thanks for the help!

--lyndon



Re: smtpd.comf: '... reject "message"' fails

2022-10-21 Thread Todd C . Miller
On Fri, 21 Oct 2022 15:58:54 -, Stuart Henderson wrote:

> (For those that don't know, it seems that T-Online.de block incoming
> email from most IPs by default and anyone wanting to send them mail
> has to explicitly contact them to ask permissions, and they make you
> jump through hoops before they'll grant that - see recent posts on
> the mailop list for more. It is quite astonishing.)

At least they provide a way to contact them, unlike Google which
just rejects my mail with no way to contact a human being.

 - todd



Re: smtpd.comf: '... reject "message"' fails

2022-10-21 Thread Stuart Henderson
On 2022-10-21, Lyndon Nerenberg (VE7TFX/VE6BBM)  wrote:
> My reading of smtpd.conf says that any reject action should be able
> to take a message parameter. Yet the following line is rejected
> with a syntax error message:
>
>   match mail-from rdns regex "\.t-online\.de$" reject "550 5.7.1 you don't 
> accept our mail, so we don't accept yours."

You didn't want to publish an impressum on a website associated
with your mail server's domain then? ;)

(For those that don't know, it seems that T-Online.de block incoming
email from most IPs by default and anyone wanting to send them mail
has to explicitly contact them to ask permissions, and they make you
jump through hoops before they'll grant that - see recent posts on
the mailop list for more. It is quite astonishing.)




Re: Thanks all devs for 7.2!

2022-10-21 Thread Stuart Henderson
On 2022-10-21, kasak  wrote:
> During pkg_add -u there was some problems with samba.

This is an issue with @conflict markers, I've proposed a fix to the
port maintainer, should be able to get that into -stable packages.

> Also, I had some problems with php81.
> 
> it was crashing because libssl.so.52.0 not found. i dunno why, but 
> reinstalling all php packs solved the problem.
>
> there is easy way to reinstall php on openbsd. just do

This problem is because 7.1-stable has newer PHP versions than
7.2-release (there were security fixes after ports lock) and the
first set of 7.2-stable packages haven't been built yet. That
will sort itself out later when those packages are available.


-- 
Please keep replies on the mailing list.



Thanks all devs for 7.2!

2022-10-21 Thread kasak

Thank you all for great work! OpenBSD is the best as it was!

I have some advice for those who will updating this time.

During pkg_add -u there was some problems with samba.

It conflicts with ldb which is also installed. If you experience 
conflict with this port, just delete ldb and install samba.


Also, I had some problems with php81.

it was crashing because libssl.so.52.0 not found. i dunno why, but 
reinstalling all php packs solved the problem.


there is easy way to reinstall php on openbsd. just do

pkg_info -mz | grep -e "php" -e "pecl" > php.install
pkg_delete php
pkg_install -l php.install

also you can reinstall all pkg with
pkg_info -mz > all.install
pkg_delete -X
pkg_add -l all.install



Re: smtpd.comf: '... reject "message"' fails

2022-10-21 Thread Florian Obser
On 2022-10-20 21:38 -07, "Lyndon Nerenberg (VE7TFX/VE6BBM)"  
wrote:
> My reading of smtpd.conf says that any reject action should be able
> to take a message parameter. Yet the following line is rejected
> with a syntax error message:
>
>   match mail-from rdns regex "\.t-online\.de$" reject "550 5.7.1 you don't 
> accept our mail, so we don't accept yours."
>
> Yet the same line without the string after the reject keyword works.
>
> I spent some time digging in the grammar, but yacc just gives
> me migraines.  Should this in fact work?  Or is the manpage
> wrong.

There are two kinds of matches, you are using this:

 match options reject
 Reject the incoming message during the SMTP dialogue.  The same
 options are supported as for the match action directive.


You need this one:

 filter filter-name phase phase-name match conditions decision
 Register a filter filter-name.  A decision about what to do with
 the mail is taken at phase phase-name when matching conditions.
 Phases, matching conditions, and decisions are described in MAIL
 FILTERING, below.

i.e.

filter dtag phase mail-from match rdns regex "\.t-online\.de$" reject "550 
5.7.1 you don't accept our mail, so we don't accept yours."
listen on egress filter dtag

No, I don't know why things are the way they are.

>
> --lyndon
>

-- 
I'm not entirely sure you are real.