Comment 98 for bug 1678184

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote : Re: [Bug 1678184] Re: APST quirk needed for Samsung 512GB NVMe drive

> On 28 Oct 2017, at 9:10 PM, Bashar <email address hidden> wrote:
>
> Same problem here on a Lenovo ideapad Y700 and Ubuntu 16.04
> /dev/nvme0n1 SAMSUNG MZVLW512HMJP-000L2
>
> I disabled APST by adding nvme_core.default_ps_max_latency_us=0 to the
> kernel parameters in /etc/default/grub and works ok, no blocking since
> then.

Can you file a new bug? Thanks.

>
> --
> You received this bug notification because you are subscribed to linux
> in Ubuntu.
> https://bugs.launchpad.net/bugs/1678184
>
> Title:
> APST quirk needed for Samsung 512GB NVMe drive
>
> Status in linux package in Ubuntu:
> Fix Released
> Status in linux source package in Yakkety:
> Fix Released
> Status in linux source package in Zesty:
> Fix Released
>
> Bug description:
> APST support just landed in the latest Zesty kernel (4.10.0-14.16) as
> part of https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1664602.
> That patch has a quirk for certain 256GB Samsung drives found in Dell
> laptops that do not behave well when APST is enabled. I am
> experiencing the same symptoms with the same model laptop except with
> a 512GB Samsung. Prior to manually disabling APST the drive would die
> and system would go down in flames with I/O errors within 20 to 40
> minutes of boot.
>
> $ sudo nvme list
> Node SN Model Namespace Usage Format FW Rev
> ---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
> /dev/nvme0n1 ************** PM951 NVMe SAMSUNG 512GB 1 500.20 GB / 512.11 GB 512 B + 0 B BXV76D0Q
>
> ProblemType: Bug
> DistroRelease: Ubuntu 17.04
> Package: linux-image-4.10.0-14-generic 4.10.0-14.16
> ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
> Uname: Linux 4.10.0-14-generic x86_64
> ApportVersion: 2.20.4-0ubuntu2
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: ajclayton 3305 F.... pulseaudio
> CurrentDesktop: Unity:Unity7
> Date: Fri Mar 31 09:42:38 2017
> InstallationDate: Installed on 2012-09-08 (1665 days ago)
> InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
> MachineType: Dell Inc. XPS 15 9550
> ProcFB: 0 inteldrmfb
> ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.10.0-14-generic root=UUID=779e5929-5ffb-49b1-9786-1adcde824b7d ro rootflags=subvol=@ noprompt nouveau.modeset=0 log_buf_len=20M
> RelatedPackageVersions:
> linux-restricted-modules-4.10.0-14-generic N/A
> linux-backports-modules-4.10.0-14-generic N/A
> linux-firmware 1.164
> SourcePackage: linux
> UpgradeStatus: Upgraded to zesty on 2017-03-07 (23 days ago)
> dmi.bios.date: 04/07/2016
> dmi.bios.vendor: Dell Inc.
> dmi.bios.version: 01.02.00
> dmi.board.name: 0N7TVV
> dmi.board.vendor: Dell Inc.
> dmi.board.version: A00
> dmi.chassis.type: 9
> dmi.chassis.vendor: Dell Inc.
> dmi.modalias: dmi:bvnDellInc.:bvr01.02.00:bd04/07/2016:svnDellInc.:pnXPS159550:pvr:rvnDellInc.:rn0N7TVV:rvrA00:cvnDellInc.:ct9:cvr:
> dmi.product.name: XPS 15 9550
> dmi.sys.vendor: Dell Inc.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678184/+subscriptions