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

2021-07-17 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >Ah, interesting point. I find this confusing, because I thought an >uncorrectable read error would, for disks I've dealt with, cause the >sector to be marked as permanently failed and pending reallocation. It is. Doesn't mean that further read attempts

Re: backspace in wscons console sends ^H to processes

2021-07-17 Thread Michael van Elst
bl...@internode.on.net (Brett Lymn) writes: >On Sat, Jul 17, 2021 at 11:29:09AM -0000, Michael van Elst wrote: >> >> With >> stty erase '^?' >> you tell it to 'backspace' when receiving 0x7f. >> >> This is what you see when running 'cat'. >>

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

2021-07-17 Thread Michael van Elst
m...@petermann-it.de (Matthias Petermann) writes: >wedges at boot time unnecessarily endangers the RAID in the event of a=20 >disk change. Therefore the question: is there a better possibility=20 >besides using the wedges? I remember that I had also tried the variant=20 >with the label

Re: cgd + zfs

2021-07-17 Thread Michael van Elst
a...@absd.org (David Brownlee) writes: >zfs is setup to use wedges via /dev/wedges and then adjusted >rc.d/devpubd to run _before_ zfs, so I have stable zfs devices if >anything renumbers on reboot Since the standard devpubd hooks now run without /usr, we could make this official. There is no

Re: backspace in wscons console sends ^H to processes

2021-07-17 Thread Michael van Elst
p...@bydasein.com ("Paul W. Rankin") writes: >I have a problem with my backspace key in wscons console (vt220 >emulated); backspace appears to send ^H, which is correctly interpreted >by the line editor, but not by child processes, e.g. > $ cat > hello wold^H^Hrld >My assumption is

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

2021-07-16 Thread Michael van Elst
m...@petermann-it.de (Matthias Petermann) writes: >On 14.07.21 14:10, Greg Troxel wrote: >> I think you may have uncovered a bug in zfs statistics. >>> NAMESTATE READ WRITE CKSUM >>> tankONLINE 0 0 0 >>> raidz2-0 ONLINE 0

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

2021-07-16 Thread Michael van Elst
m...@petermann-it.de (Matthias Petermann) writes: >Thank you very much for your valuable advice! I will add the=20 >smartmontools to my custom repository today so that I can install it on=20 >the NAS. In the meantime, I had another look at atactl - it seems to=20 >offer the possibility of reading

Re: mpv and estd and --vo=xv

2021-07-13 Thread Michael van Elst
r...@sdf.org (RVP) writes: >But, maybe, MHz xxx1 != Turbo Boost mode. I'm very confused now :) It's Turbo Boost mode, which mostly says that the CPU runs at xxx0 MHz but may increase that as long as the thermal limits aren't reached. You use it as an additional ACPI p-state with an unspecified

Re: mpv and estd and --vo=xv

2021-07-13 Thread Michael van Elst
r...@sdf.org (RVP) writes: >It has Enhanced SpeedStep though. So it looks like I have to >re-enable estd--except that the latest estd detects my Intel CPU >as a (ARM?) Rockchip: >--- >$ estd -f >Supported frequencies (Rockchip Mode): That says that estd uses sysctl machdep.cpu.frequency.* to

Re: Cant locate Mojo/Base.pm

2021-07-12 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >I have deleted the pkg abcde and all the packages it depends upon, and >resintslled them. When I execute the command to pull music off the CD, it get: >"Can't locate Mojo/Base.pm in @INC > You may need to reinstall ... " It is part of p5-Mojolicious

Re: mpv and estd and --vo=xv

2021-07-11 Thread Michael van Elst
rhia...@falu.nl (Rhialto) writes: >How can this be? If it's GPU-accellerated, this should be independent of >the CPU frequency, I would think? In the best case, the CPU is still decoding the input stream and filling the display pipeline. If the CPU is too slow, or the decoder latency cannot be

Re: Anyone feel like fixing pkgsrc/emulators/tme ?

2021-07-10 Thread Michael van Elst
rhia...@falu.nl (Rhialto) writes: >Indeed, there I misinterpreted the size of my 1G disk, and put sd0b >waaay out of bounds. I tried again, with partition b in cyl 1-63 and a >in 64-1023. I could not start b at 0; in that case the dd command >claimed it was read-only. The disklabel sector of a

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

