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

From: Yuri Pankov <yuripv_at_yuripv.dev>
Date: Thu, 17 Dec 2020 17:40:16 +0300
Andriy Gapon wrote:
> 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).

Yes, it looks like reverting MAXPHYS back to 128K made the problem 
disappear, successfully installed VM from resulting cdrom image.
Received on Thu Dec 17 2020 - 13:40:22 UTC

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