Re: installation on pvscsi fails with "The request was too large for this host"

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Thu, 17 Dec 2020 11:20:05 +0200
On 17/12/2020 07:02, Yuri Pankov wrote:
> Trying to install latest snapshot (20201210) on a VMware ESXi/Workstation VMs
> with pvscsi fails on bootloader step, and the following is in dmesg:
> 
> pvscsi0: pvscsi_execute_ccb error 27
> pvscsi0: pvscsi_execute_ccb error 27
> (da0:pvscsi0:0:0:0): WRITE(10). CDB: 2a 00 00 00 00 28 00 04 00
> (da0:pvscsi0:0:0:0): CAM status: The request was too large for this host
> (da0:pvscsi0:0:0:0): Error 22, Unretryable error
> (da0:pvscsi0:0:0:0): WRITE(10). CDB: 2a 00 00 00 00 28 00 04 00
> (da0:pvscsi0:0:0:0): CAM status: The request was too large for this host
> (da0:pvscsi0:0:0:0): Error 22, Unretryable error
> 
> That is the first I'm trying installing on pvscsi since it was integrated, so no
> idea if it worked previously.  If yes, I have not tried to bisect this yet
> hoping that it could be identified as related to any of the recent changes.
> 
> The VMs in question are set with 8-64 GB RAM, and 100 GB boot disks.

Not an expert in this areas, but that command tried to transfer 0x400 / 1024
blocks, which is 512KB of data.
Could it be that the problem is revealed by the MAXPHYS increase?
There might be a bug in pvscsi where it does not respect or correctly advertise
some limit.  There could be a similar issue with VMware itself (its emulation of
a disk / target).


-- 
Andriy Gapon
Received on Thu Dec 17 2020 - 08:20:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC