The original err=22 sounds like he might of attempted to run as non-root?
On Thu, Jan 23, 2014 at 4:45 PM, Neel Natu <neeln...@gmail.com> wrote: > Hi Jonas, > > On Thu, Jan 23, 2014 at 1:02 PM, Jonas Bülow <jonas.bu...@gmail.com> > wrote: > > I had one working ubuntu13.10 vm instance but I'm unable to reproduce it. > > When I try to start the vm I get: > > > > /usr/sbin/bhyve -c 1 -m 2048 -A -I -H -s 0,hostbridge -s > > 2,virtio-blk,./vm/vm1/vm1.img -s 3,virtio-net,tap1 -s > > 4,ahci-cd,./vm/vm1/vm1.iso -S 31,uart,stdio vm1 > > > > vm exit[0] > > > > reason VMX > > > > rip 0x0000000000000000 > > > > > > inst_length 0 > > > > > > error 0 > > > > > > exit_reason 33 > > > > > > > > qualification 0x0000000000000000 > > > > Looks like you are running into every possible problem there is :-) > > Anyways, could you confirm that you are loading the guest kernel into > 'vm1' using grub-bhyve before executing the command above? > > best > Neel > > > > > > > > > > > /J > > > > > > On Thu, Jan 23, 2014 at 5:00 PM, Jonas Bülow <jonas.bu...@gmail.com> > wrote: > > > >> I will describe the steps when I manage to reproduce the installation. > >> Right now I get stuck with undestroyable vm instances: > >> > >> root@bulow:/mnt/bhyve-script # ls /dev/vmm/ > >> > >> lin0 > >> > >> root@bulow:/mnt/bhyve-script # bhyvectl --destroy --vm=lin0 > >> > >> errno = 22 > >> > >> > >> On Thu, Jan 23, 2014 at 3:44 PM, Matthias Gamsjager < > mgamsja...@gmail.com>wrote: > >> > >>> Could you elaborate what you did to get it working? > >>> > >>> > >>> On Thu, Jan 23, 2014 at 3:41 PM, Jonas Bülow <jonas.bu...@gmail.com > >wrote: > >>> > >>>> Success. I have a working ubuntu 13.10 running under bhyve on FreeBSD > >>>> 10.0-RELEASE. > >>>> > >>>> > >>>> > >>>> /J > >>>> > >>>> > >>>> On Thu, Jan 23, 2014 at 11:37 AM, Aryeh Friedman > >>>> <aryeh.fried...@gmail.com>wrote: > >>>> > >>>> > > >>>> > > >>>> > > >>>> > On Thu, Jan 23, 2014 at 5:05 AM, Jonas Bülow <jonas.bu...@gmail.com > >>>> >wrote: > >>>> > > >>>> >> I do use the precanned bhyve-script "vm0" (if that is what you > mean). > >>>> It > >>>> >> explicitly mentions linux support. bhyveload can't be user for > other > >>>> images > >>>> >> than FreeBSD so I don't know how to use your script for a linux OS > >>>> >> > >>>> > > >>>> > Since I have not used bhyve-grub personally yet I can not recommend > >>>> what > >>>> > the correct loader command line but if bhyve-script is in anyway > >>>> related to > >>>> > vmrun.sh I would be highly suspicious of any command lines you > manage > >>>> to > >>>> > extract from it since they are often not the ones actual called. > >>>> > > >>>> > > >>>> >> > >>>> >> I assume the image is file backed as I have not assigned a > dedicated > >>>> >> partition to the vm (and I don't know how to do that). > >>>> >> > >>>> > > >>>> > You can keep them anywhere no need for a special volume (mater of > fact > >>>> I > >>>> > was just reusing the name of one of the diretoriess that PC creates > >>>> during > >>>> > install even without it being a different vol [just assumes any FS > >>>> > boundaries are the host OS's problem)... you can put the disk image > any > >>>> > where (your home directory would be fine for example) > >>>> > > >>>> _______________________________________________ > >>>> 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" > _______________________________________________ > 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" > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.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"