Public bug reported:

This bug is a follow on from a previously fixed bug.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678184

The nature of this bug is identical to the previously reported bug, however it 
also affects 256GB drives as well.
The wording at the start is a bit confusing, as it states that the 256GB drive 
already has a quirk added. Following the trail back a little, however, shows 
that a fix for high power drain was introduced, which then caused the NVMe 
controller lockups and system hangs.

I am running Ubuntu 16.04 with HWE kernel [4.8.x, yakkety] on a Dell XPS15 9550 
with a Samsung 256GB NVMe SSD.
This bug commenced with the kernel linux (4.8.0-47.50) yakkety, with the 
specific change found at 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1664602

**


Here is my output of nvme-cli

**
nvme list

Node SN Model Version Namespace Usage Format FW Rev
---------------- -------------------- ---------------------------------------- 
-------- --------- -------------------------- ---------------- --------
/dev/nvme0n1 S29NNXAGC38399 PM951 NVMe SAMSUNG 256GB 1.1 1 201.30 GB / 256.06 
GB 512 B + 0 B BXV77D0Q

nvme id-ctrl /dev/nvme0n1

NVME Identify Controller:
vid : 0x144d
ssvid : 0x144d
sn : S29NNXAGC38399
mn : PM951 NVMe SAMSUNG 256GB
fr : BXV77D0Q
rab : 2
ieee : 002538
cmic : 0
mdts : 5
cntlid : 1
ver : 0
rtd3r : 0
rtd3e : 0
oaes : 0
oacs : 0x17
acl : 7
aerl : 3
frmw : 0x6
lpa : 0
elpe : 63
npss : 4
avscc : 0x1
apsta : 0x1
wctemp : 0
cctemp : 0
mtfa : 0
hmpre : 0
hmmin : 0
tnvmcap : 0
unvmcap : 0
rpmbs : 0
sqes : 0x66
cqes : 0x44
nn : 1
oncs : 0x1f
fuses : 0
fna : 0
vwc : 0x1
awun : 255
awupf : 0
nvscc : 1
acwu : 0
sgls : 0
ps 0 : mp:6.00W operational enlat:5 exlat:5 rrt:0 rrl:0
          rwt:0 rwl:0 idle_power:- active_power:-
ps 1 : mp:4.20W operational enlat:30 exlat:30 rrt:1 rrl:1
          rwt:1 rwl:1 idle_power:- active_power:-
ps 2 : mp:3.10W operational enlat:100 exlat:100 rrt:2 rrl:2
          rwt:2 rwl:2 idle_power:- active_power:-
ps 3 : mp:0.0700W non-operational enlat:500 exlat:5000 rrt:3 rrl:3
          rwt:3 rwl:3 idle_power:- active_power:-
ps 4 : mp:0.0050W non-operational enlat:2000 exlat:22000 rrt:4 rrl:4
          rwt:4 rwl:4 idle_power:- active_power:-

****

Also, as requested:

lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation Sky Lake Host Bridge/DRAM 
Registers [8086:1910] (rev 07)
00:01.0 PCI bridge [0604]: Intel Corporation Sky Lake PCIe Controller (x16) 
[8086:1901] (rev 07)
00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake Integrated 
Graphics [8086:191b] (rev 06)
00:04.0 Signal processing controller [1180]: Intel Corporation Skylake 
Processor Thermal Subsystem [8086:1903] (rev 07)
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI 
Controller [8086:a12f] (rev 31)
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-H 
Thermal subsystem [8086:a131] (rev 31)
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-H 
LPSS I2C Controller #0 [8086:a160] (rev 31)
00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-H 
LPSS I2C Controller #1 [8086:a161] (rev 31)
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME 
HECI #1 [8086:a13a] (rev 31)
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA 
Controller [AHCI mode] [8086:a103] (rev 31)
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root 
Port #1 [8086:a110] (rev f1)
00:1c.1 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root 
Port #2 [8086:a111] (rev f1)
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root 
Port #9 [8086:a118] (rev f1)
00:1d.4 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root 
Port #13 [8086:a11c] (rev f1)
00:1d.6 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root 
Port #15 [8086:a11e] (rev f1)
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller 
[8086:a14e] (rev 31)
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC 
[8086:a121] (rev 31)
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio 
[8086:a170] (rev 31)
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 
31)
01:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 960M] 
[10de:139b] (rev a2)
02:00.0 Network controller [0280]: Broadcom Corporation BCM43602 802.11ac 
Wireless LAN SoC [14e4:43ba] (rev 01)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI 
Express Card Reader [10ec:525a] (rev 01)
04:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe 
SSD Controller [144d:a802] (rev 01)
06:00.0 PCI bridge [0604]: Intel Corporation Device [8086:1576]
07:00.0 PCI bridge [0604]: Intel Corporation Device [8086:1576]
07:01.0 PCI bridge [0604]: Intel Corporation Device [8086:1576]
07:02.0 PCI bridge [0604]: Intel Corporation Device [8086:1576]
3e:00.0 USB controller [0c03]: Intel Corporation Device [8086:15b5]


