Re: Access FFS partition on GPT on ZVOL

2022-09-03 Thread Michael van Elst
m...@petermann-it.de (Matthias Petermann) writes: >saturn$ doas dkctl /dev/zvol/rdsk/tank/backup/vhost/vol/net-export=20 >addwedge myexport 34 2147483581 ffs >dkctl: /dev/zvol/rdsk/tank/backup/vhost/vol/net-export: addwedge:=20 >Inappropriate ioctl for device A zvol is no disk and doesn't

Re: Switching to the new DHCP from ISC?

2022-09-03 Thread Michael van Elst
jo...@bec.de (Joerg Sonnenberger) writes: >On Sat, Sep 03, 2022 at 10:00:04AM +1200, Lloyd Parkes wrote: >> Does anyone know of a maintained DHCP relay implementation? >The better question for me is: are DHCP relayer server still in use? Yes.

CVS commit: src/sys/rump/librump/rumpnet

2022-09-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Sep 3 09:41:24 UTC 2022 Modified Files: src/sys/rump/librump/rumpnet: Makefile.rumpnet Log Message: netisr.c is gone. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/sys/rump/librump/rumpnet

2022-09-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Sep 3 09:41:24 UTC 2022 Modified Files: src/sys/rump/librump/rumpnet: Makefile.rumpnet Log Message: netisr.c is gone. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

Re: ssh, HPN extension and TCP auto-tuning

2022-08-29 Thread Michael van Elst
clays.sh...@sdf.org (Clay Daniels) writes: >On 8/29/22 12:32 AM, Michael van Elst wrote >> It should work, but how does it perform? >Are there any specific tests I can perform? I have working NetBSD install. Any effects should be mostly visible by copying large-enough files with sc

Re: ssh, HPN extension and TCP auto-tuning

2022-08-28 Thread Michael van Elst
On Mon, Aug 29, 2022 at 04:57:44AM +, Clay Daniels wrote: > On Sat, 27 Aug 2022, Michael van Elst wrote: > > > Date: Sat, 27 Aug 2022 22:21:17 - (UTC) > > From: Michael van Elst > > To: current-users@netbsd.org > > Newsgroups: lists.netbsd.current-u

CVS commit: src/sbin/fsck_msdos

2022-08-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 28 11:32:19 UTC 2022 Modified Files: src/sbin/fsck_msdos: boot.c Log Message: fix 32bit builds To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sbin/fsck_msdos/boot.c Please note that diffs are not

CVS commit: src/sbin/fsck_msdos

2022-08-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 28 11:32:19 UTC 2022 Modified Files: src/sbin/fsck_msdos: boot.c Log Message: fix 32bit builds To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sbin/fsck_msdos/boot.c Please note that diffs are not

CVS commit: src/sys/dev/scsipi

2022-08-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 28 10:26:37 UTC 2022 Modified Files: src/sys/dev/scsipi: sd.c sdvar.h Log Message: Don't fetch data beyond end of inquiry buffer, which, here, is not NUL-terminated. Reduce target buffer to needed size (product name +

CVS commit: src/sys/dev/scsipi

2022-08-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 28 10:26:37 UTC 2022 Modified Files: src/sys/dev/scsipi: sd.c sdvar.h Log Message: Don't fetch data beyond end of inquiry buffer, which, here, is not NUL-terminated. Reduce target buffer to needed size (product name +

CVS commit: src/sbin/fsck_msdos

2022-08-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 28 10:20:25 UTC 2022 Modified Files: src/sbin/fsck_msdos: boot.c check.c Log Message: Fix writing of corrected fsinfo. Continue when fsinfo has been rewritten. To generate a diff of this commit: cvs rdiff -u -r1.25

CVS commit: src/sbin/fsck_msdos

2022-08-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 28 10:20:25 UTC 2022 Modified Files: src/sbin/fsck_msdos: boot.c check.c Log Message: Fix writing of corrected fsinfo. Continue when fsinfo has been rewritten. To generate a diff of this commit: cvs rdiff -u -r1.25

Re: ssh, HPN extension and TCP auto-tuning

2022-08-27 Thread Michael van Elst
clays.sh...@sdf.org (Clay Daniels) writes: >home. I would love to help test what I can. Do I need to get a more >recent snapshot? I see one on the server that is 27 Aug 07:34. Would >that one work? The next snapshot will have it.

