From owner-freebsd-bugs@freebsd.org Sun Dec 3 22:03:27 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1449CE69CE6 for ; Sun, 3 Dec 2017 22:03:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0269A6BA01 for ; Sun, 3 Dec 2017 22:03:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB3M3Qeg033431 for ; Sun, 3 Dec 2017 22:03:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 224064] [nvme][hang][resume] nvme_ctrlr_wait_for_ready called with desired_val = 0 but cc.en =1 Date: Sun, 03 Dec 2017 22:03:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dch@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2017 22:03:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224064 Bug ID: 224064 Summary: [nvme][hang][resume] nvme_ctrlr_wait_for_ready called with desired_val =3D 0 but cc.en =3D1 Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: dch@freebsd.org Created attachment 188501 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D188501&action= =3Dedit nvme info on resuming from suspend the system stalls on any disk i/o, after console shows: freebsd nvme_ctrlr_wait_for_ready called with desired_val =3D 0 but cc.en = =3D 1 - issue occurs frequently but not 100%, some resumes work fine - easily reproducible - X is running, as are any open terminals, until disk is required system is a dell xps13 laptop with a TOSHIBA NVMe. https://wiki.freebsd.org/Laptops/Dell_XPS13_9360 for full specs & dmesg/devinfo/diskinfo etc. https://s3.amazonaws.com/uploads.hipchat.com/8784/2508819/N0PyBJEhSHX3jKu/I= MG_2693.JPG https://s3.amazonaws.com/uploads.hipchat.com/8784/2508819/eLtZ9caTMR7B6eb/I= MG_2677.JPG # dmesg nvme0: mem 0xdc000000-0xdc003fff at device 0.0 on pci4 nvd0: NVMe namespace nvd0: 488386MB (1000215216 512 byte sectors) # nvmcontrol info nvme0: THNSN5512GPUK NVMe TOSHIBA 512GB nvme0ns1 (488386MB) Controller Capabilities/Features =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D Vendor ID: 1179 Subsystem Vendor ID: 1179 Serial Number: 376B508IKSJU Model Number: THNSN5512GPUK NVMe TOSHIBA 512GB Firmware Version: 5KDA4103 Recommended Arb Burst: 1 IEEE OUI Identifier: 0d 08 00 Multi-Interface Cap: 00 Max Data Transfer Size: Unlimited Controller ID: 0x00 Admin Command Set Attributes =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Security Send/Receive: Supported Format NVM: Supported Firmware Activate/Download: Supported Namespace Managment: 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: 128 Number of Power States: 5 NVM Command Set Attributes =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D 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 Volatile Write Cache: Present Size (in LBAs): 1000215216 (953M) Capacity (in LBAs): 1000215216 (953M) Utilization (in LBAs): 1000215216 (953M) Thin Provisioning: Not Supported Number of LBA Formats: 2 Current LBA Format: LBA Format #00 LBA Format #00: Data Size: 512 Metadata Size: 0 LBA Format #01: Data Size: 4096 Metadata Size: 0 --=20 You are receiving this mail because: You are the assignee for the bug.=