simple-mtpfs kernel panic

2017-10-01 Thread Christian Schulte
Hi misc@, during transferring some files from my laptop to my Android mobile mounted using simple-mtpfs, the machine rebooted and /var/crash now contains the following files: $ ls -h /var/crash/ bounds bsd.0 bsd.0.core minfree I read crash(8) but cannot get any meaningful information

Question about i386 COPTS during 'make release'.

2013-11-08 Thread Christian Schulte
Hello misc@, are the i386 GENERIC and GENERIC.MP kernels built using '-O2' as is setup in '/usr/src/sys/arch/i386/conf/Makefile.i386' or is COPTS set to something else in '/etc/mk.conf' during 'make release' ? Regards, -- Christian Schulte

Re: Question about i386 COPTS during 'make release'.

2013-11-08 Thread Christian Schulte
Am 11/09/13 05:44, schrieb Philip Guenther: > On Fri, Nov 8, 2013 at 7:30 PM, Christian Schulte wrote: >> are the i386 GENERIC and GENERIC.MP kernels built using '-O2' as is >> setup in '/usr/src/sys/arch/i386/conf/Makefile.i386' or is COPTS set to >> some

Re: Question about i386 COPTS during 'make release'.

2013-11-09 Thread Christian Schulte
Am 11/09/13 22:21, schrieb Philip Guenther: > > Sorry, but I don't really find your tests convincing. > > * Only test the worst case of a matching buffer. > * Unreasonably large example used (are there *any* 256MB memcmp or > bcmp in the kernel?) > * Use of fprintf in the inner loop adds large fi

Re: Advice on Security Cameras

2019-01-02 Thread Christian Schulte
Am 01.01.2019 um 18:46 schrieb Elias M. Mariani: > Hi list, > I'm thinking in installing some cameras in my private home, I have > been looking for solutions, my concern is that I wish to be able to > look the videos from outside the house and I'm a little paranoid about > the quality of the sof

SSL/TLS troubleshooting

2016-12-10 Thread Christian Schulte
Hello, I am facing an issue accessing an SSL/TLS webserver from OpenBSD. I have another box not running OpenBSD connected to the same router and that box can connect to that server flawlessly. I already tried to troubleshoot things with the administrator of that system without success. Is there so

Re: SSL/TLS troubleshooting

2016-12-10 Thread Christian Schulte
Am 12/10/16 um 21:43 schrieb Kai: > Am 10. Dezember 2016 21:35:04 MEZ, schrieb Christian Schulte > : >> Hello, >> >> I am facing an issue accessing an SSL/TLS webserver from OpenBSD. I >> have >> another box not running OpenBSD connected to the same router

Re: SSL/TLS troubleshooting

2016-12-10 Thread Christian Schulte
Am 12/10/16 um 23:28 schrieb Karel Gardas: > On Sat, Dec 10, 2016 at 10:56 PM, Christian Schulte wrote: >> It's <https://repository.apache.org/> >> >> Operation timed out. Connections are very slow. Too slow so that they > > Not sure about the issue, but I&

Re: SSL/TLS troubleshooting

2016-12-10 Thread Christian Schulte
Am 12/10/16 um 22:57 schrieb Peter Hessler: > On 2016 Dec 10 (Sat) at 22:56:05 +0100 (+0100), Christian Schulte wrote: > :$ uname -a > :OpenBSD t60.schulte.it 6.0 1KHZ.MP#7 amd64 > > You broke it. Please use a GENERIC kernel, and it will work as normal. > This is the config

Re: SSL/TLS troubleshooting

2016-12-10 Thread Christian Schulte
Am 12/10/16 um 22:57 schrieb Peter Hessler: > On 2016 Dec 10 (Sat) at 22:56:05 +0100 (+0100), Christian Schulte wrote: > :$ uname -a > :OpenBSD t60.schulte.it 6.0 1KHZ.MP#7 amd64 > > You broke it. Please use a GENERIC kernel, and it will work as normal. > This is what I

Re: mprotect W^X violation and JDK

2017-01-28 Thread Christian Schulte
Am 01/28/17 um 10:04 schrieb Alex McWhirter: > Java doesn't work with write xor execute and this is the kernels way of > letting you know. Java still runs because the partition is mounted with > wxallowed, but the kernel still prints the error to let you know that > Java isn't respecting a security

Mouse pointer moving unintentionally.

2014-11-30 Thread Christian Schulte
now is slowly moving to the lower left corner of the screen. I need to reboot to make the mouse pointer stand still again. Disabling the kernel 'pms' driver makes this issue go away. This happens with a T60 laptop. dmesg with the 'pms' driver disabled is attached. Regards, -

