Re: [PATCH] scsi: vmw_pvscsi: Set residual data length conditionally

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 20 Dec 2021 11:05:14 -0800, Alexey Makhalov wrote:

> PVSCSI implementation in VMware hypervisor under specific configuration
> ("SCSI Bus Sharing" set to "Physical") returns zero dataLen in completion
> descriptor for read_capacity_16. As a result, the kernel can not detect proper
> disk geometry. It can be recognized by the kernel message:
> [    0.776588] sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
> 
> PVSCSI implementation in QEMU does not set dataLen at all keeping it zeroed,
> leading to the boot hang, as was reported by Shmulik Ladkani.
> 
> [...]

Applied to 5.16/scsi-fixes, thanks!

[1/1] scsi: vmw_pvscsi: Set residual data length conditionally
      https://git.kernel.org/mkp/scsi/c/142c779d05d1

-- 
Martin K. Petersen	Oracle Linux Engineering



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux