Re: uvm_unmap_kill_entry(): unwire with map lock held

2022-02-03 Thread Klemens Nanni
On Thu, Feb 03, 2022 at 04:49:26PM +, Klemens Nanni wrote: > On Mon, Jan 31, 2022 at 11:11:25AM -0300, Martin Pieuchot wrote: > > On 31/01/22(Mon) 10:24, Klemens Nanni wrote: > > > Running with my uvm assert diff showed that uvm_fault_unwire_locked() > > > was called without any locks held. > >

Re: m_pullup alingment crash armv7 sparc64

2022-02-03 Thread Alexander Bluhm
On Thu, Feb 03, 2022 at 10:22:46PM +1000, David Gwynne wrote: > bpf should know better than this. it has all the information it needs to > align the payload properly, it just doesnt make enough of an effort. can > you try the diff below? Diff seems to work. regress/sbin/slaacd passes. I have star

Re: perl clang -Wcompound-token-split-by-macro

2022-02-03 Thread Andrew Hewus Fresh
On Tue, Jan 25, 2022 at 09:20:55PM +0100, Alexander Bluhm wrote: > Plans for new Perl are good to hear. Thanks for updating it regualry. One thing that's blocking me on that is the "vendorlib" patch over on tech@[1] and the related patch on ports@[2]. I think it's a good idea, but haven't gotten

Re: uvm_unmap_kill_entry(): unwire with map lock held

2022-02-03 Thread Klemens Nanni
On Mon, Jan 31, 2022 at 11:11:25AM -0300, Martin Pieuchot wrote: > On 31/01/22(Mon) 10:24, Klemens Nanni wrote: > > Running with my uvm assert diff showed that uvm_fault_unwire_locked() > > was called without any locks held. > > > > This happened when I rebooted my machine: > > > > uvm_fault_

Re: Use installboot(8) in install.md of riscv64

2022-02-03 Thread Theo de Raadt
Visa Hankala wrote: > > I'd prefer to keep the names in the .c file, especially if the result > > is that they're scatter though the Makefile instead of in a single > > block. > > I agree. Putting definitions in a Makefile also sort of hides them. This is already an ugly Makefile, and I suppose

Re: Use installboot(8) in install.md of riscv64

2022-02-03 Thread Visa Hankala
On Thu, Feb 03, 2022 at 03:43:00PM +0100, Mark Kettenis wrote: > > Date: Thu, 3 Feb 2022 13:58:21 + > > From: Visa Hankala > > > > On Wed, Feb 02, 2022 at 01:23:56PM -0700, Theo de Raadt wrote: > > > Miod Vallat wrote: > > > > > > > > Index: usr.sbin/installboot/armv7_installboot.c > > > >

Re: Use installboot(8) in install.md of riscv64

2022-02-03 Thread Mark Kettenis
> Date: Thu, 3 Feb 2022 13:58:21 + > From: Visa Hankala > > On Wed, Feb 02, 2022 at 01:23:56PM -0700, Theo de Raadt wrote: > > Miod Vallat wrote: > > > > > > Index: usr.sbin/installboot/armv7_installboot.c > > > > === > > > > R

Allow GPT partitioning when installing riscv64

2022-02-03 Thread Visa Hankala
This patch allows GPT partitioning when installing a riscv64 system. Currently, the install.md insists on using MBR. The patch also adds fdisk -A when a BIOS boot partition is found. The PolarFire SoC HSS firmware uses the partition to load boot code. OK? Index: distrib/miniroot/install.sub

Re: Use installboot(8) in install.md of riscv64

2022-02-03 Thread Visa Hankala
On Wed, Feb 02, 2022 at 01:23:56PM -0700, Theo de Raadt wrote: > Miod Vallat wrote: > > > > Index: usr.sbin/installboot/armv7_installboot.c > > > === > > > RCS file: src/usr.sbin/installboot/armv7_installboot.c,v > > > retrieving rev

Re: m_pullup alingment crash armv7 sparc64

2022-02-03 Thread David Gwynne
On Wed, Feb 02, 2022 at 10:30:24PM +0100, Alexander Bluhm wrote: > Hi, > > With the new m_pullup() code, I see crashes on armv7 and sparc64. > regress/sbin/slaacd sends some IPv6 ND6 packets over pair(4) from > scapy. It crashes after m_pullup() in ipv6_check(). > > run-parse-ra > ifco