Samsung SSD 840 failed to get NCQ Send/Recv Log Emask 0x1 failed to set xfermode (err_mask=0x40) on upstream kernels >= 3.12
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Dave Chiluk | ||
Trusty |
Fix Released
|
Medium
|
Dave Chiluk | ||
Utopic |
Fix Released
|
Medium
|
Dave Chiluk | ||
Vivid |
Fix Released
|
Medium
|
Dave Chiluk | ||
Wily |
Fix Released
|
Medium
|
Dave Chiluk |
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.
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.
=======
Samsung SSD 840 Series failed to get NCQ Send/Recv Log Emask 0x1.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.13.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: Unity
Date: Mon Jul 7 20:01:28 2014
HibernationDevice: RESUME=
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=
RelatedPackageV
linux-
linux-
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.
dmi.board.name: M3N78-EM
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
description: | updated |
tags: | added: latest-bios-0901 |
tags: | added: kernel-bug-exists-upstream kernel-bug-exists-upstream-3.14.1 kernel-bug-exists-upstream-3.14.11 kernel-bug-exists-upstream-3.16-rc4 |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu): | |
importance: | Medium → High |
status: | Confirmed → Triaged |
summary: |
- Samsung SSD 840 Series failed to set xfermode (err_mask=0x40) on Trusty - with upstream kernel + Samsung SSD 840 failed to get NCQ Send/Recv Log Emask 0x1 failed to set + xfermode (err_mask=0x40) on Trusty with upstream kernel |
summary: |
Samsung SSD 840 failed to get NCQ Send/Recv Log Emask 0x1 failed to set - xfermode (err_mask=0x40) on Trusty with upstream kernel + xfermode (err_mask=0x40) on upstream kernels >= 3.12 |
Changed in linux (Ubuntu): | |
assignee: | nobody → Dave Chiluk (chiluk) |
Changed in linux (Ubuntu): | |
milestone: | none → trusty-updates |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Trusty): | |
assignee: | nobody → Dave Chiluk (chiluk) |
Changed in linux (Ubuntu Utopic): | |
assignee: | nobody → Dave Chiluk (chiluk) |
Changed in linux (Ubuntu Vivid): | |
assignee: | nobody → Dave Chiluk (chiluk) |
Changed in linux (Ubuntu Wily): | |
milestone: | trusty-updates → ubuntu-15.10 |
importance: | High → Medium |
Changed in linux (Ubuntu Vivid): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Utopic): | |
importance: | Undecided → Critical |
importance: | Critical → Medium |
Changed in linux (Ubuntu Trusty): | |
importance: | Undecided → Medium |
description: | updated |
Changed in linux (Ubuntu Trusty): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu Utopic): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu Vivid): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu Wily): | |
status: | Incomplete → Invalid |
Changed in linux (Ubuntu Wily): | |
status: | Invalid → Fix Committed |
tags: |
added: verification-done-vivid removed: verification-needed-vivid |
tags: |
added: verification-done-utopic removed: verification-needed-utopic |
I would like to point out that it was working properly with previous Ubuntu releases.
I tweaked BIOS settings testing AHCI mode and SATA mode without success.
One more question, maybe It's a bit off-topic, I just tested unofficial kernel taken from here: kernel. ubuntu. com/~kernel- ppa/mainline/ v3.14.11- utopic/
http://
I installed and booted version 3.14.11- 031411- generic_ 3.14.11- 031411. 201407062254_ amd64
and noticed a different message during boot:
ata4.00: failed to set xfermode (err_mask=0x40)