Re: NetBSD & disks with 4K sector size

2023-07-20 Thread Michael van Elst
li...@nerdbynature.de (Christian Kujau) writes: >So, my question is: does NetBSD work with 4k sector size disks? I found >two[1][2] threads from 11 years ago, but nothing conclusive and with >somewhat conflicting[3][4] information. The NetBSD Xen PV xbd device lies about sector sizes so that

CVS commit: src/sys/arch/amiga/dev

2023-07-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jul 12 05:16:42 UTC 2023 Modified Files: src/sys/arch/amiga/dev: grfabs_cc.c Log Message: Make inclusion of sys/intr.h explicit for spl*. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39

CVS commit: src/sys/arch/amiga/dev

2023-07-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jul 12 05:16:42 UTC 2023 Modified Files: src/sys/arch/amiga/dev: grfabs_cc.c Log Message: Make inclusion of sys/intr.h explicit for spl*. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39

Re: Trivial program size inflation

2023-07-02 Thread Michael van Elst
mo...@rodents-montreal.org (Mouse) writes: >> Way more interesting than useless tech demo sizes would size >> inflation of a real world minimal program, when linked statically. >Why? If I'm looking at overhead size, I am most interested in just the >overhead size, which is exactly what a no-op

Re: cpu temperature readings

2023-07-02 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >So my current guess (and it is no more than that) would be that if >powerd happens to notice that happening, which would require it to >look at just the right time, then powerd does a system shutdown. >If powerd doesn't notice quickly enough, the CPU (or

CVS commit: src/usr.bin/ftp

2023-07-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 2 10:02:09 UTC 2023 Modified Files: src/usr.bin/ftp: fetch.c Log Message: Fix HTTPS through Proxy. While a regular HTTP Proxy, requires the absolute URL with protocol and host part, yyou must only send the relative URL

CVS commit: src/usr.bin/ftp

2023-07-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 2 10:02:09 UTC 2023 Modified Files: src/usr.bin/ftp: fetch.c Log Message: Fix HTTPS through Proxy. While a regular HTTP Proxy, requires the absolute URL with protocol and host part, yyou must only send the relative URL

Re: cpu temperature readings

2023-07-02 Thread Michael van Elst
s, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: cpu temperature readings

2023-07-02 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: > | You can probably avoid this, if you limit the chip to performance of the > | non-selected die (in real applications it will probably lose 1-5%). The > | BIOS should have a setting for the cTDP value that you can play with. >If I am understanding

Re: Trivial program size inflation

2023-07-01 Thread Michael van Elst
thor...@me.com (Jason Thorpe) writes: >Obviously this is not feasible to do with static binaries In the world of go, you skip libc and static binaries are the norm.

Re: Trivial program size inflation

2023-07-01 Thread Michael van Elst
mo...@rodents-montreal.org (Mouse) writes: > amd64, 9.0_STABLE (ftp.n.o): >textdata bss dec hex filename > 562318 29064 2176416 2767798 2a3bb6 main >> amd64, 9.0_STABLE: >>data bss dec hex filename >>2873 186 723131 c3b

Re: Trivial program size inflation

2023-07-01 Thread Michael van Elst
mo...@rodents-montreal.org (Mouse) writes: >>> amd64, 9.0_STABLE (ftp.n.o): >>>textdata bss dec hex filename >>> 562318 29064 2176416 2767798 2a3bb6 main amd64, 9.0_STABLE: data bss dec hex filename 2873 186 723131 c3b a.out crt0

Re: cpu temperature readings

