Re: bhyve failure: vm_run error -1, errno 25

2015-03-05 Thread Craig Rodrigues
On Sun, Mar 1, 2015 at 5:47 PM, Neel Natu neeln...@gmail.com wrote:

 Hi Craig,

 I think that this is due to world and kernel not being in sync:

 [neel@wreck ~]$ uname -K
 1100062
 [neel@wreck ~]$ uname -U
 1100039

 Can you update world and see if the issue persists?


I updated and recompiled everything and now have:

[rodrigc@wreck ~]$ uname -K
1100062
[rodrigc@wreck ~]$ uname -U
1100062


I rebooted the system, and now bhyve works.
Thanks!

--
Craig
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: bhyve failure: vm_run error -1, errno 25

2015-03-01 Thread Neel Natu
Hi Craig,

On Sun, Mar 1, 2015 at 12:54 PM, Craig Rodrigues rodr...@freebsd.org wrote:
 Hi,

 I recently did the following:

 (1)  Updated to svn r279489, rebuilt world/kernel and rebooted.

 (2)  Ran this: sh /usr/share/examples/bhyve/vmrun.sh -m 4G -d /vm/
 scan-ci.FreeBSD.org/disk.img vmtest1

 (3)  Got this error:  vm_run error -1, errno 25
See attached log.

 Any idea what is going on?  This VM used to work, and I did not
 get this error before.


I think that this is due to world and kernel not being in sync:

[neel@wreck ~]$ uname -K
1100062
[neel@wreck ~]$ uname -U
1100039

Can you update world and see if the issue persists?

best
Neel

 This is on wreck.ysv.freebsd.org, so Neel and Peter should have access to
 debug if necessary.

 Thanks.

 --
 Craig

 ___
 freebsd-virtualization@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
 To unsubscribe, send any mail to 
 freebsd-virtualization-unsubscr...@freebsd.org
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: bhyve failure

2014-12-22 Thread Neel Natu
Hi Julian,

On Sat, Nov 29, 2014 at 6:31 PM, Neel Natu neeln...@gmail.com wrote:
 Hi Julian,

 On Fri, Nov 28, 2014 at 7:36 AM, Julian Elischer jul...@freebsd.org wrote:
 On 11/28/14, 3:12 AM, Neel Natu wrote:

 Hi Julian,

 On Thu, Nov 27, 2014 at 7:02 AM, Julian Elischer jul...@freebsd.org
 wrote:

 I added WITNESS to a kernel I've been running and during boot I got this
 result:

 vm exit[0]
  reason  VMX
  rip 0x8078c1a7
  inst_length 7
  status  0
  exit_reason 2

 That's a triple fault (from sys/amd64/vmm/intel/vmcs.h)

 #define EXIT_REASON_TRIPLE_FAULT2


  qualification   0x
  inst_type   0
  inst_error  0
 Abort trap (core dumped)

 anyone have a decoder ring?

 A few questions to narrow this down:

 Did you add WITNESS to the guest kernel or the host kernel when this
 happened?

 yes I added it to the guest kernel.. I suspect it ay be related to this,
 especially since there was a kernel module loaded that was not recompiled.
 I'm trying to ascertain now whether a withness kernel requires special
 handling for its modules.



 Is this readily reproducible?

 don't know yet.


 Its interesting that the guest went all the way to a triple fault
 instead of stopping at the double fault handler.

 I'll be happy to track this down if there is a reliably repro case
 (guest binaries would be sufficient).


I just committed a change that should let you trace every exception
seen by the guest:
https://svnweb.freebsd.org/changeset/base/276098

It will let you trace all the exceptions leading up to the triple
fault via ktr(4).

best
Neel

 best
 Neel


 Can you share the host and guest revision numbers?


 guest is custom sources based on stable-10 on the same day as 10.0 was
 released.basically whatever svn revision# was on 10.0 but on the stable
 branch.
 host is
 FreeBSD 10.1-BETA1 #0 r271671: Tue Sep 16 09:31:23 PDT 2014





 best
 Neel

 julian
 ___
 freebsd-virtualization@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
 To unsubscribe, send any mail to
 freebsd-virtualization-unsubscr...@freebsd.org


___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org