On Sun, Aug 06, 2017 at 08:07:25PM +0200, Stephane HUC "PengouinBSD" wrote:
> Hi all.
> 
> I have this problem to run vmctl:
> 
> $ doas vmctl start "webdev" -c -b bsd.rd -m 1024M -i 1 -d www.drive -d
> install61.fs
> vmctl: start vm command failed: Operation not permitted
> 
> I can use virtualization on my desktop; it's an Core i5 intel :
> 
> $ dmesg | grep vmm
> vmm0 at mainbus0: VMX/EPT
> 
> I attempt to use on OpenBSD 6.1 -stable :
> 
> $ uname -a
> OpenBSD ptb.stephane-huc.net 6.1 GENERIC.MP#19 amd64
> 
> The config seems correct:
> 
> $ doas vmd -n
> configuration OK
> 
> ifconfig results:
> 

pkill -9 vmd
vmd -dv                 (will not detach from the console)
vmctl log verbose

then try your vmctl again, and send the vmd log messages displayed in the
window where vmd is running.

Also send a dmesg please.

We'll start there and see if we need more info.

Thanks for helping test vmd

-ml


> (...)
> vether0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>         lladdr fe:e1:ba:d0:01:02
>         index 4 priority 0 llprio 3
>         groups: vether
>         media: Ethernet autoselect
>         status: active
>         inet 192.168.247.1 netmask 0xffffff00 broadcast 192.168.247.255
>         inet6 fe80::fce1:baff:fed0:102%vether0 prefixlen 64 scopeid 0x4
>         inet6 fd47:c107:b5d::247:1 prefixlen 64
> (...)
> bridge0: flags=41<UP,RUNNING>
>         description: switch1-h2g2
>         index 8 llprio 3
>         groups: bridge
>         priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto
> rstp
>         vether0 flags=3<LEARNING,DISCOVER>
>                 port 4 ifpriority 0 ifcost 0
>         tap0 flags=3<LEARNING,DISCOVER>
>                 port 9 ifpriority 0 ifcost 0
> tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>         lladdr fe:e1:ba:d2:3d:0c
>         description: vm1-if0-webdev
>         index 9 priority 0 llprio 3
>         groups: tap
>         status: active
> 
> An idea to explain-me why vmctl failed to start?
> 
> 
> -- 
> ~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD "       +=<<<
> ----
> <me>Stephane HUC as PengouinBSD or CIOTBSD</me>
> <mail>b...@stephane-huc.net</mail>
> 


Reply via email to