Re: GPT attributes in dkwedgeq

2023-09-12 Thread Michael van Elst
mar...@duskware.de (Martin Husemann) writes: > if (flags & DKW_FLAGS_BOOTME) > rf_boot_from_filesystem_starting_at(dkw.offset) A flag in GPT that is supposed to be used by a bootloader now causes changes in the kernel disk infrastructure to be used for a

Re: NetBSD 10.0 timeline and branch status

2023-09-10 Thread Michael van Elst
bsieg...@gmail.com (Benny Siegert) writes: >>=20 >> Unfortunately the additional shared library changes require another = >round >> of package rebuilds from scratch. Everyond building packages against >> netbsd-10: please start a new round from scratch. >Does that mean the pkgsrc-2023Q2 binary

Re: UEFI installation

2023-08-14 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >For the EFI partition, what are the rules? It seems like > the size is at least X and less than Y 100MB is the minimum, some systems reject smaller EFI partitions. It also should be FAT32.

Re: ZFS Bogosity

2023-08-14 Thread Michael van Elst
asier method though. > > Yes, that seems not to have any real downsides and would make it behave > as expected. SMOP -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: ZFS Bogosity

2023-08-13 Thread Michael van Elst
rrange for "volume labels" to be visible in the filesystem (e.g. use devpubd to create symlinks for wedges, or invent a device filesystem that is filled by the kernel) and let zfs scan these. Makeing zfs scan disklabel partitions derived from hw.disknames seems to be the e

Re: ZFS Bogosity

2023-08-13 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >David Brownlee writes: >> https://gnats.netbsd.org/57583 >Do you think this is just a bug that it fails to look at wd3e >etc. wrongly if there is /dev/zfs? The code scans all devices in the specified device directory, unless it's /dev/. Then it uses

Re: would anybody use binary packages for NetBSD/i386 10?

2023-08-13 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >it was underpowered, that I might or might not ever power up again, and >if I did I wouldn't use ftp.n.o packages on it. What else? Self-compiling on a system you already consider outdated? :) Binary packages are more important on systems that we consider

Re: Calling system(3) when SIGCHLD is SIG_IGN'd

2023-08-13 Thread Michael van Elst
On Sun, Aug 13, 2023 at 01:04:00PM +0200, Rhialto wrote: > On Sat 12 Aug 2023 at 23:49:43 +0200, Michael van Elst wrote: > > On Sat, Aug 12, 2023 at 03:22:56PM +0200, Rhialto wrote: > > > > > > Or, alternatively, a proper signal handler for SIGCHLD could be set up.

Re: Calling system(3) when SIGCHLD is SIG_IGN'd

2023-08-12 Thread Michael van Elst
ildren. -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

CVS commit: src/usr.bin/ftp

2023-08-12 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Aug 12 07:40:13 UTC 2023 Modified Files: src/usr.bin/ftp: fetch.c Log Message: Don't finish downloading an empty file with 'already done' before it is created locally. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/ftp

2023-08-12 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Aug 12 07:40:13 UTC 2023 Modified Files: src/usr.bin/ftp: fetch.c Log Message: Don't finish downloading an empty file with 'already done' before it is created locally. To generate a diff of this commit: cvs rdiff -u

Re: NetBSD 10 BETA successfully installed, does not recognize my wireless network device

2023-08-07 Thread Michael van Elst
j...@m5.chicago.il.us ("Jay F. Shachter") writes: >else. According to the output that I obtain when I boot my computer >into OpenBSD and invoke the "pcidump -v" command -- and I have to >engage in this roundabout procedure because I do not see a pcidump >command, or anything resembling it, on my

Re: Maxphys on -current?

2023-08-04 Thread Michael van Elst
different. There might also be some difference in command queuing parameters, some disks get slower for this kind of test. -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: Maxphys on -current?

2023-08-03 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >When you run dd with bs=64k and then bs=1m, how different are the >results? (I believe raw requests happen accordingly, vs MAXPHYS for fs >etc. access.) 'raw requests' are split into MAXPHYS size chunks. While using bs=1m reduces the syscall overhead

Re: Network interface slowness

2023-08-01 Thread Michael van Elst
joel.bertr...@systella.fr (=?UTF-8?Q?BERTRAND_Jo=c3=abl?=) writes: >CISCO FTTH adapter > || > || >netbsdLinux > | > | > lan >On NetBSD (-10) or workstations on LAN: >- 400 Mbps downlink; >- 4 (!) Mbps uplink, yes, 4 Mbps. What happens when you unplug one of the

Re: zfs pool behavior - is it ever freed?

2023-07-29 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >mlel...@serpens.de (Michael van Elst) writes: >> t...@netbsd.org (Tobias Nygren) writes: >> >>>There exists ZFS code which hooks into UVM to drain memory -- but part >>>of it is ifdef __i386 for some reason. See arc_kmem_

Re: zfs pool behavior - is it ever freed?

2023-07-29 Thread Michael van Elst
t...@netbsd.org (Tobias Nygren) writes: >There exists ZFS code which hooks into UVM to drain memory -- but part >of it is ifdef __i386 for some reason. See arc_kmem_reap_now(). That's an extra for 32bit systems (later code replaced __i386 with the proper macro) where kernel address space is much

Re: zfs pool behavior - is it ever freed?

2023-07-28 Thread Michael van Elst
On Fri, Jul 28, 2023 at 12:26:57PM -0400, Greg Troxel wrote: > mlel...@serpens.de (Michael van Elst) writes: > > > g...@lexort.com (Greg Troxel) writes: > > > >>I'm not either, but if there is a precise description/code of what they > >>did, th

Re: zfs pool behavior - is it ever freed?

2023-07-28 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >I'm not either, but if there is a precise description/code of what they >did, that lowers the barrier to us stealing* it. (* There is of course >a long tradition of improvements from various *BSD being applied to >others.) The FreeBSD code is already there

Re: zfs pool behavior - is it ever freed?

2023-07-27 Thread Michael van Elst
to force ZFS to > give up its pool usage. At least not in the current incarnation. There are lots of tunables though that are supposed to limit ZFS memory usage, but so far we do not expose these (FreeBSD does). -- Michael van Elst Internet: mle

Re: zfs pool behavior - is it ever freed?

2023-07-27 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: > RAM and/or responds to pressure. That's why we see almost no reports > of trouble expect for zfs. There is almost no pressure on pools and several effects prevent pressure from actually draining pool caches. There is almost no pressure on vcache and

CVS commit: src/etc/rc.d

2023-07-22 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 22 10:31:35 UTC 2023 Modified Files: src/etc/rc.d: iscsid_volumes Log Message: Don't specify a volume alias if none is given instead of using a default name. Otherwise iscsictl fails for using non-unique names if more

CVS commit: src/etc/rc.d

2023-07-22 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 22 10:31:35 UTC 2023 Modified Files: src/etc/rc.d: iscsid_volumes Log Message: Don't specify a volume alias if none is given instead of using a default name. Otherwise iscsictl fails for using non-unique names if more

Re: NetBSD & disks with 4K sector size

2023-07-20 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >mlel...@serpens.de (Michael van Elst) writes: >> The xbd driver lies about the sector size and always reports 512byte >> sectors. If you pass through a 4k sector host disk, this make some >> I/O operations fail. >What do you sug

Re: NetBSD & disks with 4K sector size

2023-07-20 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >With any luck, this is supported and the xbd driver in NetBSD is just >not noticing the sector size variable and it's a fairly small matter of >programming. The xbd driver lies about the sector size and always reports 512byte sectors. If you pass through a

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

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