em0 interface hangs in 5.7 (was: Re: Semi-reproduceable em0 network hangs in new snap)

2015-05-01 Thread Christian Schulte
Hi @misc, after upgrading my T60 from 5.6-stable to 5.7-stable, I am experiencing the same issue described above. Should this be filed using sendbug ? I am currently reverting to the athn0 interface which is working fine. The em0 interface hangs after some minutes or even seconds and isn't usable

Mouse setup question.

2015-05-15 Thread Christian Schulte
Hi misc@, I have a question regarding the setup of mice for the following system. Should wsmoused(8) be enabled or disabled? When enabled, only the synaptics touchpad is working with X. When disabled, all mice are working, but all of a sudden, the mouse pointer starts moving without any mouse beei

Re: Mouse setup question.

2015-05-17 Thread Christian Schulte
Here is some more information I can provide. When wsmoused(8) is not running and the mouse pointer starts moving to the lower left corner of the screen without any mouse being touched, I can stop it by executing: schu...@t60.schulte.it 2015-05-17T22:52:14+0200 Sunday 137 ~ $ xinput --disable 8

Cannot get sound to work on a T60

2014-05-24 Thread Christian Schulte
Hello misc@, please see the output of 'dmesg', 'audioctl -f /dev/audio' and 'mixerctl' included in this message. Is it correct that executing 'aucat -i something.wav' should produce audible output with things setup like this ? Regards, Christian $ dmesg OpenBSD 5.5-stable (1KHZ.MP) #18: Sun Ma

Re: Cannot get sound to work on a T60

2014-05-24 Thread Christian Schulte
Am 05/25/14 04:21, schrieb Philip Guenther: > On Sat, May 24, 2014 at 5:59 PM, Christian Schulte wrote: >> >> please see the output of 'dmesg', 'audioctl -f /dev/audio' and 'mixerctl' >> included in this message. Is it correct that executing

Re: Cannot get sound to work on a T60

2014-05-25 Thread Christian Schulte
Am 05/25/14 06:29, schrieb Philip Guenther: > On Sat, May 24, 2014 at 9:03 PM, Christian Schulte wrote: > >> Am 05/25/14 04:21, schrieb Philip Guenther: >>> On Sat, May 24, 2014 at 5:59 PM, Christian Schulte >> wrote: >>>> >>>> please see

Re: Cannot get sound to work on a T60

2014-05-25 Thread Christian Schulte
Am 05/25/14 06:49, schrieb patrick keshishian: > On 5/24/14, Philip Guenther wrote: >> On Sat, May 24, 2014 at 9:03 PM, Christian Schulte wrote: >> >>> Am 05/25/14 04:21, schrieb Philip Guenther: >>>> On Sat, May 24, 2014 at 5:59 PM, Christian Schulte &

Re: Cannot get sound to work on a T60

2014-05-25 Thread Christian Schulte
Am 05/25/14 09:39, schrieb patrick keshishian: > On 5/25/14, Christian Schulte wrote: >> Am 05/25/14 06:49, schrieb patrick keshishian: >>> On 5/24/14, Philip Guenther wrote: >>>> On Sat, May 24, 2014 at 9:03 PM, Christian Schulte >>>> wrote: &g

Re: Cannot get sound to work on a T60

2014-05-25 Thread Christian Schulte
Am 05/25/14 10:27, schrieb Mihai Popescu: >> Don't know. I get no error messages at all and the sample buffer is >> increasing during playback as the FAQ suggests to look after. So >> something is sending data to something. It just isn't audible. > > Do you have some push buttons for volume up/dow

iwn0: fatal firmware error after sysupgrade to 7.1

2022-06-11 Thread Christian Schulte
Please CC me. I am not subscribed to the list. Hello, after upgrading from 7.0 to 7.1, the iwn0 interface cannot be used anymore, stating iwn0: fatal firmware error. I then checked out 7.1 stable, build the GENERIC.MP kernel, the system and xenocara. Issue remains. Here's what dmesg contains

Re: iwn0: fatal firmware error after sysupgrade to 7.1

2022-06-12 Thread Christian Schulte
Please see attached dmesg and pcidump. There has been a similar issue with the if_iwm.c driver. Maybe this one is related. Best regards, -- Christian OpenBSD 7.1-stable (GENERIC.MP) #3: Sun Jun 12 10:08:50 CEST 2022 schu...@x500.schulte.it:/sys/arch/amd64/compile/GENERIC.MP real mem = 416560

