Re: Prob watching DVDs

2023-06-05 Thread Matthias Petermann
Hello Todd, On 05.06.23 09:29, Todd Gruhn wrote: I use both Xine and VLC Multimedia. Both work with certain DVD; fail to use outer DVD. Why? Is this because DVD is so old? Has this been fixed? Is there information on different DVD due to their age? Thanks for any help. It is possible that

Re: nvmm users - experience

2023-05-24 Thread Matthias Petermann
Hi Mathew, On 23.05.23 15:11, Mathew, Cherry G.* wrote: MP> I came across Qemu/NVMM more or less out of necessity, as I had MP> been struggling for some time to set up a proper Xen MP> configuration on newer NUCs (UEFI only). The issue I encountered MP> was with the

Re: nvmm users - experience

2023-05-24 Thread Matthias Petermann
] https://forge.petermann-it.de/mpeterma/vmctl On 23.05.23 16:38, Matthias Petermann wrote: Hi Robert, On 23.05.23 15:51, Robert Nestor wrote: Commenting on your follow-up on Xen startup and how I considered doing this in NVMM.  I have a rudamentory script that I use to define/create guest

Re: nvmm users - experience

2023-05-23 Thread Matthias Petermann
Hi Robert, On 23.05.23 15:51, Robert Nestor wrote: Commenting on your follow-up on Xen startup and how I considered doing this in NVMM. I have a rudamentory script that I use to define/create guest systems which also includes some hooks for starting up guest systems. There’s not currently

Limitations regarding number of VNDs as Xen Backing Store for DomUs (consider partitionless image approach vs. GPT in image approach)

2023-05-17 Thread Matthias Petermann
Hello, motivated by the other Xen thread here (I also will share a few experiences soon), I am currently considering the approach that could be advantageous for my use case in terms of storage. Once again, we have a small NUC system as a Xen host. I exclusively use PV virtualization in the

Re: Advice for new travelling server: Intel Z690 chipset?

2023-05-10 Thread Matthias Petermann
Hi Johan, On 10.05.23 10:26, Johan Stenstam wrote: The only fly in the ointment is that running NetBSD 9.3 with Xen 4.13 the hypervisor complains about the CPU being unrecognised. When trying Xen 4.15 the CPU is recognised, but then the hypervisor crashes just as it is about to handover to

Devpubd - possible to automatically adjust permissions for zvol device nodes?

2022-12-16 Thread Matthias Petermann
Hello, under /dev/zvol/rdsk/pool/ there are device nodes for zvols created under ZFS. These are created automatically when the ZFS module is loaded (if not present) and are given the 600 root/wheel permission by default. How can I set the permission, owner, and group during creation?

Re: Mystical issue with NetBSD and opening Russian Bank site chelinvest.ru

2022-11-01 Thread Matthias Petermann
Hello Dimitri, this sounds really mystical and I don't have a concrete idea why this is happening in your case. However, I have had a related problem before that caused me a lot of trouble. It was about the name resolution in mixed networks of ipv4 and ipv6. You could check whether some or

Re: Feed facility/priority to logger(1) via stdin - desirable extension or bad idea?

2022-10-23 Thread Matthias Petermann
Hi, Am 21.10.2022 um 14:36 schrieb ignat...@cs.uni-bonn.de: On Thu, Oct 20, 2022 at 10:30:12PM +0100, Mr Roooster wrote: On Fri, 7 Oct 2022 at 14:19, Matthias Petermann wrote: - Can what I have in mind already be solved (differently or more elegantly) with existing tools from the base

Re: Feed facility/priority to logger(1) via stdin - desirable extension or bad idea?

2022-10-16 Thread Matthias Petermann
[re-sent due to wrong patch included + wrong address of netbsd-userlevel, please apologize duplicates] Hello, On 07.10.22 21:39, Mouse wrote: Is there some reason you don't actually syslog() the log messages, then, rather than sending them down a pipe? It sounds to me as though you are going

Re: Feed facility/priority to logger(1) via stdin - desirable extension or bad idea?

2022-10-16 Thread Matthias Petermann
Hello, On 07.10.22 21:39, Mouse wrote: Is there some reason you don't actually syslog() the log messages, then, rather than sending them down a pipe? It sounds to me as though you are going to have to make your log generator logging-aware, but, then, I don't see what benefit you get from

Re: Feed facility/priority to logger(1) via stdin - desirable extension or bad idea?

2022-10-07 Thread Matthias Petermann
Hello, thank you very much for the suggestions and questions. Am 07.10.2022 um 21:39 schrieb Mouse: With a lot of scripts and tools written, I have gotten into the habit of logging all logging output to stderr, as well as any form of payload to stdout. What do you do with error messages,

Feed facility/priority to logger(1) via stdin - desirable extension or bad idea?

