From nobody Tue Feb 08 23:47:46 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D99F319AFC06 for ; Tue, 8 Feb 2022 23:47:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jtfnt44Wcz4RBM for ; Tue, 8 Feb 2022 23:47:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5D39122C74 for ; Tue, 8 Feb 2022 23:47:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 218Nlkol030607 for ; Tue, 8 Feb 2022 23:47:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 218NlkiU030606 for bugs@FreeBSD.org; Tue, 8 Feb 2022 23:47:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261291] ESX NFS4.1 client hangs, server never responds to EXCHANGE_ID/CREATE_SESSION Date: Tue, 08 Feb 2022 23:47:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644364066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HRDrd+4NuERccF3N/U14hX6ZSST23efSgpEEsjM5a3A=; b=SGXVfnULML63KY3HNk/96ywaF9sgqdAtUq4pfwoqNwBfRjblMt2rbg2zdC+kwdU4U+T1BY Qyf+02X/iquPF0c6qDIFuiqJfEIljJB/VEVHZnf2qM9mYPqisFiqEuHuV+ZQ6+rEQXUw2w qR3uQjCGUv+xTPegOd85+Rxy7cVn/Y4K9HGz7VJvbl1i4+v25gbs258hxkH8i3ezhE5esB 41L0aAgNBA/aYisg8AmbeGgjmYegqcPfaBeSH2tNMjV8jzKySlN2fBhDMec9p20FLZjcmO nJjsI0vz49b7Zh5WiiFHscAMmdVzU8BIJm9gIwNySolIvolZBHu9PNZjC3cqGA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644364066; a=rsa-sha256; cv=none; b=gdIHMs0UOADMnspLvjJZmXMQR45Oq0e4/0C64nAtEMIUuQSSaElL2/R9dwC//wNMP/xBRc r6fRkGt37qRIHRBio09N6wRH79WpzmPhycoGPJ+tQPljMOzOZwPIWcvVP5o9C571JHoSlz x/+UiZfWQ5yaUbBROn980+ac8MW5OqJPZ7PZEoRHbQxqCrBGUwR48Gn/WimuB7I3cdQk7D wL+ygruEn6e/ZA69OEpZStaWB+4NBxhxsvTh9PeCde7Imfb2Xasan64/RYtWcRzh7WEjlM CFl+c1LvCgFeKCntxoCxUNbY+AHcEv/UAx27vYcKVkxgLWQlRvCQGn0VFZq3aw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261291 --- Comment #15 from Rick Macklem --- Well, deciding what the correct error is can be fun. Here's the definition of NFS4ERR_SEQ_MISORDERED in RFC5661: 15.1.11.8. NFS4ERR_SEQ_MISORDERED (Error Code 10063) The requester sent a Sequence operation with an invalid sequence ID. It seems to indicate the error is specifically for the Sequence operation. But, it does appear that you are correct, since in the implementation of CREATE_SESSION, it talks about a single slot session just for EXCHANGE_ID/CREATE_SESSION and returning NFS4ERR_SEQ_MISORDERED when it is not correct. I'll come up with a patch for this and attach it to this PR, but I doubt it will fix this problem. nfsrevoke causes the sever to reply NFS4ERR_ADMIN_REVOKED when the client ID is referenced by the client. This probably causes the client to throw away its notion of the client ID and then I suspect it gets the seqid in CREATE_SESSION correct. (Looking at the packet trace for this case could be interesting.;-) --=20 You are receiving this mail because: You are the assignee for the bug.=