OpenBSD 7.1 - hangs after userland upgrade on server hardware

2022-05-01 Thread Andrew Lemin
Hi all,

I am totally stumped with issues while upgrading/installing 7.1 and I need
some help!

Server; Supermicro X10SLV-Q (Intel Q87 Express), Xeon E3-1280 v3, 8G RAM,
Mellanox 10G NIC

This server has been running OpenBSD flawlessly for years. I followed the
upgrade instructions and was able to reboot fine onto the 7.1 kernel (I
rebooted a couple of times on the 7.1 kernel in fact). However after I run
'pkg_add -u' to upgrade all of userland to 7.1, the machine started hanging
during boot.

The hang looked like an IO problem as it would always hang around the disk
setup stages.
I went into the BIOS and tried optimised defaults and failsafe defaults but
no luck..

I also downloaded a fresh copy and tried installing 7.1 from flash, however
the 7.1 installer also hangs. It hangs in the same place every time after
selecting 'done' to the networking config.
As I have a Mellanox card in here, I removed the NIC. but the hang
continues so its not that..

I get nothing to debug, it just freezes. I have reinstalled 7.0 which is
still working perfectly so this is not a hardware fault.

Is there anything I can do to increase the verbosity to see what driver it
is trying to load before the hang?

Other information, this is a totally headless machine, with a Xeon CPU
without any onboard GPU. It has a console connection with
console-redirection in the bios, and I have to set the tty params during
boot to interact over console. Otherwise everything else is standard.

Thanks for your time,
Best regards Andy.


Re: OpenBSD 7.1 - hangs after userland upgrade on server hardware

2022-05-01 Thread Stuart Henderson
On 2022-05-01, Andrew Lemin  wrote:
> Hi all,
>
> I am totally stumped with issues while upgrading/installing 7.1 and I need
> some help!
>
> Server; Supermicro X10SLV-Q (Intel Q87 Express), Xeon E3-1280 v3, 8G RAM,
> Mellanox 10G NIC
>
> This server has been running OpenBSD flawlessly for years. I followed the
> upgrade instructions and was able to reboot fine onto the 7.1 kernel (I
> rebooted a couple of times on the 7.1 kernel in fact). However after I run
> 'pkg_add -u' to upgrade all of userland to 7.1, the machine started hanging
> during boot.
>
> The hang looked like an IO problem as it would always hang around the disk
> setup stages.
> I went into the BIOS and tried optimised defaults and failsafe defaults but
> no luck..
>
> I also downloaded a fresh copy and tried installing 7.1 from flash, however
> the 7.1 installer also hangs. It hangs in the same place every time after
> selecting 'done' to the networking config.
> As I have a Mellanox card in here, I removed the NIC. but the hang
> continues so its not that..
>
> I get nothing to debug, it just freezes. I have reinstalled 7.0 which is
> still working perfectly so this is not a hardware fault.
>
> Is there anything I can do to increase the verbosity to see what driver it
> is trying to load before the hang?
>
> Other information, this is a totally headless machine, with a Xeon CPU
> without any onboard GPU. It has a console connection with
> console-redirection in the bios, and I have to set the tty params during
> boot to interact over console. Otherwise everything else is standard.

If you can copy the console output (from boot loader to hang) from serial
console into an email, that might give some clues.

dmesg from 7.0 might be useful too.

It's a bit unclear how you upgraded (pkg_add -u is for packages rather than
userland parts of the OS) - normally you would upgrade kernel and userland
such that you'd boot onto new kernel+userland at the same time, then update
packages.




Re: OpenBSD 7.1 - hangs after userland upgrade on server hardware

2022-05-01 Thread Andrew Lemin
Hi Stuart,

Good to hear from you. Hope you are well.

