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

2023-11-18 Thread Luis Mendes
Hi, I'd like to setup a zfs pool at the last partition of a nvme disk. There are already three partitions for efi, swap and /. == Create the GPT partition: gpt add -a 4m -l nvme-crypt -t cgd ld0 gpt show -i 4 ld0, shows type: cgd, label: nvme-crypt dkctl ld0 listwedges, shows dk3: nvme-crypt

Re: NetBSD as an NTP stratum 1 server

2023-11-18 Thread joelp
On Thu, Nov 16, 2023 at 06:03:56PM +0100, Manuel Bouyer wrote: > To do better I think I'd go with an implementation of ntpd on a microcontroller > (maybe an ESP32, which has native ethernet) and use the PPS signal with a > capture channel. Doing true real time on more complex CPUs is really

Re: Trouble with re driver

2023-11-18 Thread Tobias Nygren
On Sat, 18 Nov 2023 20:14:32 +0100 BERTRAND Joël wrote: > Maybe something is broken in recent changes in > src/sys/dev/pci/pci_resource.c, pcidevs_data.h or pcidevs.h. Since the attach function runs it does not seems to be a pcidevs problem. pci_resource.c is only used on ARM platforms.

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 lurk in every

Trouble with re driver

2023-11-18 Thread BERTRAND Joël
Hello, I have a server with a lot of wm interfaces and one re. With last -10.0-RC1 kernel, this ethernet adapter is not configured and dmesg contains : ov 18 16:28:08 legendre /netbsd: [ 1.0066881] pci5 at ppb4 bus 5 Nov 18 16:28:08 legendre /netbsd: [ 1.0066881]

Re: X on 10.0 RC1 is unusable on my laptop

2023-11-18 Thread Mike Pumford
On 18/11/2023 11:34, tlaro...@kergis.com wrote: On Sat, Nov 18, 2023 at 11:14:12AM +, Mike Pumford wrote: On 17/11/2023 21:57, Brett Lymn wrote: Very interested in the results of this. I haven't had decent X since I updated. Vesa works but the resolution is pathetic and

Re: X on 10.0 RC1 is unusable on my laptop

2023-11-18 Thread tlaronde
On Sat, Nov 18, 2023 at 03:13:32PM +0100, Rhialto wrote: > On Fri 17 Nov 2023 at 13:04:48 +0100, tlaro...@kergis.com wrote: > > There are two things that you could verify: > > > > 1) That the legacy drm kernel module is also loaded; > > It looks like it is: > > $ modstat|grep drm > drm

Re: X on 10.0 RC1 is unusable on my laptop

2023-11-18 Thread Rhialto
On Fri 17 Nov 2023 at 13:04:48 +0100, tlaro...@kergis.com wrote: > There are two things that you could verify: > > 1) That the legacy drm kernel module is also loaded; It looks like it is: $ modstat|grep drm drmdriver builtin -1 - pci i915drm

Re: Difficulties opening a CGD gpt partition

2023-11-18 Thread Luis Mendes
On Thu, 16 Nov 2023 18:58:00 + Luis Mendes wrote: > Hi, > > I had everything setup in a nvme disk, so that the 4 wedges of ld0 (nvme) > were: > dk0 efi partition > dk1 swap > dk2 ffs > dk3 cgd > > I did a image copy of the disk with clonezilla because sometimes the system > stopped and

Re: iscsid - lfs and ipv6 issues

2023-11-18 Thread Robert Elz
Date:Sat, 18 Nov 2023 10:46:18 - (UTC) From:mlel...@serpens.de (Michael van Elst) Message-ID: And wrt this part: | The address string is later used in iscsid_driverif.c, a name | is resolved with gethostbyname(), so while an ipv6 address might | be

Re: iscsid - lfs and ipv6 issues

2023-11-18 Thread Robert Elz
Date:Sat, 18 Nov 2023 18:25:58 +0700 From:Robert Elz Message-ID: <28754.1700306...@jacaranda.noi.kre.to> | one way to do that might be | if (sp2 = strchr(str, ']')) And in that, sp2 isn't needed, just use sp instead, leading to sp = strchr(sp,

Re: X on 10.0 RC1 is unusable on my laptop

2023-11-18 Thread tlaronde
On Sat, Nov 18, 2023 at 11:14:12AM +, Mike Pumford wrote: > > > On 17/11/2023 21:57, Brett Lymn wrote: > > > > Very interested in the results of this. I haven't had decent X since I > > updated. Vesa works > > but the resolution is pathetic and suspend/resume does not work. > > > Well my

Re: iscsid - lfs and ipv6 issues

2023-11-18 Thread Robert Elz
Date:Sat, 18 Nov 2023 11:26:50 - (UTC) From:mlel...@serpens.de (Michael van Elst) Message-ID: | 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

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 Robert Elz
Actually, no, I don't think that will work after all - in an address like [fe80::1]:1234 the + sp = strchr(str, ':'); + if (sp != NULL) { + if (strchr(sp + 1, ':') != NULL) { code is going to happen, and set the port to 0 (instead of the intended 1234) - it

Re: iscsid - lfs and ipv6 issues

2023-11-18 Thread Robert Elz
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. kre

Re: X on 10.0 RC1 is unusable on my laptop

2023-11-18 Thread Mike Pumford
On 17/11/2023 21:57, Brett Lymn wrote: Very interested in the results of this. I haven't had decent X since I updated. Vesa works but the resolution is pathetic and suspend/resume does not work. Well my first attempt failed but reading the code a bit more I've just found a whole pile of

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-18 Thread Robert Elz
Date:Fri, 17 Nov 2023 22:22:24 - (UTC) From:mlel...@serpens.de (Michael van Elst) Message-ID: | The address parser looks broken. It certainly is, it is horrid. | For some reason the first character is skipped when it tries | to identify IPv6, At the

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

2023-11-18 Thread Marc Baudoin
Hi, With all the recent revbumps in pkgsrc, emulators/qemu had to be recompiled quite a few times in the last weeks. In the meantime, I have upgraded my computer to 10.0_RC1. I'm running my VMs with port redirection to be able to connect to them with SSH this way: qemu-system-x86_64 -accel