Re: vmm guest crash in vio

2024-01-11 Thread Mike Larkin
On Tue, Jan 09, 2024 at 08:28:29PM +0100, Mark Kettenis wrote: > > From: Dave Voutila > > Date: Tue, 09 Jan 2024 09:19:56 -0500 > > > > Stefan Fritsch writes: > > > > > On 08.01.24 22:24, Alexander Bluhm wrote: > > >> Hi, > > >> When running a guest in vmm and doing ifconfig operations on vio >

Re: vmm guest crash in vio

2024-01-10 Thread Dave Voutila
Stefan Fritsch writes: > On Tue, 9 Jan 2024, Dave Voutila wrote: > >> >> Stefan Fritsch writes: >> >> > On 08.01.24 22:24, Alexander Bluhm wrote: >> >> Hi, >> >> When running a guest in vmm and doing ifconfig operations on vio >> >> interface, I can crash the guest. >> >> I run these loops in

Re: vmm guest crash in vio

2024-01-09 Thread Alexander Bluhm
On Tue, Jan 09, 2024 at 07:49:16PM +0100, Stefan Fritsch wrote: > @bluhm: Does the attached patch fix the panic? Yes. My test does not crash the patched guest anymore. bluhm > The fdt part is completely untested, testers welcome. > > diff --git a/sys/dev/fdt/virtio_mmio.c

Re: vmm guest crash in vio

2024-01-09 Thread Dave Voutila
Mark Kettenis writes: >> From: Dave Voutila >> Date: Tue, 09 Jan 2024 09:19:56 -0500 >> >> Stefan Fritsch writes: >> >> > On 08.01.24 22:24, Alexander Bluhm wrote: >> >> Hi, >> >> When running a guest in vmm and doing ifconfig operations on vio >> >> interface, I can crash the guest. >> >> I

Re: vmm guest crash in vio

2024-01-09 Thread Mark Kettenis
> From: Dave Voutila > Date: Tue, 09 Jan 2024 09:19:56 -0500 > > Stefan Fritsch writes: > > > On 08.01.24 22:24, Alexander Bluhm wrote: > >> Hi, > >> When running a guest in vmm and doing ifconfig operations on vio > >> interface, I can crash the guest. > >> I run these loops in the guest: >

Re: vmm guest crash in vio

2024-01-09 Thread Stefan Fritsch
On Tue, 9 Jan 2024, Dave Voutila wrote: > > Stefan Fritsch writes: > > > On 08.01.24 22:24, Alexander Bluhm wrote: > >> Hi, > >> When running a guest in vmm and doing ifconfig operations on vio > >> interface, I can crash the guest. > >> I run these loops in the guest: > >> while doas ifconfig

Re: vmm guest crash in vio

2024-01-09 Thread Dave Voutila
Stefan Fritsch writes: > On 08.01.24 22:24, Alexander Bluhm wrote: >> Hi, >> When running a guest in vmm and doing ifconfig operations on vio >> interface, I can crash the guest. >> I run these loops in the guest: >> while doas ifconfig vio1 inet 10.188.234.74/24; do :; done >> while doas

Re: vmm guest crash in vio

2024-01-08 Thread Stefan Fritsch
On 08.01.24 22:24, Alexander Bluhm wrote: Hi, When running a guest in vmm and doing ifconfig operations on vio interface, I can crash the guest. I run these loops in the guest: while doas ifconfig vio1 inet 10.188.234.74/24; do :; done while doas ifconfig vio1 -inet; do :; done while doas

Re: vmm guest crash in vio

2024-01-08 Thread Dave Voutila
Alexander Bluhm writes: > Hi, > > When running a guest in vmm and doing ifconfig operations on vio > interface, I can crash the guest. Any chance you've tried this in another hypervisor, like KVM/QEMU? I'd like to isolate if this is a vmd(8) issue in the emulated network device or if it's in

vmm guest crash in vio

2024-01-08 Thread Alexander Bluhm
Hi, When running a guest in vmm and doing ifconfig operations on vio interface, I can crash the guest. I run these loops in the guest: while doas ifconfig vio1 inet 10.188.234.74/24; do :; done while doas ifconfig vio1 -inet; do :; done while doas ifconfig vio1 down; do :; done And from host I