CVS commit: src/sys/netinet

2023-04-19 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Apr 19 22:00:18 UTC 2023 Modified Files: src/sys/netinet: ip_output.c Log Message: Again allow multicast packets to be sent from unnumbered interfaces. To generate a diff of this commit: cvs rdiff -u -r1.325 -r1.326

CVS commit: src/sys/netinet

2023-04-19 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Apr 19 22:00:18 UTC 2023 Modified Files: src/sys/netinet: ip_output.c Log Message: Again allow multicast packets to be sent from unnumbered interfaces. To generate a diff of this commit: cvs rdiff -u -r1.325 -r1.326

CVS commit: src/sys/dev/audio

2023-04-17 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 17 20:33:45 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Input and output codecs produce and consume internal audio data, so don't byteswap it. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/audio

2023-04-17 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 17 20:33:45 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Input and output codecs produce and consume internal audio data, so don't byteswap it. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/locale

2023-04-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 16 20:37:59 UTC 2023 Modified Files: src/lib/libc/locale: newlocale.c Log Message: Fix parsing a locale string with multiple components. Also check for truncation of a long locale string. To generate a diff of this

CVS commit: src/lib/libc/locale

2023-04-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 16 20:37:59 UTC 2023 Modified Files: src/lib/libc/locale: newlocale.c Log Message: Fix parsing a locale string with multiple components. Also check for truncation of a long locale string. To generate a diff of this

CVS commit: src/sys/dev/usb

2023-04-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 16 19:26:20 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c uaudioreg.h Log Message: Handle packet scheduling for high/super speed. More UAC2 handling for input/output/feature/selector units. Setting sample rate for

CVS commit: src/sys/dev/usb

2023-04-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 16 19:26:20 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c uaudioreg.h Log Message: Handle packet scheduling for high/super speed. More UAC2 handling for input/output/feature/selector units. Setting sample rate for

CVS commit: src/usr.bin/audio/play

2023-04-15 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 15 16:54:39 UTC 2023 Modified Files: src/usr.bin/audio/play: play.c Log Message: Revert accidentially committed part. The 'latency' report isn't ready to be useful. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/audio/play

2023-04-15 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 15 16:54:39 UTC 2023 Modified Files: src/usr.bin/audio/play: play.c Log Message: Revert accidentially committed part. The 'latency' report isn't ready to be useful. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/audio

2023-04-15 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 15 12:39:44 UTC 2023 Modified Files: src/usr.bin/audio/common: auconv.h wav.c src/usr.bin/audio/play: play.c src/usr.bin/audio/record: record.c Log Message: Add support for recording 24bit wav files. To

CVS commit: src/usr.bin/audio

2023-04-15 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 15 12:39:44 UTC 2023 Modified Files: src/usr.bin/audio/common: auconv.h wav.c src/usr.bin/audio/play: play.c src/usr.bin/audio/record: record.c Log Message: Add support for recording 24bit wav files. To

Re: Rationale for some rules in style guide

2023-04-12 Thread Michael van Elst
jo...@bec.de (Joerg Sonnenberger) writes: >Which compiler from this century doesn't allocate stack space >independent from the source order? gcc with -O0 and -O1 allocates variables in source order. With our notoriously broken gdb, that can be helpful.

Re: CVS commit: src/sys/dev/dkwedge

2023-04-11 Thread Michael van Elst
ill then increment it, back to 0 again, which is almost > certainly not what was wanted. > > dklastclose() used to have code in it like > > if (...->dk_rawopens > 0) { > if (--...->dk_rawopens == 0) Indeed, that part was simplified away. --

Re: CVS commit: src/sys/dev/dkwedge

2023-04-11 Thread Michael van Elst
wedges) you need to watch it being incremented (also temporarily). Crashing after the fact with an assertion in dklastclose doesn't help. -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

CVS commit: src/sys/dev/usb

2023-04-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 10 15:27:51 UTC 2023 Modified Files: src/sys/dev/usb: uvideo.c Log Message: Reduce excessive settle delay. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sys/dev/usb/uvideo.c Please note that diffs

CVS commit: src/sys/dev/usb

2023-04-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 10 15:27:51 UTC 2023 Modified Files: src/sys/dev/usb: uvideo.c Log Message: Reduce excessive settle delay. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sys/dev/usb/uvideo.c Please note that diffs

