Re: help installing bhyve guest

2013-07-03 Thread Aryeh Friedman
Just a quick note refetching it to make sure

On Wed, Jul 3, 2013 at 1:01 PM, Aryeh Friedman  wrote:
> it is a copy of
> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/10.0/FreeBSD-10.0-CURRENT-amd64-20130630-r252387-release.iso
>
> On Wed, Jul 3, 2013 at 12:42 PM, Peter Grehan  wrote:
>> Hi Aryeh,
>>
>>
>>> /usr/sbin/bhyveload -m 4096 -d lts.iso lts
>>
>>  ...
>>
>>> Currently the only output I get is (and then it freezes):
>>>
>>> Consoles: userboot
>>>
>>> FreeBSD/amd64 User boot, Revision 1.1
>>> (aryeh@vcloud, Tue Jun 25 00:58:25 EDT 2013)
>>> \
>>> can't load 'kernel'
>>
>>
>>  It's failing in the user-space loader - a kernel can't be found on the
>> lts.iso that is being passed to it. This results in register state not being
>> set up correctly in the VM, so it will exit immediately (note the RIP value
>> of 0, and the exit code of 33, "VM-entry failure due to invalid guest
>> state").
>>
>>  What does lts.iso look like ?
>>
>> later,
>>
>> Peter.
>>
___
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: help installing bhyve guest

2013-07-03 Thread Aryeh Friedman
it is a copy of
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/10.0/FreeBSD-10.0-CURRENT-amd64-20130630-r252387-release.iso

On Wed, Jul 3, 2013 at 12:42 PM, Peter Grehan  wrote:
> Hi Aryeh,
>
>
>> /usr/sbin/bhyveload -m 4096 -d lts.iso lts
>
>  ...
>
>> Currently the only output I get is (and then it freezes):
>>
>> Consoles: userboot
>>
>> FreeBSD/amd64 User boot, Revision 1.1
>> (aryeh@vcloud, Tue Jun 25 00:58:25 EDT 2013)
>> \
>> can't load 'kernel'
>
>
>  It's failing in the user-space loader - a kernel can't be found on the
> lts.iso that is being passed to it. This results in register state not being
> set up correctly in the VM, so it will exit immediately (note the RIP value
> of 0, and the exit code of 33, "VM-entry failure due to invalid guest
> state").
>
>  What does lts.iso look like ?
>
> later,
>
> Peter.
>
___
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: help installing bhyve guest

2013-07-03 Thread Peter Grehan

Hi Aryeh,


/usr/sbin/bhyveload -m 4096 -d lts.iso lts

 ...

Currently the only output I get is (and then it freezes):

Consoles: userboot

FreeBSD/amd64 User boot, Revision 1.1
(aryeh@vcloud, Tue Jun 25 00:58:25 EDT 2013)
\
can't load 'kernel'


 It's failing in the user-space loader - a kernel can't be found on the 
lts.iso that is being passed to it. This results in register state not 
being set up correctly in the VM, so it will exit immediately (note the 
RIP value of 0, and the exit code of 33, "VM-entry failure due to 
invalid guest state").


 What does lts.iso look like ?

later,

Peter.

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


help installing bhyve guest

2013-07-03 Thread Aryeh Friedman
I am attempting to make the following install script to work:

truncate -s 80G disk
ifconfig tap3 down
ifconfig tap3 up
/usr/sbin/bhyvectl --vm=lts --destroy
/usr/sbin/bhyveload -m 4096 -d lts.iso lts
/usr/sbin/bhyve -c 3 -m 4096 -AI -H -P -g 0 -s 0:0,hostbridge -s
1:0,virtio-net,tap3 -s 2:0,virtio-blk,disk -s 3:0,virtio-blk,lts.iso
-S
 31,uart,stdio lts

Note that the final target of the install is Ubuntu 12.04 LTS but I
was using the latest 10-CURRENT release.iso to make sure I was doing
nothing weird.   vmrun.sh works on the second but have not tested the
first.

Currently the only output I get is (and then it freezes):

Consoles: userboot

FreeBSD/amd64 User boot, Revision 1.1
(aryeh@vcloud, Tue Jun 25 00:58:25 EDT 2013)
\
can't load 'kernel'

Type '?' for a list of commands, 'help' for more detailed help.
OK quit
vm exit[0]
reason  VMX
rip 0x
inst_length 0
error   0
exit_reason 33
qualification   0x
___
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"