2021-07-08 Thread Michael van Elst
n...@netbsd.org (nia) writes: >On Wed, Jul 07, 2021 at 03:10:30PM +0200, Matthias Petermann wrote: >> Off the top of my head, my NUC7 only has USB 3.0 ports. Maybe that's the >> problem and I'll try it again with another PC that also has USB 2.0. >> Otherwise, I'm at my wit's end here. >If you

Re: Panic during shutdown on netbsd 9 i386

2021-07-06 Thread Michael van Elst
eivi...@terraplane.org (Eivind Nicolay Evensen) writes: >> That is the uhci error above. uhci is also a likely candidate for the >> crash. >Indeed it's this one, complete list is here in case it's of use: The uhci_pci_detach routine assumes that the device is mapped. If that failed, it just

Re: Panic during shutdown on netbsd 9 i386

2021-07-06 Thread Michael van Elst
eivi...@terraplane.org (Eivind Nicolay Evensen) writes: >Hello. >On an i386 which otherwise is functioning fine, I see this panic during >shutdown. >--- trap (number 6) --- >bus_space_write_2(c199a800,c,c199a800,c199a980,cb8efe4c,c089f082,c199a800,c199a800,c,1) > at bus_space_write_2+0xc

CVS commit: src/sys/kern

2021-07-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 3 09:39:26 UTC 2021 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Return error from fd_dupopen. To generate a diff of this commit: cvs rdiff -u -r1.550 -r1.551 src/sys/kern/vfs_syscalls.c Please note that

CVS commit: src/sys/kern

2021-07-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 3 09:39:26 UTC 2021 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Return error from fd_dupopen. To generate a diff of this commit: cvs rdiff -u -r1.550 -r1.551 src/sys/kern/vfs_syscalls.c Please note that

Re: xfm

2021-06-24 Thread Michael van Elst
asbat...@gmail.com (Andrew Ball) writes: >Hello, >The man page for sysutils/xfm says, in the section 'RUNNING XFM FOR >THE FIRST TIME':- > "When the user starts up xfm for the first time (more precisely, >when the user does not yet have a .xfm directory), a dialog pops >up which asks

CVS commit: src/sys/dev/usb

2021-06-18 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jun 19 05:50:48 UTC 2021 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Relax identification of interfaces and endpoints. Now also attaches headsets like Jabra Evolve 75. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/usb

2021-06-18 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jun 19 05:50:48 UTC 2021 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Relax identification of interfaces and endpoints. Now also attaches headsets like Jabra Evolve 75. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jun 15 04:41:01 UTC 2021 Modified Files: src/sys/dev/i2c: adm1021.c dstemp.c Log Message: iic_acquire_bus may fail. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/dev/i2c/adm1021.c cvs rdiff -u

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jun 15 04:41:01 UTC 2021 Modified Files: src/sys/dev/i2c: adm1021.c dstemp.c Log Message: iic_acquire_bus may fail. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/dev/i2c/adm1021.c cvs rdiff -u

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jun 15 04:40:13 UTC 2021 Modified Files: src/sys/dev/i2c: am2315.c Log Message: avoid double-free To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/am2315.c Please note that diffs are not public

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jun 15 04:40:13 UTC 2021 Modified Files: src/sys/dev/i2c: am2315.c Log Message: avoid double-free To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/am2315.c Please note that diffs are not public

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jun 15 04:39:49 UTC 2021 Modified Files: src/sys/dev/i2c: dbcool.c hytp14.c si70xx.c Log Message: avoid double-free To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/dev/i2c/dbcool.c cvs rdiff -u -r1.13

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jun 15 04:39:49 UTC 2021 Modified Files: src/sys/dev/i2c: dbcool.c hytp14.c si70xx.c Log Message: avoid double-free To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/dev/i2c/dbcool.c cvs rdiff -u -r1.13

CVS commit: src/sys/dev/usb

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Jun 14 15:35:34 UTC 2021 Modified Files: src/sys/dev/usb: usbdi.c Log Message: appease gcc9 To generate a diff of this commit: cvs rdiff -u -r1.216 -r1.217 src/sys/dev/usb/usbdi.c Please note that diffs are not public