**

nvme get-feature -f 0x0c -H /dev/nvme0

get-feature:0x0c (Autonomous Power State Transition), Current value: 00000000
        Autonomous Power State Transition Enable (APSTE): Disabled
        Auto PST Entries        .................
        Entry[ 0]   
        .................
        Idle Time Prior to Transition (ITPT): 60 ms
        Idle Transition Power State   (ITPS): 3
        .................
        Entry[ 1]   
        .................
        Idle Time Prior to Transition (ITPT): 60 ms
        Idle Transition Power State   (ITPS): 3
        .................
        Entry[ 2]   
        .................
        Idle Time Prior to Transition (ITPT): 60 ms
        Idle Transition Power State   (ITPS): 3
        .................
        Entry[ 3]   
        .................
        Idle Time Prior to Transition (ITPT): 10000 ms
        Idle Transition Power State   (ITPS): 4
        .................
        Entry[ 4]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[ 5]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[ 6]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[ 7]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[ 8]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[ 9]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[10]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[11]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[12]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[13]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[14]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[15]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[16]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[17]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[18]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[19]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[20]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[21]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[22]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[23]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[24]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[25]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[26]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[27]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[28]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[29]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[30]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[31]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1701423

Title:
  APST quirk needed for Samsung 256GB NVMe drive

Status in linux package in Ubuntu:
  New

Bug description:
  This bug is a follow on from a previously fixed bug.
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678184

  The nature of this bug is identical to the previously reported bug, however 
it also affects 256GB drives as well.
  The wording at the start is a bit confusing, as it states that the 256GB 
drive already has a quirk added. Following the trail back a little, however, 
shows that a fix for high power drain was introduced, which then caused the 
NVMe controller lockups and system hangs.

  I am running Ubuntu 16.04 with HWE kernel [4.8.x, yakkety] on a Dell XPS15 
9550 with a Samsung 256GB NVMe SSD.
  This bug commenced with the kernel linux (4.8.0-47.50) yakkety, with the 
specific change found at 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1664602

  **

  
  Here is my output of nvme-cli

  **
  nvme list

  Node SN Model Version Namespace Usage Format FW Rev
  ---------------- -------------------- 
---------------------------------------- -------- --------- 
-------------------------- ---------------- --------
  /dev/nvme0n1 S29NNXAGC38399 PM951 NVMe SAMSUNG 256GB 1.1 1 201.30 GB / 256.06 
GB 512 B + 0 B BXV77D0Q

  nvme id-ctrl /dev/nvme0n1

  NVME Identify Controller:
  vid : 0x144d
  ssvid : 0x144d
  sn : S29NNXAGC38399
  mn : PM951 NVMe SAMSUNG 256GB
  fr : BXV77D0Q
  rab : 2
  ieee : 002538
  cmic : 0
  mdts : 5
  cntlid : 1
  ver : 0
  rtd3r : 0
  rtd3e : 0
  oaes : 0
  oacs : 0x17
  acl : 7
  aerl : 3
  frmw : 0x6
  lpa : 0
  elpe : 63
  npss : 4
  avscc : 0x1
  apsta : 0x1
  wctemp : 0
  cctemp : 0
  mtfa : 0
  hmpre : 0
  hmmin : 0
  tnvmcap : 0
  unvmcap : 0
  rpmbs : 0
  sqes : 0x66
  cqes : 0x44
  nn : 1
  oncs : 0x1f
  fuses : 0
  fna : 0
  vwc : 0x1
  awun : 255
  awupf : 0
  nvscc : 1
  acwu : 0
  sgls : 0
  ps 0 : mp:6.00W operational enlat:5 exlat:5 rrt:0 rrl:0
            rwt:0 rwl:0 idle_power:- active_power:-
  ps 1 : mp:4.20W operational enlat:30 exlat:30 rrt:1 rrl:1
            rwt:1 rwl:1 idle_power:- active_power:-
  ps 2 : mp:3.10W operational enlat:100 exlat:100 rrt:2 rrl:2
            rwt:2 rwl:2 idle_power:- active_power:-
  ps 3 : mp:0.0700W non-operational enlat:500 exlat:5000 rrt:3 rrl:3
            rwt:3 rwl:3 idle_power:- active_power:-
  ps 4 : mp:0.0050W non-operational enlat:2000 exlat:22000 rrt:4 rrl:4
            rwt:4 rwl:4 idle_power:- active_power:-

  ****

  Also, as requested:

  lspci -nn

  00:00.0 Host bridge [0600]: Intel Corporation Sky Lake Host Bridge/DRAM 
