Re: Network and port redirection with QEMU not working with package compiled on 10.0_RC1

2024-01-03 Thread Michael van Elst
baba...@babafou.eu.org (Marc Baudoin) writes: >Has anybody got a working QEMU (at least network-wise) compiled >on NetBSD 10.0_RC[12]? No problems here, neither with qemu-8.1.0 (2023Q3) nor qemu-8.1.3 (2023Q4): Host: NetBSD tazz 10.99.10 NetBSD 10.99.10 (TAZZ) #311: Sun Dec 24 15:24:24 UTC 2023

Re: Prob using CPIO

2024-01-01 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >I zip up much music: > find . -depth -print | cpio -ov > file.cpio >To unzip it , I must undo *cpio severa times severa times: > cpio -iv < file.cpio Your 'zip' packs the local directory including the cpio file that is being created. You don't have

Re: PSA: Clock drift and pkgin

2023-12-30 Thread Michael van Elst
mo...@rodents-montreal.org (Mouse) writes: >> Modern hardware could easily do 100kHz. >Not with curren^Wat least one moderately recent NetBSD version! >At work, I had occasion to run 9.1/amd64 with HZ=8000. This was to get >8-bit data pushed out a parallel port at 8kHz; I added special-case

PSA: Clock drift and pkgin

2023-12-30 Thread Michael van Elst
n at different speeds that aren't just integer multiples. N.B. my m68k emulator runs a HZ=100 guest without a problem. But that's a fake, in reality it only runs 100 ticks per second on average, In particular when the guest becomes idle. Greetings, -- Michael van

Re: PSA: Clock drift and pkgin

2023-12-30 Thread Michael van Elst
antage is that you can use independent timing (that's what bites in the emulator case where guest and host clocks run at the same rate). -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: PSA: Clock drift and pkgin

2023-12-30 Thread Michael van Elst
b...@softjar.se (Johnny Billquist) writes: >Being able to measure time with high precision is desierable, but we can >already do that without being tickless. We cannot delay with high precision. You can increase HZ to some degree, but that comes at a price.

CVS commit: src/sys/dev/iscsi

2023-12-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Thu Dec 28 15:58:24 UTC 2023 Modified Files: src/sys/dev/iscsi: iscsi_main.c Log Message: Use correct status value SCSI_BUSY (0x08) instead of XS_BUSY (7) when running out of sessions. The bug had no impact as scsipi was only

CVS commit: src/sys/dev/iscsi

2023-12-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Thu Dec 28 15:58:24 UTC 2023 Modified Files: src/sys/dev/iscsi: iscsi_main.c Log Message: Use correct status value SCSI_BUSY (0x08) instead of XS_BUSY (7) when running out of sessions. The bug had no impact as scsipi was only

CVS commit: src/sbin/iscsid

2023-12-27 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Dec 27 18:07:30 UTC 2023 Modified Files: src/sbin/iscsid: iscsid_driverif.c Log Message: Treat port 0 (unset) as ISCSI_DEFAULT_PORT like before. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sbin/iscsid

2023-12-27 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Dec 27 18:07:30 UTC 2023 Modified Files: src/sbin/iscsid: iscsid_driverif.c Log Message: Treat port 0 (unset) as ISCSI_DEFAULT_PORT like before. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

Re: After -10 patch that fixes kern/57669

2023-12-27 Thread Michael van Elst
joel.bertr...@systella.fr (=?UTF-8?Q?BERTRAND_Jo=c3=abl?=) writes: > I have seen Michael has applied patch to fix ccb_timout to -10 kernel. >Thus, I have rebuilt my tree to have a unpatched kernel and I cannot now >access to my NAS over iSCSI. Of course, I have reinstalled kernel /and/

Re: PSA: Clock drift and pkgin

2023-12-24 Thread Michael van Elst
sim...@netbsd.org (Simon Burge) writes: >qemu uses ppoll() which is implemented with pollts() to do emulated >timers, so that doesn't help here. I don't know what simh uses, nor >any of the other emulators. simh uses pthread_cond_timedwait(). This actually waits using TIMER_ABSTIME for a

Re: PSA: Clock drift and pkgin

2023-12-23 Thread Michael van Elst
mo...@rodents-montreal.org (Mouse) writes: >} else if (sec <= (LONG_MAX / 100)) >ticks = (((sec * 100) + (unsigned long)usec + (tick - 1)) >/ tick) + 1; >which looks suspicious. If sec is zero and usec is tick, that >expression will return 2

