Re: pgdaemon high CPU consumption

2022-07-01 Thread Michael van Elst
m...@petermann-it.de (Matthias Petermann) writes: >since some time I noticed that on several of my systems with=20 >NetBSD/amd64 9.99.97/98 after longer usage the kernel process pgdaemon=20 >completely claims a CPU core for itself, i.e. constantly consumes 100%. >The affected systems do not have

Re: Setting keyboard layout on xterm

2022-06-30 Thread Michael van Elst
dic...@his.com (Thomas Dickey) writes: >NetBSD doesn't have any "in-tree" X applications (that's all from pkgsrc, >which is supposedly distinct from src). You will find "native" X in the xbase,xcomp,.. sets.

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

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 17:59:40 UTC 2022 Modified Files: src/sys/arch/macppc/dev: ki2c.c Log Message: Use old limit of 32 + 32 bytes to keep combining buffer on stack. There are no devices on this platform that need more and for larger

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

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 17:59:40 UTC 2022 Modified Files: src/sys/arch/macppc/dev: ki2c.c Log Message: Use old limit of 32 + 32 bytes to keep combining buffer on stack. There are no devices on this platform that need more and for larger

CVS commit: src/sys/dev/ic

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:58:12 UTC 2022 Modified Files: src/sys/dev/ic: apple_smc_fan.c apple_smc_temp.c Log Message: Don't unregister sensors twice. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/dev/ic

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:58:12 UTC 2022 Modified Files: src/sys/dev/ic: apple_smc_fan.c apple_smc_temp.c Log Message: Don't unregister sensors twice. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/dev/isa

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:56:58 UTC 2022 Modified Files: src/sys/dev/isa: aps.c finsio_isa.c itesio_isa.c smsc.c ug_isa.c Log Message: unregister sensors only when registered. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/sys/dev/isa

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:56:58 UTC 2022 Modified Files: src/sys/dev/isa: aps.c finsio_isa.c itesio_isa.c smsc.c ug_isa.c Log Message: unregister sensors only when registered. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/sys/dev/pci

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:37:25 UTC 2022 Modified Files: src/sys/dev/pci: uhci_pci.c Log Message: Unmap device registers only when successfully mapped. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67

CVS commit: src/sys/dev/pci

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:37:25 UTC 2022 Modified Files: src/sys/dev/pci: uhci_pci.c Log Message: Unmap device registers only when successfully mapped. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:34:15 UTC 2022 Modified Files: src/sys/dev/i2c: i2c_io.h Log Message: Bump max transaction size from 32 Bytes to 4kB. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/i2c_io.h Please

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:34:15 UTC 2022 Modified Files: src/sys/dev/i2c: i2c_io.h Log Message: Bump max transaction size from 32 Bytes to 4kB. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/i2c_io.h Please

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:33:45 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Allocate data buffer instead of using the stack. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/dev/i2c/i2c.c Please note

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:33:45 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Allocate data buffer instead of using the stack. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/dev/i2c/i2c.c Please note

Re: read(2) failed: Read-only file system

2022-06-27 Thread Michael van Elst
s...@stix.id.au (Paul Ripke) writes: >I guess I'm a little surprised by this error? >Nor does read(2) list EROFS as a possible return, which seems sensible. The errors listed with system calls are rarely complete, in particular for errors you rarely observe or here for operations on something

Re: New iwn firmware & upgrade procedure

2022-06-19 Thread Michael van Elst
h...@netbsd.org (Havard Eidnes) writes: >1) Could the if_iwn driver fall back to using the 6000g2a-5 microcode > without any code changes? (My gut feeling says "yes", but I have > no existence proof of that.) The only change that happened was the update of the firmware blob. But there is no

Re: how to limit /etc/daily to local only, and cleasring bad nfs

2022-06-18 Thread Michael van Elst
st...@prd.co.uk (Steve Blinkhorn) writes: >Some off-list discussion has clarified matters. The fundamental problem is >that nfs >mounts are not restored automatically when an nfs server is rebooted - and that >may happen automatically so the sysadmin is unaware. Actually that's the opposite