Re: ssh, HPN extension and TCP auto-tuning

2022-08-27 Thread Michael van Elst
buh...@nfbcal.org (Brian Buhrow) writes: > hello. Refresh my memory. Is it the case that the HPN code > only runs if both ends >of the ssh connection support HPN and have it turned on? With only the client using HPN, you can tune the client receive buffer, which may or may not

ssh, HPN extension and TCP auto-tuning

2022-08-27 Thread Michael van Elst
In https://mail-index.netbsd.org/current-users/2017/09/20/msg032361.html there was a discussion about effectiveness of the "High Performance Networking" patch to OpenSSH that we keep in our tree. Details about the HPN patch can be found at: https://www.psc.edu/hpn-ssh-home/hpn-ssh-faq/ This led

CVS commit: src/crypto/external/bsd/openssh/dist

2022-08-27 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Aug 27 10:04:45 UTC 2022 Modified Files: src/crypto/external/bsd/openssh/dist: channels.c readconf.c ssh.c sshbuf.h Log Message: Adopt TCP window handling from current HPN patch at

CVS commit: src/crypto/external/bsd/openssh/dist

2022-08-27 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Aug 27 10:04:45 UTC 2022 Modified Files: src/crypto/external/bsd/openssh/dist: channels.c readconf.c ssh.c sshbuf.h Log Message: Adopt TCP window handling from current HPN patch at

CVS commit: src/sys/rump/include/machine

2022-08-22 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 22 13:22:10 UTC 2022 Modified Files: src/sys/rump/include/machine: pmap.h Log Message: provide pmap_wired_count macro. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/rump/include/machine/pmap.h

CVS commit: src/sys/rump/include/machine

2022-08-22 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 22 13:22:10 UTC 2022 Modified Files: src/sys/rump/include/machine: pmap.h Log Message: provide pmap_wired_count macro. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/rump/include/machine/pmap.h

CVS commit: src/sys/rump/librump/rumpkern/arch/generic

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 16:55:14 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern/arch/generic: rump_generic_pmap.c Log Message: Add stubs for pmap_resident_count, pmap_wired_count. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/rump/librump/rumpkern/arch/generic

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 16:55:14 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern/arch/generic: rump_generic_pmap.c Log Message: Add stubs for pmap_resident_count, pmap_wired_count. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/modules/x86_pte_tester

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 14:06:42 UTC 2022 Modified Files: src/tests/modules/x86_pte_tester: x86_pte_tester.c Log Message: requires pmap_private.h now. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/modules/x86_pte_tester

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 14:06:42 UTC 2022 Modified Files: src/tests/modules/x86_pte_tester: x86_pte_tester.c Log Message: requires pmap_private.h now. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/amd64

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 14:05:52 UTC 2022 Modified Files: src/sys/arch/amd64/amd64: prekern.c src/sys/arch/amd64/stand/prekern: pdir.h prekern.h Log Message: Adapt to pmap/bootspace migrations. To generate a diff of this commit:

CVS commit: src/sys/arch/amd64

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 14:05:52 UTC 2022 Modified Files: src/sys/arch/amd64/amd64: prekern.c src/sys/arch/amd64/stand/prekern: pdir.h prekern.h Log Message: Adapt to pmap/bootspace migrations. To generate a diff of this commit:

CVS commit: src/sbin/scsictl

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 12:44:16 UTC 2022 Modified Files: src/sbin/scsictl: scsictl.8 scsictl.c Log Message: Add REPORT_LUNS command. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sbin/scsictl/scsictl.8 cvs rdiff -u

CVS commit: src/sbin/scsictl

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 12:44:16 UTC 2022 Modified Files: src/sbin/scsictl: scsictl.8 scsictl.c Log Message: Add REPORT_LUNS command. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sbin/scsictl/scsictl.8 cvs rdiff -u

CVS commit: src/sbin/drvctl

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 07:51:31 UTC 2022 Modified Files: src/sbin/drvctl: drvctl.c Log Message: When extracting properties, don't bail for non-existent or invalid path elements, but continue with next properry. To generate a diff of this