Re: iwn0: fatal firmware error after sysupgrade to 7.1

2022-06-12 Thread Christian Schulte
On 12.06.22 13:22, Stefan Sperling wrote: On Sun, Jun 12, 2022 at 01:16:00PM +0200, Stefan Sperling wrote: On Sun, Jun 12, 2022 at 10:28:33AM +0200, Christian Schulte wrote: Please see attached dmesg and pcidump. There has been a similar issue with the if_iwm.c driver. Maybe this one is

Re: iwn0: fatal firmware error after sysupgrade to 7.1

2022-06-14 Thread Christian Schulte
On 14.06.22 11:36, Stefan Sperling wrote: I don't know what SYSASSERT 0x0005 is supposed to tell us. All I can do is make guesses based on what changed between 7.0 and 7.1. In addition to the previous change, this patch enables even more debug output, and it delays enabling of 40MHz in the

smtpd warn: not enough disk space

2024-07-04 Thread Christian Schulte
Hello, just stumbled upon this. In /usr/src/usr.sbin/smtpd/queue_fs.c there is a function fsqueue_check_space which checks for space based on percentages. I am not using any partitioning on my laptop. Not a mail server or anything special. One disk. / is that one disk. I know... x500$ df -h

Re: smtpd warn: not enough disk space

2024-07-05 Thread Christian Schulte
On 05.07.24 13:50, Souji Thenria wrote: On Fri Jul 5, 2024 at 4:19 AM BST, Christian Schulte wrote: Hello, Hi Christian, What is the reasoning to check for disk space based on percentages? I have never seen an application performing such kind of checks. If there is not enough space

Re: smtpd warn: not enough disk space

2024-07-05 Thread Christian Schulte
On 05.07.24 13:46, Jeremy Mates wrote: On 2024-07-05 05:19:01 +0200, Christian Schulte wrote: I have never seen an application performing such kind of checks. Sendmail had a knob to refuse mail at a certain CPU load, on the assumption that if a system was "too busy" it's in

Re: smtpd warn: not enough disk space

2024-07-05 Thread Christian Schulte
On 06.07.24 04:08, Eric Pruitt wrote: On Sat, Jul 06, 2024 at 01:49:05AM +0200, Christian Schulte wrote: A database admin would have monitored the system and just enhanced storage when required. Bad thing for me was, that I could not vaccuum the database, because postgresql copies tables to

Re: smtpd warn: not enough disk space

2024-07-08 Thread Christian Schulte
On 07.07.24 03:51, Jeremy Evans wrote: On Fri, Jul 5, 2024 at 9:16 PM Christian Schulte <mailto:schulte...@gmail.com>> wrote: Just wondering how the postgresql port is configured. Really should setup quotas automatically when pkg_adding in a way, just to ensure, that no

Re: smtpd warn: not enough disk space

2024-07-08 Thread Christian Schulte
On 07.07.24 03:51, Jeremy Evans wrote: On Fri, Jul 5, 2024 at 9:16 PM Christian Schulte <mailto:schulte...@gmail.com>> wrote: Just wondering how the postgresql port is configured. Really should setup quotas automatically when pkg_adding in a way, just to ensure, that no

Running OpenBSD on a VPS.

2024-07-10 Thread Christian Schulte
Hello misc@, please see attached a dmesq of a Linux VPS server. I talked to the provider and got told that I can access the console usins VLC and can provide my own iso images to install whatever OS I like. Does OpenBSD support this kind of host system? I would like to avoid any kind of exper

Re: Running OpenBSD on a VPS.

2024-07-10 Thread Christian Schulte
On 11.07.24 03:41, Geoff Steckel wrote: On 7/10/24 20:40, Christian Schulte wrote: Hello misc@,  I understand I will need to setup a different system from scratch and replace various things (e.g. sendmail, milter-greylist, clamav-milter, spamass-milter, http, imap, etc.) with something

Re: smtpd warn: not enough disk space

2024-07-10 Thread Christian Schulte
On 09.07.24 11:18, Stuart Henderson wrote: On 2024-07-09, Christian Schulte wrote: On 07.07.24 03:51, Jeremy Evans wrote: On Fri, Jul 5, 2024 at 9:16 PM Christian Schulte mailto:schulte...@gmail.com>> wrote: Just wondering how the postgresql port is configured. Really

Re: smtpd warn: not enough disk space

