Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2020 17:40:16 +0300
From:      Yuri Pankov <yuripv@yuripv.dev>
To:        Andriy Gapon <avg@FreeBSD.org>, current@freebsd.org
Subject:   Re: installation on pvscsi fails with "The request was too large for this host"
Message-ID:  <e7372eda-4b23-e4e1-c912-584d63b75888@yuripv.dev>
In-Reply-To: <bca69f61-f7a6-2817-c7cd-13b248496d37@FreeBSD.org>
References:  <fc910f87-ba02-9e20-213e-40828da72670@yuripv.dev> <bca69f61-f7a6-2817-c7cd-13b248496d37@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e7372eda-4b23-e4e1-c912-584d63b75888>