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  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  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"


bhyve failure: vm_run error -1, errno 25

2015-03-01 Thread Craig Rodrigues
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.

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

Thanks.

--
Craig
command: sh /usr/share/examples/bhyve/vmrun.sh -m 4G -d 
/vm/scan-ci.FreeBSD.org/disk.img vmtest1
Launching virtual machine "vmtest1" ...
Consoles: userboot  

FreeBSD/amd64 User boot, Revision 1.1
(rodr...@wreck.ysv.freebsd.org, Tue Oct 21 05:18:19 UTC 2014)
Loading /boot/defaults/loader.conf 
ESC[HESC[JESC[7;46H ````ESC[8;46Hs` 
`.---...--.```   -/ESC[  __      _ _  
 |  | |  _ \ / |  __ \ 
 | |___ _ __ ___  ___ | |_) | (___ | |  | |
 |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | |
 | |   | | |  __/  __/| |_) |) | |__| |
 | |   | | |||| |  |  |
 |_|   |_|  \___|\___||/|_/|_/````
 s` `.---...--.```   -/
 +Welcome to FreeBSD---+ +o   .--` /y:`  +.
 | |  yo`:.:o  `+-
 |  1. Boot Multi User [Enter] |   y/   -/`   -o/
 |  2. Boot [S]ingle User  |  .-  ::/sy+:.
 |  3. [Esc]ape to loader prompt   |  / `--  /
 |  4. Reboot  | `:  :`
 | | `:  :`
 |  Options:   |  /  /
 |  5. [K]ernel: kernel (1 of 2)   |  .--.
 |  6. Configure Boot [O]ptions... |   --  -.
 | |`:`  `:`
 | |  .-- `--.
 | | .---..
 +-+
  

/boot/kernel/kernel text=0xf849d8 data=0x11df58+0x46c110 
syms=[0x8+0x143c10+0x8+0x15dfc1]
/boot/kernel/zfs.ko size 0x2dd640 at 0x1bb1000
loading required module 'opensolaris'
/boot/kernel/opensolaris.ko size 0x81f0 at 0x1e8f000
Booting...
vm_run error -1, errno 25

Script done on Sun Mar  1 20:46:19 2015
___
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"