kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #153918
[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
I think it is still there in a fresh Wily install ....
uname -a
Linux john-Aspire-X3812 4.2.0-22-generic #27-Ubuntu SMP Thu Dec 17 22:57:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
dmesg | grep ata4
[ 6846.008190] ata4: hard resetting link
[ 6846.328019] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 6846.329593] ata4.00: supports DRM functions and may not be fully accessible
[ 6846.329708] ata4.00: failed to get NCQ Send/Recv Log Emask 0x1
[ 6846.330094] ata4.00: supports DRM functions and may not be fully accessible
[ 6846.330161] ata4.00: failed to get NCQ Send/Recv Log Emask 0x1
[ 6846.330260] ata4.00: configured for UDMA/133
[ 6846.330286] ata4: EH complete
[15551.012030] ata4.00: exception Emask 0x10 SAct 0xf000 SErr 0x400100 action 0x6 frozen
[15551.012035] ata4.00: irq_stat 0x08000000, interface fatal error
[15551.012039] ata4: SError: { UnrecovData Handshk }
[15551.012042] ata4.00: failed command: WRITE FPDMA QUEUED
[15551.012048] ata4.00: cmd 61/08:60:e8:98:75/00:00:01:00:00/40 tag 12 ncq 4096 out
res 40/00:68:30:99:44/00:00:09:00:00/40 Emask 0x10 (ATA bus error)
[15551.012051] ata4.00: status: { DRDY }
--
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