Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-29 Thread Matthias Petermann
Hi, On 30.06.23 07:07, Brian Buhrow wrote: hello. Yes, this behavior is expected. It ensures that there is no conflict between the device on the domu end of the vif port and the device on the dom0 end. This is more sane behavior than FreeBSD, which zeros out the MAC address on the d

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-29 Thread Matthias Petermann
Hello, On 29.06.23 11:58, Matthias Petermann wrote: While I do not want to praise the evening before the dayyou deserve some feedback. Both the synthetic test with ssh/dd and my real payload with ssh/dump have been running for easily 6 hours without interruption this morning. I took the

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-29 Thread Matthias Petermann
Hi Brian, On 26.06.23 16:17, Brian Buhrow wrote: hello. A couple of quick questions based on the convrsation and the snippets of logs shown in the e-mails. 1. Is the MAC address shown in the ARP replies the correct one for the dom0? No reason it should be wrong, but it's worth veri

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-29 Thread Matthias Petermann
Hi, On 26.06.23 15:37, RVP wrote: On Mon, 26 Jun 2023, Matthias Petermann wrote: Could it still be an ARP related issue? I did a simplified version of the test this morning: Try this test: since you have static IP- & MAC-addresses everywhere in your setup, just add them as static

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-26 Thread Matthias Petermann
Hi, On 26.06.23 10:41, RVP wrote: On Sun, 25 Jun 2023, Matthias Petermann wrote: Somewhere between 2) and 3) there should be the answer to the question. ``` 08:52:07.595831 ARP, Request who-has vhost2.lan tell srv-net.lan, length 28 08:52:07.595904 ARP, Reply vhost2.lan is-at 88:ae:dd:02:a4

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-25 Thread Matthias Petermann
Hello, On 25.06.23 07:49, Matthias Petermann wrote: 4) Run the test with tcpdump from DomU -> this is currently ongoing. I will followup as soon I have the results. This is the follow-up I promised. I was lucky this morning to catch one occurance of the issue while tcpdump was running

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-24 Thread Matthias Petermann
Hello, On 25.06.23 03:48, RVP wrote: On Sat, 24 Jun 2023, Brian Buhrow wrote: In any case, The fact that you're getting regular delays on your pings suggests there is a delay between the time when the arp cache times out and when it gets refreshed. This would be determined by `net.inet.ar

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-23 Thread Matthias Petermann
Hello, On 24.06.23 01:37, RVP wrote: On Fri, 23 Jun 2023, Brian Buhrow wrote: hello.  My understanding is that the arp caching mechanism works regardless of whether you use static MAC addresses or dynamically generated ones. [...] If you then run brconfig on the bridge containing the domu

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-23 Thread Matthias Petermann
Hello Manuel, On 23.06.23 16:17, Manuel Bouyer wrote: I'm not sure it's Xen-specific, there have been changes in the network stack between -9 and -10 affecting the way ARP and duplicate addresses are managed. Thanks for your attention. I remember you are one of the Xen Gurus RVP recommended

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-23 Thread Matthias Petermann
Hi, On 23.06.23 02:45, RVP wrote: So, the server tries to write data into the socket; write() fails with errno = EHOSTDOWN which sshd(8) treats as a fatal error and it exits. The client tries to read/write to a closed connection, and it too quits. The part which doesn't make sense is the EHOSTD

Re: FWD: Re: Mounting NetBSD partition on voidlinux

2023-06-22 Thread Matthias Petermann
Hi, On 22.06.23 20:33, Sagar Acharya wrote: I have found the hex addresses of my files and dirs. Is there a program with which I can recursively extract them from raw hex? Thanking you Sagar Acharya https://humaaraartha.in In such cases in the past I had some success with foremost[1]. It de

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-22 Thread Matthias Petermann
Hi, On 22.06.23 08:36, RVP wrote: Can you see any errors from sshd(8) in the logs on the DomU? If not, run the sshd server standalone like this: ``` /usr/sbin/sshd -Dddd -E/tmp/s.log ``` then post the `s.log' file after you run something like: ``` $ ssh -E/tmp/c.log -vvv XXX.NET 'dd if=/dev/z

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-21 Thread Matthias Petermann
On 22.06.23 07:52, Matthias Petermann wrote: On 21.06.23 19:54, Matthias Petermann wrote: 2>log.txt ssh user@srv-net -vvv doas /sbin/dump -X -h 0 -b 64 -0auf - /data/119455aa-6ef8-49e0-b71a-9c87e84014cb > /mnt/test.dump ...just noticed another variation, this time client_loop

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-21 Thread Matthias Petermann
On 21.06.23 19:54, Matthias Petermann wrote: 2>log.txt ssh user@srv-net -vvv doas /sbin/dump -X -h 0 -b 64 -0auf - /data/119455aa-6ef8-49e0-b71a-9c87e84014cb > /mnt/test.dump ...just noticed another variation, this time client_loop: send disconnect occured: https://paste.petermann

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-21 Thread Matthias Petermann
Hello, On 21.06.23 11:22, RVP wrote: On Wed, 21 Jun 2023, RVP wrote: A `Broken pipe' from ssh means the RHS of the pipeline exited prematurely. Is what I said, but, I see that ssh ignores SIGPIPE (network I/O--duh!), so that error message is even odder. Do a `2>log.txt ssh -vvv ...' and p