CVS commit: src/sbin/drvctl

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 07:51:31 UTC 2022 Modified Files: src/sbin/drvctl: drvctl.c Log Message: When extracting properties, don't bail for non-existent or invalid path elements, but continue with next properry. To generate a diff of this

CVS commit: src/usr.bin/pmap

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 07:46:52 UTC 2022 Modified Files: src/usr.bin/pmap: main.c main.h pmap.1 pmap.c pmap.h Log Message: Add -t option to print pmap as underlying RB tree. Report gap/maxgap fields when dumping vm_map structure. To

CVS commit: src/usr.bin/pmap

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 07:46:52 UTC 2022 Modified Files: src/usr.bin/pmap: main.c main.h pmap.1 pmap.c pmap.h Log Message: Add -t option to print pmap as underlying RB tree. Report gap/maxgap fields when dumping vm_map structure. To

CVS commit: src/sys/dev/ic

2022-08-20 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Aug 20 06:47:28 UTC 2022 Modified Files: src/sys/dev/ic: hpet.c Log Message: It is possible to overflow the (low 32bit) HPET counter between hpet_attach and TSC calibration if the boot is delayed for more than ~430 seconds

CVS commit: src/sys/dev/ic

2022-08-20 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Aug 20 06:47:28 UTC 2022 Modified Files: src/sys/dev/ic: hpet.c Log Message: It is possible to overflow the (low 32bit) HPET counter between hpet_attach and TSC calibration if the boot is delayed for more than ~430 seconds

Re: Devices without power management support

2022-08-19 Thread Michael van Elst
p...@whooppee.com (Paul Goyette) writes: >Don't forget to deregister the device if the xxx_attach() later exits... I think the point was to not do this, so that a failed attach doesn't prevent the system from entering sleep mode. Here, calling pmf_register first on attachment is then required,

Re: Weird clock behaviour with current (amd64) kernel

2022-08-14 Thread Michael van Elst
out possible HZ values. But I doubt these issues are difficult to find and to fix. Providing a common boot parameter over all ports and port masters on the other hand starts with the question what color it should be painted. Greetings, -- Michael van Els

Re: Weird clock behaviour with current (amd64) kernel

2022-08-14 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >Pity this won't help with PR 43997 - but I conclude from your response about >that, that if the host running qemu had HZ set significantly higher than 100 >then qemu (hosting a kernel with HZ==100) would probably work just fine? Yes. FreeBSD has the

Re: sh(1) and ksh(1) default PATH

2022-08-14 Thread Michael van Elst
n...@netbsd.org (nia) writes: >There are a few remaining cases where the sh(1) defaults are Bad: It's not "Bad" but just does not fit your personal expectations. >1. We can't assume XDM. Lots of desktop environments have their own > preferred login manager which may have inconsistent

Re: Weird clock behaviour with current (amd64) kernel

2022-08-14 Thread Michael van Elst
s...@stix.id.au (Paul Ripke) writes: >This is likely somewhat similar to what I reported here: >http://mail-index.netbsd.org/current-users/2019/07/29/msg036293.html >tl;dr: weird clock behaviour on GCE micro instances. This at least >provides a nice easy testbed. | ACPI-Safe: ntp syncs fine,

CVS commit: src/sys/arch/x86/x86

2022-08-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 14 07:49:33 UTC 2022 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: Split TSC calibtration into many small steps and disable interrupts for each step. Also add debug messages. To generate a diff of this

CVS commit: src/sys/arch/x86/x86

2022-08-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 14 07:49:33 UTC 2022 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: Split TSC calibtration into many small steps and disable interrupts for each step. Also add debug messages. To generate a diff of this

Re: Weird clock behaviour with current (amd64) kernel

2022-08-13 Thread Michael van Elst
some interval), but that's a different problem. Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: Weird clock behaviour with current (amd64) kernel

2022-08-13 Thread Michael van Elst
mlel...@serpens.de (Michael van Elst) writes: >In your case, you say it takes ~6 minutes between attachment and >calibration and your hpet runs at 19.2MHz. >This is enough for HPET_MCOUNT_LO to overflow. This patch adds a separate delay of ~0.1 seconds to calibrate the timers. Th

Re: Weird clock behaviour with current (amd64) kernel

