From owner-freebsd-current@freebsd.org Thu Dec 17 09:20:10 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7C2F04B14CA for ; Thu, 17 Dec 2020 09:20:10 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CxRKk2J1dz57WY for ; Thu, 17 Dec 2020 09:20:10 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 4D1AD4B15E6; Thu, 17 Dec 2020 09:20:10 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4CE024B107A for ; Thu, 17 Dec 2020 09:20:10 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CxRKk1Z0jz57k7 for ; Thu, 17 Dec 2020 09:20:10 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lf1-f53.google.com with SMTP id o13so32385576lfr.3 for ; Thu, 17 Dec 2020 01:20:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=OxhnT68HcF8N91sMzYGmhdXHSa3BhlN3DdWRA/DWSxI=; b=AAHUtELrmquAkLJKNt5zpmBhPjF0hYS3LtrnrFEjrXt8VEmPjaYO9z50fzfE4fTq1n IXS1D7R0oW6kpeAoBBijyU3WMZ4sTFb7HADfCz7Eh3LDai/8hfnyjur08HSJQXss3dOp TQZDV0FBT4Af3Ij7wcrJI6EWAEpzr7F+gju7uNoMtVq3uyvDXBg+mABTbloeKBum6Qtr vp1oky1NgYZlkQ2jQ+o/5OBN/hoeKlcsxQsEwXIUhyPch18x41VSJmiRpWta7dJCIe0Q T/tO1BGYd0KSd8MYTXVnC38tJuOJIwlVv3LHCTJiv8MP5Uep4bSb6zETpnFC+4DCNAsU mVAg== X-Gm-Message-State: AOAM530o3NS3e1+009oyfN/kG7y+BB0CY5uKc/s0SjsosBigS14Rgj6q QOmV5ZXWCMFYhy57vkR2ODXqBXFmo7hfSg== X-Google-Smtp-Source: ABdhPJxH6s6Xf3Kv1DzndikStGS9ey8HZr60DWYsPfreHK7o8R4tJGioQ0tHtuz3aUS3hPSIFyWIVw== X-Received: by 2002:a19:4292:: with SMTP id p140mr13830374lfa.606.1608196808165; Thu, 17 Dec 2020 01:20:08 -0800 (PST) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id 6sm599311ljq.69.2020.12.17.01.20.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Dec 2020 01:20:07 -0800 (PST) Subject: Re: installation on pvscsi fails with "The request was too large for this host" To: Yuri Pankov , current@freebsd.org References: From: Andriy Gapon Message-ID: Date: Thu, 17 Dec 2020 11:20:05 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4CxRKk1Z0jz57k7 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2020 09:20:10 -0000 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