2022-10-07 Thread Matthias Petermann
Hello all, following a short discussion on IRC, I would like to ask a question or make a suggestion. With a lot of scripts and tools written, I have gotten into the habit of logging all logging output to stderr, as well as any form of payload to stdout. To change the logging destination

Re: Multiple instances of the same mount point in fstab not possible? (want to layer multiple filesystems into one namespace via union mount option)

2022-09-24 Thread Matthias Petermann
Hi Michael, On 24.09.22 10:42, Michael van Elst wrote: m...@petermann-it.de (Matthias Petermann) writes: NAME=data1 /export ffs rw,log,union 0 0 NAME=data2 /export ffs rw,log,union 0 0 NAME=data3 /export ffs rw,log,union

Multiple instances of the same mount point in fstab not possible? (want to layer multiple filesystems into one namespace via union mount option)

2022-09-22 Thread Matthias Petermann
Hello all, I have a possibly somewhat strange question. In addition to the root file system, I have three other FFS file systems here. I want to layer them on top of each other using the union mount option on one and the same mount point. This works without any problems on the command line.

Re: Qemu/nvmm - time in NetBSD guest system lags behind (with estd on host)

2022-09-19 Thread Matthias Petermann
Hello Michael and Paul, Am 05.09.2022 um 07:29 schrieb Michael van Elst: p...@whooppee.com (Paul Goyette) writes: You would have to modify the appropriate module's Makefile to add the HZ=1000 definition. ZFS doesn't use HZ, but in osnet/sys/sys/time.h it uses a value hz=100 to compute the

Re: NetBSD iSCSI target on ZVOL used as block device for Qemu - iSCSI: NOP timeout

2022-09-19 Thread Matthias Petermann
Hello Michael, Am 19.09.2022 um 10:52 schrieb Michael van Elst: m...@petermann-it.de (Matthias Petermann) writes: There is a userland implementation (iscsi-target / iscsi-initiator) that is basically the reference (or maybe example) code plus some integration as userland filesystem. The code

Re: NetBSD iSCSI target on ZVOL used as block device for Qemu - iSCSI: NOP timeout

2022-09-19 Thread Matthias Petermann
Hello Chavdar and Michael, Am 18.09.2022 um 16:28 schrieb Chavdar Ivanov: On 18 September 2022 13:46:33 (+01:00), Matthias Petermann wrote: > Hi, > > Am 18.09.2022 um 14:22 schrieb Michael van Elst: > > m...@petermann-it.de (Matthias Petermann) writes: > > >>

Re: NetBSD iSCSI target on ZVOL used as block device for Qemu - iSCSI: NOP timeout

2022-09-18 Thread Matthias Petermann
Hi, Am 18.09.2022 um 14:22 schrieb Michael van Elst: m...@petermann-it.de (Matthias Petermann) writes: thanks for your suggestion. Do you mean this package: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/netbsd-iscsi-target/ ? I'm not sure if you mean this one, because the last

Re: NetBSD iSCSI target on ZVOL used as block device for Qemu - iSCSI: NOP timeout

2022-09-18 Thread Matthias Petermann
Hi, Am 18.09.2022 um 14:11 schrieb Chavdar Ivanov: My first suggestion would be to try using the iscsi server package from pkgsrc. I have certainly used iscsi shared zvol but from a windows 10 initiator without a problem. thanks for your suggestion. Do you mean this package:

NetBSD iSCSI target on ZVOL used as block device for Qemu - iSCSI: NOP timeout

2022-09-18 Thread Matthias Petermann
Hello all, here again a small (or big?) problem in connection with virtualisation ;-) The following scenario is given: There is a NetBSD 9.3 server with ZFS, on it a ZVOL. The server makes the ZVOL available via iSCSI. There is also a NetBSD 9.3 client with Qemu/nvmm. The client boots from

Re: Qemu/nvmm - time in NetBSD guest system lags behind (with estd on host)

2022-09-12 Thread Matthias Petermann
Hello all, On 12.09.22 15:00, Matthias Petermann wrote: CONCLUSION - Due to the root cause (well explained in [1]) the clocks in the VMs are potentially running slow. - The root cause can be mitigated by a higher HZ in the host kernel compared to the guest kernel. - ntpd can

Re: Qemu/nvmm - time in NetBSD guest system lags behind (with estd on host)

2022-09-12 Thread Matthias Petermann
Hello all, Am 31.08.2022 um 11:29 schrieb Matthias Petermann: Hello all, I have a NetBSD 9.3 host that hosts multiple virtual machines (Qemu with nvmm acceleration). One peculiarity: I use estd on the host to control down the power consumption of the whole system via frequency scaling when

Re: Access FFS partition on GPT on ZVOL

2022-09-07 Thread Matthias Petermann
Hello Michael, Am 07.09.2022 um 16:37 schrieb Michael van Elst: m...@petermann-it.de (Matthias Petermann) writes: saturn$ doas dmsetup create net-export --table "34 2147483581 linear /dev/zvol/rdsk/tank/backup/vhost/vol/net-export 0" create and load called Please try: --table &qu