Re: Mounting NetBSD partition on voidlinux

2023-06-21 Thread Matthias Petermann
Hi, On 21.06.23 14:20, Sagar Acharya wrote: Also, linux doesn't have fsck_ffs and debian had support for ufs in ufsutils a long time ago. I highly recommend that for such cases you have a small standalone source which can be built for correcting such errors which can perhaps have disklabel,

Re: Mounting NetBSD partition on voidlinux

2023-06-21 Thread Matthias Petermann
Hi, On 21.06.23 12:16, Martin Husemann wrote: On Wed, Jun 21, 2023 at 12:12:35PM +0200, Sagar Acharya wrote: My NetBSD system has gotten corrupted. How do I mount my NetBSD partition on voidlinux? The typical recovery doesn't involve any other OS. If your kernel works and finds the / partiti

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-21 Thread Matthias Petermann
On 21.06.23 10:22, RVP wrote: On Wed, 21 Jun 2023, Matthias Petermann wrote: Before I had dd in place, I used a redirection > $dumpname which results in the same kind of broken pipe issues. I just did verify this by repeating this as an isolated test case. I don't get that: th

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-21 Thread Matthias Petermann
Hello, On 21.06.23 09:31, RVP wrote: On Tue, 20 Jun 2023, Matthias Petermann wrote: problems. Since there is a bit more steam on the system, I get irregular but predictable SSH connection disconnects (ssh client loop send disconnect: Broken pipe). I have already tried all possible

ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)

2023-06-20 Thread Matthias Petermann
Hello all, I have a network problem here that I'm not sure what Xen's contribution is. There is one Dom0 and several DomUs. The DomUs are connected via a brigde to the Dom0 and the LAN. The filesystems of the DomUs are backed up to a USB disk attached to the host. To do this, Dom0 calls the

Re: scp/sftp -R broken?

2023-06-05 Thread Matthias Petermann
Hi Thomas, On 06.06.23 00:40, Thomas Klausner wrote: Hi! When I try to recursively copy a directory with "scp -r" or sftp's "put -Rp" between a -current and a NetBSD 9, I see: # scp -r a netbsd-9: scp: realpath ./a: No such file scp: upload "./a": path canonicalization failed scp: failed to up

Re: nvmm users - experience

2023-05-21 Thread Matthias Petermann
Hello, On 21.05.23 16:01, Mathew, Cherry G.* wrote: Hello, I'm wondering if there are any nvmm(4) users out there - I'd like to understand what your user experience is - expecially for multiple VMs running simultaneously. Specifically, I'd like to understand if nvmm based qemu VMs have interac

Reproducible deadlock? with VND on NetBSD 10.0_BETA Dom0 on Xen 4.15

2023-05-17 Thread Matthias Petermann
Hello all, I just wanted to create a custom filesystem image on a Xen Dom0 and encountered a possible deadlock: 1) Create the image file as sparse file: $ bytes=$(echo "(16*1024*1024*1024)-1"|bc) $ doas dd if=/dev/zero of=/data/vhd/net.img bs=1 count=1 seek=$bytes 2) Configure and mount

net/net-snmp in pkgsrc-2022Q4 fails to build on NetBSD 10.0_BETA

2023-02-20 Thread Matthias Petermann
Hello, unfortunately I can't find the right mail thread for this topic, but I think this has been discussed here before. The reason why I write: I saw that the problem in pkgsrc-current is already solved: ``` author mrg 2023-01-14 21:11:35 + committer mrg 2023-01-14 21:

Re: FFSv2ea

2023-01-16 Thread Matthias Petermann
Hello Clay, On 17.01.23 03:27, Clay Daniels wrote: I've enjoyed trying out the new 10.0_BETA and I've selected the newer FFSv2ea from the partition menu of the installation a couple of times. If I try this:    #gpt show wd0 I get this:        GPT part - NetBSD FFSv1/FFSv2 Then the next insta

Re: Branching for netbsd-10 next week

2022-12-15 Thread Matthias Petermann
Am 15.12.22 um 11:35 schrieb Martin Husemann: Just to wrap up this thread: - branch will probably happen in the next ~10h - default file system for new installations will be FFSv2 I will update docs and extend the wiki page about FFS2ea to show how to switch later, and also provide install

Re: HEADS UP: UFS2 extended attribute changes will be committed tomorrow

2022-12-15 Thread Matthias Petermann
Hello Chuck, Am 05.12.22 um 16:32 schrieb Chuck Silvers: In my records, I noticed another note that I had made more than a year ago. That was around the time the Posix ACLs were imported into NetBSD. I'm not sure if this is on anyone's radar, or if it's generally considered a requirement. I woul

Re: Branching for netbsd-10 next week