2024-07-11 Thread Christian Schulte
On 09.07.24 11:16, Stuart Henderson wrote: On 2024-07-09, Christian Schulte wrote: For example: Just remove the patches in this directory - well a lot of them - and see how those GNU folks have turned into complete idiots. I don't g

Re: Running OpenBSD on a VPS.

2024-07-12 Thread Christian Schulte
On 11.07.24 12:11, Kirill A. Korinsky wrote: On Thu, 11 Jul 2024 03:10:43 +0100, Christian Schulte wrote: Running OpenBSD since then personally. Never had a chance to install it to a server, because the providers did not support it. Now they do. Not all of them. Special in case like

Re: Running OpenBSD on a VPS.

2024-07-15 Thread Christian Schulte
On 13.07.24 11:03, Janne Johansson wrote: address and things like that. Contabo at least offers to setup a VPS with custom iso images providing VLC console access and such. From a I think you mean a VNC console, not the road-cone media player. I could bear the mistake once, but now it looks

Re: Running OpenBSD on a VPS.

2024-07-15 Thread Christian Schulte
On 13.07.24 07:52, Crystal Kolipe wrote: On Sat, Jul 13, 2024 at 02:16:12AM +0200, Christian Schulte wrote: There is no security with those kind of setups and we all know it. I am just glad I can run OpenBSD there. But if you want to run internet-facing servers without exposing access to

Re: Optimization Advice for High Resource Utilization PostgreSQL Query on OpenBSD

2024-08-03 Thread Christian Schulte
On 30.07.24 19:29, Kihaguru Gathura wrote: > Hi Claudio, > > Yes, I did run 'Explain Analyze' on the query to diagnose the > performance issues. Based on the analysis, I created indexes on the > relevant columns and ran a VACUUM on the tables. This resulted in an > improvement, reducing CPU utiliz

Re: Lastest snapshot - all application got a speed increase

2024-08-07 Thread Christian Schulte
On 07.08.24 13:54, Mihai Popescu wrote: > On Wed, Aug 7, 2024 at 2:35 PM Janne Johansson wrote: >> >>> What is this kernel lock everybody talks about. I mean what is locked? >>> Some actions must be done and devs call lock before and after it is >>> done, they call unlock? >>> What is kernel lock

How to add support to OpenSMTPD to distinguish between MTA and MSA operation mode?

2024-09-01 Thread Christian Schulte
Hi misc@, I just started to read OpenSMTPD sources. Regarding the latest discussions on tech@, there maybe seems to be the need to instruct OpenSMTPD listeners to behave differently when acting as MTA or MSA. Reading man smtpd.conf(5)[1] there is an option to add a tag to the "listen on [socket]"

Re: How to add support to OpenSMTPD to distinguish between MTA and MSA operation mode?

2024-09-01 Thread Christian Schulte
On 01.09.24 15:39, Kirill A. Korinsky wrote: > On Sun, 01 Sep 2024 13:12:19 +0200, > Christian Schulte wrote: >> >> I just started to read OpenSMTPD sources. Regarding the latest >> discussions on tech@, there maybe seems to be the need to instruct >> OpenSMTPD l

Re: Memory upgrade

2024-10-13 Thread Christian Schulte
On 10/12/24 18:33, Philip Guenther wrote: > On Sat, Oct 12, 2024 at 3:58 AM Christian Schulte wrote: >> >> On 10/11/24 15:05, Claudio Jeker wrote: >>> On Fri, Oct 11, 2024 at 03:00:23PM +0200, Christian Schulte wrote: >>>> On 10/11/24 13:57, Stuart Hende

Re: Memory upgrade

2024-10-12 Thread Christian Schulte
On 10/11/24 15:05, Claudio Jeker wrote: > On Fri, Oct 11, 2024 at 03:00:23PM +0200, Christian Schulte wrote: >> On 10/11/24 13:57, Stuart Henderson wrote: >>> On 2024-10-09, obs...@loopw.com wrote: >>>>> In a second server I have upgraded from 7.5 i386 to 7.6 i38

Re: Memory upgrade

2024-10-14 Thread Christian Schulte
On 10/14/24 10:33, Stuart Henderson wrote: > On 2024-10-12, Christian Schulte wrote: >> Take i386. Compile it with something -march=i686 or pentiumpro by >> default. That's it. Add support for the various PAE MMU options. > > "That's it". "Add

Re: Memory upgrade

2024-10-15 Thread Christian Schulte
On 10/15/24 12:45, Claudio Jeker wrote: > On Tue, Oct 15, 2024 at 12:28:20PM +0200, Christian Schulte wrote: >> On 10/15/24 12:09, Stuart Henderson wrote: >>> On 2024-10-15, Zé Loff wrote: >>>> On Tue, Oct 15, 2024 at 10:14:42AM +0200, Christian Schulte wrote: >

