[Kernel-packages] [Bug 1694596] Re: LiteOn NVMe APST issue

2017-06-01 Thread John Neffenger
My NVMe drive failed again yesterday. I no longer think the errors are
due to the APST support. I'm starting to think it's either something in
the Linux kernel 4.8.0-53 upgrade or simply a problem with the drive
hardware or firmware.

The time-line of the errors is shown below. Note that I never defined
the "default_ps_max_latency_us" parameter to 6000. I only set it to a
value of zero.

Parameter "nvme_core.default_ps_max_latency_us" is not defined:

2017-04-04 Upgraded to 4.8.0-46.49
2017-04-24 Upgraded to 4.8.0-49.52 ← Adds NVMe APST support (LP: #1664602)
2017-05-01 Upgraded to 4.8.0-51.54
2017-05-16 Upgraded to 4.8.0-52.55
2017-05-25 Upgraded to 4.8.0-53.56 ← Errors on NVMe drive

Parameter "nvme_core.default_ps_max_latency_us" is set to zero:

2017-05-29 Linux 4.8.0-53.56 (APST disabled) ← Running OK
2017-05-30 Linux 4.8.0-53.56 (APST disabled) ← Running OK
2017-05-31 Linux 4.8.0-53.56 (APST disabled) ← Errors on NVMe drive

At this point, I switched from the Hardware Enablement (HWE) stack back
to the original General Availability (GA) stack for the Linux kernel and
X server on Ubuntu 16.04.

2017-05-31 Linux 4.4.0-78.90 (GA) ← Running OK so far
2017-06-01 Linux 4.4.0-78.90 (GA) ← Running OK so far

I hope this change will help determine whether the errors are due to the
drive itself or something in the Linux 4.8 upgrade. I guess we should
close this bug report, or at least rename it.

Thank you,
John

-- 
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/1694596

Title:
  LiteOn NVMe APST issue

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Originally reported at:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678184/comments/79

  The user uses "nvme_core.default_ps_max_latency_us=6000" but the issue
  still happens.

  $ sudo nvme id-ctrl /dev/nvme0
  NVME Identify Controller:
  vid : 0x14a4
  ssvid : 0x1b4b
  sn : TW0XVRV7LOH006AJ09F1
  mn : CX2-8B256-Q11 NVMe LITEON 256GB
  fr : 48811QD
  rab : 0
  ieee : 002303
  cmic : 0
  mdts : 5
  cntlid : 1
  ver : 10200
  rtd3r : f4240
  rtd3e : f4240
  oaes : 0
  oacs : 0x1f
  acl : 3
  aerl : 3
  frmw : 0x14
  lpa : 0x2
  elpe : 63
  npss : 4
  avscc : 0x1
  apsta : 0x1
  wctemp : 358
  cctemp : 368
  mtfa : 50
  hmpre : 0
  hmmin : 0
  tnvmcap : 256060514304
  unvmcap : 0
  rpmbs : 0
  sqes : 0x66
  cqes : 0x44
  nn : 1
  oncs : 0x1f
  fuses : 0
  fna : 0
  vwc : 0x1
  awun : 255
  awupf : 7
  nvscc : 1
  acwu : 0
  sgls : 0
  ps 0 : mp:8.00W operational enlat:0 exlat:0 rrt:0 rrl:0
rwt:0 rwl:0 idle_power:- active_power:-
  ps 1 : mp:4.00W operational enlat:5 exlat:5 rrt:1 rrl:1
rwt:1 rwl:1 idle_power:- active_power:-
  ps 2 : mp:2.10W operational enlat:5 exlat:5 rrt:2 rrl:2
rwt:2 rwl:2 idle_power:- active_power:-
  ps 3 : mp:0.1000W non-operational enlat:5000 exlat:5000 rrt:3 rrl:3
rwt:3 rwl:3 idle_power:- active_power:-
  ps 4 : mp:0.0100W non-operational enlat:5 exlat:10 rrt:4 rrl:4
rwt:4 rwl:4 idle_power:- active_power:-

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1694596/+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


[Kernel-packages] [Bug 1694596] Re: LiteOn NVMe APST issue

2017-06-01 Thread Kai-Heng Feng
Wait, APST shouldn't be enabled when the value is 6000. It should have
the same effect as nvme_core.default_ps_max_latency_us=0.

@John, can you check again?

-- 
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/1694596

Title:
  LiteOn NVMe APST issue

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Originally reported at:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678184/comments/79

  The user uses "nvme_core.default_ps_max_latency_us=6000" but the issue
  still happens.

  $ sudo nvme id-ctrl /dev/nvme0
  NVME Identify Controller:
  vid : 0x14a4
  ssvid : 0x1b4b
  sn : TW0XVRV7LOH006AJ09F1
  mn : CX2-8B256-Q11 NVMe LITEON 256GB
  fr : 48811QD
  rab : 0
  ieee : 002303
  cmic : 0
  mdts : 5
  cntlid : 1
  ver : 10200
  rtd3r : f4240
  rtd3e : f4240
  oaes : 0
  oacs : 0x1f
  acl : 3
  aerl : 3
  frmw : 0x14
  lpa : 0x2
  elpe : 63
  npss : 4
  avscc : 0x1
  apsta : 0x1
  wctemp : 358
  cctemp : 368
  mtfa : 50
  hmpre : 0
  hmmin : 0
  tnvmcap : 256060514304
  unvmcap : 0
  rpmbs : 0
  sqes : 0x66
  cqes : 0x44
  nn : 1
  oncs : 0x1f
  fuses : 0
  fna : 0
  vwc : 0x1
  awun : 255
  awupf : 7
  nvscc : 1
  acwu : 0
  sgls : 0
  ps 0 : mp:8.00W operational enlat:0 exlat:0 rrt:0 rrl:0
rwt:0 rwl:0 idle_power:- active_power:-
  ps 1 : mp:4.00W operational enlat:5 exlat:5 rrt:1 rrl:1
rwt:1 rwl:1 idle_power:- active_power:-
  ps 2 : mp:2.10W operational enlat:5 exlat:5 rrt:2 rrl:2
rwt:2 rwl:2 idle_power:- active_power:-
  ps 3 : mp:0.1000W non-operational enlat:5000 exlat:5000 rrt:3 rrl:3
rwt:3 rwl:3 idle_power:- active_power:-
  ps 4 : mp:0.0100W non-operational enlat:5 exlat:10 rrt:4 rrl:4
rwt:4 rwl:4 idle_power:- active_power:-

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1694596/+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


[Kernel-packages] [Bug 1694596] Re: LiteOn NVMe APST issue

2017-05-30 Thread Kai-Heng Feng
@John
If 6000 doesn't work but 0 works, it means operational states PS1 and PS2 have 
issue.
Can you try linux kernel in http://people.canonical.com/~khfeng/apst-rste-z/?

@Andy
Do we need to quirk off LiteOn completely, just like Toshiba?

@Mario
Does this also happen on Windows?

-- 
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/1694596

Title:
  LiteOn NVMe APST issue

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Originally reported at:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678184/comments/79

  The user uses "nvme_core.default_ps_max_latency_us=6000" but the issue
  still happens.

  $ sudo nvme id-ctrl /dev/nvme0
  NVME Identify Controller:
  vid : 0x14a4
  ssvid : 0x1b4b
  sn : TW0XVRV7LOH006AJ09F1
  mn : CX2-8B256-Q11 NVMe LITEON 256GB
  fr : 48811QD
  rab : 0
  ieee : 002303
  cmic : 0
  mdts : 5
  cntlid : 1
  ver : 10200
  rtd3r : f4240
  rtd3e : f4240
  oaes : 0
  oacs : 0x1f
  acl : 3
  aerl : 3
  frmw : 0x14
  lpa : 0x2
  elpe : 63
  npss : 4
  avscc : 0x1
  apsta : 0x1
  wctemp : 358
  cctemp : 368
  mtfa : 50
  hmpre : 0
  hmmin : 0
  tnvmcap : 256060514304
  unvmcap : 0
  rpmbs : 0
  sqes : 0x66
  cqes : 0x44
  nn : 1
  oncs : 0x1f
  fuses : 0
  fna : 0
  vwc : 0x1
  awun : 255
  awupf : 7
  nvscc : 1
  acwu : 0
  sgls : 0
  ps 0 : mp:8.00W operational enlat:0 exlat:0 rrt:0 rrl:0
rwt:0 rwl:0 idle_power:- active_power:-
  ps 1 : mp:4.00W operational enlat:5 exlat:5 rrt:1 rrl:1
rwt:1 rwl:1 idle_power:- active_power:-
  ps 2 : mp:2.10W operational enlat:5 exlat:5 rrt:2 rrl:2
rwt:2 rwl:2 idle_power:- active_power:-
  ps 3 : mp:0.1000W non-operational enlat:5000 exlat:5000 rrt:3 rrl:3
rwt:3 rwl:3 idle_power:- active_power:-
  ps 4 : mp:0.0100W non-operational enlat:5 exlat:10 rrt:4 rrl:4
rwt:4 rwl:4 idle_power:- active_power:-

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1694596/+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