Page MenuHomeFreeBSD

fix the installation failure of FreeBSD on Hyper-V GEN2
ClosedPublic

Authored by honzhan_microsoft.com on Jul 18 2017, 2:55 AM.
Tags
None
Referenced Files
F83729385: D11634.id.diff
Tue, May 14, 2:55 AM
Unknown Object (File)
Sat, May 11, 12:33 PM
Unknown Object (File)
Fri, May 10, 6:34 PM
Unknown Object (File)
Fri, May 10, 12:27 PM
Unknown Object (File)
Fri, May 10, 12:25 PM
Unknown Object (File)
Fri, May 10, 6:50 AM
Unknown Object (File)
Thu, Apr 25, 12:36 AM
Unknown Object (File)
Tue, Apr 23, 2:23 PM
Subscribers
None

Details

Summary

Fail to install FreeBSD 11.1 beta or 12-current on Hyper-V GEN2 mode, because the CD/DVD device was detached.

This issue occurs if CD/DVD was attached on 2nd SCSI controller or if there is no HDD attached before the CD/DVD slot.
The root cause is Hyper-V CD/DVD simulation set a unknown version number (0) for INQUIRY cmd.
The fix here manually sets the version number to SPC-3 in order to let SCSI CAM continue to probe the device with "REPORTLUN" commands.

See the bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220790

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 10542
Build 10949: arc lint + arc unit