daily CVS update output

2022-07-13 Thread NetBSD source update


Updating src tree:
P src/distrib/amd64/liveimage/emuimage/rc.conf.emuimage
P src/sys/kern/kern_event.c
P src/sys/sys/event.h

Updating xsrc tree:
P xsrc/external/mit/encodings/dist/ChangeLog
P xsrc/external/mit/encodings/dist/Makefile.in
P xsrc/external/mit/encodings/dist/README.md
U xsrc/external/mit/encodings/dist/aclocal.m4
P xsrc/external/mit/encodings/dist/armscii-8.enc
P xsrc/external/mit/encodings/dist/compile
P xsrc/external/mit/encodings/dist/config.guess
P xsrc/external/mit/encodings/dist/config.sub
P xsrc/external/mit/encodings/dist/configure
P xsrc/external/mit/encodings/dist/configure.ac
P xsrc/external/mit/encodings/dist/dec-special.enc
P xsrc/external/mit/encodings/dist/ibm-cp437.enc
P xsrc/external/mit/encodings/dist/ibm-cp850.enc
P xsrc/external/mit/encodings/dist/ibm-cp866.enc
P xsrc/external/mit/encodings/dist/install-sh
P xsrc/external/mit/encodings/dist/iso8859-11.enc
P xsrc/external/mit/encodings/dist/iso8859-6.16.enc
P xsrc/external/mit/encodings/dist/iso8859-6.8x.enc
P xsrc/external/mit/encodings/dist/microsoft-cp1250.enc
P xsrc/external/mit/encodings/dist/microsoft-cp1252.enc
P xsrc/external/mit/encodings/dist/microsoft-cp1253.enc
P xsrc/external/mit/encodings/dist/microsoft-cp1254.enc
P xsrc/external/mit/encodings/dist/microsoft-cp1255.enc
P xsrc/external/mit/encodings/dist/microsoft-cp1256.enc
P xsrc/external/mit/encodings/dist/microsoft-cp1257.enc
P xsrc/external/mit/encodings/dist/microsoft-cp1258.enc
P xsrc/external/mit/encodings/dist/microsoft-win3.1.enc
P xsrc/external/mit/encodings/dist/missing
P xsrc/external/mit/encodings/dist/mulearabic-0.enc
P xsrc/external/mit/encodings/dist/mulearabic-1.enc
P xsrc/external/mit/encodings/dist/mulearabic-2.enc
P xsrc/external/mit/encodings/dist/mulelao-1.enc
P xsrc/external/mit/encodings/dist/suneu-greek.enc
P xsrc/external/mit/encodings/dist/tcvn-0.enc
P xsrc/external/mit/encodings/dist/tis620-2.enc
P xsrc/external/mit/encodings/dist/viscii1.1-1.enc
P xsrc/external/mit/encodings/dist/large/Makefile.in
P xsrc/external/mit/font-util/dist/ChangeLog
P xsrc/external/mit/font-util/dist/Makefile.in
P xsrc/external/mit/font-util/dist/README.md
U xsrc/external/mit/font-util/dist/aclocal.m4
P xsrc/external/mit/font-util/dist/compile
P xsrc/external/mit/font-util/dist/config.guess
P xsrc/external/mit/font-util/dist/config.h.in
P xsrc/external/mit/font-util/dist/config.sub
P xsrc/external/mit/font-util/dist/configure
P xsrc/external/mit/font-util/dist/configure.ac
P xsrc/external/mit/font-util/dist/depcomp
P xsrc/external/mit/font-util/dist/install-sh
P xsrc/external/mit/font-util/dist/missing
P xsrc/external/mit/font-util/dist/ucs2any.c
P xsrc/external/mit/font-util/dist/man/Makefile.in
P xsrc/external/mit/font-util/dist/man/ucs2any.man
P xsrc/external/mit/libX11/dist/ChangeLog
P xsrc/external/mit/libX11/dist/Makefile.in
P xsrc/external/mit/libX11/dist/README.md
P xsrc/external/mit/libX11/dist/aclocal.m4
P xsrc/external/mit/libX11/dist/compile
P xsrc/external/mit/libX11/dist/config.guess
P xsrc/external/mit/libX11/dist/config.sub
P xsrc/external/mit/libX11/dist/configure
P xsrc/external/mit/libX11/dist/configure.ac
P xsrc/external/mit/libX11/dist/cpprules.in
P xsrc/external/mit/libX11/dist/depcomp
P xsrc/external/mit/libX11/dist/ltmain.sh
P xsrc/external/mit/libX11/dist/missing
P xsrc/external/mit/libX11/dist/test-driver
P xsrc/external/mit/libX11/dist/include/Makefile.in
P xsrc/external/mit/libX11/dist/include/X11/XKBlib.h
P xsrc/external/mit/libX11/dist/include/X11/Xlib.h
P xsrc/external/mit/libX11/dist/include/X11/Xlibint.h
P xsrc/external/mit/libX11/dist/include/X11/extensions/XKBgeom.h
U xsrc/external/mit/libX11/dist/m4/libtool.m4
U xsrc/external/mit/libX11/dist/m4/ltoptions.m4
U xsrc/external/mit/libX11/dist/m4/ltsugar.m4
U xsrc/external/mit/libX11/dist/m4/ltversion.m4
U xsrc/external/mit/libX11/dist/m4/lt~obsolete.m4
P xsrc/external/mit/libX11/dist/man/Makefile.in
P xsrc/external/mit/libX11/dist/man/XrmUniqueQuark.man
P xsrc/external/mit/libX11/dist/man/xkb/Makefile.in
P xsrc/external/mit/libX11/dist/man/xkb/XkbActionCtrls.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbAddGeomColor.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbAddGeomKeyAlias.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbAddGeomOverlayKey.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbAddGeomProperty.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbBell.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbBellEvent.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbChangeMap.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbChangeNames.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbChangeTypesOfKey.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbCopyKeyTypes.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbFindOverlayForKey.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbGetBounceKeysDelay.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbGetControlsChanges.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbGetSlowKeysDelay.man
P xsrc/external/mit/libX11/dist/man/xkb/XkbKeyAction.man
P 