Re: Memory upgrade

2024-10-15 Thread Christian Schulte
On 10/15/24 09:51, Christian Schulte wrote: > On 10/14/24 15:49, Stuart Henderson wrote: >> On 2024-10-14, Christian Schulte wrote: >>> On 10/14/24 10:33, Stuart Henderson wrote: >>>> On 2024-10-12, Christian Schulte wrote: >>>>> Take i386. Compil

Re: Memory upgrade

2024-10-15 Thread Christian Schulte
On 10/15/24 15:09, Claudio Jeker wrote: > On Tue, Oct 15, 2024 at 02:35:03PM +0200, Christian Schulte wrote: >> On 10/15/24 12:45, Claudio Jeker wrote: >>> On Tue, Oct 15, 2024 at 12:28:20PM +0200, Christian Schulte wrote: >>>> On 10/15/24 12:09, Stuart Henderson

Re: Memory upgrade

2024-10-15 Thread Christian Schulte
On 10/14/24 15:49, Stuart Henderson wrote: > On 2024-10-14, Christian Schulte wrote: >> On 10/14/24 10:33, Stuart Henderson wrote: >>> On 2024-10-12, Christian Schulte wrote: >>>> Take i386. Compile it with something -march=i686 or pentiumpro by >>>&g

Re: Memory upgrade

