Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1052590pxb; Wed, 6 Apr 2022 07:37:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxi7sZnC9MBINe29rdCCXtHsWUA8byAurnPCwygeepcOpSPGsGUB8+1NBdVX0MOAI+bj/j4 X-Received: by 2002:a17:90b:33d0:b0:1ca:ba71:88ed with SMTP id lk16-20020a17090b33d000b001caba7188edmr10265466pjb.229.1649255820490; Wed, 06 Apr 2022 07:37:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649255820; cv=none; d=google.com; s=arc-20160816; b=smRkA9by37roTxuiU3WxJhtR0c5TGRFHte06CRfFnUiluLfwEFyqq7v/xNHtPMkbNV isCbqRztdvsVRFbjUvXd3Hwfrz+2LLbVKBNsE1U3+mjJPqNq7kWo/VWpxALvKk7a8Zxj LBomU/vB8do8Ab7zo1hMTM3t/CulojDkVOp9TAZeqiJXyuUrOByLrGF9TsTSHukDgt+U n0E/2h736RwvO3XMMf10Ah9040gYtDDsjl0pRuhyVhnx9phNpz9KisBmtyuv5WN3E87B FYM907+wvXEN9UjvCmRGQU4rJc0vMhsAUXGo5oKF3VWCrJCqQjH6uHIA8+7nEEcR4Ro2 Nz4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dtTvKsnbPiz/iEPRO7T9fc0dbhR7Qpouw7hAuHZcwWA=; b=isgsfKun9+fcz5O4/Lv+Cun7AVPmOUXMVBtz4bQMjCMOrMlzu3ZEteI9Uv82u9kSDW CmcbQEUIGc/DxpV5BNyfr63aWNAZlw6fjxjKNLUDM4Nq3uygkyL1HztRJ8mBgCtVgkxW OouW9d28Hqt/dfPr5RmXl7XmGIEma9YZ5ObS7M3KSddwineW+ftOcE4M0i5ZdmvLbwvC UQcsNeFIQzSvDbpN6hHJf/E6jk1PYwMGc7lwvkcS9/ZZfAm9Mfiaaybyy2rQrQHsi0Go zcskkXqX+yfc4A4J67vejGShq0CPRqOfpfs5V73wtKo7WpKxtPDTosBUUTA4oMcs82hA kq0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b="oK7/f0ji"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n9-20020a17090a928900b001caa86392easi4702110pjo.70.2022.04.06.07.36.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 07:37:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b="oK7/f0ji"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4852C588379; Wed, 6 Apr 2022 05:32:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1847246AbiDFCQy (ORCPT + 99 others); Tue, 5 Apr 2022 22:16:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344408AbiDEUV3 (ORCPT ); Tue, 5 Apr 2022 16:21:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E64A56C975 for ; Tue, 5 Apr 2022 13:00:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 972ACB81D6E for ; Tue, 5 Apr 2022 20:00:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A431CC385A0; Tue, 5 Apr 2022 20:00:48 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="oK7/f0ji" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1649188847; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dtTvKsnbPiz/iEPRO7T9fc0dbhR7Qpouw7hAuHZcwWA=; b=oK7/f0jibQ+nQO++4aLYVnNDKBEGWa/7cfSL8349HqQ75s9Lb0fNVeWui1udeUit4C4PbC D+1sD99Lc4S0twNy++TKh9i2IaN3In/mV/nHIm1GioaAQBAk8ikA4pTdIvfRsxDUoWz6jm vSuPxMXuQuW4ive1duqSisC4LPADm8Q= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 76c4e30d (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 5 Apr 2022 20:00:46 +0000 (UTC) Date: Tue, 5 Apr 2022 22:00:37 +0200 From: "Jason A. Donenfeld" To: Yi Zhang , alan.adamson@oracle.com Cc: "open list:NVM EXPRESS DRIVER" , Sagi Grimberg , alan.adamson@oracle.com, linux-kernel@vger.kernel.org Subject: Re: [bug report]nvme0: Admin Cmd(0x6), I/O Error (sct 0x0 / sc 0x2) MORE DNR observed during blktests Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alan, I too am seeing this. Tracking it down to the same commit, I decided to enable NVME_VERBOSE_ERRORS to get some more information. Now on boot and everytime I wake up from sleep, I see: [ 89.098578] nvme nvme0: Shutdown timeout set to 8 seconds [ 89.098683] nvme0: Identify(0x6), Invalid Field in Command (sct 0x0 / sc 0x2) MORE [ 89.119363] nvme nvme0: 16/0/0 default/read/poll queues With that middle line in red. Question is: is this actually an error? If not, maybe it shouldn't be printed as a KERN_ERR. And if it's printed as a KERN_INFO, maybe it should only do so when CONFIG_NVME_VERBOSE_ERRORS=y? Or do you think there is actually some other diagnostic value in having this print always? Using a Samsung SSD 970 EVO Plus 2TB, firmware version 2B2QEXM7, in case that's useful info. I also noticed a ~2 second boot delay on 5.18-rc1: [ 0.917631] pstore: Using crash dump compression: deflate [ 0.917807] Key type encrypted registered [ 0.951840] ACPI: battery: Slot [BAT0] (battery present) [ 3.146765] nvme nvme0: Shutdown timeout set to 8 seconds [ 3.146918] nvme0: Identify(0x6), Invalid Field in Command (sct 0x0 / sc 0x2) MORE [ 3.188852] nvme nvme0: 16/0/0 default/read/poll queues [ 3.198163] nvme0n1: p1 p2 [ 3.199554] Freeing unused kernel image (initmem) memory: 12952K I haven't looked into it much, but I assume it's also NVMe related? Or maybe the vconsole is just initializing faster so I see text where before I didn't. Not sure. Regards, Jason