xenstore.c: return error number

2022-10-31 Thread Masato Asou
Hi, Return error number instead of call panic(). comment, ok? -- ASOU Masato diff --git a/sys/dev/pv/xenstore.c b/sys/dev/pv/xenstore.c index 1e4f15d30eb..dc89ba0fa6d 100644 --- a/sys/dev/pv/xenstore.c +++ b/sys/dev/pv/xenstore.c @@ -118,6 +118,7 @@ struct xs_msg { struct xs_msghdr

riscv64 pmap: sync memory writes before remote sfence.vma

2022-10-31 Thread Jeremie Courreges-Anglas
Here's the diff I've been using for the last bulk build on riscv64. It resulted in a single kernel crash: cpu1: pool_do_get: pted free list modified: page 0xffc22cc0a000; item addr 0xffc22cc0a6d0; offset 0x0=0xa06137b98e6f6767 != 0xa06137b98ed06767 and 5 userland clang crashes. Ye

Re: clockintr(9): clock interrupt scheduler

2022-10-31 Thread Mark Kettenis
> Date: Fri, 28 Oct 2022 11:40:24 -0500 > From: Scott Cheloha > > Hi, > > This patch adds a machine-indepent clock interrupt scheduler to the > kernel. It is called clockintr(9). The code is featureful enough to > emulate most of what the machine-dependent clock interrupt code is > doing acros

Re: netstart: do not wait for DAD completion in dry-mode

2022-10-31 Thread Klemens Nanni
On Wed, Oct 26, 2022 at 05:37:33PM +, Klemens Nanni wrote: > There is no point in waiting when only printing would-be commands. Updated diff: - do not wait for DAD completion in dry-mode - now that we have a proper true/false IP6KERNEL - with feedback from claudio@ to move DAD completion to wa

Re: [patch] Delete outdated warning about HiFive Unmatched onboard ethernet device from riscv64 installation notes

2022-10-31 Thread Jeremie Courreges-Anglas
On Mon, Oct 31 2022, Miguel Landaeta wrote: > Hi, > > I just installed 7.2 successfully on a HiFive Unmatched box and the > onboard cad(4) device is working as expected. I think installation > notes should be updated. Correct, I have only ever used cad(4) on my Unmatched, with no problem seen sin

Re: vmd: remove the user quota tracking

2022-10-31 Thread Dave Voutila
Matthew Martin writes: > On Wed, Oct 12, 2022 at 09:20:06AM -0400, Dave Voutila wrote: >> >> 1 week bump for the below. If you use this feature or currently hacking >> on it, speak up by end of week. I'm sharpening my axes. > > Are the axes sharp? > Thanks for the ping. Committed now. -dv

[patch] Delete outdated warning about HiFive Unmatched onboard ethernet device from riscv64 installation notes

2022-10-31 Thread Miguel Landaeta
Hi, I just installed 7.2 successfully on a HiFive Unmatched box and the onboard cad(4) device is working as expected. I think installation notes should be updated. Cheers, diff --git a/distrib/notes/riscv64/prep b/distrib/notes/riscv64/prep index c5443f8587f..ae63bc6cab7 100644 --- a/distrib/no

Re: reorder_kernel: set up syslog traps before logfile

2022-10-31 Thread Klemens Nanni
On Sun, Oct 16, 2022 at 05:22:57AM +, Klemens Nanni wrote: > On Sat, Oct 08, 2022 at 07:25:26PM +, Klemens Nanni wrote: > > If /usr is mounted read-only, kernel relinking fails silently without > > any log trace. > > > > # ksh /usr/libexec/reorder_kernel > > /usr/libexec/reorder_ke

Re: fix libz regress on gcc archs

2022-10-31 Thread Klemens Nanni
On Mon, Oct 31, 2022 at 07:45:29AM +, Miod Vallat wrote: > > +.if (${COMPILER_VERSION:L} != "clang" && ! exists(/usr/local/bin/eg++)) > > +regress: > > + @echo 'Run "pkg_add g++" to run unittests on GCC architectures' > > + @echo SKIPPED > > Or the C++ test could be downgraded to C++98 so

Re: fix libz regress on gcc archs

2022-10-31 Thread Miod Vallat
> +.if (${COMPILER_VERSION:L} != "clang" && ! exists(/usr/local/bin/eg++)) > +regress: > + @echo 'Run "pkg_add g++" to run unittests on GCC architectures' > + @echo SKIPPED Or the C++ test could be downgraded to C++98 so that it may be used on all supported platforms: Index: utils_unittes