2024-10-15 Thread Christian Schulte
On 10/15/24 12:09, Stuart Henderson wrote: > On 2024-10-15, Zé Loff wrote: >> On Tue, Oct 15, 2024 at 10:14:42AM +0200, Christian Schulte wrote: >>> ulimit -d `ulimit -aH | grep data | awk '{print $2}'` >>> ulimit -n `ulimit -aH | grep nofiles | awk '{p

Re: Memory upgrade

2024-10-09 Thread Christian Schulte
On 10/10/24 00:07, Zbigniew Kossowski wrote: > I have 2 HP Proliant miniserver and upgraded RAM from 1x4GB to 2x8GB (by > YT user). > > First server:  > BIOS sees 16GB, dmesg sees 16GB spdmem0 and 1 but only 4GB of RAM > > # dmesg |grep mem > real mem  = 3622907904 (3455MB) > avail mem = 35394232

Re: Memory upgrade

2024-10-11 Thread Christian Schulte
On 10/11/24 13:57, Stuart Henderson wrote: > On 2024-10-09, obs...@loopw.com wrote: >>> In a second server I have upgraded from 7.5 i386 to 7.6 i386 but server >>> sees only 4GB of RAM >> >>> Is anybody with similar experiences? Any ideas how to fix RAM? >> >> run 64bit OpenBSD >> >> 32bit addres

Start the kernel under a debugger

2024-10-19 Thread Christian Schulte
Hi @misc, could someone point me to some documentation on how to do the following: Set a breakpoint on e.g. main() in sys/kern/init_main.c or even earlier in locore.S and start the kernel under a debugger to be able to step through the early initialization stages. Searching the web yields quite so

Re: Memory upgrade

2024-10-16 Thread Christian Schulte
On 10/16/24 22:37, Thomas Frohwein wrote: > On Tue, 15 Oct 2024 16:08:03 +0200 > Christian Schulte wrote: > >> On 10/15/24 15:09, Claudio Jeker wrote: >>> On Tue, Oct 15, 2024 at 02:35:03PM +0200, Christian Schulte wrote: >>>> On 10/15/24 12:45, Claudio

Re: Memory upgrade

2024-10-16 Thread Christian Schulte
On 10/15/24 20:29, Kirill A. Korinsky wrote: > On Tue, 15 Oct 2024 12:28:20 +0200, > Christian Schulte wrote: >> >> On 10/15/24 12:09, Stuart Henderson wrote: >>> On 2024-10-15, Zé Loff wrote: >>>> On Tue, Oct 15, 2024 at 10:14:42AM +0200, Christian Sch

Re: Memory upgrade

2024-10-16 Thread Christian Schulte
On 10/15/24 18:38, Stefan Sperling wrote: > On Tue, Oct 15, 2024 at 04:08:03PM +0200, Christian Schulte wrote: >> On 10/15/24 15:09, Claudio Jeker wrote: >>> If the problem was trivial it would have been fixed already. >> >> I am not around here for working on things

Re: Memory upgrade

2024-10-17 Thread Christian Schulte
On 10/17/24 09:40, Stuart Henderson wrote: > On 2024-10-16, Christian Schulte wrote: >> >> No. That's what seems to went wrong when going from i386 to amd64. >> The 3GB hard limit of i386 was in the range of available physical >> memory (4GB) without swap. The 128G

Re: Minimum supported chipsets of amd64

2024-10-29 Thread Christian Schulte
On 10/28/24 22:53, Anon Loli wrote: > On Mon, Oct 28, 2024 at 05:35:47PM +0100, Christian Schulte wrote: >> On 10/24/24 03:01, Mike Larkin wrote: >>> >>> Every one of us who has worked in this area, at this level, has read those >>> 800+ page documents. Someti

Re: long-running future of OpenBSD

2024-10-22 Thread Christian Schulte
On 10/21/24 15:26, notpeter87 notpeter87 wrote: > if anything would happen to Theo de Raadt, he is 56 years old according > to wikipedia, > > what would happen to OpenBSD? If anything would happen to Linus Torvalds, he is 55 years old according to wikipedia. What would happen to Linux? If anyth

Re: Minimum supported chipsets of amd64

2024-10-29 Thread Christian Schulte
On 10/29/24 04:49, Philip Guenther wrote: > On Mon, Oct 28, 2024 at 11:43 AM Christian Schulte wrote: > ... >> I would really like to understand why this architecture stood the test >> of time. Just because it boots in 8 bit CPU mode from the 70ties not >> even c

Re: Configuring IPv6 addresses using dhcp6leased(8)

2024-11-05 Thread Christian Schulte
On 11/2/24 16:49, Peter Hessler wrote: > What does the full output of 'slaacctl show interface iwm0', 'ifconfig iwm0', > and 'netstat -rnf inet6' say? Disabling the DHCPv6 server in the fritz box seems to do the job. Every device now gets a working IPv6 configuration using SLAAC. Is there anythin

Re: Minimum supported chipsets of amd64

2024-10-30 Thread Christian Schulte
On 10/29/24 04:49, Philip Guenther wrote: > On Mon, Oct 28, 2024 at 11:43 AM Christian Schulte wrote: > ... >> I would really like to understand why this architecture stood the test >> of time. Just because it boots in 8 bit CPU mode from the 70ties not >> even c

Configuring IPv6 addresses using dhcp6leased(8)

2024-11-02 Thread Christian Schulte
Hello misc@, x500$ cat /etc/hostname.iwm0 nwid "FLSTR81WHG6DG" wpa wpakey "xyz" inet autoconf inet6 autoconf Does "inet6 autoconf" with dhcp6leased(8) already work the same way "inet autoconf" with dhcpleased(8) works so far? "inet autoconf" makes my laptop obtain an IPv4 address with dhcpleased(

Re: Configuring IPv6 addresses using dhcp6leased(8)

2024-11-02 Thread Christian Schulte
On 11/2/24 16:49, Peter Hessler wrote: > > What does the full output of 'slaacctl show interface iwm0', 'ifconfig iwm0', > and 'netstat -rnf inet6' say? Script started on Sat Nov 2 17:52:32 2024 x500$ slaacctl show interface iwm0 iwm0: index: 2 running: yes temporary: yes ll

Re: Configuring IPv6 addresses using dhcp6leased(8)

2024-11-02 Thread Christian Schulte
On 11/2/24 15:32, Brian Conway wrote: > On Sat, Nov 2, 2024, at 7:09 AM, Christian Schulte wrote: >> Hello misc@, >> >> x500$ cat /etc/hostname.iwm0 >> nwid "FLSTR81WHG6DG" wpa wpakey "xyz" >> inet autoconf >> inet6 autoconf >> >&

Minimum supported chipsets of amd64

2024-10-23 Thread Christian Schulte
Hi misc@, mentions this: "Supported hardware: Processors All versions of the AMD Athlon 64 processors and their clones are supported." What are the minimum requirements with respect to chipsets? I see that e.g. QEMU defaults to

Re: Minimum supported chipsets of amd64

2024-10-28 Thread Christian Schulte
On 10/24/24 03:01, Mike Larkin wrote: > > Every one of us who has worked in this area, at this level, has read those > 800+ page documents. Sometimes they are many thousands of pages (eg the latest > Intel SDM or latest ACPI spec). > > Tell us what you are doing and what you want to know and mayb

Re: Minimum supported chipsets of amd64

2024-11-01 Thread Christian Schulte
On 10/30/24 23:21, Anon Loli wrote: > On Tue, Oct 29, 2024 at 12:26:54PM +0100, Christian Schulte wrote: >> On 10/28/24 22:53, Anon Loli wrote: >>> On Mon, Oct 28, 2024 at 05:35:47PM +0100, Christian Schulte wrote: >>>> On 10/24/24 03:01, Mike Larkin wrote: >&

Building -current incrementally.

2024-09-25 Thread Christian Schulte
So I installed 7.5-stable on a VPS and that kernel panicked during installation several times. I then grabbed a 7.6-current image and installed the system using that. That kernel does not panic so I am running -current on that system since then. Checked out /usr/src, build the system from source us

Re: Building -current incrementally.

2024-09-25 Thread Christian Schulte
On 9/26/24 07:15, Otto Moerbeek wrote: > On Thu, Sep 26, 2024 at 06:38:00AM +0200, Christian Schulte wrote: > >> So I installed 7.5-stable on a VPS and that kernel panicked during >> installation >> several times. I then grabbed a 7.6-current image and installed the sy

Re: Building -current incrementally.

2024-09-27 Thread Christian Schulte
On 9/26/24 10:47, Philip Guenther wrote: > On Thu, Sep 26, 2024 at 12:30 AM Christian Schulte wrote: >> >> On 9/26/24 07:15, Otto Moerbeek wrote: >>> On Thu, Sep 26, 2024 at 06:38:00AM +0200, Christian Schulte wrote: > ... >>>> Accidentally ran make in /u

Re: Building -current incrementally.

2024-09-27 Thread Christian Schulte
On 9/26/24 10:43, Stuart Henderson wrote: > On 2024-09-26, Christian Schulte wrote: >> I am keen on knowing how those snapshots are build. Do they really wipe >> out everything and then do a fresh build - lasting nearly 24h here for >> me. I doubt it. > > That's

Re: Building -current incrementally.

2024-09-27 Thread Christian Schulte
On 9/27/24 11:21, Zé Loff wrote: > > On Fri, Sep 27, 2024 at 09:39:07AM +0200, Christian Schulte wrote: >> On 9/26/24 10:43, Stuart Henderson wrote: >>> On 2024-09-26, Christian Schulte wrote: >>>> I am keen on knowing how those snapshots are build. Do they re

Re: pf.conf(5): How to implement sendmail's connection/rate control features with pf?

2024-09-25 Thread Christian Schulte
On 9/25/24 14:31, Peter N. M. Hansteen wrote: > On Wed, Sep 25, 2024 at 02:26:18PM +0200, Peter N. M. Hansteen wrote: >> Another related set of examples and explanations can be found in the blog >> post > > I sense a complete URL would have been beneficial here, as in > > https://nxdomain.no/~p

pf.conf(5): How to implement sendmail's connection/rate control features with pf?

2024-09-25 Thread Christian Schulte
Hello @misc, I am currently searching for a way to implement sendmail's connection control features using pf. In sendmail I am using: dnl # Define connection throttling and window length define(`confCONNECTION_RATE_THROTTLE', `15')dnl define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl dnl # Stop