Yes sorry I am stretching the terms a little there, by userland I meant
third party packages..
>From (https://www.openbsd.org/faq/upgrade71.html), as usual I just ran;
'sysupgrade' (auto reboot), 'sysmerge', 'reboot', and 'pkg_add -u' (no
longer boots).

So nothing funny.. And only after the 'pkg_add -u' command completed
successfully completed does the box start hanging (which is very strange as
this is just third-party packages.. this makes me think that some GUI
things have changed, and being headless it is causing a problem).

To make things awkward, when I try to boot from the upgraded install (I
still have the upgraded 7.1 SSD - I reinstalled 7.0 on a different SSD), I
tried booting to single user mode. And I can get to the maintenance prompt,
but before I can run any commands it hangs (and it hangs at slightly
different times within a few seconds I'd guess - sometime I can type a
whole command others only the first few characters). So the hang seems to
occur a little randomly, but always within a few seconds of getting to the
single user command prompt.

If I boot from the 7.1 installer, as mentioned, it seems to hang after I
have configured the network interfaces. At least that is as far as I have
been able to get before it freezes.
I don't think that looking at the installer code is going to give any
useful clues, as this fault happens irrespective of the installer (The
successfully upgraded system hangs on normal boot or single user boot).

Watching the normal boot of the upgraded 7.1 disk, the freeze seems to
happen at different places along the boot logs (variance is maybe ~40 boot
messages).
Once I can shut the firewall down again I will swap the disks back and
video the boot multiple times.

Thanks for your time :)

*dmesg from the re-installed 7.0;*
OpenBSD 7.0 (GENERIC.MP) #6: Mon Apr 4 00:47:02 MDT 2022
r...@syspatch-70-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/
GENERIC.MP
real mem = 8485744640 (8092MB)
avail mem = 8212533248 (7832MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec280 (28 entries)
bios0: vendor American Megatrends Inc. version "3.1" date 05/14/2018
bios0: Supermicro X10SLV-Q
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT SSDT SSDT SSDT SSDT SSDT MCFG HPET
SSDT SSDT DMAR
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) RP04(S4) PXSX(S4)
GLAN(S4) EHC1(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 E3-1280 v3 @ 3.60GHz, 3600.69 MHz, 06-3c-03
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,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,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way 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 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) Xeon(R) CPU E3-1280 v3 @ 3.60GHz, 3600.01 MHz, 06-3c-03
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,SMX,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,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E3-1280 v3 @ 3.60GHz, 3600.01 MHz, 06-3c-03
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,SMX,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,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E3-1280 v3 @ 3.60GHz, 3600.01 MHz, 06-3c-03
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,

OpenBSD 7.1 AMDGPU: No video after suspend

2022-05-01 Thread Ali Farzanrad
Hi,

Thanks for new release.  I have this issue for few years in my system
(maybe since OpenBSD 6.6).  Whenever I suspend my system using zzz
command, It suspends well, however after I press power button I see no
video and my monitor remain in sleep mode.

I've replaced my old Radeon RX 550 video card with a Radeon RX 6600
recently, however this didn't solve my problem.  Last time I pressed
power button again to power off my system properly and attached my dmesg
to this mail.

Also there is a problem with syspatch, why syspatch for OpenBSD 7.1 is
in this directory?

/pub/OpenBSD/syspatch/7.1-no/


Thanks in advance