CVS commit: src/sys/dev/usb

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Jun 14 15:35:34 UTC 2021 Modified Files: src/sys/dev/usb: usbdi.c Log Message: appease gcc9 To generate a diff of this commit: cvs rdiff -u -r1.216 -r1.217 src/sys/dev/usb/usbdi.c Please note that diffs are not public

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Jun 14 09:56:04 UTC 2021 Modified Files: src/sys/dev/i2c: adm1026.c Log Message: Avoid double free when attach fails. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/i2c/adm1026.c Please note

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Jun 14 09:56:04 UTC 2021 Modified Files: src/sys/dev/i2c: adm1026.c Log Message: Avoid double free when attach fails. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/i2c/adm1026.c Please note

CVS commit: src/sys/nfs

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 10:25:11 UTC 2021 Modified Files: src/sys/nfs: nfs_vfsops.c Log Message: Don't pretend that files are limited to 1TB on NFSv3. To generate a diff of this commit: cvs rdiff -u -r1.242 -r1.243 src/sys/nfs/nfs_vfsops.c

CVS commit: src/sys/nfs

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 10:25:11 UTC 2021 Modified Files: src/sys/nfs: nfs_vfsops.c Log Message: Don't pretend that files are limited to 1TB on NFSv3. To generate a diff of this commit: cvs rdiff -u -r1.242 -r1.243 src/sys/nfs/nfs_vfsops.c

CVS commit: src/etc/rc.d

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 10:14:40 UTC 2021 Modified Files: src/etc/rc.d: sysctl Log Message: run sysctl early enough. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/etc/rc.d/sysctl Please note that diffs are not public

CVS commit: src/etc/rc.d

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 10:14:40 UTC 2021 Modified Files: src/etc/rc.d: sysctl Log Message: run sysctl early enough. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/etc/rc.d/sysctl Please note that diffs are not public

CVS commit: src/sys/dev/scsipi

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 10:07:56 UTC 2021 Modified Files: src/sys/dev/scsipi: st.c Log Message: Restore EOM handling. To generate a diff of this commit: cvs rdiff -u -r1.240 -r1.241 src/sys/dev/scsipi/st.c Please note that diffs are not

CVS commit: src/sys/dev/scsipi

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 10:07:56 UTC 2021 Modified Files: src/sys/dev/scsipi: st.c Log Message: Restore EOM handling. To generate a diff of this commit: cvs rdiff -u -r1.240 -r1.241 src/sys/dev/scsipi/st.c Please note that diffs are not

CVS commit: src/sys/dev/pci

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 10:05:39 UTC 2021 Modified Files: src/sys/dev/pci: if_aq.c Log Message: Don't ignore errors of sysmon_envsys_register(). To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/dev/pci/if_aq.c Please

CVS commit: src/sys/dev/pci

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 10:05:39 UTC 2021 Modified Files: src/sys/dev/pci: if_aq.c Log Message: Don't ignore errors of sysmon_envsys_register(). To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/dev/pci/if_aq.c Please

CVS commit: src/sys/dev/pci

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 10:04:10 UTC 2021 Modified Files: src/sys/dev/pci: arcmsr.c Log Message: Fix race when freeing sensors. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/arcmsr.c Please note that diffs

CVS commit: src/sys/dev/pci

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 10:04:10 UTC 2021 Modified Files: src/sys/dev/pci: arcmsr.c Log Message: Fix race when freeing sensors. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/arcmsr.c Please note that diffs

CVS commit: src/sys/dev

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 10:01:43 UTC 2021 Modified Files: src/sys/dev: vnd.c Log Message: Fail to open read-write when created read-only. To generate a diff of this commit: cvs rdiff -u -r1.280 -r1.281 src/sys/dev/vnd.c Please note that

CVS commit: src/sys/dev

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 10:01:43 UTC 2021 Modified Files: src/sys/dev: vnd.c Log Message: Fail to open read-write when created read-only. To generate a diff of this commit: cvs rdiff -u -r1.280 -r1.281 src/sys/dev/vnd.c Please note that

CVS commit: src/sys/dev/sdmmc

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:58:28 UTC 2021 Modified Files: src/sys/dev/sdmmc: sdmmc.c Log Message: Don't crash on detach where interlock == NULL. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/sdmmc/sdmmc.c

CVS commit: src/sys/dev/sdmmc

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:58:28 UTC 2021 Modified Files: src/sys/dev/sdmmc: sdmmc.c Log Message: Don't crash on detach where interlock == NULL. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/sdmmc/sdmmc.c