CVS commit: src/sys/dev/usb

2023-04-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 10 15:26:57 UTC 2023 Modified Files: src/sys/dev/usb: uvideo.c uvideoreg.h Log Message: Better descriptor parsing. Add sanity check if no default format is found. To generate a diff of this commit: cvs rdiff -u -r1.83

CVS commit: src/sys/dev/usb

2023-04-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 10 15:26:57 UTC 2023 Modified Files: src/sys/dev/usb: uvideo.c uvideoreg.h Log Message: Better descriptor parsing. Add sanity check if no default format is found. To generate a diff of this commit: cvs rdiff -u -r1.83

CVS commit: src/sys/dev/usb

2023-04-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 10 15:14:51 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c uaudioreg.h Log Message: Handle more UAC2 descriptors and add debug output. Fix handling of clock sources (mix.wIndex wasn't set). UAC2 can use separate

CVS commit: src/sys/dev/usb

2023-04-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 10 15:14:51 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c uaudioreg.h Log Message: Handle more UAC2 descriptors and add debug output. Fix handling of clock sources (mix.wIndex wasn't set). UAC2 can use separate

CVS commit: src/sys/dev/pad

2023-04-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 10 15:04:49 UTC 2023 Modified Files: src/sys/dev/pad: pad.c Log Message: Write slinear_le 16bit samples, independent from platform and AUDIO_INTERNAL_BITS. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80

CVS commit: src/sys/dev/pad

2023-04-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 10 15:04:49 UTC 2023 Modified Files: src/sys/dev/pad: pad.c Log Message: Write slinear_le 16bit samples, independent from platform and AUDIO_INTERNAL_BITS. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80

CVS commit: src/sys/netinet

2023-04-07 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Apr 7 06:44:08 UTC 2023 Modified Files: src/sys/netinet: ip_carp.c Log Message: Select virtual address as sender if backing interface is anonymous. Use correct scope for IPv6. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/netinet

2023-04-07 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Apr 7 06:44:08 UTC 2023 Modified Files: src/sys/netinet: ip_carp.c Log Message: Select virtual address as sender if backing interface is anonymous. Use correct scope for IPv6. To generate a diff of this commit: cvs rdiff

Re: Raspberry Pi 3 aarch64 -current fails to find root fs label and boot.

2023-04-05 Thread Michael van Elst
urrent" but seems something is not right. Does this qualify for a PR or am > I doing something wrong? Something surely goes wrong. -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: Raspberry Pi 3 aarch64 -current fails to find root fs label and boot.

2023-04-05 Thread Michael van Elst
bbartlomiej.m...@gmail.com (Bartek Krawczyk) writes: >My /boot/cmdline.txt has only: >root=NAME=netbsd-root You can use'ofctl /chosen' to find out what bootargs are passed to the kernel.

Re: Raspberry Pi 3 aarch64 -current fails to find root fs label and boot.

2023-04-05 Thread Michael van Elst
bbartlomiej.m...@gmail.com (Bartek Krawczyk) writes: >[ 1.4967611] ld0: 117 GB, 15371 cyl, 255 head, 63 sec, 512 bytes/sect >x 246947840 sectors >[ 1.5157040] dk0 at ld0: "EFI", 163840 blocks at 32768, type: msdos >[ 1.5157040] dk1 at ld0: "netbsd-root", 246743040 blocks at 196608, >[

CVS commit: src/sys/dev/usb

2023-04-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 3 16:00:17 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Remove unconditional UAUDIO_DEBUG again. To generate a diff of this commit: cvs rdiff -u -r1.176 -r1.177 src/sys/dev/usb/uaudio.c Please note

CVS commit: src/sys/dev/usb

2023-04-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 3 16:00:17 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Remove unconditional UAUDIO_DEBUG again. To generate a diff of this commit: cvs rdiff -u -r1.176 -r1.177 src/sys/dev/usb/uaudio.c Please note

CVS commit: src/sys/dev/usb

2023-04-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 3 14:19:09 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Fix UAUDIO_DEBUG build. To generate a diff of this commit: cvs rdiff -u -r1.175 -r1.176 src/sys/dev/usb/uaudio.c Please note that diffs are

CVS commit: src/sys/dev/usb

2023-04-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 3 14:19:09 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Fix UAUDIO_DEBUG build. To generate a diff of this commit: cvs rdiff -u -r1.175 -r1.176 src/sys/dev/usb/uaudio.c Please note that diffs are

CVS commit: src/sys/dev/usb

2023-04-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 2 14:43:35 UTC 2023 Modified Files: src/sys/dev/usb: uaudioreg.h Log Message: Add support for USB Audio Class 2.0. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/dev/usb/uaudioreg.h Please note

CVS commit: src/sys/dev/usb

2023-04-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 2 14:43:35 UTC 2023 Modified Files: src/sys/dev/usb: uaudioreg.h Log Message: Add support for USB Audio Class 2.0. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/dev/usb/uaudioreg.h Please note

CVS commit: src/sys/dev/usb

2023-04-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 2 14:42:55 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Add code for USB Audio Class 2.0. This is only half of the game as UAC2 devices tend to use 24bit or 32bit samples. This requires more support

CVS commit: src/sys/dev/usb

2023-04-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 2 14:42:55 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Add code for USB Audio Class 2.0. This is only half of the game as UAC2 devices tend to use 24bit or 32bit samples. This requires more support

CVS commit: src/usr.bin/audiocfg

2023-04-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 1 12:41:02 UTC 2023 Modified Files: src/usr.bin/audiocfg: main.c Log Message: Also report precision from hwinfo. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.bin/audiocfg/main.c Please note

CVS commit: src/usr.bin/audiocfg

2023-04-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 1 12:41:02 UTC 2023 Modified Files: src/usr.bin/audiocfg: main.c Log Message: Also report precision from hwinfo. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.bin/audiocfg/main.c Please note

Re: LLONG_MAX not available from c++

2023-03-31 Thread Michael van Elst
mar...@duskware.de (Martin Husemann) writes: > > c++ -dM -E - < /dev/null | fgrep __STDC_VERSION__ >#define __STDC_VERSION__ 201710L > > c++ -dM -E - < /dev/null | fgrep __ISO There is magic involved. % touch c.c % ls -l c.c -rw-r--r-- 1 mlelstv staff 0 Mar 31 17:28 c.c % c++ -dM -E - < c.c

Re: LLONG_MAX not available from c++

2023-03-31 Thread Michael van Elst
w...@netbsd.org (Thomas Klausner) writes: >> Make sure c++ with using at least -std=c++11? >Same error, also with c++17 and gnu++17. Probably lua does something >weird. lua defines _XOPEN_SOURCE in lprefix.h: #if !defined(_XOPEN_SOURCE) #define _XOPEN_SOURCE 600 #elif _XOPEN_SOURCE

Re: Raspberry Pi 3 and NetBSD 10.0_BETA - WiFi stops working after few hours and wonky USB keyboard

2023-03-27 Thread Michael van Elst
bbartlomiej.m...@gmail.com (Bartek Krawczyk) writes: >> Perhaps the device is going into power saving mode and your connection >> terminates? >There's "powersave off" in the ifconfig output and I've issued the >ifconfig bwfm0 -powersave command explicitly as well. No change. The default in

Re: CARP misbehaving on RPi2+ / RPI3

2023-03-26 Thread Michael van Elst
rela...@gmail.com (Greywolf) writes: >Greetings; I have a couple RPi that I will refer to here as 'thing1' >and 'thing2'. Both are running evbarm-earmv7h, NetBSD 10-BETA. The carp driver sent advertising packets through the carp interface which sets the source MAC address to the CARP virtual

CVS commit: src/sys/netinet

2023-03-26 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Mar 26 10:32:38 UTC 2023 Modified Files: src/sys/netinet: ip_carp.c Log Message: Use backing device to send advertisements. Otherwise the packets originate from the virtual MAC address, which confuses switches. To generate

CVS commit: src/sys/netinet

2023-03-26 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Mar 26 10:32:38 UTC 2023 Modified Files: src/sys/netinet: ip_carp.c Log Message: Use backing device to send advertisements. Otherwise the packets originate from the virtual MAC address, which confuses switches. To generate

CVS commit: src/sbin/ifconfig

2023-03-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Mar 26 01:04:16 UTC 2023 Modified Files: src/sbin/ifconfig: carp.c ifconfig.8 Log Message: Fix parser for carp state. The state values are uppercase words INIT, BACKUP and MASTER. To generate a diff of this commit: cvs

CVS commit: src/sbin/ifconfig

2023-03-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Mar 26 01:04:16 UTC 2023 Modified Files: src/sbin/ifconfig: carp.c ifconfig.8 Log Message: Fix parser for carp state. The state values are uppercase words INIT, BACKUP and MASTER. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci

2023-03-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Mar 25 11:04:34 UTC 2023 Modified Files: src/sys/dev/pci: viomb.c viornd.c vioscsi.c Log Message: Mark as MPSAFE. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/dev/pci/viomb.c cvs rdiff -u -r1.20

CVS commit: src/sys/dev/pci

2023-03-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Mar 25 11:04:34 UTC 2023 Modified Files: src/sys/dev/pci: viomb.c viornd.c vioscsi.c Log Message: Mark as MPSAFE. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/dev/pci/viomb.c cvs rdiff -u -r1.20

CVS commit: src/sys/dev/pci

2023-03-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Mar 25 11:00:35 UTC 2023 Modified Files: src/sys/dev/pci: viomb.c Log Message: Fix 32bit overflow when calculating balloon size. Don't make uvm_pglistalloc wait, it will wait forever. Instead rely on the retries by this

CVS commit: src/sys/dev/pci

2023-03-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Mar 25 11:00:35 UTC 2023 Modified Files: src/sys/dev/pci: viomb.c Log Message: Fix 32bit overflow when calculating balloon size. Don't make uvm_pglistalloc wait, it will wait forever. Instead rely on the retries by this

CVS commit: src/sys/dev/pci

2023-03-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Mar 25 09:03:47 UTC 2023 Modified Files: src/sys/dev/pci: vioscsi.c Log Message: A single SCSI request may require multiple slots in the virtio queue but the queue isn't sized for the theoretical maximum. So just use XS_BUSY

CVS commit: src/sys/dev/pci

2023-03-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Mar 25 09:03:47 UTC 2023 Modified Files: src/sys/dev/pci: vioscsi.c Log Message: A single SCSI request may require multiple slots in the virtio queue but the queue isn't sized for the theoretical maximum. So just use XS_BUSY

CVS commit: src/sys/dev/pci

2023-03-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Mar 25 08:14:00 UTC 2023 Modified Files: src/sys/dev/pci: vioscsi.c Log Message: restore fetch of qsize. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pci/vioscsi.c Please note that diffs are

CVS commit: src/sys/dev/pci

2023-03-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Mar 25 08:14:00 UTC 2023 Modified Files: src/sys/dev/pci: vioscsi.c Log Message: restore fetch of qsize. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pci/vioscsi.c Please note that diffs are

CVS commit: src/sys/dev

2023-03-22 Thread Michael van Elst
--- src/sys/dev/ipmi.c:1.9 Tue Jun 15 00:20:33 2021 +++ src/sys/dev/ipmi.c Wed Mar 22 13:00:54 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: ipmi.c,v 1.9 2021/06/15 00:20:33 riastradh Exp $ */ +/* $NetBSD: ipmi.c,v 1.10 2023/03/22 13:00:54 mlelstv Exp $ */ /* * Copyright (c) 2019 Michael van Elst @@ -76,7

CVS commit: src/sys/dev

2023-03-22 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Mar 22 13:00:54 UTC 2023 Modified Files: src/sys/dev: ipmi.c Log Message: Ignore non-recoverable and critical limits smaller than the warning limits. These are usually invalid. Name the limit flags to make code more

Re: ipmi0: incorrect critical max

2023-03-18 Thread Michael van Elst
net...@precedence.co.uk (Stephen Borrill) writes: > Current CritMax WarnMax WarnMin CritMin Unit >[ipmi0] >11-LOM-CORE:59.2530.000 110.471degC >Seen on 9.3_STABLE, but also in 10 BETA. >I suppose one simple fix would be to ensure

CVS commit: src/distrib/utils/embedded/files

2023-03-18 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Mar 18 11:36:23 UTC 2023 Modified Files: src/distrib/utils/embedded/files: resize_disklabel Log Message: Can't use disklabel to find the real size of a disk since a fake disklabel read from disk is trusted. Revert to use

CVS commit: src/distrib/utils/embedded/files

2023-03-18 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Mar 18 11:36:23 UTC 2023 Modified Files: src/distrib/utils/embedded/files: resize_disklabel Log Message: Can't use disklabel to find the real size of a disk since a fake disklabel read from disk is trusted. Revert to use

CVS commit: src/sys/nfs

2023-03-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Mar 17 00:46:35 UTC 2023 Modified Files: src/sys/nfs: nfs_vfsops.c Log Message: Avoid overflow of nfs_commitsize on machines with > 32GB RAM. To generate a diff of this commit: cvs rdiff -u -r1.243 -r1.244

CVS commit: src/sys/nfs

2023-03-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Mar 17 00:46:35 UTC 2023 Modified Files: src/sys/nfs: nfs_vfsops.c Log Message: Avoid overflow of nfs_commitsize on machines with > 32GB RAM. To generate a diff of this commit: cvs rdiff -u -r1.243 -r1.244

CVS commit: src/sys/arch/evbarm/fdt

2023-03-05 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Mar 5 22:04:54 UTC 2023 Modified Files: src/sys/arch/evbarm/fdt: fdt_machdep.c Log Message: Locate wedges as boot device and also match a partition GUID. To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101

CVS commit: src/sys/arch/evbarm/fdt

2023-03-05 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Mar 5 22:04:54 UTC 2023 Modified Files: src/sys/arch/evbarm/fdt: fdt_machdep.c Log Message: Locate wedges as boot device and also match a partition GUID. To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101

Re: GENERIC64 aarch64 failure to autoboot

2023-03-05 Thread Michael van Elst
On Sun, Mar 05, 2023 at 10:56:31PM +0100, Michael van Elst wrote: > On Mon, Mar 06, 2023 at 07:44:20AM +1030, Brett Lymn wrote: > > On Sun, Mar 05, 2023 at 03:01:02PM -, Michael van Elst wrote: > > > > > > - if (guid != NULL && len == 16) > >

Re: GENERIC64 aarch64 failure to autoboot

2023-03-05 Thread Michael van Elst
On Mon, Mar 06, 2023 at 07:44:20AM +1030, Brett Lymn wrote: > On Sun, Mar 05, 2023 at 03:01:02PM -0000, Michael van Elst wrote: > > > > - if (guid != NULL && len == 16) > > + if (guid == NULL || len == 16) > > + > > Shouldn't tha

Re: GENERIC64 aarch64 failure to autoboot

2023-03-05 Thread Michael van Elst
mlel...@serpens.de (Michael van Elst) writes: >On Sun, Mar 05, 2023 at 12:56:29PM +, Chavdar Ivanov wrote: >[ 1.3797015] dk0 at sd0: "EFI system", 262144 blocks at 2048, type: >msdos >[ 1.3897890] dk1 at sd0: "cc8f4a89-edc0-48d1-b9ce-b40d227a4a07", >

Re: GENERIC64 aarch64 failure to autoboot

2023-03-05 Thread Michael van Elst
; if (guid != NULL && len == 16) booted_device = dev; return; } this matches anything. In this case, the first "ld", "sd" or "wd" device matches as soon as a netbsd,gpt-guid is passed by the bootloader

Re: GENERIC64 aarch64 failure to autoboot

2023-03-04 Thread Michael van Elst
ci4...@gmail.com (Chavdar Ivanov) writes: >Since my last aarch64 build yesterday, 03/03/2023, my machine no >longer boots automatically, sys/arch/evbarm/fdt/fdt_machdep.c 1.100 changed how the boot disk is determined. Apparently it now fails for you.

Re: Prob with my speakers

2023-03-01 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >Speakers where cracking a lot. I noticed that when I reboot >NetBSD I saw some info printed. >How to I catch this and send it in? Is it in a log I can view? The early messages should be in /var/run/dmesg.boot. Output from starting services is logged in

Re: NFS issue with 10.0_BETA

2023-02-27 Thread Michael van Elst
m...@ecs.vuw.ac.nz (Mark Davies) writes: linux->netbsd10 >18 -> V3 SETATTR Call (Reply in 19), FH: 0xf9f94117 >19 <- V3 SETATTR Reply (Call In 18) Error: NFS3ERR_ACCESS linux->netbsd9 >16 -> V3 SETATTR Call (Reply in 17), FH: 0xfe8a620f >17 <- V3 SETATTR Reply (Call In 16)

CVS commit: src/usr.bin/ftp

2023-02-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 25 12:07:25 UTC 2023 Modified Files: src/usr.bin/ftp: cmdtab.c extern.h fetch.c ftp.1 main.c ssl.c util.c version.h Log Message: Add option sslnoverify to control validation of SSL certificates. Add netrc

CVS commit: src/usr.bin/ftp

2023-02-25 Thread Michael van Elst
PPROMPT"), DEFAULTPROMPT); setupoption("rprompt", getenv("FTPRPROMPT"), DEFAULTRPROMPT); + setupoption("sslnoverify", getenv("FTPSSLNOVERIFY"), ""); free(anonpass); Index: src/usr.bin/ftp/ssl.c diff -u src/usr.bin/ft

CVS commit: src/sys/arch/mips/mips

2023-02-19 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Feb 19 10:48:06 UTC 2023 Modified Files: src/sys/arch/mips/mips: db_interface.c Log Message: Only copyin/copyout from and to user addresses. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98

CVS commit: src/sys/arch/mips/mips

2023-02-19 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Feb 19 10:48:06 UTC 2023 Modified Files: src/sys/arch/mips/mips: db_interface.c Log Message: Only copyin/copyout from and to user addresses. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98

Re: bta2dpd plays too fast

2023-02-19 Thread Michael van Elst
nathanialsl...@yahoo.com.au (Nat Sloss) writes: >The solution is to use bta2dpd with the pad(4) device which is throttled >sending only the required amount of audio data in the right time. In current or in netbsd-9 ?

CVS commit: src/sys/dev/wsfont

2023-02-18 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Feb 19 05:35:35 UTC 2023 Modified Files: src/sys/dev/wsfont: wsfont.c Log Message: Add missing "latin small letter sharp s" (U+00DF) to ibm437 map. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80

CVS commit: src/sys/dev/wsfont

2023-02-18 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Feb 19 05:35:35 UTC 2023 Modified Files: src/sys/dev/wsfont: wsfont.c Log Message: Add missing "latin small letter sharp s" (U+00DF) to ibm437 map. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80

CVS commit: src/distrib/utils/embedded/files

2023-02-17 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 18 07:58:35 UTC 2023 Modified Files: src/distrib/utils/embedded/files: resize_disklabel Log Message: Handle arbitrary raw partitions. Fetch geometry from disklabel to be consistent. Use disktab format instead of the

CVS commit: src/distrib/utils/embedded/files

2023-02-17 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 18 07:58:35 UTC 2023 Modified Files: src/distrib/utils/embedded/files: resize_disklabel Log Message: Handle arbitrary raw partitions. Fetch geometry from disklabel to be consistent. Use disktab format instead of the

CVS commit: src/etc/rc.d

2023-02-17 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 18 07:51:52 UTC 2023 Modified Files: src/etc/rc.d: iscsid_volumes Log Message: Handle missing auth file. Skip empty lines. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/etc/rc.d/iscsid_volumes Please

CVS commit: src/etc/rc.d

2023-02-17 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 18 07:51:52 UTC 2023 Modified Files: src/etc/rc.d: iscsid_volumes Log Message: Handle missing auth file. Skip empty lines. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/etc/rc.d/iscsid_volumes Please

CVS commit: src/sys/arch

2023-02-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 11 22:42:21 UTC 2023 Modified Files: src/sys/arch/cats/conf: ldscript.elf src/sys/arch/epoc32/conf: ldscript.epoc32 src/sys/arch/zaurus/conf: ldscript.zaurus Log Message: Apply ldscript fixes for

CVS commit: src/sys/arch

2023-02-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 11 22:42:21 UTC 2023 Modified Files: src/sys/arch/cats/conf: ldscript.elf src/sys/arch/epoc32/conf: ldscript.epoc32 src/sys/arch/zaurus/conf: ldscript.zaurus Log Message: Apply ldscript fixes for

CVS commit: src/sys/arch/evbarm/conf

2023-02-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 11 19:09:57 UTC 2023 Modified Files: src/sys/arch/evbarm/conf: ldscript.evbarm Log Message: Merge both SECTIONS declarations into one. Fixes PR 57223. cats, epoc32 and zaurus need a similar fix. To generate a diff of

CVS commit: src/sys/arch/evbarm/conf

2023-02-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 11 19:09:57 UTC 2023 Modified Files: src/sys/arch/evbarm/conf: ldscript.evbarm Log Message: Merge both SECTIONS declarations into one. Fixes PR 57223. cats, epoc32 and zaurus need a similar fix. To generate a diff of

CVS commit: src/usr.sbin/btattach

2023-02-07 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Feb 7 20:45:44 UTC 2023 Modified Files: src/usr.sbin/btattach: btattach.c btattach.h init_bcm43xx.c Log Message: - Reconfigure port speed only when initial speed was different. - Time out HCI commands instead of hanging

CVS commit: src/usr.sbin/btattach

2023-02-07 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Feb 7 20:45:44 UTC 2023 Modified Files: src/usr.sbin/btattach: btattach.c btattach.h init_bcm43xx.c Log Message: - Reconfigure port speed only when initial speed was different. - Time out HCI commands instead of hanging

CVS commit: src/usr.sbin/wsmoused

2023-02-07 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Feb 7 20:37:48 UTC 2023 Modified Files: src/usr.sbin/wsmoused: selection.c Log Message: Really compute selection coordinates from buffer offset, don't assume that row=0 col=offset is equivalent. To generate a diff of this

CVS commit: src/usr.sbin/wsmoused

2023-02-07 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Feb 7 20:37:48 UTC 2023 Modified Files: src/usr.sbin/wsmoused: selection.c Log Message: Really compute selection coordinates from buffer offset, don't assume that row=0 col=offset is equivalent. To generate a diff of this

CVS commit: src/etc/iscsi

2023-02-05 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Feb 5 21:20:15 UTC 2023 Modified Files: src/etc/iscsi: Makefile Log Message: With MKISCSI we need all files. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/etc/iscsi/Makefile Please note that diffs are

CVS commit: src/etc/iscsi

2023-02-05 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Feb 5 21:20:15 UTC 2023 Modified Files: src/etc/iscsi: Makefile Log Message: With MKISCSI we need all files. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/etc/iscsi/Makefile Please note that diffs are

CVS commit: src/etc/iscsi

2023-02-05 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Feb 5 13:39:42 UTC 2023 Modified Files: src/etc/iscsi: Makefile Log Message: Fix build without MKISCSI To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/etc/iscsi/Makefile Please note that diffs are not

CVS commit: src/etc/iscsi

2023-02-05 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Feb 5 13:39:42 UTC 2023 Modified Files: src/etc/iscsi: Makefile Log Message: Fix build without MKISCSI To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/etc/iscsi/Makefile Please note that diffs are not

CVS commit: src/etc/iscsi

2023-02-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Feb 3 20:16:03 UTC 2023 Added Files: src/etc/iscsi: volumes Log Message: Add missing template file for iscsid_volumes. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/etc/iscsi/volumes Please note that

CVS commit: src/etc/iscsi

2023-02-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Feb 3 20:16:03 UTC 2023 Added Files: src/etc/iscsi: volumes Log Message: Add missing template file for iscsid_volumes. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/etc/iscsi/volumes Please note that

CVS commit: src/etc/iscsi

2023-02-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Feb 3 15:59:04 UTC 2023 Modified Files: src/etc/iscsi: Makefile Log Message: missed commit for iscsid_volumes To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/etc/iscsi/Makefile Please note that diffs are

CVS commit: src/etc/iscsi

2023-02-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Feb 3 15:59:04 UTC 2023 Modified Files: src/etc/iscsi: Makefile Log Message: missed commit for iscsid_volumes To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/etc/iscsi/Makefile Please note that diffs are

CVS commit: src

2023-02-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Feb 3 13:53:40 UTC 2023 Modified Files: src/distrib/sets/lists/etc: mi src/etc/defaults: rc.conf src/etc/rc.d: Makefile Added Files: src/etc/rc.d: iscsid_volumes Log Message: Add start script to

CVS commit: src

2023-02-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Feb 3 13:53:40 UTC 2023 Modified Files: src/distrib/sets/lists/etc: mi src/etc/defaults: rc.conf src/etc/rc.d: Makefile Added Files: src/etc/rc.d: iscsid_volumes Log Message: Add start script to

Re: 10.99.2 panic in kern_timeout.c

2023-02-03 Thread Michael van Elst
w...@netbsd.org (Thomas Klausner) writes: >> The biggest change recently is probably that my bulk build switched >> from ghc92 to ghc94, but I don't know if that could cause this. >Next bulk build, next panic, quite reliably. Has anyone else seen this? Not yet, maybe this is the first use of

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