Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1594817
| From | "Martin K. Petersen" <martin.petersen@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] storvsc: workaround for virtual DVD SCSI version |
| Date | 2017-03-08 04:10 +0100 |
| Message-ID | <tiA9c-le-15@gated-at.bofh.it> (permalink) |
| References | <tirpg-2s0-33@gated-at.bofh.it> |
| Organization | Oracle Corporation |
>>>>> "Stephen" == Stephen Hemminger <stephen@networkplumber.org> writes: Stephen, Stephen> Hyper-V host emulation of SCSI for virtual DVD device reports Stephen> SCSI version 0 (UNKNOWN) but is still capable of supporting Stephen> REPORTLUN. Stephen> Without this patch, a GEN2 Linux guest on Hyper-V will not boot Stephen> 4.11 successfully with virtual DVD ROM device. What happens is Stephen> that the SCSI scan process falls back to doing sequential Stephen> probing by INQUIRY. But the storvsc driver has a previous Stephen> workaround that masks/blocks all errors reports from INQUIRY Stephen> (or MODE_SENSE) commands. This workaround causes the scan to Stephen> then populate a full set of bogus LUN's on the target and then Stephen> sends kernel spinning off into a death spiral doing block reads Stephen> on the non-existent LUNs. Stephen> By setting the correct blacklist flags, the target with the DVD Stephen> device is scanned with REPORTLUN and that works correctly. Applied to 4.11/scsi-fixes. Thank you! -- Martin K. Petersen Oracle Linux Engineering
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] storvsc: workaround for virtual DVD SCSI version Stephen Hemminger <stephen@networkplumber.org> - 2017-03-07 18:50 +0100 RE: [PATCH] storvsc: workaround for virtual DVD SCSI version KY Srinivasan <kys@microsoft.com> - 2017-03-07 19:00 +0100 Re: [PATCH] storvsc: workaround for virtual DVD SCSI version Christoph Hellwig <hch@lst.de> - 2017-03-08 01:00 +0100 Re: [PATCH] storvsc: workaround for virtual DVD SCSI version "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-03-08 04:10 +0100 Re: [PATCH] storvsc: workaround for virtual DVD SCSI version Hannes Reinecke <hare@suse.de> - 2017-03-08 11:40 +0100
csiph-web