CVS commit: src/sys/dev/sdmmc

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:50:02 UTC 2021 Modified Files: src/sys/dev/sdmmc: sdmmc_mem.c Log Message: Be less verbose normally and more when debugging. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73

CVS commit: src/sys/dev/sdmmc

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:50:02 UTC 2021 Modified Files: src/sys/dev/sdmmc: sdmmc_mem.c Log Message: Be less verbose normally and more when debugging. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73

CVS commit: src/sys/dev/i2c

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:48:45 UTC 2021 Modified Files: src/sys/dev/i2c: lm_i2c.c Log Message: iic_acquire_bus can fail To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/lm_i2c.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:48:45 UTC 2021 Modified Files: src/sys/dev/i2c: lm_i2c.c Log Message: iic_acquire_bus can fail To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/lm_i2c.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:48:04 UTC 2021 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: iic_acquire_bus can fail To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/i2c/spdmem_i2c.c Please note that

CVS commit: src/sys/dev/i2c

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:48:04 UTC 2021 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: iic_acquire_bus can fail To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/i2c/spdmem_i2c.c Please note that

CVS commit: src/sys/dev/i2c

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:47:36 UTC 2021 Modified Files: src/sys/dev/i2c: sdtemp.c Log Message: Clear sc_sme pointer to avoid double free. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev/i2c/sdtemp.c Please note

CVS commit: src/sys/dev/i2c

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:47:36 UTC 2021 Modified Files: src/sys/dev/i2c: sdtemp.c Log Message: Clear sc_sme pointer to avoid double free. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev/i2c/sdtemp.c Please note

CVS commit: src/sys/dev/i2c

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:46:04 UTC 2021 Modified Files: src/sys/dev/i2c: lm75.c lm87.c Log Message: iic_acquire_bus can fail. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/dev/i2c/lm75.c cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/dev/i2c

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:46:04 UTC 2021 Modified Files: src/sys/dev/i2c: lm75.c lm87.c Log Message: iic_acquire_bus can fail. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/dev/i2c/lm75.c cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:32:01 UTC 2021 Modified Files: src/sys/dev/usb: ubsa.c Log Message: Refactor handling of "quad utms" devices and more. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/usb/ubsa.c Please

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:32:01 UTC 2021 Modified Files: src/sys/dev/usb: ubsa.c Log Message: Refactor handling of "quad utms" devices and more. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/usb/ubsa.c Please

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:29:38 UTC 2021 Modified Files: src/sys/dev/usb: ubsa_common.c Log Message: Handle IXON,IXOFF individually. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/usb/ubsa_common.c Please note

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:29:38 UTC 2021 Modified Files: src/sys/dev/usb: ubsa_common.c Log Message: Handle IXON,IXOFF individually. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/usb/ubsa_common.c Please note

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:28:23 UTC 2021 Modified Files: src/sys/dev/usb: uthum.c Log Message: Fix envsys detach paths. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/dev/usb/uthum.c Please note that diffs are not

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:28:23 UTC 2021 Modified Files: src/sys/dev/usb: uthum.c Log Message: Fix envsys detach paths. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/dev/usb/uthum.c Please note that diffs are not

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:27:20 UTC 2021 Modified Files: src/sys/dev/usb: uhso.c Log Message: Remove duplicate. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/dev/usb/uhso.c Please note that diffs are not public

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:27:20 UTC 2021 Modified Files: src/sys/dev/usb: uhso.c Log Message: Remove duplicate. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/dev/usb/uhso.c Please note that diffs are not public

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:26:24 UTC 2021 Modified Files: src/sys/dev/usb: if_kue.c Log Message: Align product name. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/sys/dev/usb/if_kue.c Please note that diffs are not

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:26:24 UTC 2021 Modified Files: src/sys/dev/usb: if_kue.c Log Message: Align product name. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/sys/dev/usb/if_kue.c Please note that diffs are not

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:24:33 UTC 2021 Modified Files: src/sys/dev/usb: if_zyd.c Log Message: Remove duplicate To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/dev/usb/if_zyd.c Please note that diffs are not public

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:24:33 UTC 2021 Modified Files: src/sys/dev/usb: if_zyd.c Log Message: Remove duplicate To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/dev/usb/if_zyd.c Please note that diffs are not public

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:24:11 UTC 2021 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: Regen To generate a diff of this commit: cvs rdiff -u -r1.782 -r1.783 src/sys/dev/usb/usbdevs.h \

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:23:42 UTC 2021 Modified Files: src/sys/dev/usb: usbdevs Log Message: Correct some vendor names, remove duplicates. To generate a diff of this commit: cvs rdiff -u -r1.793 -r1.794 src/sys/dev/usb/usbdevs Please

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:23:42 UTC 2021 Modified Files: src/sys/dev/usb: usbdevs Log Message: Correct some vendor names, remove duplicates. To generate a diff of this commit: cvs rdiff -u -r1.793 -r1.794 src/sys/dev/usb/usbdevs Please

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:12:24 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Fix last patch. To generate a diff of this commit: cvs rdiff -u -r1.263 -r1.264 src/sys/dev/usb/usb_subr.c Please note that diffs are not

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 09:12:24 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Fix last patch. To generate a diff of this commit: cvs rdiff -u -r1.263 -r1.264 src/sys/dev/usb/usb_subr.c Please note that diffs are not

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 08:50:33 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Use correct integer lengths for properties. Change property names vendor -> vendor-id, product -> product-id to match other users. To

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 08:50:33 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Use correct integer lengths for properties. Change property names vendor -> vendor-id, product -> product-id to match other users. To

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 08:48:29 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Fix non-DIAGNOSTIC build. To generate a diff of this commit: cvs rdiff -u -r1.261 -r1.262 src/sys/dev/usb/usb_subr.c Please note that diffs

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 08:48:29 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Fix non-DIAGNOSTIC build. To generate a diff of this commit: cvs rdiff -u -r1.261 -r1.262 src/sys/dev/usb/usb_subr.c Please note that diffs

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 07:51:09 UTC 2021 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Don't use aprint* for non-autoconf errors. Also print status value. To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 07:51:09 UTC 2021 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Don't use aprint* for non-autoconf errors. Also print status value. To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 07:49:43 UTC 2021 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Don't ignore detach errors from children. To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170 src/sys/dev/usb/uaudio.c Please

