← Back to team overview

kernel-packages team mailing list archive

[Bug 1338706] Re: Samsung SSD 840 failed to get NCQ Send/Recv Log Emask 0x1 failed to set xfermode (err_mask=0x40) on upstream kernels >= 3.12

 

Having same problem on kernel 3.19.0-25-generic/Ubuntu 15.04 and no
solution so far. :((

[    0.553706] ata5: SATA max UDMA/133 abar m2048@0xf3216000 port 0xf3216300 irq 26
[    0.872359] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    0.873019] ata5.00: failed to get NCQ Send/Recv Log Emask 0x1
[    0.873021] ata5.00: ATA-9: Samsung SSD 840 Series, DXT06B0Q, max UDMA/133
[    0.873022] ata5.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    0.873048] ata5.00: failed to get Identify Device Data, Emask 0x1
[    0.873308] ata5.00: failed to get NCQ Send/Recv Log Emask 0x1
[    0.873330] ata5.00: failed to get Identify Device Data, Emask 0x1
[    0.873332] ata5.00: configured for UDMA/133
[    1.119711] ata5.00: Enabling discard_zeroes_data
[    1.119981] ata5.00: Enabling discard_zeroes_data
[    1.120717] ata5.00: Enabling discard_zeroes_data

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

Title:
  Samsung SSD 840 failed to get NCQ Send/Recv Log Emask 0x1 failed to
  set xfermode (err_mask=0x40) on upstream kernels >= 3.12

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Trusty:
  Fix Released
Status in linux source package in Utopic:
  Fix Released
Status in linux source package in Vivid:
  Fix Released
Status in linux source package in Wily:
  Fix Released

Bug description:
  [Impact]

   * Users with Samsung 8** SSD drives see miscellaneous errors and
  warning messages in the logs depending on the firmware level of the
  drive while booting or after running trim.

  [Test Case]

   * Run this script, and then check logs for errors.
  #!/bin/bash

  git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
  for i in {0..10} ; do
   cp -r linux linux$i
  done
  rm -rf linux*
  echo "sudo fstrim requires your password"
  sudo fstrim ./

  [Regression Potential]

   * There is very little regression potential as this change simply
  prevents NCQ trim from being used on Samsung 8** drives.

  [Other Info]

   * Commit is upstream.
   * Greatly increasing the timeout for the drives seems to relieve the timeout errors.  This may be due to trimming large numbers of sectors with single commands.  It may be prudent for future upstream to break up large trims into multiple requests on smaller regions.

  ===============Original Bug description ==================================
  Samsung SSD 840 Series failed to get NCQ Send/Recv Log Emask 0x1.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-30-generic 3.13.0-30.55
  ProcVersionSignature: Ubuntu 3.13.0-30.55-generic 3.13.11.2
  Uname: Linux 3.13.0-30-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  user       2131 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Mon Jul  7 20:01:28 2014
  HibernationDevice: RESUME=UUID=685afcb7-7aa6-4048-af15-091d3bcd3b35
  InstallationDate: Installed on 2014-06-22 (14 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  IwConfig:
   eth0      no wireless extensions.

   lo        no wireless extensions.
  MachineType: System manufacturer System Product Name
  ProcFB: 0 nouveaufb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-30-generic root=UUID=d7c2e1cb-d046-460c-83b8-0cfbb330d095 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-30-generic N/A
   linux-backports-modules-3.13.0-30-generic  N/A
   linux-firmware                             1.127.4
  RfKill:

  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/10/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0901
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: M3N78-EM
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0901:bd09/10/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM3N78-EM:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

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


References