Re: Access FFS partition on GPT on ZVOL

2022-09-07 Thread Matthias Petermann
Hello Michael, Am 03.09.2022 um 17:59 schrieb Michael van Elst: m...@petermann-it.de (Matthias Petermann) writes: saturn$ doas dkctl /dev/zvol/rdsk/tank/backup/vhost/vol/net-export=20 addwedge myexport 34 2147483581 ffs dkctl: /dev/zvol/rdsk/tank/backup/vhost/vol/net-export: addwedge:=20

Re: Qemu/nvmm - time in NetBSD guest system lags behind (with estd on host)

2022-09-04 Thread Matthias Petermann
Hi Robert, please allow me one mor more question On 04.09.22 10:42, Matthias Petermann wrote: Hi Robert, On 04.09.22 02:58, Robert Elz wrote: if that implies that you rebuilt the kernel with HZ=1000 and then used the zfs module built with HZ=100 then I think the first thing I would try

Re: Qemu/nvmm - time in NetBSD guest system lags behind (with estd on host)

2022-09-04 Thread Matthias Petermann
Hi Robert, On 04.09.22 02:58, Robert Elz wrote: if that implies that you rebuilt the kernel with HZ=1000 and then used the zfs module built with HZ=100 then I think the first thing I would try would be to rebuild the module(s?) with HZ=1000 Good point... I'll try that right away. This might

Re: Qemu/nvmm - time in NetBSD guest system lags behind (with estd on host)

2022-09-04 Thread Matthias Petermann
Hello, On 03.09.22 13:51, Matthias Petermann wrote: it took a while - in the meantime I could test the 1000HZ kernel on my system. Unfortunately I had an effect right at the first test, which forced me to roll back the change first. I hope I'll get around to recreating this on a less critical

Access FFS partition on GPT on ZVOL

