Re: Sporadical 6.9 completely system hangs while VM is running Ryzen 4750U

2021-05-25 Thread Martin
Hi Dave,

The system works significantly more stable with VMs running and patched vmm.c 
from -current. In four days I have encountered only one hang which lead to 
shutdown using power button. Hope it was independent issue.

Martin

‐‐‐ Original Message ‐‐‐
On Friday, May 21, 2021 6:59 AM, Martin  wrote:

> Hi Dave,
>
> Following your advice I've rebuilt the kernel from -current with latest vmm.c 
> patches.
>
> For last 24hrs since reboot with -current kernel - no issues. I will let you 
> know if any.
>
> Martin
>
> ‐‐‐ Original Message ‐‐‐
> On Thursday, May 20, 2021 11:06 AM, Dave Voutila d...@sisu.io wrote:
>
> > Martin writes:
> >
> > > The hang mostly happened when VM guest run browser or any network 
> > > activity (repository updates etc).
> > > The bad thing I can't debug it because the host system hangs completely.
> >
> > We'd need ddb backtrace output with register state and details of where
> > the panic or fault is to make any diagnosis. You'd need to be outside X
> > and at the main console to see it during a panic. Without that info I
> > can only speculate this is related to something recently fixed in
> > -current for AMD hosts.
> > I suggest either trying a -current snapshot or building a custom
> > 6.9-stable kernel with the patch supplied recently on bugs@:
> > https://marc.info/?l=openbsd-bugs=162075185720480=2
> > -dv




Re: Sporadical 6.9 completely system hangs while VM is running Ryzen 4750U

2021-05-21 Thread Martin
Hi Dave,

Following your advice I've rebuilt the kernel from -current with latest vmm.c 
patches.

For last 24hrs since reboot with -current kernel - no issues. I will let you 
know if any.

Martin

‐‐‐ Original Message ‐‐‐
On Thursday, May 20, 2021 11:06 AM, Dave Voutila  wrote:

> Martin writes:
>
> > The hang mostly happened when VM guest run browser or any network activity 
> > (repository updates etc).
> > The bad thing I can't debug it because the host system hangs completely.
>
> We'd need ddb backtrace output with register state and details of where
> the panic or fault is to make any diagnosis. You'd need to be outside X
> and at the main console to see it during a panic. Without that info I
> can only speculate this is related to something recently fixed in
> -current for AMD hosts.
>
> I suggest either trying a -current snapshot or building a custom
> 6.9-stable kernel with the patch supplied recently on bugs@:
>
> https://marc.info/?l=openbsd-bugs=162075185720480=2
>
> -dv




Sporadical 6.9 completely system hangs while VM is running Ryzen 4750U

2021-05-20 Thread Martin
Hi,

I encounter unexpected sporadical hangs of whole 6.9 host system with VM Debian 
guest running. Host hangs completely, I can't even drop down to gdb to check 
what happened exactly. The host itself works fine if VMs are stopped, at least 
I've never encounter any hangs without VM is online.

All the patches (001, 002, 003) have been applied to vmd and libX11. Guest's 
vmm kernel modules are latest.

The hang mostly happened when VM guest run browser or any network activity 
(repository updates etc).

The bad thing I can't debug it because the host system hangs completely.

I can provide dmesg if necessary if it will help.

Martin



Re: Sporadical 6.9 completely system hangs while VM is running Ryzen 4750U

2021-05-20 Thread Dave Voutila


Martin writes:

> The hang mostly happened when VM guest run browser or any network activity 
> (repository updates etc).
>
> The bad thing I can't debug it because the host system hangs completely.
>

We'd need ddb backtrace output with register state and details of where
the panic or fault is to make any diagnosis. You'd need to be outside X
and at the main console to see it during a panic. Without that info I
can only speculate this is related to something recently fixed in
-current for AMD hosts.

I suggest either trying a -current snapshot or building a custom
6.9-stable kernel with the patch supplied recently on bugs@:

https://marc.info/?l=openbsd-bugs=162075185720480=2

-dv