lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 5 May 2022 13:02:12 +0500
From:   Mikhail Gavrilov <mikhail.v.gavrilov@...il.com>
To:     Keith Busch <kbusch@...nel.org>
Cc:     linux@...mhuis.info,
        Linux List Kernel Mailing <linux-kernel@...r.kernel.org>,
        linux-nvme@...ts.infradead.org, luto@...nel.org
Subject: Re: [BUG][5.18rc5] nvme nvme0: controller is down; will reset:
 CSTS=0xffffffff, PCI_STATUS=0x10

On Thu, May 5, 2022 at 10:19 AM Keith Busch <kbusch@...nel.org> wrote:
> I think you did misinterpret the results. The max latency just says which power
> state is the deepest it will request APST, and your controller's reported
> values will allow the deepest low power state your controller supports, which
> is known to cause problems with some platform/controller combinations.
>
> The troubleshooting steps for your observation is to:
>
>   1. Turn off APST (nvme_core.default_ps_max_latency_us=0)
>   2. Turn off APSM (pcie_aspm=off)
>   3. Turn off both
>
> Typically one of those resolves the issue.

Thanks.
To make it easier for everyone to diagnose such problems, it would be
great if every switching between power save modes would be written to
the kernel log (when console_loglevel is KERN_DEBUG)
If APST is culprit, we would have seen the change in the power state
in the kernel logs before the message "nvme nvme0: controller is
down;".

-- 
Best Regards,
Mike Gavrilov.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