Re: Memory upgrade

2024-10-17 Thread Christian Schulte
On 10/17/24 17:03, Stuart Henderson wrote: > On 2024-10-17, Christian Schulte wrote: >> On 10/17/24 09:40, Stuart Henderson wrote: >>> On 2024-10-16, Christian Schulte wrote: >>>> >>>> No. That's what seems to went wrong when going from i386 to am

Re: Memory upgrade

2024-10-17 Thread Christian Schulte
On 10/17/24 18:10, Christian Schulte wrote: > On 10/17/24 17:03, Stuart Henderson wrote: >> On 2024-10-17, Christian Schulte wrote: >>> On 10/17/24 09:40, Stuart Henderson wrote: >>>> On 2024-10-16, Christian Schulte wrote: >>>>> >>>>>

Re: malloc_trim(3) alternative in OpenBSD?

2025-02-06 Thread Christian Schulte
On 2/7/25 04:56, Daniel Wilkins wrote: > On Fri, Feb 07, 2025 at 03:37:31AM +0100, Christian Schulte wrote: >> Hi @misc, >> >> does OpenBSD provide something equivalent to Linux' malloc_trim(3)[1]? I >> am yet to port an application from Linux to OpenBSD and that

libjwt available in ports?

2025-02-06 Thread Christian Schulte
Hi @misc, is this library [1] available in ports? I could not find it and the API is very volatile. It's in current Debian stable but the API there already is outdated as well. Would it make sense to port it to OpenBSD? How to deal with developers providing such libraries breaking API/ABI with eve