Re: how to limit /etc/daily to local only, and cleasring bad nfs mounts

2022-06-18 Thread Michael van Elst
mpumf...@mudcovered.org.uk (Mike Pumford) writes: >I've got 2 BSD system both 9.2-STABLE one of which provides an NFS /home >and a few other odd paths as well to the other. The /etc/daily process >on the client isn't scanning the server filesystems in my setup and I'm >not aware of any

Re: killed: out of swap

2022-06-15 Thread Michael van Elst
b...@softjar.se (Johnny Billquist) writes: >> They might be the reason for the memory shortage. You can prefer large >> processes as victims or protect system services to keep the system >> managable. >So when one process tries to grow, you'd kill a process that currently >have no issues in

Re: Disk label problem?

2022-06-14 Thread Michael van Elst
tsp...@talent-free-studios.com (Ted Spradley) writes: >As long as it's the only disk attached this boots up and works fine: >But if there is any other drive attached, that other drive gets mounted as >root (apparently). What is on that other drive ? Here is a rough description of the default

Re: killed: out of swap

2022-06-14 Thread Michael van Elst
b...@softjar.se (Johnny Billquist) writes: >I don't see any realistic way of doing anything with that. >It's basically the first process that tries to allocate another page >when there are no more. There are no other processes at that moment in >time that have the problem, so why should any of

Re: kernel deadlock on fstchg with vnd

2022-05-31 Thread Michael van Elst
campbell+netbsd-current-us...@mumble.net (Taylor R Campbell) writes: >This would need to be integrated into autoconf/specfs to avoid races >in config_pseudo_spawn, sc->sc_configured, and config_pseudo_unspawn, vnd is peculiar in that it spawns a unit whenever it is opened and removes it again

Re: kernel deadlock on fstchg with vnd

2022-05-29 Thread Michael van Elst
bou...@antioche.eu.org (Manuel Bouyer) writes: >Hello, >do you have an idea on the problem in this thread: >http://mail-index.netbsd.org/port-xen/2022/05/27/msg010213.html [...] >I can't reproduce this when using vnd from userland. You can replicate it by addressing the block device with

CVS commit: src/external/bsd/bc/dist

2022-05-26 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Thu May 26 08:06:58 UTC 2022 Modified Files: src/external/bsd/bc/dist: bc.1 Log Message: Literal backslashes need to be quoted for roff. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/external/bsd/bc/dist

2022-05-26 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Thu May 26 08:06:58 UTC 2022 Modified Files: src/external/bsd/bc/dist: bc.1 Log Message: Literal backslashes need to be quoted for roff. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

Re: Strange formatting of literal block in bc(1) man page