2022-09-03 Thread Matthias Petermann
Hello all, here is a ZVOL that is used by a VM as backing storage. Consequently, this is provided with a GPT in which, among other things, an FFS partition is defined. I want to access this partition from the host side (i.e. from outside the VM). The listing of the GPT works already : ```

Re: Qemu/nvmm - time in NetBSD guest system lags behind (with estd on host)

2022-09-03 Thread Matthias Petermann
Hello Robert, On 31.08.22 16:57, Robert Elz wrote: Date:Wed, 31 Aug 2022 13:42:13 +0200 From:Matthias Petermann Message-ID: | I'm also curious about the effect on energy consumption - i.e., whether | it's measurable. I'm sure its measurable, but I

Re: Low power server ideas

2022-09-02 Thread Matthias Petermann
Hello Andy, Am 02.09.2022 um 16:38 schrieb Andy Ruhl: Hello all, I've been running a NetBSD server on i386 for about 20 odd years, I should go back and check when I actually started it. I sort of accidentally upgraded it to amd64 a while back but it worked. Anyways, it seems like time to move

Re: Qemu/nvmm - time in NetBSD guest system lags behind (with estd on host)

2022-08-31 Thread Matthias Petermann
Hello Robert, Am 31.08.2022 um 13:03 schrieb Robert Elz: [...] About the rtc, no no idea. But to deal with the problem, aside from major NetBSD code rewrites (the so called tickless kernel) the one solution that should work is to run the host with HZ set a lot higher, and leave the guest(s)

Qemu/nvmm - time in NetBSD guest system lags behind (with estd on host)

2022-08-31 Thread Matthias Petermann
Hello all, I have a NetBSD 9.3 host that hosts multiple virtual machines (Qemu with nvmm acceleration). One peculiarity: I use estd on the host to control down the power consumption of the whole system via frequency scaling when there is no load. The time of the host is synchronized via

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

2022-08-18 Thread Matthias Petermann
Hi, On 18.08.22 09:10, B. Atticus Grobe wrote: ZFS (at least on Solaris and FreeBSD) will use any uncommitted RAM as an I/O buffer, which likely explains why it was keeping up with the single core runs, pushing everything to RAM instead of to disk. I would expect if you push enough data to fill

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

2022-08-18 Thread Matthias Petermann
Hi, On 18.08.22 07:14, B. Atticus Grobe wrote: Forgive me if I've misread, but it seems like you're running 3 VMs with 2 vCPUs each on a dual-core processor. ZFS itself is also processor and RAM heavy (on every OS I've used it on, never have used it on NetBSD). So, it seems to me like you've

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

2022-07-20 Thread Matthias Petermann
Hello, On 19.07.22 15:02, Matthias Petermann wrote: Further, I'd like to follow up on what the "incompatible" chipset is, i.e. how I could test it locally in Qemu. Has anyone at Hetzner ever figured this out? I just wanted to save the dmesg and copy it via SSH to my home

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

2022-07-19 Thread Matthias Petermann
On 11.07.22 11:55, Mayuresh wrote: This is most likely due too a bug within BSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922 Most of our Systems and all AMD Hosts already use Q35 as default virtual chipset. It seems like you had luck to get a CX (Intel) Host that still uses

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

2022-07-19 Thread Matthias Petermann
Hello, Am 11.07.2022 um 18:27 schrieb Robert Elz: Date:Mon, 11 Jul 2022 21:43:15 +0530 From:Mayuresh Message-ID: <20220711161315.hoakmn5fgz76gtov@localhost> | Hetzner agreed to set a compatible chipset for my instance. So I finally | got the configuration

Re: Keybord seems to be attached to ttyE0 after wdm starts

2022-06-06 Thread Matthias Petermann
Hi, Am 05.06.2022 um 23:11 schrieb RVP: On Sun, 5 Jun 2022, BERTRAND Joël wrote: When NetBSD starts, wdm is launched, mouse works fine, but keyboard not ! I cannot switch from X console to ttyE1, but from a remote server, if I kill X or wdm, I see that keyboard has sent characters to

Re: NetBSD 10 -- new way of attaching virtual interfaces to bridge?

2022-05-25 Thread Matthias Petermann
Hi Manuel, Am 25.05.2022 um 14:53 schrieb Manuel Bouyer: On Wed, May 25, 2022 at 02:45:50PM +0200, Matthias Petermann wrote: so is my understanding correct - for NetBSD 10 as Xen Dom0 it is required to migrate from tap to vether? May I ask how to tell xentools415 to create a vether device

Re: NetBSD 10 -- new way of attaching virtual interfaces to bridge?

2022-05-25 Thread Matthias Petermann
Hi, Am 23.05.2022 um 13:02 schrieb s...@mailbox.org: On 2022/05/23 11:55 Manuel Bouyer wrote: How are vether interfaces created and connected to a bridge? The same way you do with tap I guess: ifconfig vether0 create ifconfig vether0 up brconfig bridge0 add vether0 up Well, that's just

Re: USB headphones

2022-01-17 Thread Matthias Petermann
Hi Todd, Am 17.01.2022 um 23:27 schrieb Todd Gruhn: I found a nice set of headphones -- but they ARE USB. Is there a way to send sound to a/the USB port? yes of course you can. In USB headphones there is a built-in D/A converter which is connected to the computer via the USB port. Where it

Re: How to bind bozohttpd / inetd to port 8080?

2021-12-18 Thread Matthias Petermann
Hi, Am 18.12.2021 um 11:47 schrieb Ignatios Souvatzis: On Sat, Dec 18, 2021 at 11:34:12AM +0100, Matthias Petermann wrote: I am currently trying to have bozohttpd listen on port 8080 instead of port 80 via inetd. In /etc/services there is an entry "http-alt" for t

How to bind bozohttpd / inetd to port 8080?

2021-12-18 Thread Matthias Petermann
Hello all, I am currently trying to have bozohttpd listen on port 8080 instead of port 80 via inetd. In /etc/services there is an entry "http-alt" for this. However, when I set in the /etc/inetd.conf: ``` http-altstream tcp nowait:600 _httpd /usr/libexec/httpd

Re: Release