Re: i386/amd64 image generated trough mkimage stuck on primary bootsrap at boot

2022-07-13 Thread br0nko
--- Original Message ---
On Sunday, July 10th, 2022 at 10:47 AM, RVP  wrote:

> Right. After ~10 hours of doing `build.sh release' I have a patch. However, 
> I'm not at all certain that this script is meant to be used on the x86 arch. 
> because: a) It only seems to be used by the evbarm and evbmips builds. b)` 
> build live-image' already works (better!) than this script.
>
> c) it does very odd things:
> 1. writes a partition table and an MBR.
> 2. promptly over-writes it with the primary bootstrap (PBR) and the
> disklabel, so the system actually boots directly from the PBR.
>
> Still, here's the patch:
>
> ---
> diff -urN a/distrib/utils/embedded/mkimage b/distrib/utils/embedded/mkimage
> --- a/distrib/utils/embedded/mkimage 2021-09-25 08:54:30.0 +
> +++ b/distrib/utils/embedded/mkimage 2022-07-10 08:18:03.575853000 +
> @@ -255,7 +255,7 @@
> echo ${bar} Populating ffs filesystem ${bar}
> ${MAKEFS} -rx ${endian} -N ${release}/etc -t ffs \
> -O ${ffsoffset} \
> - -o d=4096,f=8192,b=65536 -b $((${extra}))m \
> + -o d=8192,f=2048,b=16384 -b $((${extra}))m \
> -F "$tmp/selected_sets" ${image} "${release}" "${mnt}"
> fi
>
> ---
>
> 1. Make sure you pass the `-r sd' or` -r wd' flags, otherwise, the script
> defaults to `ld' and builds an /etc/fstab with that baked in. 2. This doesn't 
> produce a very good live image as a) there's hardly any free space left over, 
> and b) it doesn't grow the root partition like` build.sh live-image' does.
>
> I'm don't know what this little oddball script is doing in the Guide...
>
> -RVP

I confirm that the image is bootable with your patch, thank you !!! As you said 
already, it lack the resize capability, which make the image somehow useless 
since it run out of space at first boot. I did try "resize_root=YES" in rc.conf 
without any luck.

I did end-up by using the live-image. The only missing piece for me was the 
"fstab_minwrites" (which is still relevant in 2022 seeing the price of CF card).
For the record: 
http://rich-tbp.blogspot.com/2013/03/netbsd-on-rpi-minimizing-disk-writes.html

br0nko


Re: iscsi target on a zfs zvol?

2022-07-13 Thread Brian Buhrow
Hello.  While this is orthogonal to the task you're working on in this 
e-mail, I'll note
that you'll get much better read-write performance if you create a standard zfs 
filesystem for
your time machine backup, then create a regular file in it which you export via 
iscsi.  I
discovered this the hard way after years of wondering why I couldn't get zvols 
to give me the
performance I expected.  The performance difference is on the order of 4-5 
times beter with
files under zfs than with zvols.

-thanks
-Brian


Re: pgdaemon high CPU consumption

2022-07-13 Thread Matthias Petermann

Hello,

On 10.07.22 19:14, Matthias Petermann wrote:
thanks for this reference... it matches pretty much my observations. I 
did a lot of attempts to tune maxvnodes during the last days, but the 
pgdaemon issue remained. Ultimately I suspect it is also responsible for 
the reproducible system lock-ups during ZFS send.


I am about to revert the patch from the PR above on my system and re-try.

Kind regards
Matthias



I can now confirm that reverting the patch also solved my problem. Of 
course I first fell into the trap, because I had not considered that the 
ZFS code is loaded as a module and had only changed the kernel. As a 
result, it looked at first as if this would not help. Finally it did...I 
am now glad that I can use a zfs send again in this way. This previously 
led reproducibly to a crash, whereby I could not make backups. This is 
critical for me and I would like to support tests regarding this.


In contrast to the PR, there are hardly any xcalls in my use case - 
however, my system only has 4 CPU cores, 2 of which are physical.



Many greetings
Matthias



smime.p7s
Description: S/MIME Cryptographic Signature