Date: Fri, 10 Feb 2017 18:35:19 +0000 From: "C. L. Martinez" <carlopmart@gmail.com> To: freebsd-virtualization@freebsd.org Subject: Re: Unable to create OpenBSD 6.0 bhyve guest Message-ID: <20170210183519.43f76q3fcfqrgipw@scotland.uxdom.org> In-Reply-To: <1757175.5Lz3SQ4xSy@hbsd-dev-laptop> References: <20170210181513.vtnq3ph5vmk3sbi4@scotland.uxdom.org> <1757175.5Lz3SQ4xSy@hbsd-dev-laptop>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 10, 2017 at 01:27:21PM -0500, Shawn Webb wrote: > On Friday, 10 February 2017 06:15:13 PM C. L. Martinez wrote: > > Hi all, > > > > I am trying to create an OpenBSD 6.0 virtual guest under FreeBSD 11 bhyve > > server. When I try list cd contents, segmentation faults appears: > > > > grub-bhyve -d /data/vms/conf/obsdfwwif -m device.map -r cd0 obsdfwwif > > > > > > GNU > > GRUB version 2.00 > > > > Minimal BASH-like line editing is supported. For the first word, TAB > > lists possible command completions. Anywhere else TAB lists possible device > > or file completions. > > > > > > grub>ls > > Segmentation fault > > > > Hey C.L. Martinez, > > This is because grub-bhyve creates memory mappings that are both writable and > executable, something that is disallowed by default on HardenedBSD. > > You'll need to add a secadm rule to disable pageexec and mprotect restrictions > for grub-bhyve. You can find a sample rule here: > > https://github.com/HardenedBSD/secadm-rules/blob/master/grub-bhyve.rule > > Thanks, > > -- Thanks Shawn, but it is a FreeBSD-11 RELEASE test laptop :( .... But I am doing some tests with linux also, and it seems that it has some problem with memory according memtest says ... -- Greetings, C. L. Martinez
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170210183519.43f76q3fcfqrgipw>