Page MenuHomeFreeBSD

fix the installation failure of FreeBSD on Hyper-V GEN2

Authored by on Jul 18 2017, 2:55 AM.



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

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Jul 18 2017, 3:05 AM
This revision was automatically updated to reflect the committed changes.