2022-12-09 Thread Matthias Petermann
Hello Martin, Am 08.12.22 um 20:21 schrieb Martin Husemann: Now the question: should the default install really use this new FFS type, or should it default to plain FFSv2? thanks for the good news about the branching progress, as well as the good preparation of the topic around the installer

Re: Branching for netbsd-10 next week

2022-12-09 Thread Matthias Petermann
Hello Robert, Am 09.12.22 um 08:55 schrieb Robert Elz: | - packets from pkgsrc (like samba) will continue to have the | corresponding options disabled by default Those packages could have warnings in DESCR and MESSAGE (or whatever it is called) advising of the need for FFSv2ea fo

Re: HEADS UP: UFS2 extended attribute changes will be committed tomorrow

2022-12-05 Thread Matthias Petermann
Hi Chuck, Am 22.11.22 um 07:10 schrieb Chuck Silvers: [] as you noted in your later mail, this is documented only in the fsck_ffs manpage since it only applies to fsck_ffs and not the fs-independent fsck wrapper program. thanks for your feedback! -Chuck thank you very much for the expla

Re: HEADS UP: UFS2 extended attribute changes will be committed tomorrow

2022-11-18 Thread Matthias Petermann
Hello, Am 18.11.22 um 09:09 schrieb Matthias Petermann: Hello Chuck, hello all Am 15.11.22 um 12:34 schrieb Chuck Silvers: > Please let me know if there are any questions or concerns. > > -Chuck  - The new fsck option "-c" to convert from UFS2 to UFS2es and vice vers

Re: HEADS UP: UFS2 extended attribute changes will be committed tomorrow

2022-11-18 Thread Matthias Petermann
Hello Chuck, hello all Am 15.11.22 um 12:34 schrieb Chuck Silvers: > Hi folks, > > On Wednesday I'll be committing the changes that I proposed a while back > that restore UFS2 backward-compatibility with previous NetBSD releases > and create a new "UFS2ea" variant of UFS2 that supports extended

nss_winbind not functional anymore on NetBSD 9.99.106 and Samba 4.16.5

2022-11-14 Thread Matthias Petermann
Hello all, I have been using NetBSD 9.99.99 with Samba 4.15.9 (from pkgsrc 2022Q2) as Windows Domain Controller for a while now which worked well. Since I switched to the combination NetBSD 9.99.106 and Samba 4.16.5 (from pkgsrc 2022Q3), the name resolution for usernames / groups via nss_win

Best practices to mount SMB share on NetBSD current