CVS commit: src/sys/dev/usb

2021-06-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 13 07:49:43 UTC 2021 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Don't ignore detach errors from children. To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170 src/sys/dev/usb/uaudio.c Please

Re: 9.1 panic in ccb/iscsi

2021-06-12 Thread Michael van Elst
ci4...@gmail.com (Chavdar Ivanov) writes: >> istgt is the iSCSI server. >> The crash is about the in-kernel iscsi initiator. >The first sentence in the first message in the thread says 'I can see >some panics on a server that exports iSCSI volumes (istgt on >a CCB device' (CCB later corrected as

Re: 9.1 panic in ccb/iscsi

2021-06-12 Thread Michael van Elst
The crash is about the in-kernel iscsi initiator. -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: 9.1 panic in ccb/iscsi

2021-06-12 Thread Michael van Elst
joel.bertr...@systella.fr (=?UTF-8?Q?BERTRAND_Jo=c3=abl?=) writes: >> If you have a version of the kernel with debug symbols, you could >> use addr2line to identify the instruction that caused the uvm_fault >> at address 0x802280cc. Without debug symbols it is not >> that easy. > I

Re: 9.1 panic in ccb/iscsi

2021-06-12 Thread Michael van Elst
joel.bertr...@systella.fr (=?UTF-8?Q?BERTRAND_Jo=c3=abl?=) writes: > Hello, > I can see some panics on a server that exports iSCSI volumes (istgt on >a CCB device) to some workstations. dmesg always contains this kind of >backtrace : That would be on the workstation that uses the

Re: st.c update has broken dump multi-tape support

2021-06-12 Thread Michael van Elst
On Sat, Jun 12, 2021 at 11:17:14AM +0200, Frank Kardel wrote: > Hi ! > > Look pretty good so far, ... can we remove following marked lines which are > already > taken care of in ststart1 complete case? I guess so. -- Michael van Elst

Re: st.c update has broken dump multi-tape support

2021-06-11 Thread Michael van Elst
mlel...@serpens.de (Michael van Elst) writes: >I'm currently testing >http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/st.diff Works for me: DUMP: Found /dev/rdk0 on / in /etc/fstab DUMP: Date of this level 0 dump: Sat Jun 12 00:24:45 2021 DUMP: Date of last level 0 dump: the epoch

Re: st.c update has broken dump multi-tape support

2021-06-11 Thread Michael van Elst
bl...@internode.on.net (Brett Lymn) writes: >Here is the patch that makes multi-tape dumps work for me: I'm currently testing http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/st.diff It's a bit cumbersome to do multi-tape dumps if your disk has 11GB data and the tape fits 40GB uncompressed.

Re: st.c update has broken dump multi-tape support

2021-06-10 Thread Michael van Elst
in ststart1(). Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: st.c update has broken dump multi-tape support

2021-06-10 Thread Michael van Elst
On Thu, Jun 10, 2021 at 12:02:19PM +0200, Michael van Elst wrote: > If you don't like the fake errno, the function needs to return > two values, the error value and a boolean to finish the > unqueued request. Cleaner, but more changes. E.g. (not even compile-tested): In

Re: st.c update has broken dump multi-tape support

2021-06-10 Thread Michael van Elst
o that the fake errno is replaced with end-of-file. If you don't like the fake errno, the function needs to return two values, the error value and a boolean to finish the unqueued request. Cleaner, but more changes. Greetings, -- Michael van

CVS commit: src/usr.sbin/postinstall

2021-06-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Jun 7 05:29:22 UTC 2021 Modified Files: src/usr.sbin/postinstall: postinstall.in Log Message: Don't overwrite changed autofs config files. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39

CVS commit: src/usr.sbin/postinstall

2021-06-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Jun 7 05:29:22 UTC 2021 Modified Files: src/usr.sbin/postinstall: postinstall.in Log Message: Don't overwrite changed autofs config files. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39

CVS commit: src/sys/dev

2021-06-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 6 11:48:55 UTC 2021 Modified Files: src/sys/dev: ipmi.c Log Message: Fail open when ipmi device was found. Clear sc_envsys on failure to prevent double-free. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/dev

2021-06-06 Thread Michael van Elst
/ipmi.c Sun Jun 6 11:48:55 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ipmi.c,v 1.5 2020/08/17 08:34:36 nonaka Exp $ */ +/* $NetBSD: ipmi.c,v 1.6 2021/06/06 11:48:55 mlelstv Exp $ */ /* * Copyright (c) 2019 Michael van Elst @@ -76,7 +76,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.5

CVS commit: src/sys/dev/iscsi

2021-06-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 6 10:40:14 UTC 2021 Modified Files: src/sys/dev/iscsi: iscsi_main.c Log Message: Provide missing file ops. Before a simple read() would panic the kernel. No longer fail close(). To generate a diff of this commit: cvs

CVS commit: src/sys/dev/iscsi

2021-06-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 6 10:40:14 UTC 2021 Modified Files: src/sys/dev/iscsi: iscsi_main.c Log Message: Provide missing file ops. Before a simple read() would panic the kernel. No longer fail close(). To generate a diff of this commit: cvs

CVS commit: src/sys/dev/iscsi

2021-06-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 6 10:39:10 UTC 2021 Modified Files: src/sys/dev/iscsi: iscsi_send.c Log Message: Schedule command timeout without connection lock being held to prevent a deadlock. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/iscsi

2021-06-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jun 6 10:39:10 UTC 2021 Modified Files: src/sys/dev/iscsi: iscsi_send.c Log Message: Schedule command timeout without connection lock being held to prevent a deadlock. To generate a diff of this commit: cvs rdiff -u

Re: dump/restore out of range inode

2021-06-05 Thread Michael van Elst
pr...@cam.ac.uk (Patrick Welche) writes: >How can gdb not see a spcl anywhere? /usr/include/protocols/dumprestore.h:#define spcl u_spcl.s_spcl spcl is just a define that got resolved by the compiler.

Re: procfs difference between NetBSD and Linux

2021-06-04 Thread Michael van Elst
mar...@duskware.de (Martin Husemann) writes: >And any software requiring a procfs mount to work correctly is not portable >(for some sense of portable). The bad behaviour is not restricted to procfs. % pwd /tmp/x % ls -l total 4 -rw-r--r-- 1 mlelstv wheel 6 Jun 4 16:20 mountpoint2 % echo

Re: procfs difference between NetBSD and Linux

2021-06-03 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >Date:Thu, 3 Jun 2021 09:12:52 - (UTC) >From:mlel...@serpens.de (Michael van Elst) >Message-ID: > | namei() return EEXIST when it works on a CREATE operation and > | crosses a mountpoint. >Could we p

<    4   5   6   7   8   9   10   11   12   13   >