2021-12-17 Thread Matthias Petermann
Am 17.12.2021 um 14:33 schrieb Martin Husemann: On Fri, Dec 17, 2021 at 08:27:56PM +0800, Piper H wrote: solutions than OpenBSD. NetBSD also has a very strong commitment to binary compatibility with old releases *and* the slowest release cycle (which also means active support for old release

Re: Release

2021-12-16 Thread Matthias Petermann
Hi Martin, Am 16.12.2021 um 10:32 schrieb Martin Husemann: On Wed, Dec 15, 2021 at 07:48:18PM +, Todd Gruhn wrote: When is the next official NetBSD release? The branch for 10 will need to happen "soon", but there is no fixed date yet. Details at:

Re: Release / NetBSD as mobile OS

2021-12-16 Thread Matthias Petermann
Am 16.12.2021 um 07:33 schrieb Piper H: Is there a mobile OS based on BSD, besides OSX? That depends on how you define mobile OS. Basically there is everything you need in NetBSD to make it a usable OS for mobile devices. To get an idea of this, I recommend this blog post from 2017. Under

Re: Accessing BIOS Partition from NetBSD

2021-11-11 Thread Matthias Petermann
Hi, Am 10.11.21 um 21:27 schrieb evil cRaftKnife: Hi I am currently planning the install of NetBSD on my new notebook. My plan is to install the OS onto the first BIOS partition and use a second partition to be /home on ZFS. I created the two partitions at install time in my practice run

Re: RAIDframe boot issues on amd64 (BIOS boot)

2021-10-24 Thread Matthias Petermann
On 22.10.21 07:58, Matthias Petermann wrote: ## Questions  - does anyone know what the output of @'s means? I could not derive this from the source code of the bootxx_ffsv2 unfortunately, also did not find something in the error code explainations in the wiki[2]  - could it be a BIOS

RAIDframe boot issues on amd64 (BIOS boot)

2021-10-21 Thread Matthias Petermann
Hello all, I have a non-UEFI PC with BIOS boot. The PC has two hard disks of the same size that I use to configure a RAIDframe RAID 1 on which the root filesystem lives and where I want to boot from. Depending on the start sector of the partitions that form the RAID components, there is a

Re: 2-year old change not pulled into 9.2

2021-09-21 Thread Matthias Petermann
Hello Jan, On 22.09.21 03:05, Jan Schaumann wrote: Hello, Back in 2019, I reported a bug in cp(1): https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54564 This was promptly fixed in src/bin/cp/utils.c rev 1.47 on 2019-09-23, but it looks like this change is not included in cp(1) in

Re: Modern Cyrus IMAP and Apache Guacamole on NetBSD?

2021-09-09 Thread Matthias Petermann
Hi Carl, On 09.09.21 05:50, Carl Brewer wrote: G'day, Looking at pkgsrc, the version of cyrus imap seems to be pretty ancient, 2.4.20.something. I want to run a much more recent version, but don't have the skills or time to maintain anything in pkgsrc.  Has anyone here looked at, or is,

Re: ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?

2021-07-17 Thread Matthias Petermann
Hello together, The story is slowly coming to a conclusion and I would like to describe my observations for the sake of completeness. According to [1], SATA/ATA on NetBSD does not support hot swap. Therefore, I shut down the NAS and swapped the disk in a powerless state. I installed the

Re: ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?

2021-07-16 Thread Matthias Petermann
Hi, On 16.07.21 23:21, RVP wrote: On Fri, 16 Jul 2021, Matthias Petermann wrote: I will overwrite the disk with zeros once as a test. According to the S.M.A.R.T. values, the number of "pending" sectors has already decreased - from 18 to 15. ``` 197 200    0 no  online

Re: ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?

2021-07-16 Thread Matthias Petermann
Hi Michael, On 16.07.21 16:46, Michael van Elst wrote: smartmontools has more features and also understands rare setups with e.g. RAID controllers, early USB enclosures or vendor-specific (usually undocumented) parameters. It also comes with smartd to monitor drives continously. For plain

Re: ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?

2021-07-16 Thread Matthias Petermann
Hello Greg, On 14.07.21 14:10, Greg Troxel wrote: I think you may have uncovered a bug in zfs statistics. NAMESTATE READ WRITE CKSUM tankONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 dk0 ONLINE 0

Re: ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?

2021-07-16 Thread Matthias Petermann
Hello all, Thank you very much for your valuable advice! I will add the smartmontools to my custom repository today so that I can install it on the NAS. In the meantime, I had another look at atactl - it seems to offer the possibility of reading out the error memory or starting a self-test.

ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?

2021-07-14 Thread Matthias Petermann
Hello all, I run a NetBSD-based NAS at home. It is currently running on NetBSD 9.1. The system is booted from a USB stick on which the root file system is also located. The storage is on 4 x 4 TB magnetic hard disks, configured as ZFS RAIDZ2. Earlier I noticed that the I/O performance of

Re: NetBSD hdaudio @ HDMI

2021-07-12 Thread Matthias Petermann
ster.mute=off outputs.dacsel=DP00 ``` On 08.07.21 01:48, Jared McNeill wrote: On Mon, 5 Jul 2021, Matthias Petermann wrote: Jul  4 23:23:02 localhost /netbsd: [   1.0088516] hdafg0: DP00 8ch: Digital Out [Jack] [...] I already have a self-built kernel with options HDAUDIO_ENABLE_HDMI

uaudio audiocfg: write: Resource temporarily unavailable (Re: NetBSD hdaudio @ HDMI)

2021-07-07 Thread Matthias Petermann
On 07.07.21 14:51, Matthias Petermann wrote: For now, I'm going to try a workaround with a USB audio interface and try my luck. If I have misunderstood anything else, please correct me. ...which unfortunately doesn't work as well :-( ``` [ 16802.542625] uaudio0 at uhub1 port 5

Re: NetBSD hdaudio @ HDMI

2021-07-07 Thread Matthias Petermann
driver is not enough. For now, I'm going to try a workaround with a USB audio interface and try my luck. If I have misunderstood anything else, please correct me. Many greetings Matthias On 05.07.21 01:08, Matthias Petermann wrote: Hello everybody, I have an Intel NUC7 that does not have

NetBSD hdaudio @ HDMI

2021-07-04 Thread Matthias Petermann
Hello everybody, I have an Intel NUC7 that does not have an analog output for audio. Consequently, I have to rely on the output via HDMI. So far, I did not have luck with this. The following audio devices are recognised: ``` workstation$ audiocfg list 0: [ ] audio0 @ uaudio0: USB audio

Re: NetBSD as IPSEC client with NAT-T / PSK / XAUTH - can't get it to work :-/

2021-06-20 Thread Matthias Petermann
Dima Veselov: On Thu, Jun 10, 2021 at 02:41:23PM +0200, Matthias Petermann wrote: First of all you forgot to build (or to mention) ipsec tunnel specification which usually is set in /etc/ipsec.conf. Tunnel specification includes external addresses, internal addresses and protocols. Most

Re: web-camera

2021-06-12 Thread Matthias Petermann
Hi Todd, You could try fswebcam from pkgsrc-wip. This is a command line tool that can record from the v4l devices. It works out of the box with the built-in webcam on my Thinkpad x230. Many greetings Matthias Am 12.06.21 um 13:07 schrieb Todd Gruhn: I installed Cheese. It does not work on

Re: NetBSD as IPSEC client with NAT-T / PSK / XAUTH - can't get it to work :-/

2021-06-10 Thread Matthias Petermann
Hello Dima, thank you for your answer. One thing first - I think I underestimated the complexity of an IPSEC setup like this. It has too many components in which I only have a half-knowledge yet. Am 08.06.21 um 12:05 schrieb Dima Veselov: On Tue, Jun 08, 2021 at 10:04:44AM +0200, Matthias

NetBSD as IPSEC client with NAT-T / PSK / XAUTH - can't get it to work :-/

2021-06-08 Thread Matthias Petermann
Hello all, I would like to connect a NetBSD client to a remote LAN via IPSEC. Unfortunately, I am stuck at a very early point and would like to know if I am making a basic mistake or if I am expecting something from NetBSD that it cannot do. 1) Network Topology [NetBSD-Client IP

Re: Finding out at runtime which IPSEC options are built into the kernel (IPSEC_NAT_T?)

2021-06-07 Thread Matthias Petermann
Hi Andy, Am 06.06.21 um 14:53 schrieb Andy Ruhl: Hopefully this helps someone searching: The options(4) man page shows this line: strings netbsd | sed -n 's/^_CFG_//p' | unvis (note that "netbsd" is the kernel file, usually at /netbsd) This will work if the kernel has the

Re: Finding out at runtime which IPSEC options are built into the kernel (IPSEC_NAT_T?)

2021-06-06 Thread Matthias Petermann
atent-encumbered in some countries. " Am 06.06.21 um 11:28 schrieb Matthias Petermann: Hello, the subject probably already summarises the question - here is just a brief background: I would like to establish an IPSEC connection from a NetBSD box behind a NAT router to a IPSEC-VPN. My und

Finding out at runtime which IPSEC options are built into the kernel (IPSEC_NAT_T?)

2021-06-06 Thread Matthias Petermann
Hello, the subject probably already summarises the question - here is just a brief background: I would like to establish an IPSEC connection from a NetBSD box behind a NAT router to a IPSEC-VPN. My understanding is that the kernel must have the appropriate IPSEC_NET_T-option for this. Can I

Re: Installing NetBSD 9.1 on USB stick, not booting

2021-04-05 Thread Matthias Petermann
Hi Mayuresh, I recently set up a NetBSD 9.1 for my NAS with BIOS boot in the same way. My problem was that both the installer USB stick and the target USB stick for the installation were connected at the same time during the installation (logical ;-)). During the installation, the target USB

Re: Using a USB MIDI controller as input for LMMS

2021-03-25 Thread Matthias Petermann
Hi Nia, Am 25.03.21 um 10:38 schrieb nia: Are you sure it isn't /dev/rmidi1? The last line in your dmesg output indicates it has attaches as midi1. You are right: ``` mpeterma@x230Mk10 ~ [SIGINT|SIGINT]> cat /dev/rmidi1|hexdump 000 01b0 b072 7101 01b0 b070 6f01 01b0 b06e 010 6d01

Using a USB MIDI controller as input for LMMS

2021-03-25 Thread Matthias Petermann
Hello all, today a hobby question :-) As the subject already reveals, I want to make music with NetBSD. LMMS is quite comfortable for me and now only the USB MIDI controller would have to work. It also almost seems like I'm only missing one teeny tiny detail. That is the kernel output I

