Thread (2 messages) 2 messages, 2 authors, 2021-12-23

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

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2021-12-23 05:09:16
Also in: linux-scsi

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help