2022-08-13 Thread Michael van Elst
On Sun, Aug 14, 2022 at 02:38:07AM +0700, Robert Elz wrote: > Date:Sat, 13 Aug 2022 17:41:05 +0200 > From: Michael van Elst > Message-ID: > > | If you boot the kernel in debug mode (netbsd -x), > > I did. > > | you may

Re: Weird clock behaviour with current (amd64) kernel

2022-08-13 Thread Michael van Elst
e. It's also the only place that could have been influenced by e.g. console output. If you have a working HPET, the second calibration should be better. Here it always returns exactly the same number. Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: specfs/spec_vnops.c diagnostic assertion panic

2022-08-13 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >vpanic() >kern_assert() >_bus_dmamem_unmap.constprop.0() at +0x157 That panic should be fixed by now, it was an inverted assertion.

Re: fan control

2022-08-10 Thread Michael van Elst
m...@netbsd.org (Emmanuel Dreyfus) writes: >On Wed, Aug 10, 2022 at 03:09:34PM -0000, Michael van Elst wrote: >> That's the fan "alarm status" being FALSE, meaing, there is no >> alarm. It's all well. >I know one of the five fans is dead, hence I wonder what

Re: fan control

2022-08-10 Thread Michael van Elst
m...@netbsd.org (Emmanuel Dreyfus) writes: >and not even get their status. That examplains envstat(8) output >about the fans: > Current CritMax WarnMax WarnMin CritMin Unit >[acpifan0] > state: FALSE That's the fan "alarm status" being FALSE, meaing,

Re: fan control

2022-08-10 Thread Michael van Elst
m...@netbsd.org (Emmanuel Dreyfus) writes: >Is there any way to control fans through ACPI? acpi(4) says "The acpifan >driver does not support controlling the fan", but is it something that >needs to be implmented, or is it not possible? Depends. Some ACPI implementations allow you to set fan

Re: newfs_msdos says vnconfiged device read-only, newfs doesn't say so

2022-08-08 Thread Michael van Elst
mayur...@acm.org (Mayuresh) writes: >4 partitions: >#sizeoffset fstype [fsize bsize cpg/sgs] > a: 4194304 0 4.2BSD 0 0 0 # (Cyl. 0 - > 2047) > d: 4194304 0 unused 0 0# (Cyl. 0 - > 2047) >

Re: Weird clock behaviour with current (amd64) kernel

2022-08-07 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >Date:Thu, 4 Aug 2022 12:49:35 - (UTC) >From:mlel...@serpens.de (Michael van Elst) >Message-ID: > | The measurement runs with enabled interrupts. If you have lots of > interrupts > | or interrupts t

Re: Weird clock behaviour with current (amd64) kernel

2022-08-04 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >The issue only occurs when I boot a kernel with options PCI_CONFIG_DUMP >enabled, which is (one way or the other) almost certainly responsible for >the issue - though the problem you mention may be involved in the kernel's >failure to detect that the TSC

Re: Weird clock behaviour with current (amd64) kernel

2022-08-04 Thread Michael van Elst
dholland-curr...@netbsd.org (David Holland) writes: >On Thu, Jul 14, 2022 at 08:59:25PM +0700, Robert Elz wrote: > > I just booted a kernel that I built (from up to date at the time) > > HEAD sources about 24 hours ago. > > > > Everything seemed to be working fine - until I noticed that all of >

CVS commit: src/sys/dev/ic

2022-08-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 1 14:44:15 UTC 2022 Modified Files: src/sys/dev/ic: nslm7x.c Log Message: Prevent multiple unregistrations. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/dev/ic/nslm7x.c Please note that diffs

CVS commit: src/sys/dev/ic

2022-08-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 1 14:44:15 UTC 2022 Modified Files: src/sys/dev/ic: nslm7x.c Log Message: Prevent multiple unregistrations. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/dev/ic/nslm7x.c Please note that diffs

CVS commit: src/sys/dev/ic

2022-08-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 1 14:43:15 UTC 2022 Modified Files: src/sys/dev/ic: nslm7x.c Log Message: revert accidental commit. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sys/dev/ic/nslm7x.c Please note that diffs are not

CVS commit: src/sys/dev/ic

2022-08-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 1 14:43:15 UTC 2022 Modified Files: src/sys/dev/ic: nslm7x.c Log Message: revert accidental commit. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sys/dev/ic/nslm7x.c Please note that diffs are not