Re: Are The Packages Gone Again?

2023-12-19 Thread Michael van Elst
j...@m5.chicago.il.us ("Jay F. Shachter") writes: >I was able to reinstall ghostscript (as I stated). The others -- >ImageMagick6, atril, gv, libspectre and okular -- are gone. At least there was no problem to build them. -rw-r--r-- 1 root wheel 11102472 Sep 29 14:25

Re: Change max ttys from 8 to 12?

2023-12-19 Thread Michael van Elst
u...@stderr.spb.ru (Valery Ushakov) writes: >Switching from a fixed size array to a dynamic one is probably not too >much work either. But then, overall, I think that trying to make the >kernel substitute for screen, tmux (in base), etc is kinda dead end, >so I'd rather we don't encourage it.

Re: Are The Packages Gone Again?

2023-12-19 Thread Michael van Elst
j...@m5.chicago.il.us ("Jay F. Shachter") writes: >Are the NetBSD 10 packages gone again? I recently removed ghostscript >with the intention of re-installing it (gs was complaining that there >was no libtiff.so, which is preposterous, because there was, but I >didn't want to argue with it).

CVS commit: src/sys/dev/pci

2023-12-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Dec 16 16:35:49 UTC 2023 Modified Files: src/sys/dev/pci: if_rge.c Log Message: - handle stuck transmitter (descriptor still owned) - restart send queue after transmit - count output packets - use deferred start Should fix

CVS commit: src/sys/dev/pci

2023-12-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Dec 16 16:35:49 UTC 2023 Modified Files: src/sys/dev/pci: if_rge.c Log Message: - handle stuck transmitter (descriptor still owned) - restart send queue after transmit - count output packets - use deferred start Should fix

CVS commit: src/sys/arch/i386/stand/libsa

2023-12-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Thu Dec 14 08:06:23 UTC 2023 Modified Files: src/sys/arch/i386/stand/libsa: nfs.c Log Message: Align again with libsa (NFS_NOSYMLINK fix). To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/sys/arch/i386/stand/libsa

2023-12-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Thu Dec 14 08:06:23 UTC 2023 Modified Files: src/sys/arch/i386/stand/libsa: nfs.c Log Message: Align again with libsa (NFS_NOSYMLINK fix). To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/sys/arch/i386/stand/libsa

2023-12-12 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Dec 12 09:16:17 UTC 2023 Modified Files: src/sys/arch/i386/stand/libsa: nfs.c Log Message: Merge with generic libsa NFS code to minimize differences and to learn NFSv3. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/i386/stand/libsa

2023-12-12 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Dec 12 09:16:17 UTC 2023 Modified Files: src/sys/arch/i386/stand/libsa: nfs.c Log Message: Merge with generic libsa NFS code to minimize differences and to learn NFSv3. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/lib/libsa

2023-12-12 Thread Michael van Elst
: src/sys/lib/libsa/rpcv2.h diff -u src/sys/lib/libsa/rpcv2.h:1.3 src/sys/lib/libsa/rpcv2.h:1.4 --- src/sys/lib/libsa/rpcv2.h:1.3 Sun Dec 11 12:24:46 2005 +++ src/sys/lib/libsa/rpcv2.h Tue Dec 12 09:12:55 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: rpcv2.h,v 1.3 2005/12/11 12:24:46 christos Exp

CVS commit: src/sys/lib/libsa

2023-12-12 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Dec 12 09:12:55 UTC 2023 Modified Files: src/sys/lib/libsa: nfs.c nfsv2.h rpcv2.h Added Files: src/sys/lib/libsa: nfsv3.h Log Message: Add NFSv3 support. Try NFSv3 and fall back to NFSv2. To generate a diff of this

CVS commit: src/usr.sbin/crash

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 14:00:47 UTC 2023 Modified Files: src/usr.sbin/crash: crash.c Log Message: Implement cngetc, don't abort. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/crash/crash.c Please note that

CVS commit: src/usr.sbin/crash

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 14:00:47 UTC 2023 Modified Files: src/usr.sbin/crash: crash.c Log Message: Implement cngetc, don't abort. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/crash/crash.c Please note that

CVS commit: src/usr.bin/rpcinfo

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:56:48 UTC 2023 Modified Files: src/usr.bin/rpcinfo: rpcinfo.c Log Message: Use IANA registerd service name "sunrpc" instead of "rpcbind". To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38

CVS commit: src/usr.bin/rpcinfo

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:56:48 UTC 2023 Modified Files: src/usr.bin/rpcinfo: rpcinfo.c Log Message: Use IANA registerd service name "sunrpc" instead of "rpcbind". To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38

CVS commit: src/sys/dev/wscons

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:38:13 UTC 2023 Modified Files: src/sys/dev/wscons: wsksymdef.h Log Message: Adjust next key value (it's not used anywhere). To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78

CVS commit: src/sys/dev/wscons

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:38:13 UTC 2023 Modified Files: src/sys/dev/wscons: wsksymdef.h Log Message: Adjust next key value (it's not used anywhere). To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78

CVS commit: src/sys/dev/usb

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:35:40 UTC 2023 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: Regen To generate a diff of this commit: cvs rdiff -u -r1.801 -r1.802 src/sys/dev/usb/usbdevs.h \

CVS commit: src/sys/dev/usb

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:35:40 UTC 2023 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: Regen To generate a diff of this commit: cvs rdiff -u -r1.801 -r1.802 src/sys/dev/usb/usbdevs.h \

CVS commit: src/sys/dev/usb

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:33:35 UTC 2023 Modified Files: src/sys/dev/usb: usbdevs Log Message: Add RTL8156 To generate a diff of this commit: cvs rdiff -u -r1.809 -r1.810 src/sys/dev/usb/usbdevs Please note that diffs are not public

CVS commit: src/sys/dev/usb

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:33:35 UTC 2023 Modified Files: src/sys/dev/usb: usbdevs Log Message: Add RTL8156 To generate a diff of this commit: cvs rdiff -u -r1.809 -r1.810 src/sys/dev/usb/usbdevs Please note that diffs are not public

CVS commit: src/sys/dev/onewire

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:30:33 UTC 2023 Modified Files: src/sys/dev/onewire: owtemp.c Log Message: Don't unregister envsys when not registered. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/onewire/owtemp.c

CVS commit: src/sys/dev/onewire

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:30:33 UTC 2023 Modified Files: src/sys/dev/onewire: owtemp.c Log Message: Don't unregister envsys when not registered. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/onewire/owtemp.c

CVS commit: src/sys/dev/ic

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:29:03 UTC 2023 Modified Files: src/sys/dev/ic: dw_hdmi.c Log Message: Output is always 16bit, the internal audio data type may differ. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/dev/ic

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:29:03 UTC 2023 Modified Files: src/sys/dev/ic: dw_hdmi.c Log Message: Output is always 16bit, the internal audio data type may differ. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/dev/ic

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:28:15 UTC 2023 Modified Files: src/sys/dev/ic: anx_dp.c Log Message: Output is always 16bit, the internal audio data type may differ. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/dev/ic

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:28:15 UTC 2023 Modified Files: src/sys/dev/ic: anx_dp.c Log Message: Output is always 16bit, the internal audio data type may differ. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/dev/i2c

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:27:24 UTC 2023 Modified Files: src/sys/dev/i2c: es8316ac.c Log Message: Output is always 16bit, the internal audio data type may differ. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/dev/i2c

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:27:24 UTC 2023 Modified Files: src/sys/dev/i2c: es8316ac.c Log Message: Output is always 16bit, the internal audio data type may differ. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/arch/macppc/dev

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:06:06 UTC 2023 Modified Files: src/sys/arch/macppc/dev: snapper.c Log Message: Output is always 16bit, the internal audio data type may differ. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66

CVS commit: src/sys/arch/macppc/dev

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:06:06 UTC 2023 Modified Files: src/sys/arch/macppc/dev: snapper.c Log Message: Output is always 16bit, the internal audio data type may differ. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66

CVS commit: src/sys/arch/arm/broadcom

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 12:53:08 UTC 2023 Modified Files: src/sys/arch/arm/broadcom: bcm2835_com.c Log Message: Report UART clock. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/broadcom/bcm2835_com.c Please

CVS commit: src/sys/arch/arm/broadcom

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 12:53:08 UTC 2023 Modified Files: src/sys/arch/arm/broadcom: bcm2835_com.c Log Message: Report UART clock. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/broadcom/bcm2835_com.c Please

CVS commit: src/sbin/swapctl

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 12:47:24 UTC 2023 Modified Files: src/sbin/swapctl: swaplist.c Log Message: Avoid overflow of totals. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sbin/swapctl/swaplist.c Please note that diffs

CVS commit: src/sbin/swapctl

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 12:47:24 UTC 2023 Modified Files: src/sbin/swapctl: swaplist.c Log Message: Avoid overflow of totals. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sbin/swapctl/swaplist.c Please note that diffs

CVS commit: src/sbin/gpt

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 12:45:22 UTC 2023 Modified Files: src/sbin/gpt: gpt.c Log Message: Be verbose about errors. To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sbin/gpt/gpt.c Please note that diffs are not public

CVS commit: src/sbin/gpt

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 12:45:22 UTC 2023 Modified Files: src/sbin/gpt: gpt.c Log Message: Be verbose about errors. To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sbin/gpt/gpt.c Please note that diffs are not public

CVS commit: src/lib/libpuffs

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 12:42:18 UTC 2023 Modified Files: src/lib/libpuffs: dispatcher.c Log Message: pathconf needs to return EINVAL when the variable is invalid or cannot be associated with a file. This also needs to be true when the node

CVS commit: src/lib/libpuffs

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 12:42:18 UTC 2023 Modified Files: src/lib/libpuffs: dispatcher.c Log Message: pathconf needs to return EINVAL when the variable is invalid or cannot be associated with a file. This also needs to be true when the node

CVS commit: src/tests/dev/audio

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 09:26:08 UTC 2023 Modified Files: src/tests/dev/audio: audiotest.c Log Message: mmap() fails for size == 0 with EINVAL unless the mapping is anonymous. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/tests/dev/audio

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 09:26:08 UTC 2023 Modified Files: src/tests/dev/audio: audiotest.c Log Message: mmap() fails for size == 0 with EINVAL unless the mapping is anonymous. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

Re: Experience with Epyc 8/9004 series CPUs?

2023-11-29 Thread Michael van Elst
kar...@netbsd.org (Frank Kardel) writes: >As you said a "couple of years ago" I assume those CPUs where not >Zen4-architecture. The new pkgbuilder is Zen3, so still too old.

CVS commit: src/sys/arch/x86/x86

2023-11-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Nov 29 11:40:37 UTC 2023 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Fix use-after-free (source->is_type) when detecting unsharable interrupts. Doesn't solve the interrupt conflict itself, but avoids a panic.

Re: NetBSD-current on thinkpad T495, sound issue (was "audio issue on -current")

2023-11-26 Thread Michael van Elst
shev.vt1...@gmail.com (Vitaly Shevtsov) writes: >When I'm listening to music I get this error after some time: >audio1(hdafg1): audio_write: device timeout, seq=16987, >usrbuf=60224/H60224, outbuf=8192/8192 You get timeouts when the backend driver (hdafg1) doesn't finish playing buffers. So

CVS commit: src/sys/dev/iscsi

2023-11-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Nov 25 10:08:27 UTC 2023 Modified Files: src/sys/dev/iscsi: iscsi.h iscsi_globals.h iscsi_ioctl.c iscsi_send.c iscsi_text.c iscsi_utils.c Log Message: Adapt to bignum representation of target. Fix negotiation for

CVS commit: src/sys/dev/iscsi

2023-11-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Nov 25 10:08:27 UTC 2023 Modified Files: src/sys/dev/iscsi: iscsi.h iscsi_globals.h iscsi_ioctl.c iscsi_send.c iscsi_text.c iscsi_utils.c Log Message: Adapt to bignum representation of target. Fix negotiation for

CVS commit: src/sbin

2023-11-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Nov 25 08:06:02 UTC 2023 Modified Files: src/sbin/iscsictl: iscsic_parse.c src/sbin/iscsid: iscsid_driverif.c Log Message: Parse IPv6 targets and handle IPv6 addresses. To generate a diff of this commit: cvs rdiff

CVS commit: src/sbin

2023-11-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Nov 25 08:06:02 UTC 2023 Modified Files: src/sbin/iscsictl: iscsic_parse.c src/sbin/iscsid: iscsid_driverif.c Log Message: Parse IPv6 targets and handle IPv6 addresses. To generate a diff of this commit: cvs rdiff

Re: iscsid - lfs and ipv6 issues

2023-11-19 Thread Michael van Elst
mount a root filesystem. So no idea yet what error is triggered. On the other hand, attempting to use LFS showed errors with handling block sizes and running the filesystem tester (fsx) somewhen paniced the system. Whatever was "fixed" in LFS was not good enough :-/ Greetings, --

Re: sys/dev/usb/if_axen.c

2023-11-19 Thread Michael van Elst
9 axen_uno_rx_loop#0@0: 0400e00b 400657b9 c0a80104 > 0bf0 <-- garbage --> Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: CGD - unable to open after closing, using '-V gpt', argon2id and adiantum

2023-11-19 Thread Michael van Elst
luisvmen...@yandex.com (Luis Mendes) writes: >== Now, trying to open the container again: >cgdconfig -V gpt cgd0 NAME=nvme-crypt /etc/cgd/nvme-crypt >After entering the four zeroes password, there's the message: >"cgdconfig: verification failed, please reenter passphrase". >What is wrong with

Re: iscsid - lfs and ipv6 issues

2023-11-18 Thread Michael van Elst
On Sat, Nov 18, 2023 at 07:47:47PM +0700, Robert Elz wrote: > > Using getaddrinfo() would be much better of course. That's what I have now -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lu

Re: iscsid - lfs and ipv6 issues

2023-11-18 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >That looks to me as if it should work, and is a lot cleaner, though >I doubt there's a great need to remove the [] if they were given. getaddrinfo() doesn't strip or handle brackets.

Re: iscsid - lfs and ipv6 issues

2023-11-18 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: > | The address parser looks broken. >It certainly is, it is horrid. >and the relevant function is get_address() Maybe the patch below. It's still a bit naive (you can bracket anything, not just ipv6 literals). The address string is later used in

Re: iscsid - lfs and ipv6 issues

2023-11-17 Thread Michael van Elst
lis...@nebelschwaden.de (Ede Wolf) writes: >I am having two issues with iscsid/iscsictl. First, it seems, I cannot >mount an lfs formatted iscsi lun, no matter wether this drive is >gpt/wedge or plain disklabelled: ># mount -t lfs /dev/dk0 /import/ >mount_lfs: /dev/dk0 on /import: Operation

Re: sys/dev/usb/if_axen.c

2023-11-13 Thread Michael van Elst
mak...@ki.nu (Makoto Fujiwara) writes: >I've compared to openbsd: if_axen.c > https://raw.githubusercontent.com/openbsd/src/master/sys/dev/usb/if_axen.c >to N, and there are so many differencies. >Does this (N) if_axen.c works on any installation ? axen seems to work, but I can see that the

Re: [RFC 2] userconf(4): 2nd proposal

2023-11-04 Thread Michael van Elst
tlaro...@kergis.com writes: >disable {drmkms} # NEW: disable devices belonging to group "drmkms" Almost noone would need to turn off all drmkms drivers. What you may want to control is that a GPU isn't used as a console. Disabling a driver is just our crude workaround to achieve this. I

Re: [RFC 2] userconf(4): 2nd proposal

2023-11-04 Thread Michael van Elst
r...@sdf.org (RVP) writes: >On Sat, 4 Nov 2023, RVP wrote: >> 1) Allowing shell-like patterns (not hard to implement): >> >> uc> disable *drm* *usb$ # all with `drm' anywhere and those ending in >> >Ah, since these are shell-like patterns there's not need for a `$' to >denote EOL. So:

Re: rc.local nightmare

2023-10-30 Thread Michael van Elst
ea1...@gmail.com (Ramiro Aceves) writes: >My script says on the console "Network connectivity to $TARGET is OK." >several times before the script dies. So ping works fine. (I have set >INTERVAL=3 seconds just to speed things up during testing. Your script shouldn't create output from a

Re: file-backed cgd backup question

2023-10-22 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >> vnd opens the backing file when the unit is created and closes >> the backing file when the unit is destroyed. Then you can access >> the file again. >Is there a guarantee of cache consistency for writes before and reads >after? Before the unit is

Re: cpuctl ucode: no patch available

2023-10-21 Thread Michael van Elst
w...@netbsd.org (Thomas Klausner) writes: >I read about a new microcode update for the AMD Zen family, downloaded >the linux firmware repository and tried to apply it. We don't support microcode updates for Zen (just some older AMD model).

Re: file-backed cgd backup question

2023-10-20 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >I dimly knew this, but keep forgetting. Reading vndconfig(8), it does >not explain that the normal path leads to incorrect behavior (stale >reads from file cache even after closing the vnd, mtime). vnd opens the backing file when the unit is created and

CVS commit: xsrc/external/mit/ctwm/dist

2023-10-20 Thread Michael van Elst
Module Name:xsrc Committed By: mlelstv Date: Fri Oct 20 10:18:56 UTC 2023 Modified Files: xsrc/external/mit/ctwm/dist: signals.c Log Message: Use a SIGCHLD handler instead of ignoring the signal. This avoids lockups when child processes were inherited (e.g. from

CVS commit: xsrc/external/mit/ctwm/dist

2023-10-20 Thread Michael van Elst
Module Name:xsrc Committed By: mlelstv Date: Fri Oct 20 10:18:56 UTC 2023 Modified Files: xsrc/external/mit/ctwm/dist: signals.c Log Message: Use a SIGCHLD handler instead of ignoring the signal. This avoids lockups when child processes were inherited (e.g. from

Re: file-backed cgd backup question

2023-10-19 Thread Michael van Elst
w...@netbsd.org (Thomas Klausner) writes: >For a cgd in a file that I mount via vnd+cgd, the file system contents >inside may change, but the actual file on the hard disk outside only >has 'access' time changes. So "smart" backup programs that check >timestamps to find out if they need to re-hash

Re: Unexpected out of memory kills when running parallel find instances over millions of files

2023-10-19 Thread Michael van Elst
mjgu...@gmail.com (Mateusz Guzik) writes: >> While vnodes would be recyclable, they hardly get recycled unless >> an filesystem object is deleted or the filesystem is unmounted. >They get recycled all the time by vdrain thread if numvnodes goes above >desiredvnodes, like it does in this test.

Re: Unexpected out of memory kills when running parallel find instances over millions of files

2023-10-19 Thread Michael van Elst
mjgu...@gmail.com (Mateusz Guzik) writes: >Running 20 find(1) instances, where each has a "private" tree with >million of files runs into trouble with the kernel killing them (and >others): >[ 785.194378] UVM: pid 1998.1998 (find), uid 0 killed: out of swap >This should not be happening --

Re: NetBSD 10 Beta: Updating The Base System

2023-10-10 Thread Michael van Elst
stays the same. Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: Bluetooth status, compatible USB Bluetooth adapters?

2023-10-04 Thread Michael van Elst
dyo...@pobox.com (David Young) writes: >By the way, to interoperate with Bluetooth Low Energy devices, is >anything beyond a compatible USB Bluetooth adapter needed? For example, >kernel or utility changes? So far we don't support BLE at all. Devices that talk only BLE cannot be used. My

Re: cgd questions

2023-10-02 Thread Michael van Elst
w...@netbsd.org (Thomas Klausner) writes: >Follow up question because it just happened to me: >I have a USB Disk with ffs-on-cgd. I unmounted the ffs but forgot >unconfiguring the cgd before unplugging the disk. >Can this cause problems? What kinds? Shouldn't do any harm, there is no state on

CVS commit: src/sys/dev/audio

2023-10-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Oct 1 09:34:29 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix output for big-endian hardware. Also optimize the output scaling routine. To generate a diff of this commit: cvs rdiff -u -r1.144 -r1.145

CVS commit: src/sys/dev/audio

2023-10-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Oct 1 09:34:29 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix output for big-endian hardware. Also optimize the output scaling routine. To generate a diff of this commit: cvs rdiff -u -r1.144 -r1.145

Re: Where are the 10.0 packages?

2023-09-28 Thread Michael van Elst
j...@m5.chicago.il.us ("Jay F. Shachter") writes: >system a dhcp client of the other laptop), and I cannot, because the >packages are no longer at >http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/10.0/All where >they used to be. netbsd-10 got a second flag day, first when updating

Re: dumping on RAIDframe

2023-09-25 Thread Michael van Elst
e...@math.uni-bonn.de (Edgar =?iso-8859-1?B?RnXf?=) writes: >> you dump a memory block that isn't a multiple of a disk sector >> (according to disklabel) >You mean this one (from disklabel raid0): > bytes/sector: 512 >? Yes. Which makes it unlikely. amd64/machdep.c: this dumps at least

Re: dumping on RAIDframe

2023-09-25 Thread Michael van Elst
e...@math.uni-bonn.de (Edgar =?iso-8859-1?B?RnXf?=) writes: >GO>Dumping to a RAID 1 set is supported in -8. But yes, none of those >GO>values seem to align with each other. 18,1 is 'raid0b' thouugh, so that >GO>part seems correct. >MvE> offset and size relate to the dump data (dumplo and

Re: GPT attributes in dkwedge [PATCH]

2023-09-25 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >Date:Mon, 25 Sep 2023 05:57:49 + >From:Emmanuel Dreyfus >Message-ID: > | bootme.cfg is searched in EFI paririon /EFI/NetBSD/boot.cfg >Which EFI partition? I think I have about 5 or 6, sprinkled around >various

Re: dumping on RAIDframe

2023-09-25 Thread Michael van Elst
os...@netbsd.org (Greg Oster) writes: >> dumping to dev 18,1 (offset=1090767, size=8252262): >> >Dumping to a RAID 1 set is supported in -8. But yes, none of those >values seem to align with each other. 18,1 is 'raid0b' thouugh, so that >part seems correct. offset and size relate to the

Re: GPT attributes in dkwedge [PATCH]

2023-09-25 Thread Michael van Elst
you specify something else (or magic like the raidframe hack comes into play). So, the bootme flag effectively specifies the root partition, but only by virtue of defaults being passed down the chain. The kernel should not outguess things and interpret the flag itself. --

Re: GPT attributes in dkwedge [PATCH]

2023-09-18 Thread Michael van Elst
a...@absd.org (David Brownlee) writes: >Our gpt(8) states "bootme flag is used to indicate which partition >should be booted by UEFI boot code", which could be read either way. The flag is used to find the partition to load /boot, /boot.cfg or the kernel from. The boot disk information is also

Re: GPT attributes in dkwedge [PATCH]

2023-09-16 Thread Michael van Elst
old dummy record with a non-empty string. -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: GPT attributes in dkwedge [PATCH]

2023-09-16 Thread Michael van Elst
mar...@duskware.de (Martin Husemann) writes: >But the more general solution (which would be just as easy for the end >user, but more flexibel) is to add support for a rootdev statement >in boot.cfg and then put the label name or the guid there. Similar >to evbarm taking a root=dev argument passed

Re: GPT attributes in dkwedge [PATCH]

2023-09-15 Thread Michael van Elst
On Fri, Sep 15, 2023 at 03:15:10PM +, Emmanuel Dreyfus wrote: > On Fri, Sep 15, 2023 at 03:06:46PM -0000, Michael van Elst wrote: > > What about just telling the kernel what to use in /boot.cfg ? > > No need to add more magic to the kernel. > > Ths user took care

Re: GPT attributes in dkwedge [PATCH]

2023-09-15 Thread Michael van Elst
m...@netbsd.org (Emmanuel Dreyfus) writes: >multitboot lets the bootloader pass boot device information as BIOS >driver, partition number, subpartition number. This is intended >for MBR extended partitions or MBR/disklabel. What about just telling the kernel what to use in /boot.cfg ? No need to

Re: heartbeat panic by heavy traffic

2023-09-15 Thread Michael van Elst
bou...@antioche.eu.org (Manuel Bouyer) writes: >But the clock softint shouldn't be locked out for 16s, ever. Then the clock softint must have a higher priority than everything else including hard interrupts. Obviously that's not how the system is designed, there are no limits on how long

Re: heartbeat panic by heavy traffic

2023-09-15 Thread Michael van Elst
mar...@duskware.de (Martin Husemann) writes: >On Fri, Sep 15, 2023 at 12:17:58PM +0900, Masanobu SAITOH wrote: >> I think it would be good to change the default behavior from >> panic to something others because GENERIC kernel enables HEARTBEAT. >> by default. One of idea is to print warning

Re: panic options

2023-09-12 Thread Michael van Elst
r...@fdy2.co.uk (Robert Swindells) writes: >There is a call to panic() if the kernel detects that there is no >console device found, I would like to make this call to it just reboot >without dropping into ddb. Not without modifications. You could include the nullcons (i.e. boot without console)

Re: raidctl -A softroot and a failed component

2023-09-12 Thread Michael van Elst
e...@math.uni-bonn.de (Edgar =?iso-8859-1?B?RnXf?=) writes: >I had a RAIDframe level 1 RAID with the first component marked as failed, e,g, > component0: failed > /dev/dkN: optimal >and although the set was configured -A softroot, the kernel didn't configure >raid0a as the root file

<    1   2   3   4   5   6   7   8   9   10   >