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

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

2021-08-20 Thread Michael van Elst
pouya+lists.net...@nohup.io (Pouya Tafti) writes: Your disk controller gives the error reason: >[ 57131.573806] mpii0: physical device removed from slot 7 >Apart from the drive, I have also little faith in the >backplate, cables, SAS controller (which I reflashed), RAM, >etc., although here it

Re: CVS commit: src/sys/kern

2021-08-18 Thread Michael van Elst
On Tue, Aug 17, 2021 at 11:39:26PM +, Taylor R Campbell wrote: > > > > Log Message: > > skip symbol tables that were unloaded again to avoid EFAULT when reading > > ksyms. > > > > also restore TAILQ_FOREACH idiom. > > This change isn't quite right: Reading past st = ksyms_last_snapshot > in

Re: General device properties API

2021-08-16 Thread Michael van Elst
On Mon, Aug 16, 2021 at 06:46:17AM -0700, Jason Thorpe wrote: > > > On Aug 16, 2021, at 2:31 AM, Michael van Elst wrote: > > Isn't that what we do today? Have a common name and value format, > > copied/translated from various sources and stored in the MI device > &g

Re: General device properties API

2021-08-16 Thread Michael van Elst
j...@coris.org.uk (Julian Coleman) writes: >We can decide on the name that we'll use (e.g. `ethernet_address') and >use that in all the drivers. Isn't that what we do today? Have a common name and value format, copied/translated from various sources and stored in the MI device dictionary.

Re: LTO support

2021-08-13 Thread Michael van Elst
pouya+lists.net...@nohup.io (Pouya Tafti) writes: >Would manually switching tapes be an option with amanda (I'm >tape-naive and don't want to invest in a library)? Amanda can notify you when a tape needs to be changed. Amanda was made to backup many machines, e.g. workstations in a student lab.

Re: SPI on RPI?

2021-08-11 Thread Michael van Elst
b...@anduin.eldar.org (Brad Spencer) writes: >I was wondering if anyone is using the built in spibus on a Raspberry PI >(any version) lately. It is possible that I have outdated dts files, >but I do not see the spibus device on my 9.x installs and was curious if >it shows up for anyone in 9.x or

CVS commit: src/sys/dev/dkwedge

2021-08-04 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Aug 4 21:44:42 UTC 2021 Modified Files: src/sys/dev/dkwedge: dk.c Log Message: Swap and Dump uses DEV_BSIZE units. Translate from device sectors like regular I/O (strategy). To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/dkwedge

2021-08-04 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Aug 4 21:44:42 UTC 2021 Modified Files: src/sys/dev/dkwedge: dk.c Log Message: Swap and Dump uses DEV_BSIZE units. Translate from device sectors like regular I/O (strategy). To generate a diff of this commit: cvs rdiff -u

Re: Support for RTL8723 in NetBSD?

2021-08-03 Thread Michael van Elst
br...@nmsu.edu (Brook Milligan) writes: >I am specifically interested in the RTL8723BU. That's an USB variant that also includes Bluetooth4.0. The urtwn driver could probably be adapted for the Wifi part.

CVS commit: src/etc/rc.d

2021-08-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Aug 3 05:15:20 UTC 2021 Modified Files: src/etc/rc.d: ccd cgd devpubd lvm raidframe zfs Log Message: Reverse devpubd dependeny to avoid dangling reference to zfs which is an optional part of the build. To generate a diff

CVS commit: src/etc/rc.d

2021-08-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Aug 3 05:15:20 UTC 2021 Modified Files: src/etc/rc.d: ccd cgd devpubd lvm raidframe zfs Log Message: Reverse devpubd dependeny to avoid dangling reference to zfs which is an optional part of the build. To generate a diff

Re: CVS commit: src/etc/rc.d

2021-08-02 Thread Michael van Elst
On Mon, Aug 02, 2021 at 11:27:22AM +0200, Michael van Elst wrote: > On Mon, Aug 02, 2021 at 11:54:27AM +0900, Rin Okuyama wrote: > > Hi, > > > > this commit causes: > > > > rcorder: file `/etc/rc.d/devpubd' is before unknown provision `zfs