2022-11-03 Thread Matthias Petermann
Hello all, after the justified removal of mount_smb from the base system - what would be the current best way to mount a remote SMB filesystem (Windows Server 2016) on NetBSD? Ideas: - wip/fuse-smbfs (Has anyone ever tested this and found it useful?). - gvfs to SMB via Fuse (should be poss

Re: Functional differences when using ntpd as NTP client on NTP-NetBSD 9.3<-->10 ?

2022-10-22 Thread Matthias Petermann
Hi, Am 21.10.2022 um 18:02 schrieb Christos Zoulas: from man ntp.conf: The quality and reliability of the suite of associations discovered by the manycast client is determined by the NTP mitigation algorithms and the minclock and minsane values specified in the tos configuratio

Re: Functional differences when using ntpd as NTP client on NTP-NetBSD 9.3<-->10 ?

2022-10-22 Thread Matthias Petermann
Hi, Am 21.10.2022 um 18:41 schrieb Steffen Nurpmeso: Christos Zoulas wrote in : |In article <3407f89f-6d30-f1a5-d013-77176f249...@petermann-it.de>, |Matthias Petermann wrote: ... |>I use ntpd in my Qemu/nvmm VMs as a client to synchronise the (otherwise ... I would sim

Functional differences when using ntpd as NTP client on NTP-NetBSD 9.3<-->10 ?

2022-10-21 Thread Matthias Petermann
Hello all, I use ntpd in my Qemu/nvmm VMs as a client to synchronise the (otherwise lagging) clocks. For this purpose, ntpd runs on the host and synchronises on the internet. The ntpd in the VM only knows the host as the only time source and is configured in such a way that it does not give u

Re: How to limit amount of virtual memory used for files (was: Re: Tuning ZFS memory usage on NetBSD - call for advice)

2022-09-24 Thread Matthias Petermann
Hello all, On 22.09.22 18:38, Mike Pumford wrote: On 22/09/2022 06:44, Lloyd Parkes wrote: Can we put together a catalogue of clearly defined problems so that we can reproduce them and investigate further? While Håvard appears to have solved his problem, I'm pretty sure I have an unused G4

Re: How to limit amount of virtual memory used for files (was: Re: Tuning ZFS memory usage on NetBSD - call for advice)

2022-09-20 Thread Matthias Petermann
Hi, Am 20.09.2022 um 08:27 schrieb RVP: On Tue, 20 Sep 2022, Matthias Petermann wrote: I think I had answered this earlier (but I'm not quite sure) - the problem only occurs when I write the data obtained with "zfs send" to a local file system (e.g. the USB HDD). If I sen

How to limit amount of virtual memory used for files (was: Re: Tuning ZFS memory usage on NetBSD - call for advice)

2022-09-19 Thread Matthias Petermann
Hello all, Am 31.08.2022 um 21:57 schrieb Lloyd Parkes: It might not be ZFS related. But it could be. Someone else reported excessive, ongoing, increasing "File" usage a while back and I was somewhat dismissive because they were running a truckload of apps at the same time (not in VMs). I d

Re: Tuning ZFS memory usage on NetBSD - call for advice

2022-09-03 Thread Matthias Petermann
Hi Lloyd, On 31.08.22 21:57, Lloyd Parkes wrote: It might not be ZFS related. But it could be. Someone else reported excessive, ongoing, increasing "File" usage a while back and I was somewhat dismissive because they were running a truckload of apps at the same time (not in VMs). I did mana

Tuning ZFS memory usage on NetBSD - call for advice

2022-08-31 Thread Matthias Petermann
Hello all, under [1] is described in the section "Memory usage", which requirements ZFS has for the memory. It further mentions that the tunables that exist in FreeBSD do not exist in NetBSD. Especially for the size of the ARC there seems to be no limit for NetBSD: "vfs.zfs.arc_max - Upper

Re: Qemu storage performance drops when smp > 1 (NetBSD 9.3 + Qemu/nvmm + ZVOL)

2022-08-17 Thread Matthias Petermann
Hello Brian, On 18.08.22 07:10, Brian Buhrow wrote: hello. that's interesting. Do the cores used for the vms also get used for the host os? Can you arrange things so that the host os gets dedicated cores that the vms can't use? If you do that, do you still see a performance drop whe

Re: Qemu storage performance drops when smp > 1 (NetBSD 9.3 + Qemu/nvmm + ZVOL)

2022-08-17 Thread Matthias Petermann
Hello Brian, On 17.08.22 20:51, Brian Buhrow wrote: hello. If you want to use zfs for your storage, which I strongly recommend, lose the zvols and use flat files inside zfs itself. I think you'll find your storage performance goes up by orders of magnetude. I struggled with this on

Qemu storage performance drops when smp > 1 (NetBSD 9.3 + Qemu/nvmm + ZVOL)

2022-08-17 Thread Matthias Petermann
Hello, I'm trying to find the cause of a performance problem and don't really know how to proceed. ## Test Setup Given a host (Intel NUC7CJYHN, 2 physical cores, 8 GB RAM, 500 GB SSD) with a fresh NetBSD/amd64 9.3_STABLE. The SSD contains ESP, an FFS root partition and swap, and a large ZP

Re: NetBSD 9.2 installer can't detect disk of some Hetzner VPSes

2022-08-15 Thread Matthias Petermann
Hello Robert, Am 15.08.2022 um 13:35 schrieb Robert Swindells: If "qemu -machine q35" fails to boot NetBSD in the same way then it will be a lot easier to resolve this. unfortunately not... at least with machine type pc-q35-7.0 it boots for me both NetBSD 9.3 and a current 9.99.99. Beside o

Re: Virtio Viocon driver - possible to backport from OpenBSD?

2022-08-09 Thread Matthias Petermann
Hello Reinound, On 06.08.22 20:07, Reinoud Zandijk wrote: I always use `serial` console for my Qemu hacking but if some cloud environments rather have viocon's it seems like a sound idea. AFAIK its not that hard and was on my TODO list when I worked on virtio but it got sidetracked by other wor

Virtio Viocon driver - possible to backport from OpenBSD?

2022-08-04 Thread Matthias Petermann
Hello, according: https://man.openbsd.org/virtio.4 the OpenBSD virtio driver has its origin in NetBSD. Viocon Support was added later and not ported back yet. I am wondering how much effort it would take to merge it from https://cvsweb.openbsd.org/src/sys/dev/pv/viocon.c?rev=1.8&content-type=

Re: NetBSD 9.2 installer can't detect disk of some Hetzner VPSes

2022-07-20 Thread Matthias Petermann
Hello all, I was able to gather a little more information now. For me, at the moment, it doesn't look like the configuration of the virtualized hardware is completely "random". It rather seems to depend on the baseline one chooses when ordering the VPS - see the FAQ[1]: "What hardwar

Re: NetBSD 9.2 installer can't detect disk of some Hetzner VPSes

2022-07-20 Thread Matthias Petermann
Hi Robert, On 20.07.22 13:43, Robert Elz wrote: What kind of console interface does that setup give you? Emulated serial port? Emulated graphics interface? > > One of the virtio devices (1043) is described in pcidevs as a virtio console > but it doesn't look like we have any kind of driver

"zfs send" freezes system (was: Re: pgdaemon high CPU consumption)

2022-07-18 Thread Matthias Petermann
Hello, On 13.07.22 12:30, Matthias Petermann wrote: 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

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

Re: pgdaemon high CPU consumption

2022-07-10 Thread Matthias Petermann
Hello Frank, On 01.07.22 14:07, Frank Kardel wrote: Hi Matthias ! See PR 55707 http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=55707 , which I do not considere fixed due to the pgdaemon issue. reverting arc.cto 1.20 will give you many xcalls, but the system stays more usable. Fra

Re: pgdaemon high CPU consumption

2022-07-03 Thread Matthias Petermann
Hello, On 01.07.22 12:48, Brad Spencer wrote: "J. Hannken-Illjes" writes: On 1. Jul 2022, at 07:55, Matthias Petermann wrote: Good day, since some time I noticed that on several of my systems with NetBSD/amd64 9.99.97/98 after longer usage the kernel process pgdaemon completel

pgdaemon high CPU consumption

2022-06-30 Thread Matthias Petermann
Good day, since some time I noticed that on several of my systems with NetBSD/amd64 9.99.97/98 after longer usage the kernel process pgdaemon completely claims a CPU core for itself, i.e. constantly consumes 100%. The affected systems do not have a shortage of RAM and the problem does not disa

Re: NetBSD Xen guest freezes system + vif MAC address confusion (NetBSD 9.99.97 / Xen 4.15.2)

2022-06-05 Thread Matthias Petermann
Hi, Am 05.06.2022 um 14:49 schrieb Matthias Petermann: When shutting down the DomU, the whole system still hangs. If I understood your mail from 30.05.2022 (HEAD UP - NetBSD 9.99.x dom0 needs a Xen tool patch) correctly, I need new Xen tools or a manual patch for this part of the problem. I

Re: NetBSD Xen guest freezes system + vif MAC address confusion (NetBSD 9.99.97 / Xen 4.15.2)

2022-06-05 Thread Matthias Petermann
Hello Manuel, Am 27.05.2022 um 20:39 schrieb Manuel Bouyer: On Fri, May 27, 2022 at 02:06:59PM +0200, Matthias Petermann wrote: Anyway, Once I try to "xl console" I did only get a fragment: ``` ganymed$ doas xl console net [ 1.000] cpu_rng: rdrand [ 1.000] entr

Re: boot.cfg syntax question

2022-06-05 Thread Matthias Petermann
Hello, thanks for bringing this up. I just wanted to add another data point here: https://mail-index.netbsd.org/netbsd-users/2021/02/03/msg026523.html To me it looks like the same issue - nice to read this has been solved with the patch and looking forward to test it. Kind regards Matthias

Re: NetBSD Xen guest freezes system + vif MAC address confusion (NetBSD 9.99.97 / Xen 4.15.2)

2022-05-27 Thread Matthias Petermann
Hello Jürgen, Am 27.05.2022 um 14:14 schrieb J. Hannken-Illjes: Stack trace of thread vnconfig (1239) and from ddb "call fstrans_dump" should give even more details. here is the stacktrace from the vnconfig process (the PID has changed since I restarted): https://www.petermann-it.de/tmp/p7.

Re: NetBSD Xen guest freezes system + vif MAC address confusion (NetBSD 9.99.97 / Xen 4.15.2)

2022-05-27 Thread Matthias Petermann
Hi Manuel, Am 27.05.2022 um 12:14 schrieb Manuel Bouyer: Paginated processes list: https://www.petermann-it.de/tmp/p1.jpg https://www.petermann-it.de/tmp/p2.jpg https://www.petermann-it.de/tmp/p3.jpg several processes in fstchg wait, a stack trace of these processes (tr/t 0t or tr/a 0x would s

Re: NetBSD Xen guest freezes system + vif MAC address confusion (NetBSD 9.99.97 / Xen 4.15.2)

2022-05-27 Thread Matthias Petermann
Hi Manuel, Am 27.05.2022 um 11:14 schrieb Manuel Bouyer: did you create the bridge0 ? Yes, it exists: ``` ganymed$ brconfig bridge0 bridge0: flags=41 Configuration: priority 32768 hellotime 2 fwddelay 15 maxage 20 ipfilter disabled flags 0x0

NetBSD Xen guest freezes system + vif MAC address confusion (NetBSD 9.99.97 / Xen 4.15.2)

2022-05-27 Thread Matthias Petermann
Hello all, currently I am not able to instantiate a NetBSD Xen guest on NetBSD 9.99 (side fact: I also have problems with a Windows guest, but it is not that important at the moment). The problem occurs in the following environment: - Xen Kernel 4.15.2 and matching Xen Tools from pkgsrc 2

Re: WDCTL_RST failed for drive 0 / wd0: IDENTIFY failed (SATA autodetection issue after installation)

2022-05-24 Thread Matthias Petermann
longer required. Thanks, rin On 2022/05/25 0:49, Matthias Petermann wrote: A small addendum: disabling the Intel Platform Trust technology in the BIOS did not help me (had read this in another post of the linked thread). However, by plugging in additional USB devices (a mouse) I apparently caused

Re: WDCTL_RST failed for drive 0 / wd0: IDENTIFY failed (SATA autodetection issue after installation)

2022-05-24 Thread Matthias Petermann
case to execute the WDCTL_RST without errors. This "workaround" is a shaky one though, an extremely close call. I don't even want to think about what I would do to a production server if this happened to me on a reboot. Kind regards Matthias Am 24.05.2022 um 17:31 schrieb Mat

WDCTL_RST failed for drive 0 / wd0: IDENTIFY failed (SATA autodetection issue after installation)

2022-05-24 Thread Matthias Petermann
Hello all, with one of the newer builds of 9.99 (unfortunately I can't narrow it down more) I have a problem on a NUC5 with a Seagate Firecuda SATA hard drive (hybrid HDD/SSD). As long as I boot from the USB stick (for installation, as well as later for booting the kernel with root redirec

Re: Status of NetBSD virtualization roadmap - support jails like features?

2022-04-16 Thread Matthias Petermann
Hi Greg, Am 15.04.2022 um 20:28 schrieb Greg A. Woods: At Fri, 15 Apr 2022 07:36:15 +0200, Matthias Petermann wrote: Subject: Status of NetBSD virtualization roadmap - support jails like features? My motivation: I am looking for a particularly high performance virtualization solution on

Re: Status of NetBSD virtualization roadmap - support jails like features?

2022-04-15 Thread Matthias Petermann
Hi Greg, Am 15.04.2022 um 14:24 schrieb Greg Troxel: However, this week I read a post on Reddit[2] that was a bit disturbing to me. Meaningfully, it proclaims that the main development platform for nvmm is now DragonflyBSD rather than NetBSD. It also claims that the implementation i

Status of NetBSD virtualization roadmap - support jails like features?

2022-04-14 Thread Matthias Petermann
Hello all, this mail is more or less my personal reflection on the virtualization capabilities of NetBSD combined with the question where the journey could go. I basically use all virtualization technologies offered on NetBSD: * Xen for virtualizing entire servers on production environments.

Re: black screen, boot doesn't finish

2022-03-04 Thread Matthias Petermann
Hello all, I have here an Intel NUC i5-7300U with integrated graphics with similar problems on NetBSD 9.99.93 (build from 02/28/2022). When I boot the machine in UEFI mode, the green kernel output appear first, until the mode switch of the graphical console. After that the screen remains bla

xterm-color256: Different behavior between NetBSD 9.2 and 9.99.93?

2022-02-02 Thread Matthias Petermann
Hello all, on my NetBSD systems I set the environment variable TERM to "xterm-color256". This makes console apps like mc, taskwarrior, fish, micro etc. more attractive as it allows the use of 256 color themes. At least this is the case in NetBSD 9.2. On NetBSD 9.99.93 (build from 01/22/202

NetBSD 9.99.93 kernel crash with Firefox, Lariza and Mate

2022-01-29 Thread Matthias Petermann
Hello all, given here runs a NetBSD 9.99.93 (built from the sources from 22.01.2022). The system runs with Xorg (Intel KMS) so far quite stable. However, several X-applications crash the system reproducibly, each time a kernel crash with core dump and reboot happens. First I noticed this wit

Thanks for wpa_supplicant configuration in sysinst

2022-01-27 Thread Matthias Petermann
Hello all, recently i had seen in the source changes that sysinst in current got support for configuring wifi devices. I tried that for the first time today and was very happy - it worked right away and makes installing NetBSD on laptops so much easier. Thanks for that :-) Matthias

Re: HEADS UP: Merging drm update (Lenovo X230 mode switch issue in UEFI mode only, BIOS works)

2022-01-11 Thread Matthias Petermann
, the font was changed by the FONT option, which shows that the first lines before the mode switch appear in the Spleen font. I'm afraid these findings don't really help? Best regards Matthias On 09.01.22 17:40, Matthias Petermann wrote: Hello, On 04.01.22 21:10, RVP wrote: Can

Re: HEADS UP: Merging drm update (Lenovo X230 mode switch issue in UEFI mode only, BIOS works)

2022-01-09 Thread Matthias Petermann
Hello, On 04.01.22 21:10, RVP wrote: Can you check something else as well? Compile a kernel with: - # Give us a choice of fonts based on monitor size #options    FONT_BOLD8x16 #options    FONT_BOLD16x32 options FONT_SPLEEN12x24 - Sorry for the delay... just started a b

Re: HEADS UP: Merging drm update (Lenovo X230 mode switch issue in UEFI mode only, BIOS works)

2021-12-31 Thread Matthias Petermann
Hello, first of all, thanks for the effort to bring an up-to-date DRM to NetBSD! Proper graphics support is essential for most users and therefore the work cannot be appreciated enough. I have now also managed to test current on my laptop and made an observation that I would like to share an

Re: Filesystem corruption in current 9.99.92 (posix1eacl & log enabled FFSv2)

2021-12-29 Thread Matthias Petermann
Hello, On 27.12.21 06:20, Matthias Petermann wrote: I did not try to move the file around as you recommended because I would like to ask if there is anything I can do at this point to gather more diagnostic data to help understand the root cause? in the meantime I migrated all files to a

Re: Filesystem corruption in current 9.99.92 (posix1eacl & log enabled FFSv2)

2021-12-26 Thread Matthias Petermann
Hello Chuck, On 24.12.21 01:10, Matthias Petermann wrote: thanks for the good explanation which helped me a lot, and the tip how to break the infinite loop. I will definitely try that. In the meantime I have mounted the filesystem without the posix1eacls option. In this mode the "find /e

Re: Filesystem corruption in current 9.99.92 (posix1eacl & log enabled FFSv2)

2021-12-23 Thread Matthias Petermann
Hi Chuck, On 23.12.21 18:12, Chuck Silvers wrote: a "cylinder group" is a metadata structure in FFS that describes the allocation state of a portion of the blocks and inodes of the file system and contains the inode records themselves. the header for this structure also contains a "magic number

Filesystem corruption in current 9.99.92 (posix1eacl & log enabled FFSv2)

2021-12-23 Thread Matthias Petermann
Hello, for tracking down an FFS issue in current I would appreciate some advice. There is a NetBSD 9.99.92 Xen/PV VM (storage provided by file backed VND). The kernel is built from ~2012-11-27 CVS source. The root partition is a normal FFSv2 with WAPBL. In addition there is a data partition f

Re: Samba DC provisioning fails with Posix ACL enabled FFS

2021-11-30 Thread Matthias Petermann
Thanks :-) Am 29.11.21 um 21:03 schrieb Jaromír Doleček: UFS_ACL enabled in XEN3_DOMU now. Le lun. 29 nov. 2021 à 17:46, Matthias Petermann a écrit : Am 28.11.21 um 17:32 schrieb Christos Zoulas: Thanks for the bug report :-) christos You're welcome :-) One more small que

Re: Samba DC provisioning fails with Posix ACL enabled FFS

2021-11-29 Thread Matthias Petermann
Am 28.11.21 um 17:32 schrieb Christos Zoulas: Thanks for the bug report :-) christos You're welcome :-) One more small question: currently the UFS_ACL option in the XEN3_DOMU is not enabled by default for the amd64 architecture. For XEN_DOM0 the option is enabled. I guess that the main use

Re: Samba DC provisioning fails with Posix ACL enabled FFS

2021-11-28 Thread Matthias Petermann
Hello all, it turned out that my problem was a result of an inconsistency in the ACL variant (NFSv4 vs. POSIX1e) that existed in NetBSD-current for about 2 months. Christos was kind enough to look at it and fix it right away[1]. My big thanks for that! With all NetBSD-current builds with sou

Re: Samba DC provisioning fails with Posix ACL enabled FFS

2021-11-25 Thread Matthias Petermann
On 25.11.21 14:49, Matthias Petermann wrote: I am using Samba 4.13.11 from pkgsrc-2021Q3 (compiled with acl-Option). The NetBSD version is: NetBSD net.local 9.99.92 NetBSD 9.99.92 (XEN3_DOMU_CUSTOM) #0: Thu Nov 25 06:26:36 CET 2021 mpeterma@sysbldr92.local:/home/mpeterma/netbsd-current/obj/sys

Samba DC provisioning fails with Posix ACL enabled FFS

2021-11-25 Thread Matthias Petermann
Hello all, has anyone tried provisioning a Samba DC on NetBSD current recently? I managed to do this about half a year ago. Currently, however, there seems to be a problem that I can't quite figure out yet. I use as storage for Samba / Sysvol a FFS with Posix ACLs enabled. I have enabled the

Sysinst customization options ("installation profiles")?

2021-09-15 Thread Matthias Petermann
Hello all, I have a general question about the NetBSD installation process. Background: I use NetBSD/amd64 as an operating system for appliances that I usually install on mini or industrial PCs - sometimes also as virtual machines on systems where I have access to the virtual host. I usually

Re: [HEADS UP] pkgsrc default database directory changed

2020-12-07 Thread Matthias Petermann
Hello everybody, while I think the change makes sense (if I understand it correctly, it will make it easier for me in the future to switch between different PKG locations including the corresponding metadata just by renaming the respective /usr/pkg directory), I would be very happy to read a s

Re: sponsor NetBSD for 2020 https://github.com/sponsors/NetBSD

2020-11-10 Thread Matthias Petermann
Am 10.11.2020 um 14:32 schrieb matthew sporleder: Indeed -- casting a wide net is in our interest. I hope you are able to use one of our many potential donation offerings -- paypal, stripe, amazon smile, github sponsorship.. any I am missing? So far my monthly subscription via Paypal has work

Re: sponsor NetBSD for 2020 https://github.com/sponsors/NetBSD

2020-11-10 Thread Matthias Petermann
Hallo Matthew, Am 10.11.2020 um 05:35 schrieb matthew sporleder: Hey -- the end of the year is coming up fast. Wouldn't you feel better about yourself if you added a github sponsorship to balance out your incredible year? :) How does this type of donation compare to a Paypal Monthly Subscriptio

Re: [PATCH] net/samba4: relocate Sysvol to persist between reboots & move variable data out of /usr/pkg/etc/...

2020-07-31 Thread Matthias Petermann
Hello everybody, unfortunately I was late to test this patch and saw that it is already in CVS. I still wanted to let you know that I can now confirm that without the patch and activated "log" the problem described by Chavdar occurs, and that everything seems fine with the patch. I have succe

Re: [PATCH] net/samba4: relocate Sysvol to persist between reboots & move variable data out of /usr/pkg/etc/...

2020-07-30 Thread Matthias Petermann
Am 30.07.2020 um 15:58 schrieb Chuck Silvers: I tried with both "posix1eacls" and "log", and that triggers the corruption and crash for me too. the UFS2 extattr code hasn't been updated to have the necessary hooks to integrate with wapbl, I'll take a look at what is needed for that. until that

Re: [PATCH] net/samba4: relocate Sysvol to persist between reboots & move variable data out of /usr/pkg/etc/...

2020-07-29 Thread Matthias Petermann
Hello Chavdar, Am 28.07.2020 um 18:48 schrieb Chavdar Ivanov: This being a place people are trying samba4 as a DC, I got a repeatable panic on one of the systems I am trying it on, as follows: crash: _kvm_kvatop(0) Crash version 9.99.69, image version 9.99.69. Kernel compiled without option

[PATCH] net/samba4: relocate Sysvol to persist between reboots & move variable data out of /usr/pkg/etc/...

2020-07-27 Thread Matthias Petermann
Hello everyone, with the introduction of FFS ACLs Samba can be used as windows domain controller (DC). The DC needs a directory to persist its policies and scripts - the so called Sysvol. The creation of the Sysvol typically takes place during the domain provisioning with samba-tool. At the

Re: Request for a quick fix in man page gpt(8) (fbsd-zfs --> zfs)

2020-07-27 Thread Matthias Petermann
Am 27.07.2020 um 23:10 schrieb Thomas Klausner: On Mon, Jul 27, 2020 at 10:47:30PM +0200, Matthias Petermann wrote: recently the identifier of the ZFS partition type has been renamed in gpt. It used to be called "fbsd-zfs". Now it is only "zfs" which I very much welcome a

Request for a quick fix in man page gpt(8) (fbsd-zfs --> zfs)

2020-07-27 Thread Matthias Petermann
Hello everyone, recently the identifier of the ZFS partition type has been renamed in gpt. It used to be called "fbsd-zfs". Now it is only "zfs" which I very much welcome as a NetBSD user. Can someone please adjust the man page? This should do it: Index: gpt.8 ===

Re: Samba DC provisioning fails with ACL-enabled NetBSD-current

2020-07-26 Thread Matthias Petermann
Hello Chuck, Am 26.07.2020 um 02:30 schrieb Chuck Silvers: On Thu, Jul 23, 2020 at 08:09:11PM -0400, Christos Zoulas wrote: Be very careful and use a separate partition for sysvol because Matthias reported fs corruption which I have not looked at yet. I committed a fix for the fs corruption

Re: nss_winbind Segmentation fault -

2020-07-21 Thread Matthias Petermann
Am 22.07.2020 um 05:26 schrieb Matthias Petermann: Hello Christos, Am 21.07.2020 um 17:49 schrieb Christos Zoulas: I am having trouble building pkgsrc. Can you try: https://www.netbsd.org/~christos/samba4.diff christos Thank you very much - I applied the patch tonight and can confirm that

Re: nss_winbind Segmentation fault -

2020-07-21 Thread Matthias Petermann
Hello Christos, Am 21.07.2020 um 17:49 schrieb Christos Zoulas: I am having trouble building pkgsrc. Can you try: https://www.netbsd.org/~christos/samba4.diff christos Thank you very much - I applied the patch tonight and can confirm that the group query now works: test10# id Administra

Re: nss_winbind Segmentation fault -

2020-07-21 Thread Matthias Petermann
Hello Christos, Am 21.07.2020 um 16:40 schrieb Christos Zoulas: In article , Matthias Petermann wrote: Hello Christos, Thank you for your tip - I have come a little further. Am I correctly interpreting the debugger output that the memory address of the integer pointer from groupc points to

Re: nss_winbind Segmentation fault -

2020-07-21 Thread Matthias Petermann
so that I am at least technically able to continue debugging. However, my understanding just stops here and I have to take more time to think myself into it. Can you see anything obvious from the output of gdb? Kind regards Matthias Am 21.07.2020 um 01:29 schrieb Christos Zoulas: groupc m

nss_winbind Segmentation fault - (was: Re: Samba DC provisioning fails with ACL-enabled NetBSD-current)

2020-07-20 Thread Matthias Petermann
Hello everybody, In the meantime I was able to successfully connect a Windows VM to the Samba domain. The domain login works and also the access to the Sysvol. Wonderful! Now I try to make the domain accounts known on the Samba host - the NetBSD system. I have adjusted the /etc/nsswitch.conf

  1   2   >