2022-05-26 Thread Michael van Elst
p...@whooppee.com (Paul Goyette) writes: > define py (y) { print "--->", y, "<---", "\n"; } >define py (y) { print "--->", y, "<---", "0; } Backslashes To include a literal backslash (\) into the output, use the (\e) escape sequence. Note that doubling it

Re: disable HPN in sshd for the -10 branch?

2022-05-26 Thread Michael van Elst
On Thu, May 26, 2022 at 12:34:49AM +, David Holland wrote: > On Tue, May 24, 2022 at 06:57:23AM -0000, Michael van Elst wrote: > > Also consider that people believe their data is safe in the current > > virtualized world, just because someone calls "encryption&quo

CVS commit: xsrc/external/mit/xdm/dist/greeter

2022-05-24 Thread Michael van Elst
Module Name:xsrc Committed By: mlelstv Date: Tue May 24 22:47:53 UTC 2022 Modified Files: xsrc/external/mit/xdm/dist/greeter: Login.c Log Message: Position input fields without overlap. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: xsrc/external/mit/xdm/dist/greeter

2022-05-24 Thread Michael van Elst
Module Name:xsrc Committed By: mlelstv Date: Tue May 24 22:47:53 UTC 2022 Modified Files: xsrc/external/mit/xdm/dist/greeter: Login.c Log Message: Position input fields without overlap. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

Re: disable HPN in sshd for the -10 branch?

2022-05-24 Thread Michael van Elst
dholland-t...@netbsd.org (David Holland) writes: >(1) having an unencrypted option at all is one of the ways spooks like >to weaken cryptosystems; it creates ways to force/cause people to use >it when they didn't mean to. People have to be very clear in making that choice and they actually use

Re: disable HPN in sshd for the -10 branch?

2022-05-24 Thread Michael van Elst
jnem...@cue.bc.ca (John Nemeth) writes: > I would say it is something that should be available as an >option (likely a command line option). ssh/scp has pretty much >completely replaced rsh/rcp (other than for people that go out of >their way to use those); however, there are many things

Re: File system corruption due to UFS2 extended attributes

2022-05-24 Thread Michael van Elst
c...@chuq.com (Chuck Silvers) writes: > - fsck will take a new option "-c ea" to specify that an existing UFS2 > file system should be converted to support extended attributes > (ie. converted to UFS2ea). This conversion first clears all of the on-disk > pointers to extended attribute

Re: two keys with same keycode on ADB

2022-05-12 Thread Michael van Elst
m...@netbsd.org (Emmanuel Dreyfus) writes: >On Thu, May 12, 2022 at 07:26:58AM +0200, Michael van Elst wrote: >> This seems to suggest that we have special codes on the JIS keyboard >> for: >> >> Yen 0x5d (KC_JPY ?) >> Ro0x5e (KC_RO ?) >> Eisu

Re: two keys with same keycode on ADB

2022-05-11 Thread Michael van Elst
codes on the JIS keyboard for: Yen 0x5d (KC_JPY ?) Ro0x5e (KC_RO ?) Eisu 0x66 (Switch to Roman) Kana 0x68 (Switch to Hiragana) , 0x5f (numeric keypad) Greetings, -- Michael van Elst Internet: mlel...@serp

Re: Radeon HD 5450?

2022-05-11 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >My suspicion when I first saw this was that in legacy mode >the BIOS is doing some console graphics init (and leaving it >that way) which NetBSD is depending upon, which at least >some firmware either does not do at all, or undoes, or >fails to pass along

Re: Configure Serial Adapter

2022-05-11 Thread Michael van Elst
rnes...@mac.com (Robert Nestor) writes: >Following Michael=92s advice I added this line to sys/dev/usb/usbdevs = >where other Prolific devices were defined: > product PROLIFIC PL2303Y 0x23c3 PL2303 Serial adapter (Null = >modem) I've now added a few models to usbdevs... >I regenerated

CVS commit: src/sys/dev/usb

2022-05-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue May 10 15:29:04 UTC 2022 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.792 -r1.793 src/sys/dev/usb/usbdevs.h \

CVS commit: src/sys/dev/usb

2022-05-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue May 10 15:29:04 UTC 2022 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.792 -r1.793 src/sys/dev/usb/usbdevs.h \

CVS commit: src/sys/dev/usb

2022-05-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue May 10 15:28:45 UTC 2022 Modified Files: src/sys/dev/usb: usbdevs Log Message: More ids for Prolific Serial Adapters To generate a diff of this commit: cvs rdiff -u -r1.801 -r1.802 src/sys/dev/usb/usbdevs Please note that

CVS commit: src/sys/dev/usb

2022-05-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue May 10 15:28:45 UTC 2022 Modified Files: src/sys/dev/usb: usbdevs Log Message: More ids for Prolific Serial Adapters To generate a diff of this commit: cvs rdiff -u -r1.801 -r1.802 src/sys/dev/usb/usbdevs Please note that

Re: Configure Serial Adapter

2022-05-10 Thread Michael van Elst
rnes...@mac.com (Robert Nestor) writes: >capture system). The USB-Serial device shows up on boot on the capture = >system as: >ugen0: Prolific Technology Inc. (0x67b) USB-Serial Controller (0x23c3), = >rev 2.00/3.05, addr 1 Means, it doesn't really show up. >I=92m thinking I need to build a

Re: two keys with same keycode on ADB

