Re: OpenBSD VMM VMs Crash

2018-04-12 Thread Mike Larkin
On Tue, Apr 10, 2018 at 02:31:15PM +, Olivier Cherrier wrote:
> On Sat, Apr 07, 2018 at 11:46:42AM -0700, mlar...@azathoth.net wrote:
> > > So i looked up logs and stuff and came to the point that my issues are
> > > exactly this ones:
> > > http://openbsd-archive.7691.n7.nabble.com/vmd-VMs-are-stopping-with-vcpu-0-run-ioctl-failed-Invalid-argument-td333259.html
> > > 
> > > It seems the issue was not further discussed and/or fixed?
> > > 
> > > Regards,
> > > Aaron
> > > 
> > > -- 
> > > Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/
> > > Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion
> > > GPG: 0x7A65E38D55BE96FE
> > > Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE
> > > 
> > 
> > You are jumping to conclusions.
> > 
> > All we know is that your VMs failed to run at some point. Whether or not it
> > is "exactly the same" as that other post is unknown, since you didn't run 
> > with 
> > VMM_DEBUG and give us any more info. Or even submit a proper bug report.
> > 
> > For what it's worth, I'm still working on that other issue.
>  
> For me, the issue never went away.
> I would say it is even more frequent now than before (end of 2017).
> 
> 
> -- 
> Olivier Cherrier
> Phone: +352691754777
> mailto:o...@symacx.com
> 

I have a diff locally that I am testing now that might fix this. Stay tuned.

-ml




Re: OpenBSD VMM VMs Crash

2018-04-10 Thread Mike Larkin
On Tue, Apr 10, 2018 at 02:31:15PM +, Olivier Cherrier wrote:
> On Sat, Apr 07, 2018 at 11:46:42AM -0700, mlar...@azathoth.net wrote:
> > > So i looked up logs and stuff and came to the point that my issues are
> > > exactly this ones:
> > > http://openbsd-archive.7691.n7.nabble.com/vmd-VMs-are-stopping-with-vcpu-0-run-ioctl-failed-Invalid-argument-td333259.html
> > > 
> > > It seems the issue was not further discussed and/or fixed?
> > > 
> > > Regards,
> > > Aaron
> > > 
> > > -- 
> > > Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/
> > > Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion
> > > GPG: 0x7A65E38D55BE96FE
> > > Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE
> > > 
> > 
> > You are jumping to conclusions.
> > 
> > All we know is that your VMs failed to run at some point. Whether or not it
> > is "exactly the same" as that other post is unknown, since you didn't run 
> > with 
> > VMM_DEBUG and give us any more info. Or even submit a proper bug report.
> > 
> > For what it's worth, I'm still working on that other issue.
>  
> For me, the issue never went away.
> I would say it is even more frequent now than before (end of 2017).
> 
> 
> -- 
> Olivier Cherrier
> Phone: +352691754777
> mailto:o...@symacx.com

Yep, I dusted off that tree and spent a few hours on it last night.

Hopefully have a working diff soon; the EPT misconfigurations are gone but I'm
running into a uvm page list accounting error now that results in panics when
the VMs are torn down. I know why it's happening but the alternative approach
is a bit more messy and I'd hoped to stay away from that. But maybe I'll have
no choice.

-ml



Re: OpenBSD VMM VMs Crash

2018-04-10 Thread Olivier Cherrier
On Sat, Apr 07, 2018 at 11:46:42AM -0700, mlar...@azathoth.net wrote:
> > So i looked up logs and stuff and came to the point that my issues are
> > exactly this ones:
> > http://openbsd-archive.7691.n7.nabble.com/vmd-VMs-are-stopping-with-vcpu-0-run-ioctl-failed-Invalid-argument-td333259.html
> > 
> > It seems the issue was not further discussed and/or fixed?
> > 
> > Regards,
> > Aaron
> > 
> > -- 
> > Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/
> > Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion
> > GPG: 0x7A65E38D55BE96FE
> > Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE
> > 
> 
> You are jumping to conclusions.
> 
> All we know is that your VMs failed to run at some point. Whether or not it
> is "exactly the same" as that other post is unknown, since you didn't run 
> with 
> VMM_DEBUG and give us any more info. Or even submit a proper bug report.
> 
> For what it's worth, I'm still working on that other issue.
 
