Re: Love OpenBSD Humor

2021-09-19 Thread jpeg bild
On Sun Sep 19, 2021 at 5:59 PM CST, flint pyrite wrote: > that those who have a voice > > typically speak. > > What they speak is a mystery: > > binary means 0 or 1 > 0 = truth > 1= lie > > > > this is binary choose a state of 0 or 1 > Yesterday I posted in OpenBSD my fav OS: > 0 means mindles

Re: 6.9/amd64 runaway acpi process on Thinkpad T580

2021-09-19 Thread Jonathan Thornburg
I wrote > During the installation (both in the bsd.rd install script and previously > when I dropped into the bsd.rd shell to set up softraid-crypto) the machine > acted incredibly slow, and there was a several-second delay in echoing > typed characters. I suspected that it was some device produc

Love OpenBSD Humor

2021-09-19 Thread flint pyrite
that those who have a voice typically speak. What they speak is a mystery: binary means 0 or 1 0 = truth 1= lie this is binary choose a state of 0 or 1 Yesterday I posted in OpenBSD my fav OS: 0 means mindlessness 1 means mindfulness My entire post was deleted. Sorry for the hints So m

Re: Determining the number of CPU cores and hyperthreads from userspace

2021-09-19 Thread Abel Abraham Camarillo Ojeda
is this useful?: $ cat sysconf.c #include #include int main() { printf("nproc configured %ld\n", sysconf(_SC_NPROCESSORS_CONF)); printf("nproc online %ld\n", sysconf(_SC_NPROCESSORS_ONLN)); return 0; } $ cc -o sysconf sysconf.c $ ./sysconf nproc configured 4 nproc online

Re: pkg_info -m: libraries and dependencies marked as manually installed

2021-09-19 Thread Stuart Henderson
On 2021-09-19, Jordan Geoghegan wrote: > Hello, > > I recently decided to clean up my desktop machine of unused packages etc. > I've been running release/stable on this machine since around the OpenBSD 6.2 > era. The machine has been upgraded over the years all the way to 6.9. I'm not > sure th

Re: USB-C monitors

2021-09-19 Thread Joel Wirāmu Pauling
Just be aware that if you are looking at 4k monitors ; you will be likely be limited to 30hz refresh rate via most adaptors using DP mode over USBC. Thunderbolt3 and 4 can do 4kp60 as can DP 1.4 - but there are various factors involved including the adaptors SoC, your GPU/Motherboard output. Thing

pkg_info -m: libraries and dependencies marked as manually installed

2021-09-19 Thread Jordan Geoghegan
Hello, I recently decided to clean up my desktop machine of unused packages etc. I've been running release/stable on this machine since around the OpenBSD 6.2 era. The machine has been upgraded over the years all the way to 6.9. I'm not sure that it's relevant, but I've regularly run sysclean i

Re: Determining the number of CPU cores and hyperthreads from userspace

2021-09-19 Thread Chris Bennett
On Sun, Sep 19, 2021 at 01:37:05PM -0400, Daniel Wilkins wrote: > Hyperthreads are easy: they've been disabled for years (unless they got > flipped on and I didn't notice.) > Does the setting in the BIOS need to be turned off also? Or is it irrelevant? I had a server for a while where the compan

Re: Determining the number of CPU cores and hyperthreads from userspace

2021-09-19 Thread Daniel Wilkins
Hyperthreads are easy: they've been disabled for years (unless they got flipped on and I didn't notice.)

Re: Laptop Lid Status

2021-09-19 Thread Theo de Raadt
David Anthony wrote: > Hello, > > Is there a program which can check the current status of a laptop lid > (open/closed)? the lid show in in sensors sysctl | grep 'lid ' finds it hw.sensors.acpibtn0.indicator0=On (lid open) This specific name can vary between machines

Determining the number of CPU cores and hyperthreads from userspace

2021-09-19 Thread Baptiste Jonglez
Hello, In the interest of fetching this information from Ansible for the GCC compile farm [1], I would like to determine the number of cores vs. hyper-threads on a system. With OpenBSD 6.9, this is what I get with "sysctl hw" on a dual 6-core Xeon system: hw.model=Intel(R) Xeon(R) CPU E5-2640 0

Laptop Lid Status

2021-09-19 Thread David Anthony
Hello, Is there a program which can check the current status of a laptop lid (open/closed)? Respectfully, David Anthony

Re: USB-C monitors

2021-09-19 Thread Paco Esteban
Hi, My experience is the same as Peter's. No problem with various adapters USB-C to HDMI, in my case at 4k both 30Hz and 60Hz. I had no luck with DisplayPort output on a couple of docking stations. Will try next week with a direct cable USB-C to DP and will be able to report on that. Cheers, P

Re: USB-C monitors

2021-09-19 Thread Jan Betlach
Hi Peter, thanks for your prompt response. I believe it should work (it is actually a usb-c monitor, no usb-c to hdmi adapter needed). Nevertheless I'll just take my laptop to the store and try it, just to be sure it really works. Thanks again Jan On Sun, 2021-09-19 at 16:25 +0200, Peter Hessl

Re: USB-C monitors

2021-09-19 Thread Peter Hessler
Yes, I've used that with a couple different monitors, and a handful of usb-c to hdmi adapters. All worked fine, and behaved just like normal hdmi/dvi/vga monitors. Power delivery and usb also worked as expected. On 2021 Sep 19 (Sun) at 14:29:27 +0200 (+0200), Jan Betlach wrote: :Hi guys, : :I a

USB-C monitors

2021-09-19 Thread Jan Betlach
Hi guys, I am on -current and considering to purchase a USB-C monitor (power delivery to my Thinkpad over one cable). Do USB-C dislplays work on OpenBSD? Thanks in advance Jan

Re: OpenBSD ipv4 forwarding limits as pps

2021-09-19 Thread Stuart Henderson
On 2021-09-18, Barbaros Bilek wrote: > Hello OpenBSD misc list, > > I am writing this email to ask clearly about the issues that I could not > clear in my mind despite reading about OpenBSD and ip forwarding limits. > First of all, thank you for reading. > > What is the maximum ipv4 forwarding val

Re: 6.9/amd64 runaway acpi process on Thinkpad T580

2021-09-19 Thread Daniel Wilkins
I've ran into this on my T480, it seems most consistently triggered by power cycles caused by running out of battery. The bug's existed for quite a few years (I think I first noticed it in 2019.) If I recall correctly I've posted it to the list a couple of times but I don't think any concrete answe

6.9/amd64 runaway acpi process on Thinkpad T580

2021-09-19 Thread Jonathan Thornburg
I have just installed 6.9-stable/amd64 on a new-to-me (used) Lenovo Thinkpad T580 (dmesg below). This was a from-scratch install on a new-from-the-factory SSD (via booting the 6.9/amd64 bsd.rd from a usb stick). During the installation (both in the bsd.rd install script and previously when I drop