[Bug 230722] [nvme][resume] Delay and possible deadlock after resume

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 17 23:50:41 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230722

            Bug ID: 230722
           Summary: [nvme][resume] Delay and possible deadlock after
                    resume
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: gonzo at FreeBSD.org
                CC: imp at FreeBSD.org, jimharris at FreeBSD.org

When resuming from S3 sleep any disk activity stops for around 30 seconds and
kernel prints a bunch of error messages from NVME. Eventually, the system
resumes normal operations. I also saw this scenario resulting in deadlock
although can't reproduce it reliably anymore.

Error messages printed by the kernel:
nvme0: Resetting controller due to a timeout.
nvme0: resetting controller
nvme0: aborting outstanding i/o
nvme0: READ sqid:1 cid:111 nsid:1 lba:98381272 len:8
nvme0: ABORTED - BY REQUEST (00/07) sqid:1 cid:111 cdw0:0
nvme0: aborting outstanding i/o
nvme0: READ sqid:1 cid:124 nsid:1 lba:626180072 len:8
nvme0: ABORTED - BY REQUEST (00/07) sqid:1 cid:124 cdw0:0
nvme0: aborting outstanding i/o
nvme0: READ sqid:2 cid:121 nsid:1 lba:617174512 len:40
nvme0: ABORTED - BY REQUEST (00/07) sqid:2 cid:121 cdw0:0
nvme0: aborting outstanding i/o
nvme0: DATASET MANAGEMENT sqid:4 cid:94 nsid:1
nvme0: ABORTED - BY REQUEST (00/07) sqid:4 cid:94 cdw0:0
nvme0: aborting outstanding i/o
nvme0: WRITE sqid:4 cid:93 nsid:1 lba:46557808 len:16
nvme0: ABORTED - BY REQUEST (00/07) sqid:4 cid:93 cdw0:0
nvme0: Missing interrupt

Controller information:

Controller Capabilities/Features
================================
Vendor ID:                   17aa
Subsystem Vendor ID:         17aa
Serial Number:               1150592304774
Model Number:                LENSE20512GMSP34MEAT2TA
Firmware Version:            1.9.8341
Recommended Arb Burst:       2
IEEE OUI Identifier:         99 32 a0
Multi-Path I/O Capabilities: Not Supported
Max Data Transfer Size:      131072
Controller ID:               0x01
Version:                     0.0.0

Admin Command Set Attributes
============================
Security Send/Receive:       Supported
Format NVM:                  Supported
Firmware Activate/Download:  Supported
Namespace Managment:         Not Supported
Device Self-test:            Not Supported
Directives:                  Not Supported
NVMe-MI Send/Receive:        Not Supported
Virtualization Management:   Not Supported
Doorbell Buffer Config       Not Supported
Abort Command Limit:         4
Async Event Request Limit:   4
Number of Firmware Slots:    1
Firmware Slot 1 Read-Only:   No
Per-Namespace SMART Log:     No
Error Log Page Entries:      4
Number of Power States:      5

NVM Command Set Attributes
==========================
Submission Queue Entry Size
  Max:                       64
  Min:                       64
Completion Queue Entry Size
  Max:                       16
  Min:                       16
Number of Namespaces:        1
Compare Command:             Not Supported
Write Uncorrectable Command: Supported
Dataset Management Command:  Supported
Write Zeroes Command:        Not Supported
Save Features:               Supported
Reservations:                Not Supported
Timestamp feature:           Not Supported
Fused Operation Support:     Not Supported
Format NVM Attributes:       Crypto Erase, Per-NS Erase, Per-NS Format
Volatile Write Cache:        Present

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list