For me, the issue never went away.
I would say it is even more frequent now than before (end of 2017).


-- 
Olivier Cherrier
Phone: +352691754777
mailto:o...@symacx.com



Re: OpenBSD VMM VMs Crash

2018-04-07 Thread Mike Larkin
On Sat, Apr 07, 2018 at 11:46:50AM +0200, Aaron Marcher wrote:
> So i looked up logs and stuff and came to the point that my issues are
> exactly this ones:
> http://openbsd-archive.7691.n7.nabble.com/vmd-VMs-are-stopping-with-vcpu-0-run-ioctl-failed-Invalid-argument-td333259.html
> 
> It seems the issue was not further discussed and/or fixed?
> 
> Regards,
> Aaron
> 
> -- 
> Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/
> Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion
> GPG: 0x7A65E38D55BE96FE
> Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE
> 

You are jumping to conclusions.

All we know is that your VMs failed to run at some point. Whether or not it
is "exactly the same" as that other post is unknown, since you didn't run with 
VMM_DEBUG and give us any more info. Or even submit a proper bug report.

For what it's worth, I'm still working on that other issue.

-ml



Re: OpenBSD VMM VMs Crash

2018-04-07 Thread Aaron Marcher
So i looked up logs and stuff and came to the point that my issues are 
exactly this ones:

http://openbsd-archive.7691.n7.nabble.com/vmd-VMs-are-stopping-with-vcpu-0-run-ioctl-failed-Invalid-argument-td333259.html

It seems the issue was not further discussed and/or fixed?

Regards,
Aaron

--
Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/
Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion
GPG: 0x7A65E38D55BE96FE
Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE



Re: OpenBSD VMM VMs Crash

2018-04-06 Thread Carlos Cardenas
On Fri, Apr 06, 2018 at 06:55:05PM +0200, Aaron Marcher wrote:
> Ohai,
> 
> for me OpenBSD VMM VMs crash after some (undefined) time while logging the
> following on the host:
> vcpu_run_loop: vm 3 / vcpu 0 run ioctl failed: Invalid argument
> Apart from that VMM works es expected.
> 
> Regards,
> Aaron
> 
> -- 
> Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/
> Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion
> GPG: 0x7A65E38D55BE96FE
> Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE
> 

Aaron,

This is not a very good bug report.

Please provide the following information:
* dmesg of host
* vm.conf
* Guest information (dmesg if OpenBSD)
* What is the guest doing when it dies?
* What is the host doing when the guest dies?

+--+
Carlos



Re: OpenBSD VMM VMs Crash

2018-04-06 Thread Mike Larkin
On Fri, Apr 06, 2018 at 06:55:05PM +0200, Aaron Marcher wrote:
> Ohai,
> 
> for me OpenBSD VMM VMs crash after some (undefined) time while logging the
> following on the host:
> vcpu_run_loop: vm 3 / vcpu 0 run ioctl failed: Invalid argument
> Apart from that VMM works es expected.
> 
> Regards,
> Aaron
> 
> -- 
> Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/
> Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion
> GPG: 0x7A65E38D55BE96FE
> Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE
> 

could be anything. enable VMM_DEBUG and send me what you see in dmesg
after the crash.




OpenBSD VMM VMs Crash

2018-04-06 Thread Aaron Marcher

Ohai,

for me OpenBSD VMM VMs crash after some (undefined) time while logging 
the following on the host:

vcpu_run_loop: vm 3 / vcpu 0 run ioctl failed: Invalid argument
Apart from that VMM works es expected.

Regards,
Aaron

--
Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/
Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion
GPG: 0x7A65E38D55BE96FE
Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE