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

CVS commit: src/sys/dev/dm

2022-03-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 28 10:38:00 UTC 2022 Modified Files: src/sys/dev/dm: device-mapper.c Log Message: Media size is in bytes (off_t), not sectors. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63

CVS commit: src/sys/dev/dm

2022-03-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 28 10:38:00 UTC 2022 Modified Files: src/sys/dev/dm: device-mapper.c Log Message: Media size is in bytes (off_t), not sectors. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63

Re: restore super block? recover missing data?

2022-03-20 Thread Michael van Elst
r...@reedmedia.net ("Jeremy C. Reed") writes: >FFSv2 sb at 2176 size 623508480, last mounted on >FFSv2 sb at 2240 size 623508480, last mounted on / One more thing. Since the first superblock is found, it might be still ok and you only need to recover the disklabel (and handle the bad blocks

Re: restore super block? recover missing data?

2022-03-20 Thread Michael van Elst
r...@reedmedia.net ("Jeremy C. Reed") writes: >writing fsbn 288240960 ... bn 288243008 >writing fsbn 544623424 ... bn 544625472 >My system basically hung when I accessed some files. I had to power off >a few times after I gave up waiting. There are several layers of retries that makes

Re: Fwd: Can't get audio, host Debian, guest NetBSD, help!

2022-03-19 Thread Michael van Elst
ottavio2006-usenet2...@yahoo.com (Ottavio Caruso) writes: >#!/bin/sh >/home/oc/git/qemu/build/qemu-system-x86_64 \ >-drive if=virtio,file=/home/oc/VM/img/netbsd.image,index=0,media=disk \ >-drive if=virtio,file=/home/oc/VM/img/netbsd.image.old,index=1,media=disk \ >-M q35,accel=kvm -m 500M -cpu

CVS commit: src/sbin/dump

2022-03-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 14 18:38:11 UTC 2022 Modified Files: src/sbin/dump: optr.c Log Message: Silently ignore fstab entries with NAME= entries that cannot be resolved. Fixes PR 56249. To generate a diff of this commit: cvs rdiff -u -r1.43

CVS commit: src/sbin/dump

2022-03-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 14 18:38:11 UTC 2022 Modified Files: src/sbin/dump: optr.c Log Message: Silently ignore fstab entries with NAME= entries that cannot be resolved. Fixes PR 56249. To generate a diff of this commit: cvs rdiff -u -r1.43

CVS commit: src/sys/net80211

2022-03-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 14 07:05:31 UTC 2022 Modified Files: src/sys/net80211: _ieee80211.h Log Message: Additional channel flags. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/net80211/_ieee80211.h Please note that

CVS commit: src/sys/net80211

2022-03-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 14 07:05:31 UTC 2022 Modified Files: src/sys/net80211: _ieee80211.h Log Message: Additional channel flags. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/net80211/_ieee80211.h Please note that

CVS commit: src/sys/dev

2022-03-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 14 06:40:12 UTC 2022 Modified Files: src/sys/dev/ic: bwfm.c bwfmreg.h bwfmvar.h src/sys/dev/sdmmc: if_bwfm_sdio.c Log Message: Add OpenBSD to code to optionally load CLM (Country Locale Matrix) files. To

CVS commit: src/sys/dev

2022-03-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 14 06:40:12 UTC 2022 Modified Files: src/sys/dev/ic: bwfm.c bwfmreg.h bwfmvar.h src/sys/dev/sdmmc: if_bwfm_sdio.c Log Message: Add OpenBSD to code to optionally load CLM (Country Locale Matrix) files. To

Re: WiFi on NetBSD

2022-03-11 Thread Michael van Elst
asbat...@gmail.com (Andrew Ball) writes: > MvE> E.g. this is a RPI4 connecting to a 802.11ac network: >That's great! I wonder whether those are available as plug-in >network interfaces for other platforms. There were some Mini-PCI adapters (for notebooks) and there was one USB adapter

Re: WiFi on NetBSD

2022-03-11 Thread Michael van Elst
asbat...@gmail.com (Andrew Ball) writes: >I find 802.11a suits my needs well but out of interest, am I right >in thinking that NetBSD doesn't yet have support for 802.11n, .11ac or >.11ax? Is it just* a question of device drivers for the network >adaptors or is there more involved? There is

Re: State of NET_MPSAFE in -9 and/or -current?

2022-03-10 Thread Michael van Elst
ozak...@netbsd.org (Ryota Ozaki) writes: >Note that as you can see from the list above, Layer 4 protocols >including TCP and UDP are >not MP-safe yet. Is anyone working on it ?

CVS commit: src/sys/arch/i386/stand/bootxx

2022-03-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Mar 6 18:35:43 UTC 2022 Modified Files: src/sys/arch/i386/stand/bootxx: bootxx.S Log Message: pass errno through switch to protected mode. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/sys/arch/i386/stand/bootxx

2022-03-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Mar 6 18:35:43 UTC 2022 Modified Files: src/sys/arch/i386/stand/bootxx: bootxx.S Log Message: pass errno through switch to protected mode. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

Re: bash: /usr/pkg/bin/mame: Cannot allocate memory

2022-02-20 Thread Michael van Elst
rhia...@falu.nl (Rhialto) writes: >$ /usr/pkg/bin/mame=20 >bash: /usr/pkg/bin/mame: Cannot allocate memory >$ size /usr/pkg/bin/mame > textdata bss dec hex filename >278129058 328039806454620 317387658 12eaf38a/us= >r/pkg/bin/mame It's a kernel

Re: Hinted mmap(2) without MAP_FIXED can fail prematurely

2022-02-18 Thread Michael van Elst
b...@softjar.se (Johnny Billquist) writes: >Which then basically means that without MAP_FIXED, the hint don't really >mean anything? It will take whatever address it can come up with, no >matter what you put into the hint. It still might reuse the address (or just a close address) for

CVS commit: src/sys/arch/amiga/stand/bootblock/elf2bb

2022-02-17 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Feb 18 06:43:00 UTC 2022 Modified Files: src/sys/arch/amiga/stand/bootblock/elf2bb: elf2bb.c Log Message: Don't crash when reporting an undefined symbol. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/sys/arch/amiga/stand/bootblock/elf2bb

2022-02-17 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Feb 18 06:43:00 UTC 2022 Modified Files: src/sys/arch/amiga/stand/bootblock/elf2bb: elf2bb.c Log Message: Don't crash when reporting an undefined symbol. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

Re: Hinted mmap(2) without MAP_FIXED can fail prematurely

2022-02-17 Thread Michael van Elst
p...@cielonegro.org (PHO) writes: >I expected mmap(2) to search for an available region from the entire >address space starting from the hint, not only half of it. It's not even half.

Re: Hinted mmap(2) without MAP_FIXED can fail prematurely

2022-02-17 Thread Michael van Elst
b...@softjar.se (Johnny Billquist) writes: >If it would ignore the hint, what's the point of the hint then? With MAP_FIXED it must use the hint, without it's just a best effort attempt.

Re: NetBSD quit connecting to the 'net

2022-02-13 Thread Michael van Elst
- run a local caching DNS server somewhere and tell your router to advertise this one. - configure a public DNS resolver (like 1.1.1.1 (Cloudflare), 8.8.8.8 (Google), 9.9.9.9 (Quad9)) as a fallback. your choice.. -- Michael van Elst Interne

Re: NetBSD quit connecting to the 'net

2022-02-13 Thread Michael van Elst
ices in your network. The best way is not to guess but to actually watch what happens. Start with checking the dhcp data with the 'dhcpcd -U' command. -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: NetBSD quit connecting to the 'net

2022-02-13 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >I remember " #Generated by resolvecon f" -- so it is generated by dhcpcd. >Now what can I do about it? Assuming that you do get an IP address, netmask (and default route) from DHCP, you need to find out why you don't get the nameserver config. A dhcpcd

Re: NetBSD quit connecting to the 'net

2022-02-12 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >NetBSD suddenly quit communicating with my ISP and thus the internet. >I noticed /etc/resolv.conf contains nothing. >Ironically, Windows has no problem. >If resolv.conf is generated automatically (via DHCP?), then how do I fix this? If is it generated

Re: reboot panic: "error == EOPNOTSUPP" in vfs_vnode.c line 1120

2022-02-06 Thread Michael van Elst
m...@eterna.com.au (matthew green) writes: >while rebooting a quartz64 with a usb attached disk that just >had a about 3.5GB of data written to it, i the umass gave some >errorse and then i got a panic shortly later: >[ 6179.6038961] Skipping crash dump on recursive panic >[ 6179.6038961] panic:

Re: Some guidance/suggestion please

2022-01-14 Thread Michael van Elst
m...@eterna.com.au (matthew green) writes: >it seems to me that if some driver depends upon altq, then >altq should simply always refuse to unload if a driver is >loaded that depends upon it. this should be an explicit >dependency, and probably implicit via symbols. >if, say there's a fully

CVS commit: src/usr.bin/audio/record

2022-01-08 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jan 9 06:33:13 UTC 2022 Modified Files: src/usr.bin/audio/record: record.c Log Message: Let user gracefully abort recording with SIGINT. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56

CVS commit: src/usr.bin/audio/record

2022-01-08 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jan 9 06:33:13 UTC 2022 Modified Files: src/usr.bin/audio/record: record.c Log Message: Let user gracefully abort recording with SIGINT. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56

CVS commit: src/sys/dev/hdaudio

2022-01-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Jan 7 07:34:10 UTC 2022 Modified Files: src/sys/dev/hdaudio: hdafg.c Log Message: Safe vendor/product for reporting. Avoids repeated loading/unloading of hdaudioverbose module. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/hdaudio

2022-01-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Jan 7 07:34:10 UTC 2022 Modified Files: src/sys/dev/hdaudio: hdafg.c Log Message: Safe vendor/product for reporting. Avoids repeated loading/unloading of hdaudioverbose module. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/fdt

2022-01-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Jan 7 07:25:37 UTC 2022 Modified Files: src/sys/dev/fdt: fdt_memory.c Log Message: Calculate the minimum address, don't assume the first entry is the start. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sys/dev/fdt

2022-01-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Jan 7 07:25:37 UTC 2022 Modified Files: src/sys/dev/fdt: fdt_memory.c Log Message: Calculate the minimum address, don't assume the first entry is the start. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

Re: cannot start detached sessions (with -m -d) back to back

2022-01-01 Thread Michael van Elst
u...@stderr.spb.ru (Valery Ushakov) writes: >Solaris docs for (STREAMS-based) ptys say: > When the master device is closed, an M_HANGUP message is sent to the > slave device to render the device unusable. The process on the slave > side gets the errno ENXIO when attempting to write on that

Re: mpii panic on 9.99.92

2021-12-29 Thread Michael van Elst
os...@fessel.org ("os...@fessel.org") writes: >Hej there, >does anyone have a clue why this is happening more frequently on = >9.99.92? >If not, i probably should send-pr that. You should definitely. N.B. I'd rather suspect a Xen issue.

CVS commit: src/sbin/wsconsctl

2021-12-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Dec 25 13:54:13 UTC 2021 Modified Files: src/sbin/wsconsctl: Makefile display.c util.c wsconsctl.h Log Message: Add support for a read-only edid attribute that shows the result of WSDISPLAYIO_GET_EDID. Uses code from

CVS commit: src/sbin/wsconsctl

2021-12-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Dec 25 13:54:13 UTC 2021 Modified Files: src/sbin/wsconsctl: Makefile display.c util.c wsconsctl.h Log Message: Add support for a read-only edid attribute that shows the result of WSDISPLAYIO_GET_EDID. Uses code from

CVS commit: src/sys/dev/videomode

2021-12-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Dec 25 13:51:32 UTC 2021 Modified Files: src/sys/dev/videomode: edid.c vesagtf.c Log Message: Make re-usuable to userland. The vesagtf standalone build is #if'd out for now. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/videomode

2021-12-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Dec 25 13:51:32 UTC 2021 Modified Files: src/sys/dev/videomode: edid.c vesagtf.c Log Message: Make re-usuable to userland. The vesagtf standalone build is #if'd out for now. To generate a diff of this commit: cvs rdiff -u

Re: HEADS UP: Merging drm update

2021-12-24 Thread Michael van Elst
riastr...@netbsd.org (Taylor R Campbell) writes: > #include > if (bpa <=3D BADADDR && BADADDR < bpa + size) > db_stacktrace(); >Then share the dmesg output on boot with this change to >bus_space_reserve? >This way we can track down who's reserving the registers that

Re: block/dk devices and lseek()

2021-11-30 Thread Michael van Elst
r...@sdf.org (RVP) writes: >Are block and dk* (wedge) devices supposed to support lseek()? When a disk device is opened, the DIOCGPARTINFO ioctl is used to query the size of the disk and cache it in the vnode. The dk driver doesn't represent a disk and doesn't support DIOCGPARTINFO. It does

Re: wsvt25 backspace key should match terminfo definition

2021-11-24 Thread Michael van Elst
Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: wsvt25 backspace key should match terminfo definition

2021-11-23 Thread Michael van Elst
r...@sdf.org (RVP) writes: >The kernel currently defines the backspace key as: >$ fgrep CERASE /usr/include/sys/ttydefaults.h >#define CERASE 0177 There is no 'defined as', in particular with emulated terminals that aren't even the same on all platforms. If you restrict yourself to PC

CVS commit: src/sys/dev/usb

2021-11-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Nov 13 10:34:00 UTC 2021 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Release interrupt lock while allocating ressources in trigger functions. Also be more verbose about errors. To generate a diff of this

CVS commit: src/sys/dev/usb

2021-11-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Nov 13 10:34:00 UTC 2021 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Release interrupt lock while allocating ressources in trigger functions. Also be more verbose about errors. To generate a diff of this

Re: Raspberry Pi camera under NetBSD current

2021-11-01 Thread Michael van Elst
dty...@anduin.org.uk (Dave Tyson) writes: >> Trying to access the camera with raspistill however ends in a crash >> in the vchiq driver. >Thanks for the data point. I guess there may be significant differences in the >microcode files between the RPI1B and RPI3b+, but at least the kernel loaded

Re: Raspberry Pi camera under NetBSD current

2021-10-27 Thread Michael van Elst
dty...@anduin.org.uk (Dave Tyson) writes: >I have been trying to get the raspberry pi camera to work on a model B under a >recent current snapshot. > NetBSD 9.99.88 (RPI) #0: Fri Sep 24 18:47:29 UTC 2021 > mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/evbarm/compile/RPI >As standard booting

Re: USB stick error message

2021-10-15 Thread Michael van Elst
poo...@ruptured-duck.com (Bob Bernstein) writes: ># installboot -v -o timeout=1 /dev/rsd1a /usr/mdec/bootxx_ffsv1 >File system: /dev/rsd1a >Primary bootstrap: /usr/mdec/bootxx_ffsv1 >Boot options:timeout 1, flags 0, speed 9600, ioaddr 0, >console pc >installboot: Writing

Re: USB stick error message

2021-10-14 Thread Michael van Elst
poo...@ruptured-duck.com (Bob Bernstein) writes: >I followed the Netbsd-Wiki article "how to install netbsd from >an usb memory stick," specifically the section labeled "Make the >Memory Stick bootable" found here:

Re: USB stick error message

2021-10-13 Thread Michael van Elst
poo...@ruptured-duck.com (Bob Bernstein) writes: >fn: diskn >1: NetBSD >Error 3 The message comes from the MBR bootcode and says that the PBR bootblock has an invalid signature which usually means it hasn't been written.

Re: About compat_linux

2021-09-25 Thread Michael van Elst
riza.din...@gmail.com (Riza Dindir) writes: >already an entry for the procfs as such >procfs/proc procfs rw >But in the manual page for compat_linux it says that I need to do this >procfs /emul/linux/procfs procfs ro,linux >It does make it readonly I believe and also changes the

Re: ctwm blocks "wmctrl -c"

2021-09-24 Thread Michael van Elst
On Fri, Sep 24, 2021 at 11:36:39PM +0200, Frank Steiner wrote: > Frank Steiner wrote: > > > > > Michael van Elst wrote: > > > > > Killing a window by id is possible with xkill. No window manager support > > > is required for this. > > >

Re: ctwm blocks "wmctrl -c"

2021-09-24 Thread Michael van Elst
cally by some conditions (like > event has passed)... Killing a window by id is possible with xkill. No window manager support is required for this. Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: Representing a rotary encoder input device

2021-09-22 Thread Michael van Elst
thor...@me.com (Jason Thorpe) writes: >Well, ultimately, we translate =E2=80=9CHID report=E2=80=9D -> =E2=80=9Cws= >* input event=E2=80=9D. Or are you suggesting that we should have a new = >interface to user-space that just sends HID reports? We already have a user-space interface that sends

CVS commit: src/sbin/wsconsctl

2021-09-22 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Sep 22 14:15:29 UTC 2021 Modified Files: src/sbin/wsconsctl: keyboard.c Log Message: fail on error, not on success. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sbin/wsconsctl/keyboard.c Please note

CVS commit: src/sbin/wsconsctl

2021-09-22 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Sep 22 14:15:29 UTC 2021 Modified Files: src/sbin/wsconsctl: keyboard.c Log Message: fail on error, not on success. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sbin/wsconsctl/keyboard.c Please note

Re: Representing a rotary encoder input device

2021-09-21 Thread Michael van Elst
thor...@me.com (Jason Thorpe) writes: >Trying to think about the best way to represent such a device, I guess = >within wscons (they almost seem sort of like a 1-axis mouse, but I could = >be convinced otherwise). You can make it a HID, because that's what it is. Currently we only expose USB

Re: help getting SPI interface to work

2021-09-20 Thread Michael van Elst
dty...@anduin.org.uk (Dave Tyson) writes: >/dev/spi0 is defined which is a good start:: >[ 1.03] sun4ispi0 at simplebus1: SPI >[ 1.03] sun4ispi0: interrupting on GIC irq 42 >[ 1.03] spi0 at sun4ispi0: SPI bus >The board has the SPI mos1/miso/clk together with cs0 and

Re: /bin/sh fd 12

2021-09-14 Thread Michael van Elst
jscha...@netmeister.org (Jan Schaumann) writes: >Hello, >$ ls -li /proc/$$/fd/ >total 0 > 5 crw--w 1 jschauma tty5, 1 Sep 14 02:47 0 > 5 crw--w 1 jschauma tty5, 1 Sep 14 02:47 1 >1090579 crw-rw-rw- 1 root wheel 1, 0 Sep 14 02:19 12 > 5 crw--w 1

Re: X crashing

2021-09-11 Thread Michael van Elst
riza.din...@gmail.com (Riza Dindir) writes: >crash -M /var/crash/netbsd.3.core.gz >crash: no valid dump header >crash: can not read osrelease: >When I run crash -N /var/crash/netbsd.4.gz it returns >crash: kvm_nlist: bad namelist crash doesn't understand compressed files, you need to unpack

Re: zpool import skips wedges due to a race condition

2021-09-08 Thread Michael van Elst
al...@yandex.ru (Alexander Nasonov) writes: >When I run zfs import, it launches 32 threads and opens 32 disks in >parallel, including cgd1 and dk24. But it can't open dk24 while >cgd1 is still open (it fails with EBUSY). >I fixed it in the attatched patch by running only one thread. It's >not

CVS commit: src/external/cddl/osnet/sys/kern

2021-09-05 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Sep 5 11:43:22 UTC 2021 Modified Files: src/external/cddl/osnet/sys/kern: vfs.c Log Message: Don't use __FBSDID, similar to kern/kobj.c, kern/misc.c, kern/sysevent.c To generate a diff of this commit: cvs rdiff -u -r1.8

CVS commit: src/external/cddl/osnet/sys/kern

2021-09-05 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Sep 5 11:43:22 UTC 2021 Modified Files: src/external/cddl/osnet/sys/kern: vfs.c Log Message: Don't use __FBSDID, similar to kern/kobj.c, kern/misc.c, kern/sysevent.c To generate a diff of this commit: cvs rdiff -u -r1.8

Re: Regarding the boot process.

2021-09-03 Thread Michael van Elst
riza.din...@gmail.com (Riza Dindir) writes: >> bootme is used by the EFI bootloader to select the boot partition. >> If that flag isn't set, there is a heuristic to select a boot partition. >How does the system decide which partition to select. I wanted to >understand how the system is able to

Re: Regarding the boot process.

2021-09-03 Thread Michael van Elst
riza.din...@gmail.com (Riza Dindir) writes: >On the other hand, this is very interesting, when I run the "gpt show >-a sd0" (which is where the HDD is connected via USB) I see that the >NetBSD partition has the "biosboot" attribute, not the "bootme" >attribute. Would this cause the boot to fail?

Re: Regarding the boot process.

2021-09-03 Thread Michael van Elst
riza.din...@gmail.com (Riza Dindir) writes: >This would have to be on the same drive (HDD). meaning the UEFI boot >loader and the OS root partition? The EFI bootloader checks the paths: esp:/EFI/NetBSD/boot.cfg boot.cfg the first is on the EFI sytem partition ("esp:"). the second is relative

Re: Regarding the boot process.

2021-09-02 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >Riza Dindir writes: >> in place of my DVD drive. When i try to boot the OS (NetBSD), it >> prints out a string "mem [0x00-0x01 0x-0xbbb ...]" and >> stops there. No boot menu, nothing. >> >> At what stage in the boot process is this string

CVS commit: src/usr.sbin/wsmoused

2021-09-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Sep 1 06:10:06 UTC 2021 Modified Files: src/usr.sbin/wsmoused: wsmoused.c Log Message: conditional build fix. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/wsmoused/wsmoused.c Please note

CVS commit: src/usr.sbin/wsmoused

2021-09-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Sep 1 06:10:06 UTC 2021 Modified Files: src/usr.sbin/wsmoused: wsmoused.c Log Message: conditional build fix. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/wsmoused/wsmoused.c Please note

CVS commit: src/usr.sbin/inetd

2021-08-30 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 30 08:21:12 UTC 2021 Modified Files: src/usr.sbin/inetd: inetd.c Log Message: Fix reverted logic when parsing server program. Compare pointer with NULL not 0. To generate a diff of this commit: cvs rdiff -u -r1.128

CVS commit: src/usr.sbin/inetd

2021-08-30 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 30 08:21:12 UTC 2021 Modified Files: src/usr.sbin/inetd: inetd.c Log Message: Fix reverted logic when parsing server program. Compare pointer with NULL not 0. To generate a diff of this commit: cvs rdiff -u -r1.128

Re: dhcpcd record

2021-08-27 Thread Michael van Elst
mueller6...@twc.com ("Thomas Mueller") writes: >I upgraded from source from NetBSD 8.99.51 to 9.99.82 so I wouldn't have a >packed or unpacked etc set. You should have a destdir then: % grep dhcpcd etc/master.passwd _dhcpcd:*:35:35::0:0:& pseudo-user:/var/chroot/dhcpcd:/sbin/nologin

Re: Stopping USB HDD

2021-08-24 Thread Michael van Elst
riza.din...@gmail.com (Riza Dindir) writes: >I will not be using poweroff but use shutdown. I think this is the >proper way of stopping the system. The proper way would be 'shutdown -p', but poweroff finally does the same. In any case, there should be no difference for USB drives. While ATA

Re: diagnosis for disk drive errors (zfs on cgd on sata disk)

2021-08-21 Thread Michael van Elst
pouya+lists.net...@nohup.io (Pouya Tafti) writes: >Aug 20 06:04:33 basil smartd[1106]: Device: /dev/rsd5d [SAT], SMART Prefailure >Attribute: 1 Raw_Read_Error_Rate changed from 65 to 79 >Aug 20 06:04:33 basil smartd[1106]: Device: /dev/rsd5d [SAT], SMART Prefailure >Attribute: 7

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