CVS commit: src/sys/dev/ic

2022-08-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 1 08:09:30 UTC 2022 Modified Files: src/sys/dev/ic: nvmevar.h Log Message: Now really restore 1.24. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/dev/ic/nvmevar.h Please note that diffs are

CVS commit: src/sys/dev/ic

2022-08-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 1 08:09:30 UTC 2022 Modified Files: src/sys/dev/ic: nvmevar.h Log Message: Now really restore 1.24. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/dev/ic/nvmevar.h Please note that diffs are

CVS commit: src/sys/dev/ic

2022-08-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 1 07:37:18 UTC 2022 Modified Files: src/sys/dev/ic: ahcisata_core.c bcmgenet.c nvmevar.h rtl8169.c tulip.c tulipreg.h Log Message: Revert last accidental commits. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/ic

2022-08-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 1 07:37:18 UTC 2022 Modified Files: src/sys/dev/ic: ahcisata_core.c bcmgenet.c nvmevar.h rtl8169.c tulip.c tulipreg.h Log Message: Revert last accidental commits. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/ic

2022-08-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 1 07:34:28 UTC 2022 Modified Files: src/sys/dev/ic: ahcisata_core.c bcmgenet.c nslm7x.c nvmereg.h nvmevar.h rtl8169.c tulip.c tulipreg.h Log Message: Also fix shift values for SCT constants. To generate a

CVS commit: src/sys/dev/ic

2022-08-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 1 07:34:28 UTC 2022 Modified Files: src/sys/dev/ic: ahcisata_core.c bcmgenet.c nslm7x.c nvmereg.h nvmevar.h rtl8169.c tulip.c tulipreg.h Log Message: Also fix shift values for SCT constants. To generate a

CVS commit: src/sbin/nvmectl

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 13:49:23 UTC 2022 Modified Files: src/sbin/nvmectl: logpage.c Log Message: Fix build on 32bit. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sbin/nvmectl/logpage.c Please note that diffs are not

CVS commit: src/sbin/nvmectl

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 13:49:23 UTC 2022 Modified Files: src/sbin/nvmectl: logpage.c Log Message: Fix build on 32bit. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sbin/nvmectl/logpage.c Please note that diffs are not

CVS commit: src/sys/net

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 13:14:55 UTC 2022 Modified Files: src/sys/net: if_loop.c Log Message: Count dropped packets caused by ENOBUFS as interface error. To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/sys/net/if_loop.c

CVS commit: src/sys/net

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 13:14:55 UTC 2022 Modified Files: src/sys/net: if_loop.c Log Message: Count dropped packets caused by ENOBUFS as interface error. To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/sys/net/if_loop.c

CVS commit: src/sys/fs

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 13:08:19 UTC 2022 Modified Files: src/sys/fs/sysvbfs: sysvbfs_vnops.c src/sys/fs/v7fs: v7fs_vnops.c Log Message: Don't panic for a negative offset, just fail the operation with EINVAL. To generate a diff of

CVS commit: src/sys/fs

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 13:08:19 UTC 2022 Modified Files: src/sys/fs/sysvbfs: sysvbfs_vnops.c src/sys/fs/v7fs: v7fs_vnops.c Log Message: Don't panic for a negative offset, just fail the operation with EINVAL. To generate a diff of

CVS commit: src/sys/dev/usb

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 13:01:17 UTC 2022 Modified Files: src/sys/dev/usb: umodem_common.c Log Message: Compute a unique port number from interface index. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/sys/dev/usb

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 13:01:17 UTC 2022 Modified Files: src/sys/dev/usb: umodem_common.c Log Message: Compute a unique port number from interface index. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/sys/dev/usb

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 12:59:26 UTC 2022 Modified Files: src/sys/dev/usb: if_urtwn.c Log Message: Don't report errors as timeout. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/sys/dev/usb/if_urtwn.c Please note that

CVS commit: src/sys/dev/usb

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 12:59:26 UTC 2022 Modified Files: src/sys/dev/usb: if_urtwn.c Log Message: Don't report errors as timeout. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/sys/dev/usb/if_urtwn.c Please note that