2022-05-09 Thread Michael van Elst
m...@netbsd.org (Emmanuel Dreyfus) writes: >It seems the layout can be detected using sc->sc_adbdev->handler_id >I borrowed the values from tmk_keyboard and it works fine. There >are just a few numerical values for which I have no name. Where is the >ADB keyboard handler id name list? I found

Re: cmake hang solution?

2022-05-09 Thread Michael van Elst
mlel...@serpens.de (Michael van Elst) writes: >I'm currently testing: >Index: lib/libpthread/pthread.c >=== >RCS file: /cvsroot/src/lib/libpthread/pthread.c,v >retrieving revision 1.153.2.1 >diff -p -u -r1.153.2.1

Re: two keys with same keycode on ADB

2022-05-08 Thread Michael van Elst
m...@netbsd.org (Emmanuel Dreyfus) writes: >The french ADB keyboard features a < key at the right of the left shift >key. On the console it works fine, however with X, it displays a @. The >@ key also displays a @. Apparently there are two different encodings for ANSI and ISO keyboard layouts

Re: panic: wapbl transaction too big to flush

2022-05-04 Thread Michael van Elst
w...@netbsd.org (Thomas Klausner) writes: >With a quite recent 9.99.96/amd64 kernel, when deleting ~800GB of data = >on an ffs2 on a mostly empty 8TB file system, I just saw this panic: >panic: kernel diagnostic assertion =E2=80=9C(wapbl_transaction_len(wl) = ><=3D (wl->wl_circ_size -

Re: cmake hang solution?

2022-05-03 Thread Michael van Elst
mlel...@serpens.de (Michael van Elst) writes: >c...@chuq.com (Chuck Silvers) writes: >>> would this apply to netbsd-9 too ? The hang I'm seeing is on a system >>> with a HEAD kernel and a netbsd-9 userland >>it looks like the diff won't apply as-is, but I think t

Re: disable HPN in sshd for the -10 branch?

2022-05-03 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >I would say that doesn't really fit with what we want either, certainly >without somebody really trying. It breaks the rule that using ssh can >count on confidentiality and integrity and makes systems with ssh as a >component harder to reason about.

CVS commit: src/sys/arch/landisk/landisk

2022-05-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue May 3 14:20:24 UTC 2022 Modified Files: src/sys/arch/landisk/landisk: autoconf.c Log Message: Fix vnode locking around VOP_OPEN. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/arch/landisk/landisk

2022-05-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue May 3 14:20:24 UTC 2022 Modified Files: src/sys/arch/landisk/landisk: autoconf.c Log Message: Fix vnode locking around VOP_OPEN. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

Re: disable HPN in sshd for the -10 branch?

2022-05-03 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >I view HPN as not the standard approach; it hasn't been merged upstream >and PSC's agenda does not even seem to include merging any of it >upstream -- which I see as a huge clue. Looks more like upstream was never interested and PSC gave up. Part of the

Re: cmake hang solution?

2022-05-03 Thread Michael van Elst
c...@chuq.com (Chuck Silvers) writes: >> would this apply to netbsd-9 too ? The hang I'm seeing is on a system >> with a HEAD kernel and a netbsd-9 userland >it looks like the diff won't apply as-is, but I think the concept still >applies. I'm currently testing: Index:

Re: uvideo uvm_fault panic

2022-05-02 Thread Michael van Elst
sc.dy...@gmail.com writes: >+uvideo: truncated CS subtype-0x7 descriptor, length 30 < 38uvideo: >unimplemented VS CS descriptor len=30 type=0x24 subtype=0x07 >bLength30 >bDescriptorType36 >bDescriptorSubtype

Re: cmake hang solution?

2022-05-02 Thread Michael van Elst
On Sun, May 01, 2022 at 01:24:01PM -0700, Chuck Silvers wrote: > On Tue, Apr 05, 2022 at 02:10:36PM -0000, Michael van Elst wrote: > > I see both in almost every pbulk run. > > please try this patch for the cmake variation of this hang: > > http://www.netbsd.org/~chs/diff

Re: Stable names for USB serial adapters

2022-05-01 Thread Michael van Elst
m...@eterna.com.au (matthew green) writes: >this works great! if i have serialnumbers in my ucoms :-( >out of 20 devices, i have 3 with serial numbers, leaving me >with 22 ucoms without a stable name (5 dual port devices.) >tempted to suggest we include something like this in src, This here

Re: Intermittent loss of connectivity while with iwm

2022-04-29 Thread Michael van Elst
bsd...@gmail.com (Salil Wadnerkar) writes: >--f839dd05ddcb7a0c >Content-Type: text/plain; charset="UTF-8" >Hi, >My laptop has `Intel Dual Band Wireless AC 8265`, and I get >`autoconfiguration error: pms_enable` for this device, and lose >connectivity. I observed this on NetBSD 9.2

Re: unrecognized root device and kernel panic during 9.2 amd64 installation

2022-04-29 Thread Michael van Elst
ti...@seco.ws (Tiago Seco) writes: >I'm trying to install via the NetBSD-9.2-amd64-install.img image, and >the root device is not recognized: >https://imgur.com/a/uqHgZNV >If I press `enter` I get the following suggested options: >https://imgur.com/a/glrU9JY Looks like 'dk1' is the correct

CVS commit: src/sys/arch/x68k/stand

2022-04-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 25 15:12:07 UTC 2022 Modified Files: src/sys/arch/x68k/stand/boot: conf.c src/sys/arch/x68k/stand/xxboot: Makefile.xxboot xx.c Log Message: libsa now needs ioctl to support media with large sectors. Provide

CVS commit: src/sys/arch/x68k/stand

2022-04-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 25 15:12:07 UTC 2022 Modified Files: src/sys/arch/x68k/stand/boot: conf.c src/sys/arch/x68k/stand/xxboot: Makefile.xxboot xx.c Log Message: libsa now needs ioctl to support media with large sectors. Provide

CVS commit: src/sys/arch/vax/boot

2022-04-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 25 15:06:34 UTC 2022 Modified Files: src/sys/arch/vax/boot/boot: rom.c vaxstand.h src/sys/arch/vax/boot/xxboot: bootxx.c Log Message: libsa now needs ioctl support to handle media with large sectors. Provide

CVS commit: src/sys/arch/vax/boot

2022-04-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Apr 25 15:06:34 UTC 2022 Modified Files: src/sys/arch/vax/boot/boot: rom.c vaxstand.h src/sys/arch/vax/boot/xxboot: bootxx.c Log Message: libsa now needs ioctl support to handle media with large sectors. Provide

CVS commit: src/sys/lib/libsa

2022-04-24 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 24 06:52:59 UTC 2022 Modified Files: src/sys/lib/libsa: ffsv1.c ffsv2.c files.c globals.c ufs.c Log Message: Don't load filessytem module for filesystem that was found but isn't used for booting. To generate a diff of

CVS commit: src/sys/lib/libsa

2022-04-24 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 24 06:52:59 UTC 2022 Modified Files: src/sys/lib/libsa: ffsv1.c ffsv2.c files.c globals.c ufs.c Log Message: Don't load filessytem module for filesystem that was found but isn't used for booting. To generate a diff of

CVS commit: src/sys/stand/efiboot

2022-04-24 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 24 06:49:38 UTC 2022 Modified Files: src/sys/stand/efiboot: conf.c efiblock.c efiblock.h Log Message: Use physical sector size as unit for disk addresses. Provide new ioctl to libsa to query for sector size. To

CVS commit: src/sys/stand/efiboot

2022-04-24 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 24 06:49:38 UTC 2022 Modified Files: src/sys/stand/efiboot: conf.c efiblock.c efiblock.h Log Message: Use physical sector size as unit for disk addresses. Provide new ioctl to libsa to query for sector size. To

CVS commit: src/sys/lib/libsa

2022-04-24 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 24 06:48:15 UTC 2022 Modified Files: src/sys/lib/libsa: ext2fs.c minixfs3.c saioctl.h ufs.c Log Message: Ask driver about sector size to support reading superblocks from fixed byte offsets. To generate a diff of this

CVS commit: src/sys/lib/libsa

2022-04-24 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 24 06:48:15 UTC 2022 Modified Files: src/sys/lib/libsa: ext2fs.c minixfs3.c saioctl.h ufs.c Log Message: Ask driver about sector size to support reading superblocks from fixed byte offsets. To generate a diff of this

CVS commit: src/sbin/fsck_msdos

2022-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 23 22:40:28 UTC 2022 Modified Files: src/sbin/fsck_msdos: boot.c Log Message: Support large disk sectors. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sbin/fsck_msdos/boot.c Please note that diffs

CVS commit: src/sbin/fsck_msdos

2022-04-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 23 22:40:28 UTC 2022 Modified Files: src/sbin/fsck_msdos: boot.c Log Message: Support large disk sectors. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sbin/fsck_msdos/boot.c Please note that diffs

Re: libsa and 4K devices

2022-04-23 Thread Michael van Elst
mlel...@serpens.de (Michael van Elst) writes: >- The copied filesystem code in libsa uses absolute disk offsets > in bytes to locate superblocks. A backend that uses physical blocks > cannot easily address such offsets if it doesn't know the block > size. > The filesyst

Re: libsa and 4K devices

2022-04-23 Thread Michael van Elst
nick.hud...@gmx.co.uk (Nick Hudson) writes: >https://github.com/skrll/src/commit/a5432c0ce71ea2fd1b7ad22ff6c26d01f4dca7= >1a When looking at this, I got a few more issues: - The copied filesystem code in libsa uses absolute disk offsets in bytes to locate superblocks. A backend that uses

Re: Non-HDMI audio

2022-04-23 Thread Michael van Elst
r...@fdy2.co.uk (Robert Swindells) writes: >What do I need to do to get non-HDMI audio to work again? >% mixerctl -a -v >outputs.dacsel=HDMI00 { HDMI00 } You havve audio0 (HDMI) and audio1 (Speaker, etc..) and need to select. audiocfg list shows the devices. audiocfg default NUM selects

Re: libsa and 4K devices

2022-04-23 Thread Michael van Elst
nick.hud...@gmx.co.uk (Nick Hudson) writes: >To enable efiboot to work from Apple M1 nvme I had to apply this diff so >that libsa picks up the fs_fshift based FFS_FSBTODB. >Is this correct or does it mean the FS has an incorrect fs_fsbtodb? (and >there's a bug in mkfs somewhere) The bug is

Re: Couldn't boot NetBSD-9.2-amd64-install.img on bhyve VM

2022-04-20 Thread Michael van Elst
u...@e-yuuki.org (Yuuki Enomoto) writes: ># gpt create -p 128 ld0 >gpt: /dev/rld0: Media size can't be 0 The media size is read as: ld->sc_secperunit = virtio_read_device_config_8(vsc, VIRTIO_BLK_CONFIG_CAPACITY) / (ld->sc_secsize / VIRTIO_BLK_BSIZE); So the host appears

Re: panic: kernel diagnostic assertion VOP_ISLOCKET(vp) == LK_EXCLUSIVE

2022-04-16 Thread Michael van Elst
t...@netbsd.org (Tobias Nygren) writes: >+ vn_lock(vp, LK_EXCLUSIVE | LK_RETRY); > VOP_CLOSE(vp, oflags, kauth_cred_get()); >- vrele(vp); >+ vput(vp); Sounds like an open-coded version of vn_close().

Re: NetBSD-Archive down?

2022-04-15 Thread Michael van Elst
mdehl...@gmail.com (Malte Dehling) writes: >;; ANSWER SECTION: >archive.netbsd.org. 1603IN CNAME >dualstack.o.ssl.global.fastly.net. >dualstack.o.ssl.global.fastly.net. 30 IN A 151.101.1.6 >dualstack.o.ssl.global.fastly.net. 30 IN A 151.101.65.6

Re: framebuffer refresh rate and geometry

2022-04-12 Thread Michael van Elst
On Mon, Apr 11, 2022 at 04:23:04PM -0700, Paul Goyette wrote: > On Mon, 11 Apr 2022, RVP wrote: > > > On Mon, 11 Apr 2022, Michael van Elst wrote: > > > > > N.B. if the display driver provides EDID data to wscons it can be > > > queried with > > > &

Re: framebuffer refresh rate and geometry

2022-04-12 Thread Michael van Elst
On Tue, Apr 12, 2022 at 12:52:36AM +, Emmanuel Dreyfus wrote: > On Mon, Apr 11, 2022 at 11:37:29AM -0000, Michael van Elst wrote: > > I rather doubt that a black display comes from the refresh rate. > > In X11, I get it working at 50 Hz, but I get a black display at 60

Re: framebuffer refresh rate and geometry

2022-04-11 Thread Michael van Elst
m...@netbsd.org (Emmanuel Dreyfus) writes: >When the kernel initialize a framebuffer, the signal ouput changes a bit >fro mwhat is inherited from the BIOS. I face the situation where the >display looses the signal, and I suspect this is related to the refresh >rate. BIOS usually sets fixed

Re: Crash on various Supermicro motherboards

2022-04-07 Thread Michael van Elst
6b...@6bone.informatik.uni-leipzig.de writes: >Hello, >I now have the backtrace: >https://speicherwolke.uni-leipzig.de/index.php/s/cFXAbL6axwHpKkL While the assertion in this place is a bit silly, I suspect that the SMAP feature is disabled by BIOS (by clearing the flag in the control

CVS commit: src/sys/dev/usb

2022-04-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Apr 6 22:01:45 UTC 2022 Modified Files: src/sys/dev/usb: ehci.c if_smscreg.h if_urtwn.c ubt.c uhub.c usb_subr.c usbdi.c uvideo.c xhci.c xhcireg.h Log Message: revert accidental last commit (except ukbd.c) To

CVS commit: src/sys/dev/usb

2022-04-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Apr 6 22:01:45 UTC 2022 Modified Files: src/sys/dev/usb: ehci.c if_smscreg.h if_urtwn.c ubt.c uhub.c usb_subr.c usbdi.c uvideo.c xhci.c xhcireg.h Log Message: revert accidental last commit (except ukbd.c) To

CVS commit: src/sys/dev/usb

2022-04-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Apr 6 21:51:29 UTC 2022 Modified Files: src/sys/dev/usb: ehci.c if_smscreg.h if_urtwn.c ubt.c uhub.c ukbd.c usb_subr.c usbdi.c uvideo.c xhci.c xhcireg.h Log Message: remove debug printf To generate a diff of

CVS commit: src/sys/dev/usb

2022-04-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Apr 6 21:51:29 UTC 2022 Modified Files: src/sys/dev/usb: ehci.c if_smscreg.h if_urtwn.c ubt.c uhub.c ukbd.c usb_subr.c usbdi.c uvideo.c xhci.c xhcireg.h Log Message: remove debug printf To generate a diff of

Re: cmake hang solution?

2022-04-05 Thread Michael van Elst
w...@netbsd.org (Thomas Klausner) writes: >On Tue, Apr 05, 2022 at 01:26:54PM -0000, Michael van Elst wrote: >> w...@netbsd.org (Thomas Klausner) writes: >> >> >OpenBSD fixed a problem in libuv related to kevent, here's a writeup >> >by Ted Unangst. >>

Re: cmake hang solution?

2022-04-05 Thread Michael van Elst
w...@netbsd.org (Thomas Klausner) writes: >OpenBSD fixed a problem in libuv related to kevent, here's a writeup >by Ted Unangst. >https://flak.tedunangst.com/post/sometimes-the-knote-comes-early The "closing the race" part seems to be included in the latest kevent changes in -current.

Re: question about enumeration of buses on arm systems with dtb files

2022-04-03 Thread Michael van Elst
dty...@anduin.org.uk (Dave Tyson) writes: >The contents of the dtb shoved in-core can be modified by having code snippets >in the overlay directory and enabling them in config.txt. This is how bullseye >linux seems to do things and I guess this should work with NetBSD. Yes, works the same.

Re: question about enumeration of buses on arm systems with dtb files

2022-04-03 Thread Michael van Elst
campbell+netbsd-tech-k...@mumble.net (Taylor R Campbell) writes: >I think usually it's first-come-first-serve according to the ordering >in the device tree (that is, in a pre-order traversal, which is the >same as the sequential order in the .dts file) -- not necessarily the >numbers in the

CVS commit: src/sys/dev/usb

2022-04-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 2 19:19:12 UTC 2022 Modified Files: src/sys/dev/usb: ukbd.c Log Message: Don't attach Yubikeys as console keyboard. To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/sys/dev/usb/ukbd.c Please note

CVS commit: src/sys/dev/usb

2022-04-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 2 19:19:12 UTC 2022 Modified Files: src/sys/dev/usb: ukbd.c Log Message: Don't attach Yubikeys as console keyboard. To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/sys/dev/usb/ukbd.c Please note

CVS commit: src/usr.sbin/makefs/ffs

2022-04-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 2 19:16:49 UTC 2022 Modified Files: src/usr.sbin/makefs/ffs: mkfs.c Log Message: Avoid integer overflow on systems with 32bit disk addresses. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/usr.sbin/makefs/ffs

2022-04-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 2 19:16:49 UTC 2022 Modified Files: src/usr.sbin/makefs/ffs: mkfs.c Log Message: Avoid integer overflow on systems with 32bit disk addresses. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/sbin/fdisk

2022-04-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 2 19:15:09 UTC 2022 Modified Files: src/sbin/fdisk: fdisk.c Log Message: Avoid crashes with invalid or tiny sector sizes. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161 src/sbin/fdisk/fdisk.c Please

CVS commit: src/sbin/fdisk

2022-04-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 2 19:15:09 UTC 2022 Modified Files: src/sbin/fdisk: fdisk.c Log Message: Avoid crashes with invalid or tiny sector sizes. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161 src/sbin/fdisk/fdisk.c Please

Re: how to install a Fortran compiler on NetBSD?

2022-04-01 Thread Michael van Elst
ac.russ...@live.com (Adam Russell) writes: >There doesn't seem to be a fortran compiler available in pkgsrc? I saw >some mentions of gfortran but that must be out of date information as I >cannot find it. I understand, of course, that gfortran is part of the >gcc suite but that doesn't help me as

CVS commit: src/sys/dev/wsfb

2022-03-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 28 11:21:40 UTC 2022 Modified Files: src/sys/dev/wsfb: genfb.c genfbvar.h Log Message: Add helper to detach genfb console. To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sys/dev/wsfb/genfb.c cvs

CVS commit: src/sys/dev/wsfb

2022-03-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 28 11:21:40 UTC 2022 Modified Files: src/sys/dev/wsfb: genfb.c genfbvar.h Log Message: Add helper to detach genfb console. To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sys/dev/wsfb/genfb.c cvs

CVS commit: src/sys/dev

2022-03-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 28 11:16:59 UTC 2022 Modified Files: src/sys/dev: vnd.c Log Message: Check INITED state by default for all ioctls but VNDIOCSET. Avoids crashes with disk_ioctls on default unit, which is not INITED. Fixes PR 56700. To

CVS commit: src/sys/dev

2022-03-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 28 11:16:59 UTC 2022 Modified Files: src/sys/dev: vnd.c Log Message: Check INITED state by default for all ioctls but VNDIOCSET. Avoids crashes with disk_ioctls on default unit, which is not INITED. Fixes PR 56700. To

CVS commit: src/sys/dev/spi

2022-03-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 28 11:09:24 UTC 2022 Modified Files: src/sys/dev/spi: spi.c Log Message: Fix sanity check for zero sized buffer. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/spi/spi.c Please note that

CVS commit: src/sys/dev/spi

2022-03-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 28 11:09:24 UTC 2022 Modified Files: src/sys/dev/spi: spi.c Log Message: Fix sanity check for zero sized buffer. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/spi/spi.c Please note that

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