Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2016 05:39:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-virtualization@FreeBSD.org
Subject:   [Bug 212721] FreeBSD 11.0-RC3 fails on Hyper-V 2012r2
Message-ID:  <bug-212721-27103-3Q31cdcmV4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212721-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212721-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212721

--- Comment #37 from Dexuan Cui <decui@microsoft.com> ---
(In reply to Terrence Koeman from comment #35)
(In reply to Terrence Koeman from comment #36)

Hi Terrence, are you using the latest stable/10 branch?
The patch context in stable/10 and the HEAD branch should be the same.

If it can't apply it cleanly to stable/10 somehow, you may try manually
updating the code by replacing the line in stable/10

ccb->ccb_h.status |=3D CAM_SEL_TIMEOUT;

with the related new block of code

if (storvsc_get_storage_type(sc->hs_dev) =3D=3D DRIVER_STORVSC)
        ccb->ccb_h.status |=3D CAM_SEL_TIMEOUT;
else
        ccb->ccb_h.status |=3D CAM_DEV_NOT_THERE;
.

In stable/10, we also need to replace the
sc->hs_dev
with
sc->hs_dev->device.

Hope this can fix the compiling issue.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212721-27103-3Q31cdcmV4>