From nobody Wed May 25 16:19:04 2022 X-Original-To: freebsd-current@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 A316C1B4D7C2 for ; Wed, 25 May 2022 16:19:24 +0000 (UTC) (envelope-from ctuffli@gmail.com) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L7bqb4LBQz4j6F; Wed, 25 May 2022 16:19:23 +0000 (UTC) (envelope-from ctuffli@gmail.com) Received: by mail-ej1-f42.google.com with SMTP id i27so42656028ejd.9; Wed, 25 May 2022 09:19:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KqGxGtbIfTLfUJIb1cLdfLbsrAcp61hrK0fc4yI7aK8=; b=HLHTB+v9P09BJ241rW0LP6mKEXTFxGgcNwQ1on/njnTMETnAhEeIJlvYa1W/qXxDSr 5Pkef4L8Jsohy8vUNbKqcl7BLhi0mEHMVwB8CdcD7zZmYsB/kAHhZa0Rj3MDAJiV5n4D Rn4xUsZOutcOBMGOZnJ1VrZP+RrkVG0usP9EtaB2t3Mypb1300EQxeinijIe9jBTMDUO EW72mmjtTjILdKuW0xdPTLKjwGsnWRiS8lJv6n3zDw0vWZ2IU8lYTEp3kYHwegHh4kLf 9KoLQdE2CipFusLHLWQetmLfGmNksvPVbAdujXKsglZtmvmmi9xAEDddJvURHpZg3zOP ajQg== X-Gm-Message-State: AOAM531T4iU7IhEYBCl2DkPah1WC2fMwBMg158hx5R8N96cxxri6clAu ymA+H/ZnuljcVmySYugzDPpPYyuQ9GfrzA== X-Google-Smtp-Source: ABdhPJz6ifABtfh4Cd3IXpduP+8Q+Dj3IFfeFl6aCGfcP5D2Le+qZj8ziUr/MpCcMmpF+bE3cmSuPQ== X-Received: by 2002:a17:907:7b9b:b0:6fe:dedf:6414 with SMTP id ne27-20020a1709077b9b00b006fededf6414mr14928019ejc.88.1653495556024; Wed, 25 May 2022 09:19:16 -0700 (PDT) Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com. [209.85.218.45]) by smtp.gmail.com with ESMTPSA id w9-20020aa7d289000000b0042ae2d4e2f2sm10836082edq.86.2022.05.25.09.19.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 May 2022 09:19:15 -0700 (PDT) Received: by mail-ej1-f45.google.com with SMTP id rq11so20576675ejc.4; Wed, 25 May 2022 09:19:15 -0700 (PDT) X-Received: by 2002:a17:906:58c5:b0:6fe:fa12:1da9 with SMTP id e5-20020a17090658c500b006fefa121da9mr11613111ejs.148.1653495555489; Wed, 25 May 2022 09:19:15 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20220525122529.t2kwfg2q65dfiyyt@host-ubertino-mac-88e9fe7361f5.eduroam.ssid.10net.amherst.edu> In-Reply-To: From: Chuck Tuffli Date: Wed, 25 May 2022 09:19:04 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: nvme INVALID_FIELD in dmesg.boot To: Alexander Motin Cc: Matteo Riondato , FreeBSD-Current , Jim Harris Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4L7bqb4LBQz4j6F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ctuffli@gmail.com designates 209.85.218.42 as permitted sender) smtp.mailfrom=ctuffli@gmail.com X-Spamd-Result: default: False [-2.97 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RWL_MAILSPIKE_GOOD(0.00)[209.85.218.42:from]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.968]; RCVD_IN_DNSWL_NONE(0.00)[209.85.218.45:received,209.85.218.42:from]; MLMMJ_DEST(0.00)[freebsd-current]; FORGED_SENDER(0.30)[chuck@freebsd.org,ctuffli@gmail.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[chuck@freebsd.org,ctuffli@gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com] X-ThisMailContainsUnwantedMimeParts: N On Wed, May 25, 2022 at 6:59 AM Alexander Motin wrote: ... > > nvme0: SET FEATURES (09) sqid:0 cid:15 nsid:0 cdw10:0000000b cdw11:0000031f > > nvme0: INVALID_FIELD (00/02) sqid:0 cid:15 cdw0:0 ... > Those messages mean that driver tried to enable certain types of > asynchronous events, but probably the hardware does not support some of Du-oh! I read the 'b' in 0000000b as 'binary'. Alexander and Warner are correct that this is from setting an AEN, and I was wrong about CDW10 causing the error. FWIW, "CDW" in NVMe-land is shorthand for Command DWord as NVMe commands are composed of 32-bit fields (ancient Intel/Microsoft "double words").