OpenBSD 7.1 (GENERIC.MP) #465: Mon Apr 11 18:03:57 MDT 2022
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17094057984 (16302MB)
avail mem = 16558698496 (15791MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xe8d60 (49 entries)
bios0: vendor American Megatrends Inc. version "F51b" date 07/02/2020
bios0: Gigabyte Technology Co., Ltd. AB350-Gaming 3
acpi0 at bios0: ACPI 6.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT SSDT SSDT SSDT MCFG SSDT HPET SSDT UEFI 
IVRS SSDT CRAT CDIT BGRT SSDT SSDT WSMT SSDT
acpi0: wakeup devices GPP0(S4) GPP1(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) GP17(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 7 1700 Eight-Core Processor, 2994.87 MHz, 17-01-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: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
8-way L2 cache
cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: AMD Ryzen 7 1700 Eight-Core Processor, 2994.38 MHz, 17-01-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: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
8-way L2 cache
cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: AMD Ryzen 7 1700 Eight-Core Processor, 2994.38 MHz, 17-01-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,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
8-way L2 cache
cpu2: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: AMD Ryzen 7 1700 Eight-Core Processor, 2994.38 MHz, 17-01-01
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,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
cpu3: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
8-way L2 cache
cpu3: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu3: smt 0, core 3, package 0
cpu4 at m

pkg-readmes missing for gnome and kde?

2022-05-01 Thread Mihai Popescu
Hello,

I tried to enable gnome or kde after install in an openbsd snapshot for amd64.
Last time (some time ago) I know for sure there were some pkg-readmes
for both gnome and kde start. I can't find them now, I have some
readmes in the directory, but not for gnome nor kde.

Is there some other way used to document gnome or kde start, please?

Thank you.



Re: pkg-readmes missing for gnome and kde?

2022-05-01 Thread Antoine Jacoutot
On Sun, 2022-05-01 at 20:51 +0300, Mihai Popescu wrote:
> Hello,
> 
> I tried to enable gnome or kde after install in an openbsd snapshot for amd64.
> Last time (some time ago) I know for sure there were some pkg-readmes
> for both gnome and kde start. I can't find them now, I have some
> readmes in the directory, but not for gnome nor kde.
> 
> Is there some other way used to document gnome or kde start, please?
> 
> Thank you.

# pkg_add gnome

There will be a readme under:
/usr/local/share/doc/pkg-readmes/gnome

-- 
Antoine



Re: pkg-readmes missing for gnome and kde?

2022-05-01 Thread Stuart Henderson
On 2022-05-01, Antoine Jacoutot  wrote:
> On Sun, 2022-05-01 at 20:51 +0300, Mihai Popescu wrote:
>> Hello,
>> 
>> I tried to enable gnome or kde after install in an openbsd snapshot for 
>> amd64.
>> Last time (some time ago) I know for sure there were some pkg-readmes
>> for both gnome and kde start. I can't find them now, I have some
>> readmes in the directory, but not for gnome nor kde.
>> 
>> Is there some other way used to document gnome or kde start, please?
>> 
>> Thank you.
>
> # pkg_add gnome
>
> There will be a readme under:
> /usr/local/share/doc/pkg-readmes/gnome

The pkg-readme from KDE was removed with KDE 4, we don't have the
Plasma desktop environment for 5 due to the strong dependence on
Wayland (see https://undeadly.org/cgi?action=article;sid=20210124113220).




no sound on azalia

2022-05-01 Thread Kirill Kaplin
Hello.

My problem: no sound on azalia,
My dmesg: https://pastebin.com/rK1uUUrZ
My mixerctl -v: https://pastebin.com/DDifPsW7
My little debug after read faq: https://pastebin.com/Su54uEPq
Help, please.

-- 
http://nightbbs.ru



no sound on azalia

2022-05-01 Thread Kirill K
Hello.

My problem: no sound on azalia,
My dmesg: https://pastebin.com/rK1uUUrZ
My mixerctl -v: https://pastebin.com/DDifPsW7
My little debug after read faq: https://pastebin.com/Su54uEPq
Help, please.


Re: pkg-readmes missing for gnome and kde?

2022-05-01 Thread Mihai Popescu
On Sun, May 1, 2022 at 9:05 PM Antoine Jacoutot  wrote:
>
> On Sun, 2022-05-01 at 20:51 +0300, Mihai Popescu wrote:
> > Hello,
> >
> > I tried to enable gnome or kde after install in an openbsd snapshot for 
> > amd64.
> > Last time (some time ago) I know for sure there were some pkg-readmes
> > for both gnome and kde start. I can't find them now, I have some
> > readmes in the directory, but not for gnome nor kde.
> >
> > Is there some other way used to document gnome or kde start, please?
> >
> > Thank you.
>
> # pkg_add gnome
>
> There will be a readme under:
> /usr/local/share/doc/pkg-readmes/gnome
>
> --
> Antoine

That's exactly how I installed gnome. Still no readme file. Here is what i have:
$ cd /usr/local/share/doc/pkg-readmes/
$ ls -al
total 144
drwxr-xr-x2 root  wheel  1024 May  1 20:06 .
drwxr-xr-x  121 root  wheel  2560 May  1 20:09 ..
-rw-r--r--1 root  bin 882 Apr 27 17:39 avahi
-rw-r--r--1 root  bin 660 Apr 28 15:43 avrdude
-rw-r--r--1 root  bin1665 Apr 28 06:12 chromium
-rw-r--r--1 root  bin 441 Apr 27 22:50 consolekit2
-rw-r--r--1 root  bin 864 Apr 27 17:24 dbus
-rw-r--r--1 root  bin 474 Apr 27 18:40 ffmpeg
-rw-r--r--1 root  bin 571 Apr 27 17:34 gamin
-rw-r--r--1 root  bin 594 Apr 27 17:32 glib2
-rw-r--r--1 root  bin1373 Apr 27 18:13 gnupg
-rw-r--r--1 root  bin1598 Apr 27 18:04 gtk+2
-rw-r--r--1 root  bin1298 Apr 27 18:06 gtk+3
-rw-r--r--1 root  bin1068 Apr 28 08:21 gtk+4
-rw-r--r--1 root  bin 958 Apr 28 12:31 ibus
-rw-r--r--1 root  bin 391 Apr 28 10:29 inkscape
-rw-r--r--1 root  bin2634 Apr 27 18:48 jack
-rw-r--r--1 root  bin 699 Apr 28 18:31 kdeconnect-kde
-rw-r--r--1 root  bin 801 Apr 28 06:33 libgphoto
-rw-r--r--1 root  bin 571 Apr 27 20:19 llvm
-rw-r--r--1 root  bin 450 Apr 27 17:37 miniupnpc
-rw-r--r--1 root  bin 738 Apr 28 00:07 openbsdisks2
-rw-r--r--1 root  bin7495 Apr 27 17:25 postgresql-server
-rw-r--r--1 root  bin1157 Apr 27 21:08 samba
-rw-r--r--1 root  bin2067 Apr 27 19:00 sane-backends
-rw-r--r--1 root  bin1107 Apr 27 17:21 sdl2
-rw-r--r--1 root  bin2548 Apr 27 16:59 tcl-8.5
-rw-r--r--1 root  bin 307 Apr 28 13:45 upower
-rw-r--r--1 root  bin 691 Apr 27 17:32 xdg-utils

OpenBSD 7.1-current (GENERIC.MP) #486: Fri Apr 29 13:00:14 MDT 2022
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP



Re: pkg-readmes missing for gnome and kde?

2022-05-01 Thread Antoine Jacoutot
On Sun, May 01, 2022 at 11:06:15PM +0300, Mihai Popescu wrote:
> On Sun, May 1, 2022 at 9:05 PM Antoine Jacoutot  wrote:
> >
> > On Sun, 2022-05-01 at 20:51 +0300, Mihai Popescu wrote:
> > > Hello,
> > >
> > > I tried to enable gnome or kde after install in an openbsd snapshot for 
> > > amd64.
> > > Last time (some time ago) I know for sure there were some pkg-readmes
> > > for both gnome and kde start. I can't find them now, I have some
> > > readmes in the directory, but not for gnome nor kde.
> > >
> > > Is there some other way used to document gnome or kde start, please?
> > >
> > > Thank you.
> >
> > # pkg_add gnome
> >
> > There will be a readme under:
> > /usr/local/share/doc/pkg-readmes/gnome
> >
> > --
> > Antoine
> 
> That's exactly how I installed gnome. Still no readme file. Here is what i 
> have:
> $ cd /usr/local/share/doc/pkg-readmes/

That means gnome is not installed.
Check pkg_info.

> $ ls -al
> total 144
> drwxr-xr-x2 root  wheel  1024 May  1 20:06 .
> drwxr-xr-x  121 root  wheel  2560 May  1 20:09 ..
> -rw-r--r--1 root  bin 882 Apr 27 17:39 avahi
> -rw-r--r--1 root  bin 660 Apr 28 15:43 avrdude
> -rw-r--r--1 root  bin1665 Apr 28 06:12 chromium
> -rw-r--r--1 root  bin 441 Apr 27 22:50 consolekit2
> -rw-r--r--1 root  bin 864 Apr 27 17:24 dbus
> -rw-r--r--1 root  bin 474 Apr 27 18:40 ffmpeg
> -rw-r--r--1 root  bin 571 Apr 27 17:34 gamin
> -rw-r--r--1 root  bin 594 Apr 27 17:32 glib2
> -rw-r--r--1 root  bin1373 Apr 27 18:13 gnupg
> -rw-r--r--1 root  bin1598 Apr 27 18:04 gtk+2
> -rw-r--r--1 root  bin1298 Apr 27 18:06 gtk+3
> -rw-r--r--1 root  bin1068 Apr 28 08:21 gtk+4
> -rw-r--r--1 root  bin 958 Apr 28 12:31 ibus
> -rw-r--r--1 root  bin 391 Apr 28 10:29 inkscape
> -rw-r--r--1 root  bin2634 Apr 27 18:48 jack
> -rw-r--r--1 root  bin 699 Apr 28 18:31 kdeconnect-kde
> -rw-r--r--1 root  bin 801 Apr 28 06:33 libgphoto
> -rw-r--r--1 root  bin 571 Apr 27 20:19 llvm
> -rw-r--r--1 root  bin 450 Apr 27 17:37 miniupnpc
> -rw-r--r--1 root  bin 738 Apr 28 00:07 openbsdisks2
> -rw-r--r--1 root  bin7495 Apr 27 17:25 postgresql-server
> -rw-r--r--1 root  bin1157 Apr 27 21:08 samba
> -rw-r--r--1 root  bin2067 Apr 27 19:00 sane-backends
> -rw-r--r--1 root  bin1107 Apr 27 17:21 sdl2
> -rw-r--r--1 root  bin2548 Apr 27 16:59 tcl-8.5
> -rw-r--r--1 root  bin 307 Apr 28 13:45 upower
> -rw-r--r--1 root  bin 691 Apr 27 17:32 xdg-utils
> 
> OpenBSD 7.1-current (GENERIC.MP) #486: Fri Apr 29 13:00:14 MDT 2022
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 

-- 
Antoine



Re: pkg-readmes missing for gnome and kde?

2022-05-01 Thread Mihai Popescu
On Sun, May 1, 2022 at 11:17 PM Antoine Jacoutot  wrote:
>
> On Sun, May 01, 2022 at 11:06:15PM +0300, Mihai Popescu wrote:
> > On Sun, May 1, 2022 at 9:05 PM Antoine Jacoutot  
> > wrote:
> > >
> > > On Sun, 2022-05-01 at 20:51 +0300, Mihai Popescu wrote:
> > > > Hello,
> > > >
> > > > I tried to enable gnome or kde after install in an openbsd snapshot for 
> > > > amd64.
> > > > Last time (some time ago) I know for sure there were some pkg-readmes
> > > > for both gnome and kde start. I can't find them now, I have some
> > > > readmes in the directory, but not for gnome nor kde.
> > > >
> > > > Is there some other way used to document gnome or kde start, please?
> > > >
> > > > Thank you.
> > >
> > > # pkg_add gnome
> > >
> > > There will be a readme under:
> > > /usr/local/share/doc/pkg-readmes/gnome
> > >
> > > --
> > > Antoine
> >
> > That's exactly how I installed gnome. Still no readme file. Here is what i 
> > have:
> > $ cd /usr/local/share/doc/pkg-readmes/
>
> That means gnome is not installed.
> Check pkg_info.

It was not. I was cooking at the same time and didn't pay enough
attention to the output.
Issued the install command again , it seems some packages didn't come out.
Also I sent this to misc@ instead of ports@.

p# pkg_add gnome
quirks-5.17 signed on 2022-04-28T19:56:28Z
Can't find sushi-41.2
Can't find evince-42.2
Can't install gnome-42.0p1: can't resolve sushi-41.2,evince-42.2
Couldn't install evince-42.2 gnome-42.0p1 sushi-41.2



7.1/amd64 DejaVuSansMono fonts are much larger than 7.0/amd64

2022-05-01 Thread Jonathan Thornburg
On a freshly installed 7.1/amd64 (Lenovo Thinkpad T530 laptop), the
DejaVuSansMono fonts are much larger (i.e., each character occupies
more screen pixels in both x and y) than on 7.0 and earlier.  This is
true for both fvwm and twm.

Empirically, I find that for 7.1,
  # xterm -fa DejaVuSansMono -fs 7
is needed to get what appears to be the same sized font (& hence the
same sized xterm window)
as
  # xterm -fa DejaVuSansMono -fs 10
and produced for 7.0 and earlier on the same hardware.

Is this as expected?  This being OpenBSD, Is there a Fine Manual I
should have read that would have informed me of this change before I
wound up with a bunch of giant xterm windows (whose sizes were/are
specified in character units)?

Below I give the output of 'dmesg' and 'xdpyinfo'.

Keep safe and COVID-free, -- Jonathan

--- begin dmesg ---
OpenBSD 7.1 (GENERIC.MP) #465: Mon Apr 11 18:03:57 MDT 2022
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16845565952 (16065MB)
avail mem = 16317718528 (15561MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9c000 (68 entries)
bios0: vendor LENOVO version "G4ETA7WW (2.67 )" date 08/24/2016
bios0: LENOVO 24292A9
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF! 
UEFI UEFI POAT SSDT SSDT DMAR UEFI DBG2
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) EHC1(S3) 
EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz, 2893.96 MHz, 06-3a-09
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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way 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 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz, 2893.44 MHz, 06-3a-09
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 4 (EXP3)
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
acpicmos0 at acpi0
acpibat0 at acpi0: BAT0 model "45N1011" serial 54386 type LION oem "LGC"
acpiac0 at acpi0: AC unit online
"LEN0078" at acpi0 not configured
acpithinkpad0 at acpi0: version 1.0
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpicpu0 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
acpitz0 at acpi0: critical temperature is 103 degC
acpivideo0 at acpi0: VID_
acpivout0 at acpivideo0: LCD0
acpivideo1 at acpi0: VID_
cpu0: using VERW MDS workaround (except on vmm entry)
cpu0: Enhanced SpeedStep 2893 MHz: speeds: 2901, 2900, 2800, 2700, 2500, 2400, 
2300, 2200, 2000, 1900, 1800, 1700, 1600, 1400, 1300, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi, IVYBRIDGE, gen 7
xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: 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 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address 
3c:97:0e:84:e7:c5
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 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
azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: m

mutt-wizard

2022-05-01 Thread ehakanduran
Hi all,

I am not sure if anyone uses this tool, but I am a fan from the linux
side of things and would love to get it behave like it does on linux.
The differences I have identified so far are related to the neomutt
settings this tool makes and they include Ctrl-o not working to open the
selected mailbox from the sidebar and the mail opening for display
always in the raw mode rather than just displaying the regular headers
such as from, to, subject and text. The first problem is relatively easy
to fix by assigning another key (Ctrl-i worked for me, although Ctrl-0
didn't) but I couldn't figure out a way to fix the second problem. Why
Ctrl-o doesn't work remains a mystery too. Any pointers will be very
much appreciated.

Hakan Duran



Re: 7.1/amd64 DejaVuSansMono fonts are much larger than 7.0/amd64

2022-05-01 Thread Jonathan Gray
On Sun, May 01, 2022 at 07:07:36PM -0700, Jonathan Thornburg wrote:
> On a freshly installed 7.1/amd64 (Lenovo Thinkpad T530 laptop), the
> DejaVuSansMono fonts are much larger (i.e., each character occupies
> more screen pixels in both x and y) than on 7.0 and earlier.  This is
> true for both fvwm and twm.
> 
> Empirically, I find that for 7.1,
>   # xterm -fa DejaVuSansMono -fs 7
> is needed to get what appears to be the same sized font (& hence the
> same sized xterm window)
> as
>   # xterm -fa DejaVuSansMono -fs 10
> and produced for 7.0 and earlier on the same hardware.
> 
> Is this as expected?  This being OpenBSD, Is there a Fine Manual I
> should have read that would have informed me of this change before I
> wound up with a bunch of giant xterm windows (whose sizes were/are
> specified in character units)?

This is due to xserver dpi changes
https://marc.info/?l=openbsd-tech&m=163674121630769&w=2

> 
> Below I give the output of 'dmesg' and 'xdpyinfo'.
> 
> Keep safe and COVID-free, -- Jonathan
> 
> --- begin dmesg ---
> OpenBSD 7.1 (GENERIC.MP) #465: Mon Apr 11 18:03:57 MDT 2022
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 16845565952 (16065MB)
> avail mem = 16317718528 (15561MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9c000 (68 entries)
> bios0: vendor LENOVO version "G4ETA7WW (2.67 )" date 08/24/2016
> bios0: LENOVO 24292A9
> acpi0 at bios0: ACPI 5.0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT 
> ASF! UEFI UEFI POAT SSDT SSDT DMAR UEFI DBG2
> acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) EHC1(S3) 
> EHC2(S3) HDEF(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz, 2893.96 MHz, 06-3a-09
> 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,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
> cpu0: 256KB 64b/line 8-way 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 99MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz, 2893.44 MHz, 06-3a-09
> 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xf800, bus 0-63
> acpiec0 at acpi0
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG_)
> acpiprt2 at acpi0: bus 2 (EXP1)
> acpiprt3 at acpi0: bus 3 (EXP2)
> acpiprt4 at acpi0: bus 4 (EXP3)
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
> acpicmos0 at acpi0
> acpibat0 at acpi0: BAT0 model "45N1011" serial 54386 type LION oem "LGC"
> acpiac0 at acpi0: AC unit online
> "LEN0078" at acpi0 not configured
> acpithinkpad0 at acpi0: version 1.0
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> acpicpu0 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS
> acpicpu1 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS
> acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
> acpitz0 at acpi0: critical temperature is 103 degC
> acpivideo0 at acpi0: VID_
> acpivout0 at acpivideo0: LCD0
> acpivideo1 at acpi0: VID_
> cpu0: using VERW MDS workaround (except on vmm entry)
> cpu0: Enhanced SpeedStep 2893 MHz: speeds: 2901, 2900, 2800, 2700, 2500, 
> 2400, 2300, 2200, 2000, 1900, 1800, 1700, 1600, 1400, 1300, 1200 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
> inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
> drm0 at inteldrm0
> inteldrm0: msi, IVYBRIDGE, gen 7
> xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: 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 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configur

Re: 7.1/amd64 DejaVuSansMono fonts are much larger than 7.0/amd64

2022-05-01 Thread Jonathan Thornburg
On Sun, May 01, 2022 at 07:07:36PM -0700, Jonathan Thornburg wrote:
> On a freshly installed 7.1/amd64 (Lenovo Thinkpad T530 laptop), the
> DejaVuSansMono fonts are much larger (i.e., each character occupies
> more screen pixels in both x and y) than on 7.0 and earlier.  This is
> true for both fvwm and twm.
[[...]]

On Mon, May 02, 2022 at 12:37:08PM +1000, Jonathan Gray replied:
> This is due to xserver dpi changes
> https://marc.info/?l=openbsd-tech&m=163674121630769&w=2

Ahh, now it all makes sense.  I wonder if this warrants a note in the
upgrade guide?

Thanks for the explanation!
Keep safe and COVID-free, -- Jonathan