Re: UBSAN report for main [so: 14] /usr/bin/whatis: non-zero (48) and zero offsets from null pointer in qsort.c

2022-01-11 Thread Jan Kokemüller
On 11.01.22 22:08, Stefan Esser wrote: > diff --git a/lib/libc/stdlib/qsort.c b/lib/libc/stdlib/qsort.c > index 5016fff7895f..51c41e802330 100644 > --- a/lib/libc/stdlib/qsort.c > +++ b/lib/libc/stdlib/qsort.c > @@ -108,6 +108,8 @@ local_qsort(void *a, size_t n, size_t es, cmp_t *cmp, void >

Re: armv7 regress fork-exec hangs machine

2022-01-11 Thread Alexander Bluhm
Works for me. With this diff I get armv7 regress results again. http://bluhm.genua.de/regress/results/regress-ot7.html OK bluhm@ On Tue, Jan 11, 2022 at 01:10:27PM +0100, Mark Kettenis wrote: > > Date: Mon, 10 Jan 2022 15:40:34 +0100 (CET) > > From: Mark Kettenis > > > > > Date: Mon, 10 Jan

Re: Acer Swift1 (SF114-34, N6000, Jasper Lake): iwx (ax201), azalia and emmc are not working/detected

2022-01-11 Thread Jonathan Gray
On Tue, Jan 11, 2022 at 09:06:42PM +0100, Sven Wolf wrote: > > > On 1/11/22 01:42, Jonathan Gray wrote: > > On Mon, Jan 10, 2022 at 08:56:18PM +0100, Sven Wolf wrote: > > > > > > > > > On 1/10/22 02:02, Jonathan Gray wrote: > > > > On Sun, Jan 09, 2022 at 09:27:57PM +0100, Sven Wolf wrote: > >

wireguard-related mbuf panic (was: Re: panic: ieee80211_has_seq(wh) assertion failed)

2022-01-11 Thread Paul de Weerd
Hi all, More debugging later, it turns out that I can now pretty reliably panic the GENERIC.MP kernel with a WireGuard tunnel that has an MTU of 1500 bytes, sending over the iwx(4) in my machine. Christian Ehrhard (over at Genua) provided a diff that printf's when there's a read-only mbuf passed

Re: Acer Swift1 (SF114-34, N6000, Jasper Lake): iwx (ax201), azalia and emmc are not working/detected

2022-01-11 Thread Sven Wolf
On 1/11/22 01:42, Jonathan Gray wrote: On Mon, Jan 10, 2022 at 08:56:18PM +0100, Sven Wolf wrote: On 1/10/22 02:02, Jonathan Gray wrote: On Sun, Jan 09, 2022 at 09:27:57PM +0100, Sven Wolf wrote: Hi list, in October'21 I successfully installed OpenBSD on this litte fanless latop. There

Re: armv7 regress fork-exec hangs machine

2022-01-11 Thread Theo de Raadt
Yes, increase it. I am not surprised, there are many poor recoveries from resource shortage. Mark Kettenis wrote: > > Date: Mon, 10 Jan 2022 15:40:34 +0100 (CET) > > From: Mark Kettenis > > > > > Date: Mon, 10 Jan 2022 14:40:50 +0100 > > > From: Alexander Bluhm > > > > > > On Thu, Jan 06,

Re: UBSAN report for main [so: 14] /usr/bin/whatis: non-zero (48) and zero offsets from null pointer in qsort.c

2022-01-11 Thread Stefan Esser
Am 11.01.22 um 08:40 schrieb Mark Millard: > # whatis dog > /usr/main-src/lib/libc/stdlib/qsort.c:114:23: runtime error: applying > non-zero offset 48 to null pointer > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior > /usr/main-src/lib/libc/stdlib/qsort.c:114:23 in >

Re: armv7 regress fork-exec hangs machine

2022-01-11 Thread Mark Kettenis
> Date: Mon, 10 Jan 2022 15:40:34 +0100 (CET) > From: Mark Kettenis > > > Date: Mon, 10 Jan 2022 14:40:50 +0100 > > From: Alexander Bluhm > > > > On Thu, Jan 06, 2022 at 03:59:55PM +0100, Alexander Bluhm wrote: > > > My armv7 regress machine hangs every day in regress/sys/kern/fork-exit. > >