Date: Tue, 12 Apr 2016 08:45:27 +0000 From: Dexuan Cui <decui@microsoft.com> To: Sepherosa Ziehau <sephe@freebsd.org>, "smokehydration@tutanota.com" <smokehydration@tutanota.com> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, "Konstantin Belousov" <kostikbel@gmail.com> Subject: RE: Revision 297176 - hyperv/evttimer: Use an independent message slot so that it can work Message-ID: <BLUPR03MB1410FF10B03A932EA0E6E47ABF950@BLUPR03MB1410.namprd03.prod.outlook.com> In-Reply-To: <BLUPR03MB1410B6C6318441D74BD3AC27BF910@BLUPR03MB1410.namprd03.prod.outlook.com> References: <KEosm96--3-0@tutanota.com> <CAMOc5cyskn2qEoki_N_yWquc3YTzoBzkUU2Gku61BR82UPSa6g@mail.gmail.com> <BLUPR03MB1410B6C6318441D74BD3AC27BF910@BLUPR03MB1410.namprd03.prod.outlook.com>
index | next in thread | previous in thread | raw e-mail
Hi smokehydration, Sephe has committed a few patches into 11-CURRENT to address the issue and the details of the patches can be found at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208238 Can you please try today's Head branch? We believe the issue should be fixed, and it would be great to have your confirmation. Thanks, -- Dexuan > -----Original Message----- > From: Dexuan Cui > Sent: Friday, April 8, 2016 19:04 > To: 'Sepherosa Ziehau' <sephe@freebsd.org>; smokehydration@tutanota.com > Cc: freebsd-current@freebsd.org > Subject: RE: Revision 297176 - hyperv/evttimer: Use an independent message > slot so that it can work > > Hi smokehydration, > I guess your VM config file has something like "viridian = 1" or > "viridian_enlightenment=xxx". > > With this, Xen tries to pretend to be Hyper-V, but obviously Xen can't be 100% > Hyper-V. > BTW, I know at least KVM can have the same behavior. > > We have to find a reliable way to distinguish Hyper-V from other hypervisors > that > try to pretend to be Hyper-V... > > Thanks, > -- Dexuan > > > > -----Original Message----- > > From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd- > > current@freebsd.org] On Behalf Of Sepherosa Ziehau > > Sent: Friday, April 8, 2016 17:29 > > To: smokehydration@tutanota.com > > Cc: freebsd-current@freebsd.org > > Subject: Re: Revision 297176 - hyperv/evttimer: Use an independent message > > slot so that it can work > > > > I have reverted this change. It will be brought back, after some code > > refactoring. > > > > On Fri, Apr 8, 2016 at 4:22 PM, <smokehydration@tutanota.com> wrote: > > > > > > Hello > > > > > > I recently update one of my many vms from an older CURRENT revision > > r297196 > > > to r297659 and on reboot it just panics with the following: > > > > > > FreeBSD clang version 3.8.0 (tags/RELEHSE_380/final 262564) (based on > LLVM > > > 3.8.0 > > > ) > > > VT(vga): text 80x25 > > > Timecounter "Hyper-V" frequency 10000000 Hz quality 10000000 > > > Kernel trap 9 with interrupts disabled > > > > > > > > > Fatal trap 9: general protection fault while in kernel mode > > > cpuid = 0: apic id = 00 > > > instruction pointer = 0x20:0xffffffff8100d6?9 > > > stack pointer = 0x28:oxffffffff820d5c30 > > > frame pointer = 0x28:oxffffffff820d5c40 > > > code segment = base 0x0, limit 0xfffff, type 0x1b > > > = DPL 0, pres 1, long 1, def32 0, gran 1 > > > processor eflags = IOPL = 0 > > > current process = 0 () > > > [ thread pid 0 tid 0 ] > > > stopped at hv_get_timecount+0x9: rdmsr > > > db) wh > > > Tracing pid 0 tid 0 td 0xffffffff81d0eff0 > > > hv_get_timecount() at hv_get_timecount+0x9/frame 0xffffffff820d5c40 > > > tc_init() at tc_init+0x251/frame 0xffffffff820d5c90 > > > mi_startup() at mi_startup+0x118/frame 0xffffffff820d5cb0 > > > btext() at btext+ox2c = > > > db> > > > > > > I changed hv_hv.c back to the previous revision (297176) and no panics under > > > Xen VM. > > > > > > Thanks! > > > > > > p.s. not sure why Xen gets detected as HyperV > > > > > > > > > > > -- > > Tomorrow Will Never Die > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2flists.freebs > > d.org%2fmailman%2flistinfo%2ffreebsd- > > > current&data=01%7c01%7cdecui%40microsoft.com%7c3a2924929b7b4158aa4f > > > 08d35f9043e2%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=omVqiBrK > > 9sWAd10koNsZkG72nSoXnjFdXKUsXhGFK6k%3d > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLUPR03MB1410FF10B03A932EA0E6E47ABF950>
