Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Oct 2014 07:38:33 +0400
From:      =?UTF-8?B?0JXQstCz0LXQvdC40LkgSVJPTg==?= <iron@mail.ua>
To:        =?UTF-8?B?QW5pc2ggR3VwdGE=?= <akgupt3@gmail.com>, =?UTF-8?B?ZnJlZWJzZC12aXJ0dWFsaXphdGlvbg==?= <freebsd-virtualization@freebsd.org>
Subject:   =?UTF-8?B?UmVbMl06IFZNIHVucmVzdHJpY3RlZCBndWVzdCBjYXBhYmlsaXR5IHJlcXVp?= =?UTF-8?B?cmVk?=
Message-ID:  <1412307513.686043434@f431.i.mail.ru>
In-Reply-To: <4390B014-706B-4862-9C9C-235CABF6BDD7@gmail.com>
References:  <1412303890.698110582@f94.i.mail.ru> <1412304724.941004664@f391.i.mail.ru> <4390B014-706B-4862-9C9C-235CABF6BDD7@gmail.com>

index | next in thread | previous in thread | raw e-mail

 Host: FreeBSD IRON 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r272460: Fri Oct  3 03:57:05 EEST 2014     root@IRON:/usr/obj/usr/src/sys/IRON  amd64
Guest: I tried ubuntu-14.10-beta2-desktop amd64&i386 with the same result.

# cat device.map 
(hd0)  ./ubuntu.img
(cd0)  ./ubuntu-14.10-beta2-desktop-i386.iso

# grub-bhyve -m device.map -r cd0 -M 1024M ubuntu
VM unrestricted guest capability required
Error in initializing VM

Here is a piece of trace, maybe it can be helpful somehow.

mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34393292800 (0x802000000)
madvise(0x802007000,0x1000,0x5,0xaaaaaaaaaaaaaaab,0x3,0x400) = 0 (0x0)
__sysctl(0x7fffffffe850,0x2,0x7fffffffe890,0x7fffffffe888,0x800dc9a40,0xd) = 0 (0x0)
__sysctl(0x7fffffffe890,0x3,0x0,0x0,0x802010060,0x6) ERR#17 'File exists'
open("/dev/vmm/ubuntu",O_RDWR,00)         = 3 (0x3)
ioctl(3,0xc0107603 { IORW 0x76('v'), 3, 16 },0xffffe900) ERR#2 'No such file or directory'
VM unrestricted guest capability required
write(2,"VM unrestricted guest capability"...,42) = 42 (0x2a)
Error in initializing VM
write(2,"Error in initializing VM\n",25)     = 25 (0x19)

Thanks


Thu, 2 Oct 2014 20:18:44 -0700 от Anish Gupta <akgupt3@gmail.com>:
>oh! Unrestricted Guest is requirement for i386/32-bit. Are you running 32-bit Ubuntu14.10? x86_64/64-bit can be run with one core.
>
>-Anish
>
>
>On Oct 2, 2014, at 7:52 PM, Евгений IRON < iron@mail.ua > wrote:
>>Thank you for quick reply.
>>It would be good to make more clear explanation in the message.
>>How can I pass “-c” option to “bhyve” if I can't start install process from grub? Is there way to start install process without grub? I couldn't find an answer in existing documentation.
>>
>>Thanks
>>
>>
>>Thu, 2 Oct 2014 19:42:45 -0700 от Anish Gupta < akgupt3@gmail.com >:
>>>This is UG capability in VT-x: PAT,HLT,MTF,PAUSE,EPT,VPID. It means you can’t boot guest with more than one core but single core should be fine. Core count is specified using “-c” option of “bhyve”, try with ‘1’ and that should work.
>>>
>>>
>>>
>>>-Anish
>>>
>>>
>>>
>>>On Oct 2, 2014, at 7:38 PM, Евгений IRON < iron@mail.ua > wrote:
>>>
>>>> Hello all,
>>>>  
>>>> I'm trying to install Ubuntu Linux 14.10 as a guest in FreeBSD 11-CURRENT r272460 host. When I try to run grub-bhyve (version 0.23) I see in console message:  
>>>> VM unrestricted guest capability required
>>>> Error in initializing VM
>>>>  
>>>> I've read a thread with the similar problem. As far as I understood, this message happen when CPU doesn't have unrestricted guest capability support (EPT). But in my case I have Core i7-870 with VT-x and VT-d support. Please take a look at   http://ark.intel.com/ru/products/41315/Intel-Core-i7-870-Processor-8M-Cache-2_93-EPTGHz
>>>>  
>>>> Here is flags:
>>>> CPU: Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz (2942.52-MHz K8-class CPU)
>>>> Origin="GenuineIntel" Id=0x106e5 Family=0x6 Model=0x1e Stepping=5
>>>> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>>>> Features2=0x98e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT>
>>>> AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
>>>> AMD Features2=0x1<LAHF>
>>>> VT-x: PAT,HLT,MTF,PAUSE,EPT,VPID
>>>> TSC: P-state invariant, performance statistics
>>>>  
>>>> As you see, there is: VMX, POPCNT, EPT flags.
>>>>  
>>>> Tell me please, why it doesn't work?
>>>>  
>>>> Best regards,
>>>> Thanks
>>>> _______________________________________________
>>>>   freebsd-virtualization@freebsd.org   mailing list
>>>>   http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
>>>> To unsubscribe, send any mail to " freebsd-virtualization-unsubscribe@freebsd.org "




help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1412307513.686043434>