Using FSS with WAPBL - Best practises?

2021-03-07 Thread Matthias Petermann
Hello NetBSD-Users, after trying to backup from my WAPBL-enabled FFSv2 filesystems with dump every now and then, my memories of using FSS (-X option of dump) are not the very best. I had problems with it interacting with LVM a few years ago, resulting in sporadic crashes during backups and

Access to GPT and partitions within a VND image

2021-02-15 Thread Matthias Petermann
Hello all, I am using file-backed vnds as storage for my Xen domains. In each of the vnds there is a GPT with the corresponding partitions. Is there an easy way to access the GPT and the partitions from outside, i.e. preferably from the host to the image file? I would like to implement a

Strange boot behavior on NetBSD/amd64 (NetBSD/Xen) - boot.cfg question

2021-02-03 Thread Matthias Petermann
Hello all, I think I had already mentioned this in another context, but since I just stumbled across it again I would like to bring it up again. It appears that the bootloader's boot menu behaves strangely in some cases. Given is the following boot.cfg: ``` menu=Boot Xen:load

Re: RAIDframe write performance below expectations on a RAID-1 of two magnetic disks on NetBSD/amd64 9.1

2020-12-31 Thread Matthias Petermann
Hello all, in the meantime a few days have passed and after some back and forth I have now found a parameterization in which my RAID-1 achieves very satisfactory throughput rates (ca. 90 MB/s and more). I still can't completely exclude that the hardware has a small damage, because I think