Re: CVS commit: src/etc/rc.d

2021-08-02 Thread Michael van Elst
he script > properly checks existence of /sbin/zfs, i.e., MKZFS=yes. > > Alternatively, autogen /etc/rc.d/devpubd? I'd prefer installing /etc/rc.d/zfs for everyone. Michael van Elst > > Thanks, > rin > > On 2021/07/31 23:47, Michael van Elst wrote: > > Module

Re: Thoughts regarding system-backups

2021-07-31 Thread Michael van Elst
thing. -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: Thoughts regarding system-backups

2021-07-31 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >I hit borgbackup,org. It said its part of pkgsrc. >I did a search with 'pkgfind'. I found a GUI for borgbackup in pkgsrc/wip, >but no borgbackup. Where is it? sysutils/py-borgbackup.

Re: zfs on raw vs gpt

2021-07-31 Thread Michael van Elst
pouya+lists.net...@nohup.io (Pouya Tafti) writes: >On Fri, 30 Jul 2021 at 19:10 +0100, David Brownlee wrote: >> I started setting up using raw /dev/wdX or /dev/sdX devices, but >> switched across to ZFS gpt partitions. Both work fine, but for me: >> [...] >Your list of pros and cons was very

CVS commit: src/etc/rc.d

2021-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 31 14:47:04 UTC 2021 Modified Files: src/etc/rc.d: devpubd Log Message: Run devpubd before volume managers and pseudo disks. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/etc/rc.d/devpubd Please note

CVS commit: src/etc/rc.d

2021-07-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 31 14:47:04 UTC 2021 Modified Files: src/etc/rc.d: devpubd Log Message: Run devpubd before volume managers and pseudo disks. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/etc/rc.d/devpubd Please note

Re: backspace in wscons console sends ^H to processes

2021-07-20 Thread Michael van Elst
b...@update.uu.se (Johnny Billquist) writes: >But anyway. The big point is that teletypes actually just had a key >labelled "rubout". That key did send a DEL character, though. Backspacing on a punch tape would have come pretty unnatural. :) N.B. I haven't actually seen a key labelled

Re: Still cant talk to USD ports

2021-07-19 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >Is it possible to tell the system to access port-x as a USB-3 or USB-2 port ? You could probably add a feature to disable USB-3 functionality for a port. On older systems the xhci controller only supports USB-3 and the USB-2 functionality is provided by

Re: Still cant talk to USD ports

2021-07-19 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >HMMM. I stuck a memory stick in a USB-3.0 port connected to the >motherboard. >I did: >mount /dev/sd0 /umass1 >it worked. But why didnt I need to specify partition 'a' ? /dev/sd0 is the same as /dev/sd0d (the raw partition on x86 platform). If

Re: backspace in wscons console sends ^H to processes

2021-07-19 Thread Michael van Elst
b...@update.uu.se (Johnny Billquist) writes: >No idea why they decided on using BS. With teletypes you couldn't "backspace", a DEL would usually print something like a black rectangle or echo the previous character. You can get something similar with 'stty -echoe echoprt' (unless you have a too

Re: Still cant talk to USD ports

2021-07-18 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >I just upgraded to the latest version of NETBSD-HEAD. >When I do: >mount /dev/sd0a /umass1 OR >mount /dev/sd1a /umass1 >I get 'device not configured. >When I execute mount -t msdos /dev/sd0e /umass1 >I can access the Windoze-configured memory stick.

CVS commit: src/sys/kern

2021-07-18 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 18 06:57:28 UTC 2021 Modified Files: src/sys/kern: kern_ksyms.c Log Message: skip symbol tables that were unloaded again to avoid EFAULT when reading ksyms. also restore TAILQ_FOREACH idiom. To generate a diff of this

CVS commit: src/sys/kern

2021-07-18 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 18 06:57:28 UTC 2021 Modified Files: src/sys/kern: kern_ksyms.c Log Message: skip symbol tables that were unloaded again to avoid EFAULT when reading ksyms. also restore TAILQ_FOREACH idiom. To generate a diff of this

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