CVS commit: src

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 12:40:35 UTC 2022 Modified Files: src/distrib/sets/lists/base: shl.mi src/distrib/sets/lists/debug: shl.mi src/lib/libisns: Makefile Log Message: Move libisns to /lib to allow /sbin/iscsid to work

CVS commit: src

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 12:40:35 UTC 2022 Modified Files: src/distrib/sets/lists/base: shl.mi src/distrib/sets/lists/debug: shl.mi src/lib/libisns: Makefile Log Message: Move libisns to /lib to allow /sbin/iscsid to work

CVS commit: src/sbin/nvmectl

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 12:11:44 UTC 2022 Modified Files: src/sbin/nvmectl: logpage.c Log Message: Report error code (SCT/SC). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sbin/nvmectl/logpage.c Please note that diffs

CVS commit: src/sbin/nvmectl

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 12:11:44 UTC 2022 Modified Files: src/sbin/nvmectl: logpage.c Log Message: Report error code (SCT/SC). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sbin/nvmectl/logpage.c Please note that diffs

CVS commit: src/sys/dev/ic

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 12:02:28 UTC 2022 Modified Files: src/sys/dev/ic: nvme.c Log Message: The namespace id is a 32bit value, in particular the "all namespaces" value for global commands is 0x. While the driver only supports 16bit

CVS commit: src/sys/dev/ic

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 12:02:28 UTC 2022 Modified Files: src/sys/dev/ic: nvme.c Log Message: The namespace id is a 32bit value, in particular the "all namespaces" value for global commands is 0x. While the driver only supports 16bit

CVS commit: src/sys/dev/ic

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 11:58:37 UTC 2022 Modified Files: src/sys/dev/ic: nvmereg.h Log Message: The status is an 8 bit field. Fix masks and move the status type field to the correct bit position. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/ic

2022-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 31 11:58:37 UTC 2022 Modified Files: src/sys/dev/ic: nvmereg.h Log Message: The status is an 8 bit field. Fix masks and move the status type field to the correct bit position. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/ic

2022-07-30 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 30 12:48:17 UTC 2022 Modified Files: src/sys/dev/ic: ld_aac.c ld_nvme.c Log Message: aprint_error_dev is for autoconfig messages, use device_printf instead. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/sys/dev/ic

2022-07-30 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 30 12:48:17 UTC 2022 Modified Files: src/sys/dev/ic: ld_aac.c ld_nvme.c Log Message: aprint_error_dev is for autoconfig messages, use device_printf instead. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

Re: PCIe --> NVMe adapters?

2022-07-16 Thread Michael van Elst
p...@whooppee.com (Paul Goyette) writes: >Is anyone using such beasts on NetBSD? For example, on a x86 >mothrboard that doesn't have an NVMe slot the adapter can convert >an unused PCIe 3.0 x4 into an NVMe? If it is a card for a single M.2 device, it's just wires. If it is a card for multiple

CVS commit: src/sbin/gpt

2022-07-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 16 12:57:14 UTC 2022 Modified Files: src/sbin/gpt: gpt.h Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sbin/gpt/gpt.h Please note that diffs are not public domain; they are

CVS commit: src/sbin/gpt

2022-07-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 16 12:57:14 UTC 2022 Modified Files: src/sbin/gpt: gpt.h Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sbin/gpt/gpt.h Please note that diffs are not public domain; they are

CVS commit: src/sys/dev/wscons

2022-07-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 16 10:57:59 UTC 2022 Modified Files: src/sys/dev/wscons: wsdisplay_vcons.c Log Message: modify screen before updating cache. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54

CVS commit: src/sys/dev/wscons

2022-07-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 16 10:57:59 UTC 2022 Modified Files: src/sys/dev/wscons: wsdisplay_vcons.c Log Message: modify screen before updating cache. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54

CVS commit: src/sys/arch/x86/x86

2022-07-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 16 06:27:24 UTC 2022 Modified Files: src/sys/arch/x86/x86: genfb_machdep.c Log Message: Use pixel format information from bootloader. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/sys/arch/x86/x86

2022-07-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 16 06:27:24 UTC 2022 Modified Files: src/sys/arch/x86/x86: genfb_machdep.c Log Message: Use pixel format information from bootloader. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

Re: Weird clock behaviour with current (amd64) kernel