RAIDframe write performance below expectations on a RAID-1 of two magnetic disks on NetBSD/amd64 9.1

2020-12-27 Thread Matthias Petermann
Hello all, this is about the write performance of RAIDframe. There is a lot to read about this on these mailing lists and I have been very busy trying out everything I could get my hands on, i.e. different alignment methods, manipulating the write strategy of the drives, experimenting with

Re: NetBSD/Xen prompting for root filesystem although provided in boot.cfg

2020-12-21 Thread Matthias Petermann
Hallo Manuel and Cherry, Am 21.12.2020 um 12:21 schrieb Manuel Bouyer: Actually, if you have root-on-raid, you shouldn't need the root/bootdev parameter at all, '-A root' should be enough. I don't have it on systems where I have root on raid Now it has actually worked. The combination of:

Re: NetBSD/Xen prompting for root filesystem although provided in boot.cfg

2020-12-21 Thread Matthias Petermann
Hi Cherry, thank you very much for the explanation. Am 21.12.2020 um 11:49 schrieb Mathew, Cherry G.: hi - the boot code sequence assumes root device precedence based on a bunch of archaic rules. I'm wondering if having dk in the sequence makes any changes to the assumption, especially

Re: NetBSD/Xen prompting for root filesystem although provided in boot.cfg

2020-12-21 Thread Matthias Petermann
Hello Manuel, Am 21.12.2020 um 08:53 schrieb Manuel Bouyer: Can anyone give me a hint as to what I am doing wrong? Did you set '-A root' on the raid0 ? Thanks for your quick response. Originally I had set it so "softroot". I just tried "root" but unfortunately no change... Kind regards

NetBSD/Xen prompting for root filesystem although provided in boot.cfg

