Re: Strange network/socket anomalies since about a month

2024-04-24 Thread Alexander Leidinger
Am 2024-04-22 18:12, schrieb Gleb Smirnoff: There were several preparatory commits that were not reverted and one of them had a bug. The bug manifested itself as failure to send(2) zero bytes over unix/stream. It was fixed with e6a4b57239dafc6c944473326891d46d966c0264. Can you please check

Strange network/socket anomalies since about a month

2024-04-22 Thread Alexander Leidinger
Hi, I see a higher failure rate of socket/network related stuff since a while. Those failures are transient. Directly executing the same thing again may or may not result in success/failure. I'm not able to reproduce this at will. Sometimes they show up. Examples: - poudriere runs with the

Re: Multiple issues with current (kldload failures, missing CTF stuff, pty issues, ...)

2024-03-31 Thread Alexander Leidinger
Am 2024-03-29 18:21, schrieb Alexander Leidinger: Am 2024-03-29 18:13, schrieb Mark Johnston: On Fri, Mar 29, 2024 at 04:52:55PM +0100, Alexander Leidinger wrote: Hi, sources from 2024-03-11 work. Sources from 2024-03-25 and today don't work (see below for the issue). As the monthly

Re: Multiple issues with current (kldload failures, missing CTF stuff, pty issues, ...)

2024-03-29 Thread Alexander Leidinger
Am 2024-03-29 18:13, schrieb Mark Johnston: On Fri, Mar 29, 2024 at 04:52:55PM +0100, Alexander Leidinger wrote: Hi, sources from 2024-03-11 work. Sources from 2024-03-25 and today don't work (see below for the issue). As the monthly stabilisation pass didn't find obvious issues

Multiple issues with current (kldload failures, missing CTF stuff, pty issues, ...)

2024-03-29 Thread Alexander Leidinger
Hi, sources from 2024-03-11 work. Sources from 2024-03-25 and today don't work (see below for the issue). As the monthly stabilisation pass didn't find obvious issues, it is something related to my setup: - not a generic kernel - very modular kernel (as much as possible as a module) -

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-11 Thread Alexander Leidinger
Am 2024-03-10 22:57, schrieb Konstantin Belousov: We are already low on the free bits in the flags, even after expanding them to 64bit. More, there are useful common fs services continuously consuming that flags, e.g. the recent NFS TLS options. I object against using the flags for

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-09 Thread Alexander Leidinger
Am 2024-03-09 15:27, schrieb Rick Macklem: On Sat, Mar 9, 2024 at 5:08 AM Alexander Leidinger wrote: Am 2024-03-09 06:07, schrieb Warner Losh: > On Thu, Mar 7, 2024 at 1:05 PM Jamie Landeg-Jones > wrote: > >> Alexander Leidinger wrote: >> >>> Hi, >>&

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-09 Thread Alexander Leidinger
Am 2024-03-09 06:07, schrieb Warner Losh: On Thu, Mar 7, 2024 at 1:05 PM Jamie Landeg-Jones wrote: Alexander Leidinger wrote: Hi, what is the reason why "nocache" is not displayed in the output of "mount" for nullfs options? Good catch. I also notice that "hi

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-07 Thread Alexander Leidinger
Am 2024-03-07 14:59, schrieb Christos Chatzaras: what is the reason why "nocache" is not displayed in the output of "mount" for nullfs options? # grep packages /etc/fstab.commit_leidinger_net /shared/ports/packages /space/jails/commit.leidinger.net/shared/ports/packages

Reason why "nocache" option is not displayed in "mount"?

2024-03-07 Thread Alexander Leidinger
Hi, what is the reason why "nocache" is not displayed in the output of "mount" for nullfs options? # grep packages /etc/fstab.commit_leidinger_net /shared/ports/packages /space/jails/commit.leidinger.net/shared/ports/packages nullfs rw,noatime,nocache 0 0 # mount |

Re: February 2024 stabilization week

2024-02-24 Thread Alexander Leidinger
Am 2024-02-24 21:18, schrieb Konstantin Belousov: On Fri, Feb 23, 2024 at 08:34:21PM -0800, Gleb Smirnoff wrote: Hi FreeBSD/main users, the February 2024 stabilization week started with 03cc3489a02d that was tagged as main-stabweek-2024-Feb. At the moment of the tag creation we already

Re: sanitizers broken (was RE: libc/libsys split coming soon)

2024-02-22 Thread Alexander Leidinger
Am 2024-02-21 10:52, schrieb hartmut.bra...@dlr.de: Hi, I updated yesterday and now event a minimal program with cc -fsanitize=address produces ld: error: undefined symbol: __elf_aux_vector referenced by sanitizer_linux_libcdep.cpp:950

Re: segfault in ld-elf.so.1