2023-07-01 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >I have been running that kernel now for approaching 18 hours. At boot >time (when coretemp is being attached) Tjmax was read as 115 (on all cores, >I don't know if that's supposed to be a per-core value, or not, but that >doesn't matter), and nothing I

CVS commit: src/usr.sbin/ifwatchd

2023-07-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 1 12:36:10 UTC 2023 Modified Files: src/usr.sbin/ifwatchd: ifwatchd.c Log Message: Don't call UP script when an IP address becomes deprecated. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

CVS commit: src/usr.sbin/ifwatchd

2023-07-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 1 12:36:10 UTC 2023 Modified Files: src/usr.sbin/ifwatchd: ifwatchd.c Log Message: Don't call UP script when an IP address becomes deprecated. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

Re: cpu temperature readings

2023-06-29 Thread Michael van Elst
es between both threads: cpu0: Cluster/Package ID 0 cpu0: Core ID 0 cpu0: SMT ID 0 cpu1: Cluster/Package ID 0 cpu1: Core ID 0 cpu1: SMT ID 1 cpu2: Cluster/Package ID 0 cpu2: Core ID 1 cpu2: SMT ID 0 cpu3: Cluster/Package ID 0 cpu3: Core ID 1 cpu3: SMT ID 1 I expect this to be replaced with som

Re: cpu temperature readings

2023-06-29 Thread Michael van Elst
he CPU (e.g. due to a faulty BIOS). Then the low temperature readings would have been only a logical consequence. Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: cpu temperature readings

2023-06-29 Thread Michael van Elst
out 40C when clocked at minimum 800, but heats up to 47C when idling at 3300 and there is no difference to 3301. Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: cpu temperature readings

2023-06-29 Thread Michael van Elst
cessarily for the important workloads. It now handles big.little configurations independent of cpu numbers, but probably only on arm. -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: cpu temperature readings

2023-06-29 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: > | When this happens, is the machine actually running at 3400 MHz? >How do I tell? You could run a benchmark like 'openssl speed sha256' and compare the 3400 MHz target and the target and step lower. > | >The motherboard is an AsRock Z690 Taichi. > |

Re: cpu temperature readings

2023-06-28 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >When the >cpu frequency target is changed to 3400, all the core temp values drop >to lower than room air temp (which according to my probably inaccurate >desk lamp, is currently 22.5, the coretemp values are all in the 15-18 >range at the minute). When

Re: cpu temperature readings

2023-06-27 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >cpu0: "12th Gen Intel(R) Core(TM) i9-12900KS" The chip apparently reports a Tjmax of 100 C (as for the non-selected chip) but actually has a real Tjmax of 115 C. There are two caveats: Our driver ignores Tjmax of > 110 C (and uses 100 C as default). If

Re: cpu temperature readings

2023-06-27 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >sysctl -w machdep.cpu.frequency.target=3D2500 >(reducing from the apparent max, 3401) the temps dropped (almost >instantly) from upper 30's (C) to low 40's, down to the high teens >or very low 20's. coretemp temperatures in that range are unlikely to be

Re: bioctl cosmetic issue

2023-06-24 Thread Michael van Elst
j...@ziaspace.com (John Klos) writes: >[ 1.033007] mfii0 at pci1 dev 0 function 0: "LSI MegaRAID SAS 9271-4i", >firmware 23.34.0-0019, 1024MB cache >Where is bioctl supposed to get the sector size? bioctl prints a struct bioc_vol which has the volume size in bytes. The calculation is done

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

2023-06-21 Thread Michael van Elst
r...@sdf.org (RVP) writes: >I don't get that: there's no pipe there when you do `> file'. So how come >a Broken pipe still? It's the communication between ssh and sshd where ssh can no longer write to a network connection closed by sshd. The problem is to find out why the connection got closed.

Re: Call for testing: Diagnostics for broken downloads from NetBSD.org CDN

2023-06-18 Thread Michael van Elst
On Sat, Jun 17, 2023 at 08:14:20AM -0400, Greg Troxel wrote: > mlel...@serpens.de (Michael van Elst) writes: > > Fastly caches data in segments: > > https://docs.fastly.com/en/guides/segmented-caching > Is a client that writes a partial file and exits considered buggy? May de

Re: Call for testing: Diagnostics for broken downloads from NetBSD.org CDN

2023-06-17 Thread Michael van Elst
riastr...@netbsd.org (Taylor R Campbell) writes: >We've been hearing reports of intermittent issues with broken partial >downloads via our content delivery network, Fastly, from >cdn.NetBSD.org, nycdn.NetBSD.org, and/or archive.NetBSD.org, >particularly of large files like the installer images.

Re: scp/sftp -R broken?

2023-06-05 Thread Michael van Elst
w...@netbsd.org (Thomas Klausner) writes: >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 upload

CVS commit: src/sys/dev/audio

2023-06-05 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Jun 5 16:26:05 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: We cannot handle input with precision != stride yet. Drain input buffer for unhandled input. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/audio

2023-06-05 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Jun 5 16:26:05 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: We cannot handle input with precision != stride yet. Drain input buffer for unhandled input. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/usb

2023-06-04 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Jun 5 03:44:48 UTC 2023 Modified Files: src/sys/dev/usb: xhci.c xhcireg.h Log Message: - Fix clearing of EINT and other transient flags. Patches from sc.dying in kern/56115: - Set proper Max ESIT Payload value for

CVS commit: src/sys/dev/usb

2023-06-04 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Jun 5 03:44:48 UTC 2023 Modified Files: src/sys/dev/usb: xhci.c xhcireg.h Log Message: - Fix clearing of EINT and other transient flags. Patches from sc.dying in kern/56115: - Set proper Max ESIT Payload value for

Re: bl*cklist configuration, ssh only

2023-06-02 Thread Michael van Elst
ed somewhere, but you could augment the helper script. Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: bl*cklist configuration, ssh only

2023-06-01 Thread Michael van Elst
blocked by npf vs 53. blocklistctl dumps the policy database. npf doesn't implement that policy, but only specfic blocking rules. blocklistd adds npf rules when the policy is violated (e.g. the 3rd login failure) and removes rules when a timeout is reached. Greetings, --

Re: bl*cklist configuration, ssh only

2023-05-30 Thread Michael van Elst
ignat...@cs.uni-bonn.de writes: >Hello, >is there a minimal example how to configure bl*cklistd and npf to >block attacks on sshd? /etc/bl*cklistd.conf: # Bl*cklist rule # adr/mask:port typeproto owner namenfail disable [local] ssh stream tcp *

Re: inetd(8): continue or exit on error?

2023-05-29 Thread Michael van Elst
tlaro...@polynum.com writes: >If inetd is not running, if the administrator doesn't look at the logs, That's why people monitor services and logs and use manual or automated procedures to validate and deploy configuration changes. >At least, wouldn't it be worth to add a flag simply to parse

Re: inetd(8): continue or exit on error?

2023-05-29 Thread Michael van Elst
tlaro...@polynum.com writes: >It seems to me, since these are services, that the failure to load a >config is critical enough (since the server may be then servicing what >was not intended to be serviced; the reverse is less problematic) >to exit at least on this error. inetd will service what

Re: touch screen support

2023-05-29 Thread Michael van Elst
dty...@anduin.org.uk (Dave Tyson) writes: >I guess these touch screens need some calibration to set the x/y bounds >and maybe some mods to the driver. Can anyone hit me with a cluebat as >to where to start... There are lots touchpads that need a more relaxed interpretation of their capabilities.

CVS commit: src/usr.sbin/bta2dpd/bta2dpd

2023-05-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun May 28 07:59:17 UTC 2023 Modified Files: src/usr.sbin/bta2dpd/bta2dpd: sbc_encode.c Log Message: With the latest changes, pad(4) will return partial reads to allow a more fine grained pacing of audio data. But this broke

CVS commit: src/usr.sbin/bta2dpd/bta2dpd

2023-05-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun May 28 07:59:17 UTC 2023 Modified Files: src/usr.sbin/bta2dpd/bta2dpd: sbc_encode.c Log Message: With the latest changes, pad(4) will return partial reads to allow a more fine grained pacing of audio data. But this broke

CVS commit: src/etc/iscsi

2023-05-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun May 21 12:02:43 UTC 2023 Modified Files: src/etc/iscsi: volumes Log Message: iscsictl uses authentication types (n)one, (c)hap and mutual (C)hap. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/etc/iscsi

2023-05-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun May 21 12:02:43 UTC 2023 Modified Files: src/etc/iscsi: volumes Log Message: iscsictl uses authentication types (n)one, (c)hap and mutual (C)hap. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/dev

2023-05-19 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri May 19 15:42:43 UTC 2023 Modified Files: src/sys/dev: vnd.c Log Message: Neither limit the number of requests for the page daemon. Otherwise you may deadlock when the backend needs to allocate memory and the page daemon

CVS commit: src/sys/dev

2023-05-19 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri May 19 15:42:43 UTC 2023 Modified Files: src/sys/dev: vnd.c Log Message: Neither limit the number of requests for the page daemon. Otherwise you may deadlock when the backend needs to allocate memory and the page daemon

Re: LINEAR24 userland format in audio(4) - do we really want it?

2023-05-08 Thread Michael van Elst
r audio driver will crudely resample this to what it and the hardware supports. Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: LINEAR24 userland format in audio(4) - do we really want it?

2023-05-08 Thread Michael van Elst
n...@netbsd.org (nia) writes: Hi nia, >I believe this should not be enabled, and that applications >should be trained to write 32-bit linear samples instead. Two things. The "userland" 24bit format flag is required for internal 24bit processing because someone thought that without 24bit

Re: dkwedge: checksum before swapping?

2023-05-07 Thread Michael van Elst
mo...@rodents-montreal.org (Mouse) writes: >But that comment clearly indicates that _someone_ thought it >reasonable to checksum before swapping, so I can't help wondering what >use case that's appropriate for. It's a checksum over the 16bit words in native byte order. So when you access the

CVS commit: src/sys/dev/pad

2023-05-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon May 1 16:35:47 UTC 2023 Modified Files: src/sys/dev/pad: pad.c Log Message: Don't overflow when scaling 32bit samples. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/dev/pad/pad.c Please note that

CVS commit: src/sys/dev/pad

2023-05-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon May 1 16:35:47 UTC 2023 Modified Files: src/sys/dev/pad: pad.c Log Message: Don't overflow when scaling 32bit samples. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/dev/pad/pad.c Please note that

CVS commit: src/sys

2023-04-30 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon May 1 05:12:44 UTC 2023 Modified Files: src/sys/kern: vfs_lookup.c src/sys/sys: proc.h Log Message: Default PROC_MACHINE_ARCH to machine_arch and use this for magic symlinks to resolve "@machine_arch". This keeps

CVS commit: src/sys

2023-04-30 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon May 1 05:12:44 UTC 2023 Modified Files: src/sys/kern: vfs_lookup.c src/sys/sys: proc.h Log Message: Default PROC_MACHINE_ARCH to machine_arch and use this for magic symlinks to resolve "@machine_arch". This keeps

CVS commit: src/sys/arch/arm/broadcom

2023-04-30 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 30 14:20:23 UTC 2023 Modified Files: src/sys/arch/arm/broadcom: bcm2835_vcaudio.c Log Message: codec translates to 16bit slinear_le, not the internal format. To generate a diff of this commit: cvs rdiff -u -r1.18

CVS commit: src/sys/arch/arm/broadcom

2023-04-30 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 30 14:20:23 UTC 2023 Modified Files: src/sys/arch/arm/broadcom: bcm2835_vcaudio.c Log Message: codec translates to 16bit slinear_le, not the internal format. To generate a diff of this commit: cvs rdiff -u -r1.18

CVS commit: src/sys/dev/usb

2023-04-30 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 30 08:35:53 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c Log Message: xhci doesn't like 80 packets per USB interval, but 40 seems to be fine for xhci (and ehci). To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/usb

2023-04-30 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 30 08:35:53 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c Log Message: xhci doesn't like 80 packets per USB interval, but 40 seems to be fine for xhci (and ehci). To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 16:49:38 UTC 2023 Modified Files: src/tests/dev/audio: audiotest.c Log Message: Allow 24bit support. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/tests/dev/audio/audiotest.c Please note that

CVS commit: src/tests/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 16:49:38 UTC 2023 Modified Files: src/tests/dev/audio: audiotest.c Log Message: Allow 24bit support. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/tests/dev/audio/audiotest.c Please note that

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 08:53:08 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: print stage formats with AUDIO_DEBUG To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/sys/dev/audio/audio.c Please note

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 08:53:08 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: print stage formats with AUDIO_DEBUG To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/sys/dev/audio/audio.c Please note

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 08:38:53 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Be a little bit more informative on device timeout. To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.142 src/sys/dev/audio/audio.c

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 08:38:53 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Be a little bit more informative on device timeout. To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.142 src/sys/dev/audio/audio.c

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 08:26:05 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 src/sys/dev/audio/audio.c Please note that diffs are not public

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 08:26:05 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 src/sys/dev/audio/audio.c Please note that diffs are not public

CVS commit: src/sys/dev/pad

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 08:21:12 UTC 2023 Modified Files: src/sys/dev/pad: pad.c Log Message: No longer use AUDIO_INTERNAL_BITS but rely on passed audio format. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81

CVS commit: src/sys/dev/pad

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 08:21:12 UTC 2023 Modified Files: src/sys/dev/pad: pad.c Log Message: No longer use AUDIO_INTERNAL_BITS but rely on passed audio format. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 08:06:05 UTC 2023 Modified Files: src/sys/dev/audio: audiovar.h Log Message: Enable 24bit support by default. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/audio/audiovar.h Please note

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 08:06:05 UTC 2023 Modified Files: src/sys/dev/audio: audiovar.h Log Message: Enable 24bit support by default. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/audio/audiovar.h Please note

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 08:05:37 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Add 24bit/32bit hardware support. To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/sys/dev/audio/audio.c Please note that

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 08:05:37 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Add 24bit/32bit hardware support. To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/sys/dev/audio/audio.c Please note that

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 06:30:58 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/sys/dev/audio/audio.c Please note that diffs are not public

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 06:30:58 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/sys/dev/audio/audio.c Please note that diffs are not public

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 06:28:34 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Make audio_device information available to drvctl and devpubd. To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138

CVS commit: src/sys/dev/audio

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 06:28:34 UTC 2023 Modified Files: src/sys/dev/audio: audio.c Log Message: Make audio_device information available to drvctl and devpubd. To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138

CVS commit: src/sys/dev/usb

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 06:13:35 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Weed out duplicate sample rates and add comment about UAC2 clocks. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180

CVS commit: src/sys/dev/usb

2023-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 23 06:13:35 UTC 2023 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Weed out duplicate sample rates and add comment about UAC2 clocks. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180

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

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