Registers [8086:1910] (rev 07)
  00:01.0 PCI bridge [0604]: Intel Corporation Sky Lake PCIe Controller (x16) 
[8086:1901] (rev 07)
  00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake 
Integrated Graphics [8086:191b] (rev 06)
  00:04.0 Signal processing controller [1180]: Intel Corporation Skylake 
Processor Thermal Subsystem [8086:1903] (rev 07)
  00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI 
Controller [8086:a12f] (rev 31)
  00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise 
Point-H Thermal subsystem [8086:a131] (rev 31)
  00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise 
Point-H LPSS I2C Controller #0 [8086:a160] (rev 31)
  00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise 
Point-H LPSS I2C Controller #1 [8086:a161] (rev 31)
  00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H 
CSME HECI #1 [8086:a13a] (rev 31)
  00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA 
Controller [AHCI mode] [8086:a103] (rev 31)
  00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root 
Port #1 [8086:a110] (rev f1)
  00:1c.1 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root 
Port #2 [8086:a111] (rev f1)
  00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root 
Port #9 [8086:a118] (rev f1)
  00:1d.4 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root 
Port #13 [8086:a11c] (rev f1)
  00:1d.6 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root 
Port #15 [8086:a11e] (rev f1)
  00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller 
[8086:a14e] (rev 31)
  00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC 
[8086:a121] (rev 31)
  00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio 
[8086:a170] (rev 31)
  00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] 
(rev 31)
  01:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 960M] 
[10de:139b] (rev a2)
  02:00.0 Network controller [0280]: Broadcom Corporation BCM43602 802.11ac 
Wireless LAN SoC [14e4:43ba] (rev 01)
  03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI 
Express Card Reader [10ec:525a] (rev 01)
  04:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd 
NVMe SSD Controller [144d:a802] (rev 01)
  06:00.0 PCI bridge [0604]: Intel Corporation Device [8086:1576]
  07:00.0 PCI bridge [0604]: Intel Corporation Device [8086:1576]
  07:01.0 PCI bridge [0604]: Intel Corporation Device [8086:1576]
  07:02.0 PCI bridge [0604]: Intel Corporation Device [8086:1576]
  3e:00.0 USB controller [0c03]: Intel Corporation Device [8086:15b5]

  
  **

  nvme get-feature -f 0x0c -H /dev/nvme0

  get-feature:0x0c (Autonomous Power State Transition), Current value: 00000000
        Autonomous Power State Transition Enable (APSTE): Disabled
        Auto PST Entries        .................
        Entry[ 0]   
        .................
        Idle Time Prior to Transition (ITPT): 60 ms
        Idle Transition Power State   (ITPS): 3
        .................
        Entry[ 1]   
        .................
        Idle Time Prior to Transition (ITPT): 60 ms
        Idle Transition Power State   (ITPS): 3
        .................
        Entry[ 2]   
        .................
        Idle Time Prior to Transition (ITPT): 60 ms
        Idle Transition Power State   (ITPS): 3
        .................
        Entry[ 3]   
        .................
        Idle Time Prior to Transition (ITPT): 10000 ms
        Idle Transition Power State   (ITPS): 4
        .................
        Entry[ 4]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[ 5]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[ 6]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[ 7]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[ 8]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[ 9]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[10]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[11]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[12]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[13]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[14]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[15]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[16]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[17]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[18]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[19]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[20]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[21]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[22]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[23]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[24]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[25]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[26]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[27]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[28]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[29]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[30]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0
        .................
        Entry[31]   
        .................
        Idle Time Prior to Transition (ITPT): 0 ms
        Idle Transition Power State   (ITPS): 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1701423/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to