2024-02-13 Thread Alexander Leidinger
Am 2024-02-13 01:58, schrieb Konstantin Belousov: On Mon, Feb 12, 2024 at 11:54:02AM +0200, Konstantin Belousov wrote: On Mon, Feb 12, 2024 at 10:35:56AM +0100, Alexander Leidinger wrote: > Hi, > > dovecot (and no other program I use on this machine... at least not that I > notice i

kernel crash in tcp_subr.c:2386

2024-02-12 Thread Alexander Leidinger
Hi, I got a coredump with sources from 2024-02-10-144617 (GMT+0100): ---snip--- __curthread () at /space/system/usr_src/sys/amd64/include/pcpu_aux.h:57 57 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu, (kgdb) #0 __curthread () at

segfault in ld-elf.so.1

2024-02-12 Thread Alexander Leidinger
Hi, dovecot (and no other program I use on this machine... at least not that I notice it) segfaults in ld-elf.so.1 after an update from 2024-01-18-092730 to 2024-02-10-144617 (and now 2024-02-11-212006 in the hope the issue would have been fixed by changes to libc/libsys since 2024-02-10-144617).

Re: noatime on ufs2

2024-01-29 Thread Alexander Leidinger
Am 2024-01-30 01:21, schrieb Warner Losh: On Mon, Jan 29, 2024 at 2:31 PM Olivier Certner wrote: It also seems undesirable to add a sysctl to control a value that the kernel doesn't use. The kernel has to use it to guarantee some uniform behavior irrespective of the mount being performed

Re: Removing fdisk and bsdlabel (legacy partition tools)

2024-01-26 Thread Alexander Leidinger
Am 2024-01-25 18:49, schrieb Rodney W. Grimes: On Thu, Jan 25, 2024, 9:11?AM Ed Maste wrote: > On Thu, 25 Jan 2024 at 11:00, Rodney W. Grimes > wrote: > > > > > These will need to be addressed before actually removing any of these > > > binaries, of course. > > > > You seem to have missed

Re: noatime on ufs2

2024-01-14 Thread Alexander Leidinger
Am 2024-01-15 00:08, schrieb Olivier Certner: Hi Warner, The consensus was we'd fix it in the installer. Isn't speaking about a "consensus", at least as a general response to the idea of making 'noatime' the default, a little premature? I have more to say on this topic (see below). Also,

Re: noatime on ufs2

2024-01-12 Thread Alexander Leidinger
Am 2024-01-11 18:15, schrieb Rodney W. Grimes: Am 2024-01-10 22:49, schrieb Mark Millard: > I never use atime, always noatime, for UFS. That said, I'd never > propose > changing the long standing defaults for commands and calls. I'd avoid: [good points I fully agree on] There's one

Re: noatime on ufs2

2024-01-10 Thread Alexander Leidinger
Am 2024-01-10 22:49, schrieb Mark Millard: I never use atime, always noatime, for UFS. That said, I'd never propose changing the long standing defaults for commands and calls. I'd avoid: [good points I fully agree on] There's one possibility which nobody talked about yet... changing the

Re: ZFS problems since recently ?

2024-01-02 Thread Alexander Leidinger
Am 2024-01-02 08:22, schrieb Kurt Jaeger: Hi! The sysctl for block cloning is vfs.zfs.bclone_enabled. To check if a pool has made use of block cloning: zpool get all poolname | grep bclone One more thing: I have two pools on that box, and one of them has some bclone files: # zpool get

Re: bridge(4) and IPv6 broken?

2024-01-01 Thread Alexander Leidinger
Am 2024-01-02 00:40, schrieb Lexi Winter: hello, i'm having an issue with bridge(4) and IPv6, with a configuration which is essentially identical to a working system running releng/14.0. ifconfig: lo0: flags=1008049 metric 0 mtu 16384 options=680003 inet 127.0.0.1 netmask

Re: ZFS problems since recently ?

2024-01-01 Thread Alexander Leidinger
Am 2023-12-31 19:34, schrieb Kurt Jaeger: I already have vfs.zfs.dmu_offset_next_sync=0 which is supposed to disable block-cloning. It isn't. This one is supposed to fix an issue which is unrelated to block cloning (but can be amplified by block cloning). This issue is fixed since some

What is rc.d/opensm?

2023-11-24 Thread Alexander Leidinger
Hi, for my work on service jails (https://reviews.freebsd.org/D40370) I try to find out what opensm is. On my amd64 system I don't have a man page nor the binary (and man.freebsd.org doesn't know either about opensm). Bye, Alexander. -- http://www.Leidinger.net alexan...@leidinger.net: PGP

Re: openzfs and block cloning question

2023-11-24 Thread Alexander Leidinger
Am 2023-11-24 08:10, schrieb Oleksandr Kryvulia: Hi, Recently cperciva@ published in his twitter [1] that enabling block cloning feature tends to data lost on 14.  Is this statement true for the current? Since I am using current for daily work and block cloning enabled by default how can I

Re: Request for Testing: TCP RACK

2023-11-17 Thread Alexander Leidinger
Am 2023-11-17 14:29, schrieb void: On Thu, Nov 16, 2023 at 10:13:05AM +0100, tue...@freebsd.org wrote: You can load the kernel module using kldload tcp_rack You can make the RACK stack the default stack using sysctl net.inet.tcp.functions_default=rack Hi, thank you for this.

Re: poudriere job && find jobs which received signal 11

2023-10-18 Thread Alexander Leidinger
Am 2023-10-18 09:54, schrieb Matthias Apitz: Hello, I'm compiling with poudriere on 14.0-CURRENT 1400094 amd64 "my" ports, from git October 14, 2023. In the last two day 2229 packages were produced fine, on job failed (p5-Gtk2-1.24993_3 for been known broken). This morning I was looking for

Re: issue: poudriere jail update fails after recent changes around certctl

2023-10-14 Thread Alexander Leidinger
Am 2023-10-13 17:42, schrieb Dag-Erling Smørgrav: Alexander Leidinger writes: some change around certctl (world from 2023-10-09) has broken the poudriere jail update command. The complete install finishes, certctl is run, and then there is an exit code 1. This is because I have some certs

issue: poudriere jail update fails after recent changes around certctl

2023-10-13 Thread Alexander Leidinger
Hi, some change around certctl (world from 2023-10-09) has broken the poudriere jail update command. The complete install finishes, certctl is run, and then there is an exit code 1. This is because I have some certs listed as untrusted, and this seems to give a retval of 1 inside certctl.

Re: git: 989c5f6da990 - main - freebsd-update: create deep BEs by default [really about if -r for bectl create should just go away]

2023-10-12 Thread Alexander Leidinger
Am 2023-10-12 07:08, schrieb Mark Millard: I use the likes of: BE Active Mountpoint Space Created build_area_for-main-CA72 - - 1.99G 2023-09-20 10:19 main-CA72NR / 4.50G 2023-09-21 10:10 NAME

base-krb5 issues (segfaults when adding principals in openssl)

2023-10-03 Thread Alexander Leidinger
Hi, has someone else issues with krb5 on -current when adding principals? With -current as of 2023-09-11 I get a segfault in openssl: ---snip--- Reading symbols from /usr/bin/kadmin... Reading symbols from /usr/lib/debug//usr/bin/kadmin.debug... [New LWP 270171] btCore was generated by `kadmin

Re: Speed improvements in ZFS

2023-09-15 Thread Alexander Leidinger
Am 2023-09-15 13:40, schrieb George Michaelson: Not wanting to hijack threads I am interested if any of this can translate back up tree and make Linux ZFS faster. And, if there are simple sysctl tuning worth trying in large (tb) memory model pre 14 FreeBSD systems with slow zfs. Older

Re: Speed improvements in ZFS

2023-09-15 Thread Alexander Leidinger
Am 2023-09-04 14:26, schrieb Mateusz Guzik: On 9/4/23, Alexander Leidinger wrote: Am 2023-08-28 22:33, schrieb Alexander Leidinger: Am 2023-08-22 18:59, schrieb Mateusz Guzik: On 8/22/23, Alexander Leidinger wrote: Am 2023-08-21 10:53, schrieb Konstantin Belousov: On Mon, Aug 21, 2023

Re: sed in CURRENT fails in textproc/jq

2023-09-11 Thread Alexander Leidinger
Am 2023-09-10 18:53, schrieb Robert Clausecker: Hi Warner, Thank you for your response. Am Sun, Sep 10, 2023 at 09:53:03AM -0600 schrieb Warner Losh: On Sun, Sep 10, 2023, 7:36 AM Robert Clausecker wrote: > Hi Warner, > > I have pushed a fix. It should hopefully address those failing

Re: 100% CPU time for sysctl command, not killable

2023-09-07 Thread Alexander Leidinger
Am 2023-09-03 21:22, schrieb Alexander Leidinger: Am 2023-09-02 16:56, schrieb Mateusz Guzik: On 8/20/23, Alexander Leidinger wrote: Hi, sysctl kern.maxvnodes=1048576000 results in 100% CPU and a non-killable sysctl program. This is somewhat unexpected... fixed here https

Re: Speed improvements in ZFS

2023-09-04 Thread Alexander Leidinger
Am 2023-08-28 22:33, schrieb Alexander Leidinger: Am 2023-08-22 18:59, schrieb Mateusz Guzik: On 8/22/23, Alexander Leidinger wrote: Am 2023-08-21 10:53, schrieb Konstantin Belousov: On Mon, Aug 21, 2023 at 08:19:28AM +0200, Alexander Leidinger wrote: Am 2023-08-20 23:17, schrieb Konstantin

Re: 100% CPU time for sysctl command, not killable

2023-09-03 Thread Alexander Leidinger
Am 2023-09-02 16:56, schrieb Mateusz Guzik: On 8/20/23, Alexander Leidinger wrote: Hi, sysctl kern.maxvnodes=1048576000 results in 100% CPU and a non-killable sysctl program. This is somewhat unexpected... fixed here https://cgit.freebsd.org/src/commit/?id

Re: 100% CPU time for sysctl command, not killable

2023-08-30 Thread Alexander Leidinger
Am 2023-08-20 21:23, schrieb Alexander Leidinger: Am 2023-08-20 18:55, schrieb Mina Galić: procstat(1) kstack could be helpful here. Original Message On 20 Aug 2023, 17:29, Alexander Leidinger alexan...@leidinger.net> wrote: Hi, sysctl kern.maxvnodes=1048576000 resu

Re: Possible issue with linux xattr support?

2023-08-29 Thread Alexander Leidinger
Am 2023-08-29 21:31, schrieb Felix Palmen: * Shawn Webb [20230829 15:25]: On Tue, Aug 29, 2023 at 09:15:03PM +0200, Felix Palmen wrote: > * Kyle Evans [20230829 14:07]: > > On 8/29/23 14:02, Shawn Webb wrote: > > > Back in 2019, I had a similar issue: I needed access to be able to > > >

Re: Possible issue with linux xattr support?

2023-08-29 Thread Alexander Leidinger
Am 2023-08-29 21:02, schrieb Shawn Webb: Back in 2019, I had a similar issue: I needed access to be able to read/write to the system extended attribute namespace from within a jailed context. I wrote a rather simple patch that provides that support on a per-jail basis:

Re: Speed improvements in ZFS

2023-08-28 Thread Alexander Leidinger
Am 2023-08-22 18:59, schrieb Mateusz Guzik: On 8/22/23, Alexander Leidinger wrote: Am 2023-08-21 10:53, schrieb Konstantin Belousov: On Mon, Aug 21, 2023 at 08:19:28AM +0200, Alexander Leidinger wrote: Am 2023-08-20 23:17, schrieb Konstantin Belousov: > On Sun, Aug 20, 2023 at 11:07:0

Re: Possible issue with linux xattr support?

2023-08-28 Thread Alexander Leidinger
Am 2023-08-28 13:06, schrieb Dmitry Chagin: On Sun, Aug 27, 2023 at 09:55:23PM +0200, Felix Palmen wrote: * Dmitry Chagin [20230827 22:46]: > I can fix this completely disabling exttatr for jailed proc, > however, it's gonna be bullshit, though Would probably be better than nothing. AFAIK,

Re: Speed improvements in ZFS

2023-08-21 Thread Alexander Leidinger
Am 2023-08-21 10:53, schrieb Konstantin Belousov: On Mon, Aug 21, 2023 at 08:19:28AM +0200, Alexander Leidinger wrote: Am 2023-08-20 23:17, schrieb Konstantin Belousov: > On Sun, Aug 20, 2023 at 11:07:08PM +0200, Mateusz Guzik wrote: > > On 8/20/23, Alexander Leidinger wrote: > &g

Re: Speed improvements in ZFS

2023-08-21 Thread Alexander Leidinger
Am 2023-08-20 23:17, schrieb Konstantin Belousov: On Sun, Aug 20, 2023 at 11:07:08PM +0200, Mateusz Guzik wrote: On 8/20/23, Alexander Leidinger wrote: > Am 2023-08-20 22:02, schrieb Mateusz Guzik: >> On 8/20/23, Alexander Leidinger wrote: >>> Am 2023-08-20 19:10, sch

Re: Speed improvements in ZFS

2023-08-20 Thread Alexander Leidinger
Am 2023-08-20 22:02, schrieb Mateusz Guzik: On 8/20/23, Alexander Leidinger wrote: Am 2023-08-20 19:10, schrieb Mateusz Guzik: On 8/18/23, Alexander Leidinger wrote: I have a 51MB text file, compressed to about 1MB. Are you interested to get it? Your problem is not the vnode limit

Re: Speed improvements in ZFS

2023-08-20 Thread Alexander Leidinger
Am 2023-08-20 19:10, schrieb Mateusz Guzik: On 8/18/23, Alexander Leidinger wrote: I have a 51MB text file, compressed to about 1MB. Are you interested to get it? Your problem is not the vnode limit, but nullfs. https://people.freebsd.org/~mjg/netchild-periodic-find.svg 122 nullfs

Re: 100% CPU time for sysctl command, not killable

2023-08-20 Thread Alexander Leidinger
Am 2023-08-20 18:55, schrieb Mina Galić: procstat(1) kstack could be helpful here. Original Message On 20 Aug 2023, 17:29, Alexander Leidinger alexan...@leidinger.net> wrote: Hi, sysctl kern.maxvnodes=1048576000 results in 100% CPU and a non-killable sysctl prog

100% CPU time for sysctl command, not killable

2023-08-20 Thread Alexander Leidinger
Hi, sysctl kern.maxvnodes=1048576000 results in 100% CPU and a non-killable sysctl program. This is somewhat unexpected... Bye, Alexander. -- http://www.Leidinger.net alexan...@leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.orgnetch...@freebsd.org : PGP 0x8F31830F9F2772BF

Re: Speed improvements in ZFS

2023-08-18 Thread Alexander Leidinger
Am 2023-08-16 18:48, schrieb Alexander Leidinger: Am 2023-08-15 23:29, schrieb Mateusz Guzik: On 8/15/23, Alexander Leidinger wrote: Am 2023-08-15 14:41, schrieb Mateusz Guzik: With this in mind can you provide: sysctl kern.maxvnodes vfs.wantfreevnodes vfs.freevnodes vfs.vnodes_created

Re: Speed improvements in ZFS

2023-08-16 Thread Alexander Leidinger
Am 2023-08-15 23:29, schrieb Mateusz Guzik: On 8/15/23, Alexander Leidinger wrote: Am 2023-08-15 14:41, schrieb Mateusz Guzik: With this in mind can you provide: sysctl kern.maxvnodes vfs.wantfreevnodes vfs.freevnodes vfs.vnodes_created vfs.numvnodes vfs.recycles_free vfs.recycles After

Re: Speed improvements in ZFS

2023-08-15 Thread Alexander Leidinger
Am 2023-08-15 14:41, schrieb Mateusz Guzik: With this in mind can you provide: sysctl kern.maxvnodes vfs.wantfreevnodes vfs.freevnodes vfs.vnodes_created vfs.numvnodes vfs.recycles_free vfs.recycles After a reboot: kern.maxvnodes: 10485760 vfs.wantfreevnodes: 2621440 vfs.freevnodes: 24696

Re: Strange network issues with -current

2023-08-15 Thread Alexander Leidinger
Am 2023-08-15 14:24, schrieb Alexander Leidinger: Am 2023-08-15 13:48, schrieb Alexander Leidinger: since a while I have some strange network issues in some parts of a particular system. I just stumbled upon the mail which discusses issues with commit e3ba0d6adde3, and when I look

Re: Strange network issues with -current

2023-08-15 Thread Alexander Leidinger
Am 2023-08-15 13:48, schrieb Alexander Leidinger: since a while I have some strange network issues in some parts of a particular system. I just stumbled upon the mail which discusses issues with commit e3ba0d6adde3, and when I look into this I see changes related to the use of SO_REUSEPORT

Speed improvements in ZFS

2023-08-15 Thread Alexander Leidinger
Hi, just a report that I noticed a very high speed improvement in ZFS in -current. Since a looong time (at least since last year), for a jail-host of mine with about >20 jails on it which each runs periodic daily, the periodic daily runs of the jails take from about 3 am to 5pm or longer. I

Strange network issues with -current

2023-08-15 Thread Alexander Leidinger
Hi, since a while I have some strange network issues in some parts of a particular system. A build with src from 2023-07-26 was still working ok. An update to 2023-08-07 broke some parts in a strange way. I tried again with src from 2023-08-11 didn't fix things. What I see is... strange

Re: kernel: sonewconn: pcb 0xfffff8002b255a00 (local:/var/run/devd.seqpacket.pipe): Listen queue overflow: 1 already in queue awaiting acceptance (60 occurrences), ?

2023-06-21 Thread Alexander Leidinger
Quoting Gary Jennejohn (from Tue, 20 Jun 2023 14:41:41 +): On Tue, 20 Jun 2023 12:04:13 +0200 Alexander Leidinger wrote: "listen X backlog=y" and "sysctl kern.ipx.somaxconn=X" for FreeBSD On my FreeBSD14 system these things are all under kern.ip

Re: kernel: sonewconn: pcb 0xfffff8002b255a00 (local:/var/run/devd.seqpacket.pipe): Listen queue overflow: 1 already in queue awaiting acceptance (60 occurrences), ?

2023-06-20 Thread Alexander Leidinger
Quoting Gary Jennejohn (from Tue, 20 Jun 2023 07:41:08 +): On Tue, 20 Jun 2023 06:25:05 +0100 Graham Perrin wrote: Please, what's the meaning of the sonewconn lines? sonewconn is described in socket(9). Below a copy/paste of the description from socket(9): Protocol

Re: Surprise null root password

2023-05-31 Thread Alexander Leidinger
Quoting bob prohaska (from Tue, 30 May 2023 08:36:21 -0700): I suggest to review changes ("df" instead of "tf" in etcupdate) to at least those files which you know you have modified, including the password/group stuff. After that you can decide if the diff which is shown with "df" can be

Re: Surprise null root password

2023-05-30 Thread Alexander Leidinger
Quoting bob prohaska (from Fri, 26 May 2023 16:26:06 -0700): On Fri, May 26, 2023 at 10:55:49PM +0200, Yuri wrote: The question is how you update the configuration files, mergemaster/etcupdate/something else? Via etcupdate after installworld. In the event the system requests manual

Re: change in compat/linux breaking net/citrix_ica

2023-04-26 Thread Alexander Leidinger
Quoting Jakob Alvermark (from Wed, 26 Apr 2023 09:01:00 +0200): Hi, I use net/citrix_ica for work. After a recent change to -current in compat/linux it no longer works. The binary just segfaults. What does "sysctl compat.linux.osrelease" display? If it is not 2.6.30 or higher, try

Re: git: 2a58b312b62f - main - zfs: merge openzfs/zfs@431083f75

2023-04-13 Thread Alexander Leidinger
Quoting Mark Millard (from Wed, 12 Apr 2023 22:28:13 -0700): A fair number of errors are of the form: the build installing a previously built package for use in the builder but later the builder can not find some file from the package's installation. As a data point, last year I had such

Re: py-libzfs build failure on current, zpool_search_import() missing

2023-02-08 Thread Alexander Leidinger
Quoting Ryan Moeller (from Fri, 3 Feb 2023 10:48:35 -0500): The build still fails on -current as of end of Jan with "too few argument to function call, expected 4, have 3" for zfs_iter_filesystems. Is a patch for openzfs in -current missing? I haven't seen a commit to -current in openzfs in

Re: py-libzfs build failure on current, zpool_search_import() missing

2023-02-02 Thread Alexander Leidinger
Quoting Ryan Moeller (from Thu, 2 Feb 2023 10:43:53 -0500): I've updated the py-libzfs port to fix the build. The build still fails on -current as of end of Jan with "too few argument to function call, expected 4, have 3" for zfs_iter_filesystems. Is a patch for openzfs in -current

Re: py-libzfs build failure on current, zpool_search_import() missing

2023-02-02 Thread Alexander Leidinger
Quoting Alan Somers (from Thu, 2 Feb 2023 06:58:35 -0700): Unfortunately libzfs doesn't have a stable API, so this kind of breakage is to be expected. libzfs_core does, but libzfs_core is incomplete. You should report this problem upstream at https://github.com/truenas/py-libzfs . I did

py-libzfs build failure on current, zpool_search_import() missing

2023-02-02 Thread Alexander Leidinger
Hi, the build of py-libzfs fails on -current due to a missing zpool_search_import(), and as such iocage can not be build (and the old iocage segfaults, so the ABI seems to have changed too). The symbol is available in libzutil, but I can not find zpool_search_import() in /usr/include.

Re: RFC: nfsd in a vnet jail

2022-12-01 Thread Alexander Leidinger
Quoting Alan Somers (from Tue, 29 Nov 2022 17:28:10 -0700): On Tue, Nov 29, 2022 at 5:21 PM Rick Macklem wrote: So, what do others think of enforcing the requirement that each jail have its own file systems for this? I think that's a totally reasonable requirement. Especially so for

Re: ULE realtime scheduler advice needed

2022-11-18 Thread Alexander Leidinger
Quoting Hans Petter Selasky (from Fri, 18 Nov 2022 05:47:58 +0100): Hi, I'm doing some work with audio and have noticed some problems with the ULE scheduler. I have a program that generate audio based on key-presses. When no keys are pressed, the load is near 0%, but as soon as you

Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-12 Thread Alexander Leidinger
Quoting Warner Losh (from Wed, 9 Nov 2022 08:54:33 -0700): On Wed, Nov 9, 2022 at 5:46 AM Alexander Leidinger wrote: While most of these options look OK on the surface, I'd feel a lot better if there were tests for these to prove they work. I'd also feel better if the ZFS experts could

Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-09 Thread Alexander Leidinger
Quoting "Patrick M. Hausen" (from Wed, 9 Nov 2022 22:47:28 +0100): Hi, Am 09.11.2022 um 22:38 schrieb Patrick M. Hausen : Am 09.11.2022 um 22:26 schrieb Alexander Leidinger : On quick look I haven't found a place where a compatibility setting is used for the rpool during th

Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-09 Thread Alexander Leidinger
Quoting Brooks Davis (from Wed, 9 Nov 2022 21:18:41 +): On Wed, Nov 09, 2022 at 09:19:47PM +0100, Alexander Leidinger wrote: Quoting Mark Millard (from Wed, 9 Nov 2022 12:10:18 -0800): > On Nov 9, 2022, at 11:58, Alexander Leidinger > wrote: > >> Quoting "Patri

Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-09 Thread Alexander Leidinger
Quoting "Patrick M. Hausen" (from Wed, 9 Nov 2022 22:11:29 +0100): Hi, Am 09.11.2022 um 22:05 schrieb Alexander Leidinger : Attention, "upgrade" is overloaded here. "OS upgrade" will not render the pool unbootable (modulo bugs), but "zpool up

Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-09 Thread Alexander Leidinger
Quoting Warner Losh (from Wed, 9 Nov 2022 13:53:59 -0700):   On Wed, Nov 9, 2022 at 12:47 PM Alexander Leidinger wrote: Quoting Warner Losh (from Wed, 9 Nov 2022 08:54:33 -0700): as well. I'd settle for a good script that could be run as root (better would be not as root

Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-09 Thread Alexander Leidinger
Quoting Warner Losh (from Wed, 9 Nov 2022 13:56:43 -0700): On Wed, Nov 9, 2022 at 1:54 PM Patrick M. Hausen wrote: Hi Warner, > Am 09.11.2022 um 21:51 schrieb Warner Losh : > Yes. For safety, boot loader upgrade is mandatory when you do a zpool upgrade of the root filesystem. > It was

Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-09 Thread Alexander Leidinger
Quoting "Patrick M. Hausen" (from Wed, 9 Nov 2022 21:19:23 +0100): Hi, Am 09.11.2022 um 21:15 schrieb Alexander Leidinger : Quoting "Patrick M. Hausen" (from Wed, 9 Nov 2022 21:02:52 +0100): Yet, I made it a habit to whenever I see this message: --- st

Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-09 Thread Alexander Leidinger
Quoting Mark Millard (from Wed, 9 Nov 2022 12:10:18 -0800): On Nov 9, 2022, at 11:58, Alexander Leidinger wrote: Quoting "Patrick M. Hausen" (from Wed, 9 Nov 2022 20:49:37 +0100): Hi, Am 09.11.2022 um 20:45 schrieb Alexander Leidinger : But "zpool set feature@edon

Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-09 Thread Alexander Leidinger
Quoting "Patrick M. Hausen" (from Wed, 9 Nov 2022 21:02:52 +0100): Hi, Am 09.11.2022 um 20:58 schrieb Alexander Leidinger : Quoting "Patrick M. Hausen" (from Wed, 9 Nov 2022 20:49:37 +0100): Hi, Am 09.11.2022 um 20:45 schrieb Alexander Leidinger : But &quo

Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-09 Thread Alexander Leidinger
Quoting "Patrick M. Hausen" (from Wed, 9 Nov 2022 20:49:37 +0100): Hi, Am 09.11.2022 um 20:45 schrieb Alexander Leidinger : But "zpool set feature@edonr=enabled rpool" (or any other feature not in the list we talk about) would render it unbootable. Sorry, just to b

Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-09 Thread Alexander Leidinger
Quoting Warner Losh (from Wed, 9 Nov 2022 08:54:33 -0700): as well. I'd settle for a good script that could be run as root (better would be not as root) that would take a filesystem that was created by makefs -t zfs and turn on these features after an zpool upgrade. I have the vague outlines

Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-09 Thread Alexander Leidinger
Quoting "Patrick M. Hausen" (from Wed, 9 Nov 2022 20:02:55 +0100): Hi all, Am 09.11.2022 um 16:54 schrieb Warner Losh : >>There is a fixed list of features we support in the boot loader: >>[...] >>Any feature not on this list will cause the boot loader to >> reject the pool.

Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-09 Thread Alexander Leidinger
Quoting Warner Losh (from Wed, 9 Nov 2022 08:54:33 -0700): On Wed, Nov 9, 2022 at 5:46 AM Alexander Leidinger wrote: Quoting Alexander Leidinger (from Tue, 08 Nov 2022 10:50:53 +0100): > Should the above list be sorted in some way? Maybe in the same order > as the zpool-features

changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

2022-11-09 Thread Alexander Leidinger
Quoting Alexander Leidinger (from Tue, 08 Nov 2022 10:50:53 +0100): Quoting Warner Losh (from Mon, 7 Nov 2022 14:23:11 -0700):   On Mon, Nov 7, 2022 at 4:15 AM Alexander Leidinger wrote: Quoting Li-Wen Hsu (from Mon, 7 Nov 2022 03:39:19 GMT): The branch main has been

Re: Did clang 14 lose some intrinsics support?

2022-09-26 Thread Alexander Leidinger
Quoting Dimitry Andric (from Mon, 26 Sep 2022 12:03:03 +0200): Sure, but if you are compiling without -mavx, why would you want the AVX intrinsics? You cannot use AVX intrinsics anyway, if AVX is not enabled. So I don't fully understand the problem this configure scripting is supposed to

Re: Good practices with bectl

2022-09-21 Thread Alexander Leidinger
Quoting David Wolfskill (from Wed, 21 Sep 2022 03:25:52 -0700): On Wed, Sep 21, 2022 at 11:27:06AM +0200, Alexander Leidinger wrote: ... make DESTDIR=${BASEDIR} -DBATCH_DELETE_OLD_FILES delete-old delete-old-libs Usually I replace the delete-old-libs with check-old, as I don't want

Re: Good practices with bectl

2022-09-21 Thread Alexander Leidinger
Quoting Alan Somers (from Tue, 20 Sep 2022 16:19:49 -0600): sudo bectl activate ${RELEASE} Failsafe (if the machine is too far away to simply walk over and switch to the old BE): bectl activate -t ${RELEASE} Needs an activate without -t later. Bye, Alexander. --

Re: Good practices with bectl

2022-09-21 Thread Alexander Leidinger
Quoting Nuno Teixeira (from Wed, 21 Sep 2022 00:11:41 +0100): (...) maybe: > yes | make DESTDIR=${BASEDIR} delete-old delete-old-libs make DESTDIR=${BASEDIR} -DBATCH_DELETE_OLD_FILES delete-old delete-old-libs Usually I replace the delete-old-libs with check-old, as I don't want

Re: domain names and internationalization?

2022-09-19 Thread Alexander Leidinger
Quoting Rick Macklem (from Mon, 19 Sep 2022 20:27:29 +): Hi, Recently there has been discussion on the NFSv4 IETF working group email list w.r.t. internationalization for the domain name it uses for users/groups. Right now, I am pretty sure the FreeBSD nfsuserd(8) only works for ascii

Re: nullfs and ZFS issues

2022-04-26 Thread Alexander Leidinger
Quoting Eirik Øverby (from Mon, 25 Apr 2022 18:44:19 +0200): On Mon, 2022-04-25 at 15:27 +0200, Alexander Leidinger wrote: Quoting Alexander Leidinger (from Sun, 24 Apr 2022 19:58:17 +0200): > Quoting Alexander Leidinger (from Fri, 22 > Apr 2022 09:04:39 +0200): > > &g

Re: nullfs and ZFS issues

2022-04-25 Thread Alexander Leidinger
Quoting Alexander Leidinger (from Sun, 24 Apr 2022 19:58:17 +0200): Quoting Alexander Leidinger (from Fri, 22 Apr 2022 09:04:39 +0200): Quoting Doug Ambrisko (from Thu, 21 Apr 2022 09:38:35 -0700): I've attached mount.patch that when doing mount -v should show the vnode usage per

Re: nullfs and ZFS issues

2022-04-24 Thread Alexander Leidinger
Quoting Alexander Leidinger (from Fri, 22 Apr 2022 09:04:39 +0200): Quoting Doug Ambrisko (from Thu, 21 Apr 2022 09:38:35 -0700): I've attached mount.patch that when doing mount -v should show the vnode usage per filesystem. Note that the problem I was running into was after some

Re: nullfs and ZFS issues

2022-04-22 Thread Alexander Leidinger
Quoting Doug Ambrisko (from Thu, 21 Apr 2022 09:38:35 -0700): On Thu, Apr 21, 2022 at 03:44:02PM +0200, Alexander Leidinger wrote: | Quoting Mateusz Guzik (from Thu, 21 Apr 2022 | 14:50:42 +0200): | | > On 4/21/22, Alexander Leidinger wrote: | >> I tried nocache on a system w

Re: nullfs and ZFS issues

2022-04-21 Thread Alexander Leidinger
Quoting Mateusz Guzik (from Thu, 21 Apr 2022 14:50:42 +0200): On 4/21/22, Alexander Leidinger wrote: I tried nocache on a system with a lot of jails which use nullfs, which showed very slow behavior in the daily periodic runs (12h runs in the night after boot, 24h or more in subsequent

Re: nullfs and ZFS issues

2022-04-21 Thread Alexander Leidinger
Quoting Doug Ambrisko (from Wed, 20 Apr 2022 09:20:33 -0700): On Wed, Apr 20, 2022 at 11:39:44AM +0200, Alexander Leidinger wrote: | Quoting Doug Ambrisko (from Mon, 18 Apr 2022 | 16:32:38 -0700): | | > With nullfs, nocache and settings max vnodes to a low number I can | | Where is noca

Re: nullfs and ZFS issues

2022-04-20 Thread Alexander Leidinger
Quoting Doug Ambrisko (from Mon, 18 Apr 2022 16:32:38 -0700): With nullfs, nocache and settings max vnodes to a low number I can Where is nocache documented? I don't see it in mount_nullfs(8), mount(8) or nullfs(5). I tried a nullfs mount with nocache and it doesn't show up in the

Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-12 Thread Alexander Leidinger
Quoting Thomas Laus (from Tue, 12 Apr 2022 11:17:09 +): On 4/11/22 14:18, Ronald Klop wrote: On 4/11/22 17:17, Dennis Clarke wrote: Did the usual git pull origin main and buildworld/buildkernel but after installkernel the machine will not boot. The rev seems to be

Re: injecting vars into rc-service-scripts at jail-start?

2022-04-01 Thread Alexander Leidinger
Quoting Jens Schweikhardt (from Fri, 1 Apr 2022 14:26:27 +0200 (CEST)): Identifier confusion? You use _rc_svcs and _rc_svcj in your description. Typo s/svcs/svcj/ in the explanation. The diff/code has the vars correct (svcj) and the conditional and the setting are close to each

injecting vars into rc-service-scripts at jail-start?

2022-04-01 Thread Alexander Leidinger
Hi, I'm overlooking something fundamental it seems... Context: I'm working on my auto-jailing of services idea: if the auto-jail is enabled, a service like syslog is started inside a jail (which inherits the FS and depending on some settings also inherits network and other stuff or not).

Re: What are the in-kernel functions to print human readable timestamps (bintime)?

2022-03-12 Thread Alexander Leidinger
Quoting Warner Losh (from Fri, 11 Mar 2022 08:57:33 -0700): On Fri, Mar 11, 2022 at 2:52 AM Alexander Leidinger wrote: Hi, I'm looking for a function to convert bintime to a human readable format in the kernel... and what is the usual format we use? Yes. We don't generally log

What are the in-kernel functions to print human readable timestamps (bintime)?

2022-03-11 Thread Alexander Leidinger
Hi, I'm looking for a function to convert bintime to a human readable format in the kernel... and what is the usual format we use? The use case for this is: if something throws a log from the kernel about a signal, I want to know when it happened, or in terms of code see below (tabs are

What are the in-kernel functions to format time?

2022-03-11 Thread Alexander Leidinger
Hi, I'm looking for a function to convert bintime to a human readable format in the kernel... and what is the usual format we use? The use case for this is: if something throws a log from the kernel about a signal, I want to know when it happened, or in terms of code see below (tabs are

Re: ZFS PANIC: HELP.

2022-02-26 Thread Alexander Leidinger
Quoting Larry Rosenman (from Fri, 25 Feb 2022 20:03:51 -0600): On 02/25/2022 2:11 am, Alexander Leidinger wrote: Quoting Larry Rosenman (from Thu, 24 Feb 2022 20:19:45 -0600): I tried a scrub -- it panic'd on a fatal double fault.  Suggestions? The safest / cleanest

  1   2   3   4   5   6   7   >