malloc_trim(3) alternative in OpenBSD?

2025-02-06 Thread Christian Schulte
Hi @misc, does OpenBSD provide something equivalent to Linux' malloc_trim(3)[1]? I am yet to port an application from Linux to OpenBSD and that application is making use of malloc_trim(3). I removed the calls to malloc_trim(3) from that application while still running on Linux and it seems it real

Need some advice on C semantics.

2024-12-12 Thread Christian Schulte
Hi @misc, is there something specific for OpenBSD like style(9) but for semantics? I understand that style(9) is all about syntax. As a long term Java developer having lost all interest in Java, I am searching for something like PMD, Checkstyle etc. for C and rules OpenBSD developers tend to adher

Re: Need some advice on C semantics.

2024-12-12 Thread Christian Schulte
On 12/12/24 12:13, Kirill A. Korinsky wrote: > On Thu, 12 Dec 2024 11:54:29 +0100, > Christian Schulte wrote: >> >> is there something specific for OpenBSD like style(9) but for semantics? >> I understand that style(9) is all about syntax. As a long term Java >> deve

Re: Need some advice on C semantics.

2024-12-12 Thread Christian Schulte
On 12/12/24 16:38, Janne Johansson wrote: >> and things like that. In Java, we always had some CI server checking >> various design guidelines like >> >> A method should have only one return statement. >> >> and things like this. In C this is very different due to e.g. lack of >> exceptions and so.

Re: Need some advice on C semantics.

2024-12-17 Thread Christian Schulte
On 12/13/24 12:26, Maxim wrote: > Christian Schulte, 2024-12-12 11:54 +0100: >> is there something specific for OpenBSD like style(9) but for semantics? > > I believe such document doesn't exist. As it's been suggested to you, > reading and learning for the codebase

Re: Need some advice on C semantics.

2024-12-18 Thread Christian Schulte
On 12/18/24 06:46, Geoff Steckel wrote: > On 12/17/24 7:17 PM, Christian Schulte wrote: >> Thank you very much. That's indeed what I was looking for. Those >> undefined behaviour pitfalls. This just does not exist in the Java >> Virtual Machine specification - or - wh

Re: SMTPD start failed - table-proc: unexpected EOF during handshake

2024-11-21 Thread Christian Schulte
On 11/21/24 11:04, Danny König wrote: > Hi, >   > after upgrading from 7.5 to 7.6 smtpd won't start anymore. Nothing else > has changed. Packages has been updated (pkg_add -u). >   > Any ideas on how to fix this? > > # smtpd -d > info: OpenSMTPD 7.6.0 starting > credentials[98842]: warn: table-api

How to parallelization

2024-12-23 Thread Christian Schulte
Hello everybody, as a long time (decades) Java developer now converting to bare metal C, I would like to ask about how to do parallelization properly. The poor man's approach the Java APIs implement pretty much resemble what every one else is doing. Take the number of processors available in a sys

Re: How to parallelization

2024-12-23 Thread Christian Schulte
On 12/23/24 17:03, Jan Stary wrote: > On Dec 23 14:55:30, c...@schulte.it wrote: >> things. I am searching for some kind of system API allowing an >> application to reserve a certain amount of CPUs exclusively - not shared >> with any other application - maybe not even the OS. > > If that existed,

Re: How to parallelization

2024-12-23 Thread Christian Schulte
On 12/23/24 17:37, Geoff Steckel wrote: > On 12/23/24 11:20 AM, Gábor LENCSE wrote: >> Under Linux, one can use the isolcpus kernel command line >> parameter to exclude certain cores from the scheduler. >> I use the DPDK rte_eal_remote_launch() function to start a thread on >> an isolated CPU core.

Re: How to parallelization

2024-12-23 Thread Christian Schulte
On 12/23/24 19:43, Christian Schulte wrote: > On 12/23/24 17:37, Geoff Steckel wrote: >> On 12/23/24 11:20 AM, Gábor LENCSE wrote: >>> Under Linux, one can use the isolcpus kernel command line >>> parameter to exclude certain cores from the scheduler. >>>

Re: How to parallelization

2024-12-25 Thread Christian Schulte
On 12/23/24 22:23, Geoff Steckel wrote: > On 12/23/24 1:43 PM, Christian Schulte wrote: >> Not criticizing OpenBSD in any way. Let me try to explain a common use >> case. There is a data source capable of providing X bytes per second at >> max. The application needs to be