Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2021 09:47:22 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Wei Hu <weh@microsoft.com>
Cc:        Harry Schmalzbauer <freebsd@omnilan.de>, Chris Knight <stryqx@gmail.com>,  "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: FreeBSD 12.1 i386 on Hyper-V Fails to Mount Root
Message-ID:  <YKIRelPB9wmtBzzo@kib.kiev.ua>
In-Reply-To: <PSAP153MB0440A1511904E54767BF5344BB2D9@PSAP153MB0440.APCP153.PROD.OUTLOOK.COM>
References:  <CAHgj5TTKdiOU4bRu3SCBwKqnQaMqxUFynodh5MLBE7%2BycBiPYw@mail.gmail.com> <SG2P153MB0208B4185C3EB54120F10E74BB030@SG2P153MB0208.APCP153.PROD.OUTLOOK.COM> <c6013e67-4a37-43e1-4452-568d3ef6e5a7@omnilan.de> <ef85f9bb-ad8b-978e-da65-c887e8e8498e@omnilan.de> <PSAP153MB0440FD09AD1981FD569B7246BB2D9@PSAP153MB0440.APCP153.PROD.OUTLOOK.COM> <YKIDX/PjOlNc%2BtMa@kib.kiev.ua> <PSAP153MB0440A1511904E54767BF5344BB2D9@PSAP153MB0440.APCP153.PROD.OUTLOOK.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 17, 2021 at 06:33:19AM +0000, Wei Hu wrote:
> > -----Original Message-----
> > From: Konstantin Belousov <kostikbel@gmail.com>
> > Sent: Monday, May 17, 2021 1:47 PM
> > To: Wei Hu <weh@microsoft.com>
> > Cc: Harry Schmalzbauer <freebsd@omnilan.de>; Chris Knight
> > <stryqx@gmail.com>; freebsd-virtualization@freebsd.org
> > Subject: Re: FreeBSD 12.1 i386 on Hyper-V Fails to Mount Root
> > 
> > On Mon, May 17, 2021 at 04:12:20AM +0000, Wei Hu wrote:
> > > Copy Kib  who was the author of PTI and other relate patches.
> > >
> > > This looks to be caused by Meltdown and Spectre mitigation patches
> > > which were checked into head couple years ago. See this link for details about
> > these patches:
> > > https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki
> > > .freebsd.org%2FSpeculativeExecutionVulnerabilities&amp;data=04%7C01%7C
> > >
> > weh%40microsoft.com%7Cd7b33cd5fc774c88310008d918f744c4%7C72f988bf
> > 86f14
> > >
> > 1af91ab2d7cd011db47%7C1%7C0%7C637568272592647219%7CUnknown%7
> > CTWFpbGZsb
> > >
> > 3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%
> > 3D%
> > >
> > 7C1000&amp;sdata=5HjRc67IiHlrpR5bgWwJq9opMwBKudlHJpElsDZkS4A%3D&
> > amp;re
> > > served=0
> > >
> > > The amd64  patches also caused problems on Hyper-V (triple fault) when
> > > vmbus and other HyperV drivers (netvsc, storvsc etc) were loaded
> > > separately. The workaround for this on amd64 is either build these
> > > Hyper-V modules into the kernel or completely disable mitigation by
> > > setting vm.pmap.pti="0" in /boot/loader.conf in the affect FreeBSD guests.
> > >
> > For amd64 I posted the patch to supposedly fix the issue, you did not
> > responded.
> > 
> I am sorry I might have missed your review request. Would you please let me 
> know the link to the patch or the commit if you already have checked in? I will
> need to test and inform the parties who got affected. 

It was mailed for you after your query, then I pinged you several times.
Anyway, look at and try https://reviews.freebsd.org/D30310

> 
> For the issue on i386, any plan to fix it.
> 
> Thanks,
> Wei



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