OpenBSD 7.4 in virtualize env

2024-05-24 Thread Sven F.
Hello, Sometimes, rarely, across multiple version ( did not see it in 7.5 so far ) the log `scsi_xfer pool exhausted` just get spammed forever, It doesn't crash, the device just spam the message , so it s active I do not have a way to create the problem , but, i wonder if the code could be

net.inet.ip.multipath=1 ( ~7.5 )

2024-03-13 Thread Sven F.
Wow, You guys "fixed" it But it does strange stuff for example it fails the last icmp of a ping, but only the last ( ping -c 4 => 25 loss, ping -c 10 => 10 % loss ) Binding the source address fix it ( ping -I do something ) These is new behavior to me, Is there some updated guideline to stick

Re: How to use randon outgoing network aliases?

2024-03-12 Thread Sven F.
On Tue, Mar 12, 2024 at 10:03 AM Joel Carnat wrote: > > Hi, > > I have a server with a single NIC but several IPs configured: > # cat /etc/hostname.vio0 > inet 192.0.2.10 255.255.255.0 > inet alias 192.0.2.11 255.255.255.0 > inet alias 192.0.2.12 255.255.255.0 > > The default gateway is set to

Re: GENERIC.MP#1600 last snapshot cvs cant create tmp subdir

2024-01-17 Thread Sven F.
On Wed, Jan 17, 2024 at 12:26 PM Nick Holland wrote: > > On 1/17/24 12:07, Todd C. Miller wrote: > > On Wed, 17 Jan 2024 11:11:36 -0500, "Sven F." wrote: > > > >> well i tried anoncvs.spacehopper.org after the fail and then > >> anoncvs.comstyle.co

Re: GENERIC.MP#1600 last snapshot cvs cant create tmp subdir

