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
F105970350: D11634.diff
Mon, Dec 23, 6:52 AM
Unknown Object (File)
Sat, Nov 30, 2:01 PM
Unknown Object (File)
Sat, Nov 30, 3:14 AM
Unknown Object (File)
Oct 19 2024, 1:12 PM
Unknown Object (File)
Sep 24 2024, 7:54 AM
Unknown Object (File)
Sep 17 2024, 11:34 PM
Unknown Object (File)
Sep 7 2024, 4:20 AM
Unknown Object (File)
Sep 4 2024, 11:06 AM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable