Panic in Xen DomU when dumping a WAPBL enabled FFSv2

2017-11-23 Thread Matthias Petermann
enabled. It is located inside a LVM LV. The Xen Dom0 is a NetBSD 8.0_BETA, too. The Xen Version is 4.8. My question here is: is there some obvious thing that I am doing wrong? Best regards, Matthias -- Matthias Petermann <matth...@petermann-it.de> | www.petermann-it.de GnuPG: 0x5C3E6D

Re: dump -X of large LVM based FFSv2 with WAPBL panics

2017-11-17 Thread Matthias Petermann
. This is worth trying. Some day I plan to add some counter, so that actually boot would actually force fsck every X boots even when clean, similarily what Linux does with ext3/4. Jaromir 2017-11-15 12:56 GMT+01:00 Matthias Petermann <matth...@petermann-it.de <mailto:matth...@petermann

dump -X of large LVM based FFSv2 with WAPBL panics

2017-11-15 Thread Matthias Petermann
none fsmnt /p volname swuid 0 5) Further observations: - dump -X of other FSs on the same machine seem to work fine, but these FSs are smaller I'd be glad to help identifying the root cause further. Best regards, Matthias -- Matthias Petermann <matth...@petermann-it.

Re: NetBSD 9.0_RC1 - installation on GPT (with BIOS boot) not bootable

2019-12-12 Thread Matthias Petermann
Hi Martin, thanks for following up on my question. Please find my responses below. On 12/12/19 5:27 PM, Martin Husemann wrote: It would be interesting to see more details at this stage: - how does it fail exactly The affected X220 has a builtin boot menu to select the boot media which

Re: NetBSD 9.0_RC1 - installation on GPT (with BIOS boot) not bootable

2019-12-12 Thread Matthias Petermann
t520) to boot GPT in BIOS mode" Kind regards Matthias [1] https://reviews.freebsd.org/D3065 On 12/13/19 7:22 AM, Matthias Petermann wrote: ... What came to mind: many years ago I installed freebsd on the same device. That would have been around FreeBSD 9 or 10. Back then, bsdinsta

Re: NetBSD 9_RC1 not booting from disklabel partition on RAIDframe on GPT

2019-12-12 Thread Matthias Petermann
Hello Chavdar, thanks for looking at this issue. In the meantime Emmanuel Dreyfus contacted me and did prepare a patch which solves the issue for me. It is attached to the PR misc/54748 [1]. The patch is committed to HEAD, so newer 9.99.x daily builds should already contain it. It would be

NetBSD 9.0_RC1 - installation on GPT (with BIOS boot) not bootable

2019-12-12 Thread Matthias Petermann
have chosen MBR. This time after the installation the system renders bootable fine. Is it a supported use case for sysinst to setup a non-EFI-System with GPT? Kind regards Matthias -- Matthias Petermann | www.petermann-it.de Innovative IT-Lösungen, Systemintegration, Linux/FreeBSD/Unix-Sup

Re: Devices without power management support: dm0 dm1 (LVM / Device Mapper prevents ACPI Sleep State 3)

2020-01-15 Thread Matthias Petermann
Hello Maya, On 15.01.20 07:55, m...@netbsd.org wrote: Since I don't see any of this in the log, I'm not sure at all whether the code is actually executed. Is it generally the case that all device drivers are "detached" before entering ACPI Sleep state 3? Or could this be a special case? You

Re: Devices without power management support: dm0 dm1 (LVM / Device Mapper prevents ACPI Sleep State 3)

2020-01-14 Thread Matthias Petermann
Hello Maya, many thanks for your response. I used the patch in my NetBSD 9.0 (RC1) kernel and rebuilt it. However, it does not seem to be the solution to the problem. If i want to send the system to sleep, the message still appears: [92,499360] Devices without power management

Devices without power management support: dm0 dm1 (LVM / Device Mapper prevents ACPI Sleep State 3)

2020-01-13 Thread Matthias Petermann
ent. A logical layer like LVM doesn't have to be interested in power management. But I don't know enough about it to actually evaluate it. Nevertheless, the question: what speaks against implementing fake power management for LVM to enable suspend to RAM? Best wishes Matthias -- Petermann IT

(more) devices without power management support: uvideo1 uaudio2 umidi0 umidi1 umidi2

2020-04-08 Thread Matthias Petermann
Hello everybody, the original thread on this topic "Re: Devices without power management support: dm0 dm1 (LVM / Device Mapper prevents ACPI Sleep State 3)" is a bit older. I hope it is ok that I continue here because the topic seems very similar to me. Now that my x230 has become my main

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

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

Re: blacklist -> blocklist in current

2020-06-16 Thread Matthias Petermann
Hello, Am 16.06.2020 um 07:43 schrieb Marc Balmer: Am 16.06.2020 um 04:53 schrieb Mayuresh : On Mon, Jun 15, 2020 at 03:44:22PM -0400, Christos Zoulas wrote: We should be all doing whatever we can to correct social/race/gender/sex injustices/prejudices around us, and every little bit

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

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

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: 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

[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

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

Re: nss_winbind Segmentation fault -

2020-07-21 Thread Matthias Petermann
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 must b

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

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: Samba DC provisioning fails with ACL-enabled NetBSD-current

2020-07-20 Thread Matthias Petermann
Hello Christos and Patrick, Thank you very much for your quick help. It works with the POSIX.1E ACLs and I now seem to have a domain controller running on NetBSD. What a great day :-) I will now install a Windows as a Xen guest and try to join the domain. Kind regards Matthias

Samba DC provisioning fails with ACL-enabled NetBSD-current

2020-07-20 Thread Matthias Petermann
Hello everybody, A while ago, Christos Zoulas imported the ACL code for FFS. This opens the door for using NetBSD with Samba as a domain controller in a heterogeneous environment with Windows clients. I'm honest: that's one of the killer features for me and I'm very grateful that Christos did

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

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

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

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: 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

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

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

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-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

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

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

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

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 question

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

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

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 you check

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

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

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

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: 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

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

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

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

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):

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

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 complet

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

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.

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-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: NetBSD Xen guest freezes system + vif MAC address confusion (NetBSD 9.99.97 / Xen 4.15.2)

2022-06-06 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

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

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 Matthias

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

2022-05-24 Thread Matthias Petermann
is no 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: 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

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

2022-07-19 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: NetBSD 9.2 installer can't detect disk of some Hetzner VPSes

2022-07-21 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

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

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 -

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

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

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

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

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
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

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

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

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

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

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

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

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

2022-08-18 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

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: 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

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

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

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

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

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 vic

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

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

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

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

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

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

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

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: ther

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: 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

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 /

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

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

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

2023-06-24 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

  1   2   >