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,