Bug 218248 - [Hyper-V]The OS disk of Gen2 VM was detached if an CD/DVD was attached
Summary: [Hyper-V]The OS disk of Gen2 VM was detached if an CD/DVD was attached
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-virtualization (Nobody)
Keywords: patch
Depends on:
Reported: 2017-03-31 05:23 UTC by Hongjiang
Modified: 2017-04-07 09:21 UTC (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Hongjiang 2017-03-31 05:23:42 UTC
If you want to install FreeBSD on Hyper-V for generation 2 VM, you will fail to boot because CD/DVD device does not work.

The root cause is FreeBSD storvsc driver does not handle a status flag propertly, as a result, the /dev/da0 or /dev/cd0 was detached finally.
Comment 1 Hongjiang 2017-03-31 05:26:18 UTC
See the fix https://reviews.freebsd.org/D10212
Comment 2 Hongjiang 2017-04-06 05:13:31 UTC
It was fixed on head r316519.
Comment 3 Rodney W. Grimes freebsd_committer 2017-04-06 20:11:31 UTC
Normally wait tell the MFC is done and then the bug should close for you if the proper PR was refered to in the commits.  I think this bug was held open waiting for your 3 day MFC timeout.

Comment 4 Hongjiang 2017-04-07 09:21:38 UTC
Reopen it until 3 days after MFC.