2020-12-20 Thread Matthias Petermann
Hello, I am trying to multiboot my NetBSD 9.1/Xen 4.13 system with Xen and causes me some headache :-( It seems like the root file system is not automatically mounted. From the setup side, the root filesystem is located in a disklabel, which in turn is located on a RAIDFrame device, which

No HDMI audio with NetBSD 9.1 on NUC7i5DNKE

2020-12-13 Thread Matthias Petermann
Hello all, my new NUC7i5DNKE is not providing audio output at the moment. The built-in sound chip is recognised as hdaudio and apparently also (partially) configured. Nevertheless, I do not get any usable audio devices displayed with audiocfg list. The NUC7i5DNKE has no line-out output. The

Re: Mini-PC for NetBSD

2020-12-13 Thread Matthias Petermann
Hello, On 10.12.20 15:10, Matthias Petermann wrote: Thank you very much for both your comments on my question. To be on the safe side, I have now decided on a 7th generation NUC (Q3 2017) with Kaby Lake. According to the specification, it has Intel HD Graphics 620 which should be supported

Re: Speed up unbundling of hg bundles

2020-12-12 Thread Matthias Petermann
Hello Martin, On 12.12.20 13:35, Martin Husemann wrote: It sounds more like you are hitting a python (or NetBSD library) bug here (unless your machine has too little RAM and is quite slow). that seems to be the right conclusion. One thing in advance: the problem is now solved. For

Re: Speed up unbundling of hg bundles

2020-12-12 Thread Matthias Petermann
Hi Thomas, On 12.12.20 12:32, Thomas Mueller wrote: Is it not possible to use "hg clone ..." like "git clone" and not have to run for 20 hours or more? Such a slow download would make users give up on NetBSD. Where do you get the long name of that file to download? You shouldn't have to use

Speed up unbundling of hg bundles

2020-12-12 Thread Matthias Petermann
Hello all, what is the fastest way to get a working local clone of the NetBSD-src Mercurial repository? I am currently using the following scheme: # ftp https://cdn.netbsd.org/_bundles/src/77d2a2ece3a06d837da45acd0fda80086ab4113c.zstd.hg # hg init src # cd src # hg unbundle

Re: Mini-PC for NetBSD

2020-12-10 Thread Matthias Petermann
Hello Nia and Benny, Am 08.12.2020 um 17:26 schrieb nia: The state of acceleration for Intel GPU is "anything up to Kaby Lake works". That's... 7th generation? 8th? IIRC a more generic UEFI framebuffer driver is used rather than vesa on modern x86 hardware rather than vesa. It's not too bad,

Re: Mini-PC for NetBSD

2020-12-08 Thread Matthias Petermann
Am 08.12.2020 um 15:22 schrieb Matthias Petermann: > [...] problem, I am more concerned about the support of the integrated graphics. In intel(4) the Intel Iris and Intel Iris Pro chipsets and Intel HD are mentioned as supported. Not included are Intel UHD, which is used in some of the ne

Mini-PC for NetBSD

2020-12-08 Thread Matthias Petermann
Hello everybody, today a small hardware question. I would like to buy a Mini-PC, on which NetBSD should be used as primary desktop operating system. I thought about an Intel NUC. Such a device from the lower end of the performance scale with Celeron-CPU I already have in use as a home server

Re: (graphical) SSH console client

2020-12-03 Thread Matthias Petermann
Hello Michael, Am 02.12.2020 um 19:41 schrieb Michael Parson: Responding to myself, bad form, I know, but you'll also want/need the pkgsrc/net/remimina-plugins to get the full functionality you're looking for. thanks for the recommendation... this looks very promising, although the ssh

Re: NetBSD 8 VPS server refusing to reboot: please help

2020-12-01 Thread Matthias Petermann
Hello Mayuresh and all who are interested in a NetBSD VPS in Europe Am 30.11.2020 um 11:55 schrieb Mayuresh: On Mon, Nov 30, 2020 at 11:33:55AM +0100, Matthias Petermann wrote: The name Hetzner was mentioned there, and someone also wrote that they have provided the NetBSD-ISO for installation

Re: (graphical) SSH console client

2020-11-30 Thread Matthias Petermann
Hi Michael, Am 30.11.2020 um 14:35 schrieb Michael van Elst: m...@petermann-it.de (Matthias Petermann) writes: can any of you recommend a (graphical) SSH client for NetBSD? I am looking for something similar to Putty / mRemoteNG that I use in the Windows world. It would be important to me

(graphical) SSH console client

2020-11-30 Thread Matthias Petermann
Hello everybody, can any of you recommend a (graphical) SSH client for NetBSD? I am looking for something similar to Putty / mRemoteNG that I use in the Windows world. It would be important to me: * Management of connection targets and possibility to configure passwords and SSH keys to use

Re: NetBSD 8 VPS server refusing to reboot: please help

2020-11-30 Thread Matthias Petermann
Hello Mayuresh, Translated with www.DeepL.com/Translator (free version) Am 28.11.2020 um 16:05 schrieb Mayuresh: On Sat, Nov 28, 2020 at 06:51:04PM +0530, Mayuresh wrote: I accidentally powered off a Hetzner VPS server running NetBSD 8 and it is refusing to reboot. Ok, all solved - panic

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

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

What administrative user interfaces for Xen are available for NetBSD?

2020-08-18 Thread Matthias Petermann
Hello, everyone, since I set up my lab environment on NetBSD/Xen I am very satisfied with the handling of Xen. I use a mixture of sparse image files and LVM volumes as storage. The guests are mostly NetBSD (PVM) and some Windows 7 VMs. Apart from snapshots (which I would probably get if I

Re: NetBSD/Xen samba performance low (compared to NetBSD/amd64)

2020-08-03 Thread Matthias Petermann
Hi Greg and others, Am 03.08.2020 um 21:31 schrieb Greg Troxel: Other than the 1 cpu vs ? cpus, no. I tested xen perfmorance long ago, in 2006 with a setup NetBSD dom0 disk file in filesystem NetBSD domU with xbd0 from the file and found that reading with dd: the dom0 raw

NetBSD/Xen samba performance low (compared to NetBSD/amd64)

2020-08-03 Thread Matthias Petermann
Hello everybody, on a small Intel NUC with Realtek network chip I want to operate a Xen host. My NetBSD Xen guests are supposed to host different web apps as well as an Asterisk PBX. I also want to provide network drives via Samba as performant as possible. To keep the overhead of hard drive

Boot selection of boot.cfg doesn't work as expected (with UEFI boot loader)

2020-08-03 Thread Matthias Petermann
Hello everyone, on NetBSD/amd64 9.0 Release I am setting up a Xen Host. Therefore, I added the first line to my boot.cfg: menu=Boot Xen:load /netbsd-XEN3_DOM0.gz root=NAME=root;multiboot /xen.gz dom0_mem=512M dom0_max_vcpus=1 dom0_vcpus_pin menu=Boot normally:rndseed

  1   2   >