2022-07-16 Thread Michael van Elst
r...@sdf.org (RVP) writes: >Unsurprisingly, EFI also has a colour-index similar to VGA (see: >/usr/src/sys/external/bsd/gnu-efi/dist/inc/eficon.h). I tried fixing the >indexes like this, but, it doesn't for some (autoconfig?) reason. Can >only look into this after I come back from my road-trip.

Re: Weird clock behaviour with current (amd64) kernel

2022-07-14 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: > | Heh. It's not just Cyan/Yellow; Red and Blue are swapped too, because: > | > | /usr/src/sys/dev/wscons/wsdisplayvar.h and > | /usr/src/sys/dev/ic/pcdisplay.h have different values for those colour= >s. >If that is all it is, it is barely worth

Re: i386/amd64 image generated trough mkimage stuck on primary bootsrap at boot

2022-07-10 Thread Michael van Elst
m...@eterna.com.au (matthew green) writes: >FWIW, i've been using 64K block *and frag size FFS for over >a decade without any problem, on a file system that almost >always has extremely large files on it. >so, this should be fixed in the manual i guess. The manual just lists the default values

Re: iscsi target on a zfs zvol?

2022-07-10 Thread Michael van Elst
ha...@espresso.rhein-neckar.de (Hauke Fath) writes: >Jul 10 22:56:18 pizza istgt[9108]:=20 >istgt_iscsi.c:4165:istgt_iscsi_op_nopout: ***ERROR*** CmdSN(24873146)=20 >error ExpCmdSN=3D24873145=20 >Jul 10 22:56:18 pizza istgt[9108]:=20 >istgt_iscsi.c:5045:istgt_iscsi_execute: ***ERROR***

Re: iscsi target on a zfs zvol?

2022-07-10 Thread Michael van Elst
ha...@espresso.rhein-neckar.de (Hauke Fath) writes: >I would like to set up an iscsi target backed by a zfs zvol, to serve=20 >as a Mac time machine volume. Independent of your problem you should use 'istgt' from pkgsrc.

Re: i386/amd64 image generated trough mkimage stuck on primary bootsrap at boot

2022-07-10 Thread Michael van Elst
r...@sdf.org (RVP) writes: >@@ -255,7 +255,7 @@ > echo ${bar} Populating ffs filesystem ${bar} > ${MAKEFS} -rx ${endian} -N ${release}/etc -t ffs \ > -O ${ffsoffset} \ >- -o d=4096,f=8192,b=65536 -b $((${extra}))m \ >+ -o d=8192,f=2048,b=16384 -b

CVS commit: src/usr.bin/telnet

2022-07-08 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Jul 8 21:51:24 UTC 2022 Modified Files: src/usr.bin/telnet: commands.c Log Message: Prevent crashes as shown in PR 56918. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/usr.bin/telnet/commands.c Please

CVS commit: src/usr.bin/telnet

2022-07-08 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Jul 8 21:51:24 UTC 2022 Modified Files: src/usr.bin/telnet: commands.c Log Message: Prevent crashes as shown in PR 56918. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/usr.bin/telnet/commands.c Please

Re: Scanning floppy devices with assumed density

2022-07-03 Thread Michael van Elst
On Sun, Jul 03, 2022 at 01:20:15PM +0200, Martin Husemann wrote: > On Sun, Jul 03, 2022 at 05:21:27AM -0000, Michael van Elst wrote: > > Another question of course is why the isa fd driver reads a disklabel at all > > when it (ab-)uses the partition number to select densities. &g

Re: raidframeparity and /etc/defaults/rc.conf

2022-07-03 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >Does someone know of a reason for a setting for the rc.conf >(rc.d/*) variable raidframeparity to be omitted from rc.defaults/rc.conf ? >To me that looks like an oversight. raidframeparity has no rcvar switch, it's always started.

Re: Scanning floppy devices with assumed density

2022-07-02 Thread Michael van Elst
j...@ziaspace.com (John Klos) writes: >boot device: fd0 [ 5.121888] fd0d: hard error reading fsbn 0 of 0-2 (st0 >0x40 st1 0x1 st2 0x0 cyl 0 head 0 sec 1) >She wondered why fd0d is being used here. I can't imagine this is due to >scanning for a disklabel, since they've been around forever, so

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