2024-01-17 Thread Sven F.
On Wed, Jan 17, 2024 at 11:04 AM Todd C. Miller wrote: > > That looks like a problem on the cvs server, not the client. > What cvs server are you trying to checkout from? > > - todd well i tried anoncvs.spacehopper.org after the fail and then anoncvs.comstyle.com ( default one is in the trace,

Re: GENERIC.MP#1600 last snapshot cvs cant create tmp subdir

2024-01-17 Thread Sven F.
On Wed, Jan 17, 2024 at 10:47 AM Theo de Raadt wrote: > > You removed the relevant part of the ktrace, so noone can help. okay, i only cut the file content (no modification) and the very end here 94418 ktrace RET ktrace 0 94418 ktrace CALL mmap(0,0x5e,0x3,0x1002,-1,0) 94418 ktrace

GENERIC.MP#1600 last snapshot cvs cant create tmp subdir

2024-01-17 Thread Sven F.
Quite confusing -bash-5.2$ cd /usr/src -bash-5.2$ mkdir /tmp/cc -bash-5.2$ cvs diff can't create temporary directory /tmp/cvs-serv11343 No space left on device -bash-5.2$ uname -a OpenBSD snaps.lan 7.4 GENERIC.MP#1600 amd64 -bash-5.2$ mount | grep tmp ; df -hl | grep tmp /dev/sd0d on /tmp type

Re: dhcpleased[59824]: sendto: Permission denied

2023-07-03 Thread Sven F.
On Mon, Jul 3, 2023 at 7:42 AM Mark wrote: > > I'm getting (I think once per day) "dhcpleased[59824]: sendto: Permission > denied" error message in my daemon and messages log files. > > I think that's happening due to my PF configuration. > > This is a VPS, getting it's IP from my server

Re: High Interrupt After 7.3 Upgrade

2023-05-31 Thread Sven F.
On Wed, May 31, 2023 at 5:27 PM Stuart Henderson wrote: > On 2023-05-31, Mark (obsd) wrote: > > Hi Chris, > > > > On Tue, May 30, 2023 at 8:59 AM Chris Cappuccio > wrote: > > > >> Samuel Jayden [samueljaydan1...@gmail.com] wrote: > >> > Hi again, > >> > > >> > Just for the record: > >> > I've

piped process kernel priority ( non nice prio ) - 7.3

2023-05-24 Thread Sven F.
Dear readers, running something like `syslogc -f debug | grep there` with syslogd configured to get some in memory logs ``` # grep debug /etc/syslog.conf *.* :32:debug ``` The system configures the piped program at -6 Prio. # ps ax -o pid -o pri -o command | grep '\-6' 98090 -6

Re: acme-client fails to renew certificate

2023-04-12 Thread Sven F.
acme-client: /var/www/acme/2b9DyMVkYZGU3RNgxaywEc0uHLFp2E8RtOrQotGXugk: created probably some typo in your conf file On Wed, Apr 12, 2023 at 9:38 AM wrote: > > I started having some problems with cert renewal using acme-client after > upgrading to 7.3 (not really sure 7.3 has anything to do

Question regarding (kernel?) Priority and perl

2023-04-11 Thread Sven F.
Dear readers, I have an openBSD just freshly updated to 7.3. Amazing release, Thank you I run ttyd on it, a tty over http small demon and because i like log level i run a custom rc script nothing fancy here : daemon_user=support rc_bg=YES and in rc_start su -fl -c ${daemon_class} -s /bin/sh

Re: Possible Bug - 7.1 stable - scsi_xfer pool exhausted

2022-12-03 Thread Sven F.
On Sat, Dec 3, 2022 at 12:08 PM Stuart Henderson wrote: > > On 2022-12-03, Sven F. wrote: > > Bit sad the kernel stopped working thought. > > AFAIK the main options available at that point are: > > deadlocks waiting for resources > detect the problem and randomly kil

Re: Possible Bug - 7.1 stable - scsi_xfer pool exhausted

2022-12-03 Thread Sven F.
On Sat, Dec 3, 2022 at 6:44 AM Stuart Henderson wrote: > On 2022-12-02, Sven F. wrote: > > On Fri, Dec 2, 2022 at 11:33 AM Stuart Henderson > > wrote: > >> > >> On 2022-12-02, Sven F. wrote: > >> > Hello, > >> > > >> > M

Re: Possible Bug - 7.1 stable - scsi_xfer pool exhausted

2022-12-02 Thread Sven F.
On Fri, Dec 2, 2022 at 11:33 AM Stuart Henderson wrote: > > On 2022-12-02, Sven F. wrote: > > Hello, > > > > Main problem is the kernel goes into a loop and never break, > > so no ddb > > I have similar setups (same driver and stack) , and this one only

Possible Bug - 7.1 stable - scsi_xfer pool exhausted

2022-12-02 Thread Sven F.
Hello, Main problem is the kernel goes into a loop and never break, so no ddb I have similar setups (same driver and stack) , and this one only is more prone to the error, even if the virt / qemu driver is partly responsible the kernel should not loop the `scsi_xfer pool exhausted` message for

Re: testing 7.2-beta ( tftpd )

2022-07-28 Thread Sven F.
On Wed, Jul 27, 2022 at 6:39 PM Sven F. wrote: > Dear readers, > > I ran tftpd like this : > > route -T 10 exec /usr/sbin/tftpd -d -v -c -l 192.168.2.1 /var/tftpd > > when trying to upload , it created an empty file in /var/tftpd > > # ls -ld /var/tftpd/; ls -l

testing 7.2-beta ( tftpd )

2022-07-27 Thread Sven F.
Dear readers, I ran tftpd like this : route -T 10 exec /usr/sbin/tftpd -d -v -c -l 192.168.2.1 /var/tftpd when trying to upload , it created an empty file in /var/tftpd # ls -ld /var/tftpd/; ls -l /var/tftpd/ drwxr-xr-x 2 _tftpd wheel 512 Jul 27 18:31 /var/tftpd/ total 4 -rw-rw-rw- 1

Re: Additional information required for cputime

2022-06-27 Thread Sven F.
On Mon, Jun 27, 2022 at 1:51 PM Otto Moerbeek wrote: > On Mon, Jun 27, 2022 at 11:02:25AM -0400, Sven F. wrote: > > > Dear readers, > > > > Beside source code, > > > > # man login.conf | grep cputime > > cputimetime C

Additional information required for cputime

2022-06-27 Thread Sven F.
Dear readers, Beside source code, # man login.conf | grep cputime cputimetime CPU usage limit. Is there any other information or examples about that parameter ? SO far if found : `cputime = pp->p_rtime_sec + ((pp->p_rtime_usec + 50) / 100);`

Re: Convert a Linux VPS to OpenBSD

2022-06-20 Thread Sven F.
On Mon, Jun 20, 2022 at 11:54 AM Étienne wrote: > Hello there, > > This is a bit of a long shot, but I'm trying my luck: There used to be a > community thread on Scaleway's documentation website that explained how > to convert a Linux instance to an OpenBSD instance, because no OpenBSD > ISO

Re: PF table issue on 7.1-Current

2022-06-07 Thread Sven F.
On Tue, Jun 7, 2022 at 11:34 AM Zé Loff wrote: > > On Tue, Jun 07, 2022 at 04:26:11PM +0300, Barbaros Bilek wrote: > > Hello Misc, > > > > I think there is an issue about PF tables at current. > > Here my working PF config sample before 7.1-Current. > > block log quick inet from > > pfctl -f

Re: First time using filter-dkimsign with smtpd

2022-06-01 Thread Sven F.
On Wed, Jun 1, 2022 at 3:13 PM Sven F. wrote: > > Hello, > > I run openSMTPD on openbsd7.1, i was about to send this to openSMTP > mailing list, but i think it s openbsd/chroot/static sendmail related > > I just found out about `filter-dkimsign` , follow up on the ma

First time using filter-dkimsign with smtpd

2022-06-01 Thread Sven F.
Hello, I run openSMTPD on openbsd7.1, i was about to send this to openSMTP mailing list, but i think it s openbsd/chroot/static sendmail related I just found out about `filter-dkimsign` , follow up on the man and installation instructions . and have the filter running : `_dkimsig 61499 0.0 0.0

hostnames in syslogd

2022-04-25 Thread Sven F.
Dear readers, After modifying the hostname as device.project with `hostname device.project` and in /etc/myname and starting a syslogd debug instance with -h , i see the hostname logged is only 'device' not 'device.project' This could be a feature, as a hostname is not a FQDN but it looks

question regarding rc.d multi daemon tool and synmlink

2022-03-23 Thread Sven F.
Dear reader, according to the rc.d man: -- daemon_class is a special read-only variable. It is set to "daemon" unless there is a login class configured in login.conf(5) with the same name as the rc.d script itself, in which case it will be set to that login class. This allows setting many

Re: Please put vi in base

2022-03-12 Thread Sven F.
On Sat, Mar 12, 2022 at 2:25 PM Sebastien Marie wrote: > On Sat, Mar 12, 2022 at 08:00:10PM +0100, i...@tutanota.com wrote: > > > > > > > Why does the ramdisk not include /usr/bin/vi by default? To date, > > > it is the only UNIX-like environment I have ever seen without some > > > form of vi. >

Fwd: Accounts Updates

2021-11-05 Thread Sven F.
zeitzone ? -- Forwarded message - From: source-changes Date: Fri, Nov 5, 2021 at 9:00 AM Subject: Accounts Updates To: Verify account Your account has been listed source-changes Sign-in details Email : source-chan...@openbsd.org Date: 11/5/2021 6:53:26 a.m. All

Re: send help ( chroot php fpm refuse to exec/popen/procopen... on 7.0 )

2021-10-26 Thread Sven F.
On Tue, Oct 26, 2021 at 11:13 AM Stuart Henderson wrote: > On 2021-10-26, Sven F. wrote: > > exec ('/usr/sbin/ksh -c "echo a"', $output, $retval); > > echo ''; > > echo "Returned with status $retval and output:\n"; > .. > > Returned wit

send help ( chroot php fpm refuse to exec/popen/procopen... on 7.0 )

2021-10-26 Thread Sven F.
}{ello, I updated a device and use php fpm on openbsd 7.0 everything works fine after putting a resolv file in the chroot but i can't send email from the chroot I hope I didn't see something obvious. to troubleshoot i drop the ksh inside the chroot /var/www/usr/sbin/ksh: Start

For those who are not aware how mutex work in mp world like me

2021-09-09 Thread Sven F.
This seems a good source with the ref to LOCK in x86 ( which is support to make any instruction atomic across cores :o ) http://www.moserware.com/2008/09/how-do-locks-lock.html If someone with knowledge can confirm it is decent reading. ( apparently other cpu use other stuff.. i wonder how it is

Re: WireGuard host crashes roughly every week

2021-07-29 Thread Sven F.
looks like OOM problem, Send dmesg, keep a window withlog open, monitor your memory usage with something also send some conf On Thu, Jul 29, 2021 at 9:11 PM Matt P. wrote: > > Hi all. > > I have an OpenBSD box that breaks after a week or so of running. All network > traffic stops reaching the

Re: enqueue_randomness from userland ?

2021-07-20 Thread Sven F.
On Tue, Jul 20, 2021 at 1:41 PM Theo de Raadt wrote: > > The entropy subsystem is complete. > > There is no need to do anything more. > I saw that reading adds entropy back, if the subsystem is complete out of the box that would make https://man.openbsd.org/omrng or

enqueue_randomness from userland ?

2021-07-20 Thread Sven F.
Dear readers, Is it possible to call `enqueue_randomness` from userland ? Looks like `echo 'something' > /dev/random` would not work but `ttyinput(int c, struct tty *tp)` is calling it so maybe echo 'something' > /dev/tty00 would ( but my guess it doesn't either ) as i cannot 'input command'

6.8 stable `fatal protection fault in supervisor mode` backtrace

2021-07-12 Thread Sven F.
Dear reader, I will try to run more up to date, but sometimes it takes time to get those kinds of bugs, so following current is not really an option . I do not know if something can be done with that since i do not have the core file fatal protection fault in supervisor mode trap type 4 code 0

Re: Source of the spin

2021-06-30 Thread Sven F.
On Wed, Jun 30, 2021 at 4:15 AM Stuart Henderson wrote: > > On 2021-06-29, Sven F. wrote: > > Dear readers, > > > > I probably did something silly again, > > Could you help with a bit of knowledge around performance ? > > My openbsd CPU (6.8) is spinning a lo

Source of the spin

2021-06-29 Thread Sven F.
Dear readers, I probably did something silly again, Could you help with a bit of knowledge around performance ? My openbsd CPU (6.8) is spinning a lot : 0.0%Int 53.1%Spn 25.8%Sys 19.6%Usr 1.4%Idle * Is this bad ? * What kind of basic operation ( like basic shell scripting ) could do

Re: Adding a prompt on the installer before overwriting the partition table

2021-06-28 Thread Sven F.
On Mon, Jun 28, 2021 at 10:55 AM Theo de Raadt wrote: > > Parodper wrote: > > > I think there should be a prompt in the installer before overwriting the > > partition tables. The current behavior is, when selecting the whole > > disk, to overwrite the partition table directly. > > Isn't it kind

Re: go-1.16.2 out of memory when building Go written program

2021-06-23 Thread Sven F.
On Wed, Jun 23, 2021 at 2:03 PM Martin wrote: > > Hi list, > > I try to build terraform-provider-aws and terraform-provider-google. > > $ go build > > produces an error "out of memory" . > > May it be malloc related issue or how to fix it in other way? > > Thank you for answer in advance. > >

Re: Prometheus on OpenBSD - does it work?

2021-06-15 Thread Sven F.
On Tue, Jun 15, 2021 at 11:47 AM Claudio Jeker wrote: > > On Tue, Jun 15, 2021 at 04:24:08PM +0200, Julien Pivotto wrote: > > Hello, > > > > I am a Prometheus maintainer and we have received a bug regarding > > Prometheus - prometheus would no longer work on OpenBSD since we > > introduced MMAP:

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-25 Thread Sven F.
On Thu, Feb 25, 2021 at 8:38 PM Steven Shockley wrote: > > On 2/23/2021 4:04 PM, Stuart Henderson wrote: > > Oops, on interfaces *without* hw checksum offloading, like this: > > > > $ ifconfig em0 hwfeatures > > em0: flags=8843 mtu 1500 > > hwfeatures=10 hardmtu 9216 > > .. > > I can try

Re: snapshot of today, pkg_add -u changed behaviour

2021-02-24 Thread Sven F.
On Wed, Feb 24, 2021 at 12:06 PM Stuart Henderson wrote: > > On 2021-02-24, Marcus MERIGHI wrote: > > Hello! > > > > I just ugraded two machines to the snapshot of the day: > > > > OpenBSD 6.9-beta (GENERIC.MP) #357: Tue Feb 23 22:09:48 MST 2021 > >

Re: 6.9 and (EFI/blackscreen) and UKC

2021-02-11 Thread Sven F.
On Thu, Feb 11, 2021 at 5:12 PM wrote: > > Having the same issue, since about a year ago > https://marc.info/?l=openbsd-bugs=160575016004118=2 > I do not see the model of the graphic card in your dmesg ? mine is HD 5500 I know HD630 is working way better, i tried to look at patches around

6.9 and (EFI/blackscreen) and UKC

2021-02-11 Thread Sven F.
Dear readers, Following some advice, i am trying to boot> boot -c UKC> disable inteldrm UKC> quit on 6.9 - beta that was advertised for testing. I have an error : `kbc: cmd word write error` and I cannot enter anything in UKC prompt It s quite problematic and overall disabling driver is

Re: bsd.rd ok , bsd explodes, trying to get traces

2021-02-09 Thread Sven F.
On Tue, Feb 9, 2021 at 3:59 PM Sven F. wrote: > > On Tue, Feb 9, 2021 at 3:45 PM Sven F. wrote: > > > > Dear readers, > > > > I found a computer which behaves oddly. > > Only EFI boot is supported, I usually go the MBR way. > > The bios looks like

Re: bsd.rd ok , bsd explodes, trying to get traces

2021-02-09 Thread Sven F.
On Tue, Feb 9, 2021 at 3:45 PM Sven F. wrote: > > Dear readers, > > I found a computer which behaves oddly. > Only EFI boot is supported, I usually go the MBR way. > The bios looks like a classic AMibios Intel stuff. > The cpu is intel and there's an intel HD5500 gr

bsd.rd ok , bsd explodes, trying to get traces

2021-02-09 Thread Sven F.
Dear readers, I found a computer which behaves oddly. Only EFI boot is supported, I usually go the MBR way. The bios looks like a classic AMibios Intel stuff. The cpu is intel and there's an intel HD5500 graphic card ( trying to extract proper dmesg fails so far ) When booting 6.8 basic amd64

Re: Wireguard config and confusions

2021-01-05 Thread Sven F.
On Tue, Jan 5, 2021 at 4:58 PM Peter Fraser wrote: > I did get it work, but it took a lot of tries caused by my confusion. > I hope this message speed up other who try to configure wireguard. > I was trying to connect a windows 10 computer to an OpenBsd computer. > The problem was the OpenBSD

sshfs user on OpenBSD

2020-11-03 Thread Sven F.
Are you experiencing massive memory usage and or leaks in sshfs ? I think I Do

Logs, ' modernity', and stdout - daemon that log on stdout - prometheus

2020-10-19 Thread Sven F.
Many new software for ' reason ' think STDOUT is a logging interface. Of course level may become complex , and nothing stops the new https://www.freedesktop.org/software/systemd/man/sd-daemon.html * no comment * The prometheus package just uses the nice rcctl tool to daemonize and pipe to logger

Re: Inphi CS4223 for 4x 10GbE SFP+

2020-10-19 Thread Sven F.
On Mon, Oct 19, 2020 at 10:55 AM Stuart Henderson wrote: > > On 2020-10-19, Harald Dunkel wrote: > > Hi folks, > > > > I am about to order 2 network appliances, providing an > > "Inphi CS4223 for 4x 10GbE SFP+". > > This is the PHY (physical interface layer) not the NIC type itself. > Since the

A few questions regarding WG(4)

2020-09-28 Thread Sven F.
Dear reader, i tested 6.8-beta and WG After going for behind NAT to behind NAT experiment , i went for two 'clients' behind a NAT to an openBSD device with a public IP called here 'Server' First of all , a minor detail, unless I thought wgport was not optional because the ifconfig output will

Re: pf.conf parser/lint

2020-09-04 Thread Sven F.
On Fri, Sep 4, 2020 at 10:51 AM Tommy Nevtelen wrote: > > Hi there misc! > > Is there an external pfctl linter? we have bunch pf firwalls for which > we generate rules but also write some manual ones that get merged. Would > be nice if we could lint the rules before committed to vcs.. (yes we >

Re: pf, send(2) and EACCES

2020-08-27 Thread Sven F.
On Thu, Aug 27, 2020 at 3:30 PM Daniel Jakots wrote: > > Hi, > > I'm chasing a weird behavior with postgresql. Sometimes (it's very > infrequent) a sql request fails with "could not send data to client: > Permission denied". I reported the problem on pgsql-general@ [0] and if > I understood

Re: sysctl and panic

2020-08-04 Thread Sven F.
On Tue, Aug 4, 2020 at 7:25 PM Philip Guenther wrote: > > On Tue, Aug 4, 2020 at 12:23 PM Sven F. wrote: > ... >> >> # sysctl -w ddb.panic=1 >> sysctl: ddb.panic: Operation not permitted > > ... >> >> Is this expected and can be set only early in boo

sysctl and panic

2020-08-04 Thread Sven F.
Dear readers, About to upgrade devices, the device did not reboot on panic (6.4 stable) and i ' d like to see kernel crash in new version # sysctl -w ddb.panic=1 sysctl: ddb.panic: Operation not permitted wait what ?? # id uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty),

Re: softraid/bioctl cant find device /dev/bio

2020-08-03 Thread Sven F.
On Mon, Aug 3, 2020 at 2:09 PM Brian Brombacher wrote: > > > > On Aug 3, 2020, at 12:22 PM, sven falempin > wrote: > > > > On Mon, Aug 3, 2020 at 12:00 PM Brian Brombacher > > wrote: > > > >> > >> > >> On Aug 3, 2020, at 11:51 AM, sven falempin > >> wrote: > >> > >>  > >> > >> > >>> On Mon,