在调查我的SATA3 SSD驱动器被识别为SATA2的问题时(出于某种原因必须更改SATA端口来修复它)我在运行时注意到以下消息:
$dmesg | grep ata3.00
[ 0.980592] ata3.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[ 0.980594] ata3.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[ 0.980596] ata3.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[ 0.980712] ata3.00: supports DRM functions and may not be fully accessible
[ 0.980795] ata3.00: failed to get NCQ Send/Recv Log Emask 0x1
[ 0.980797] ata3.00: ATA-9: SAMSUNG MZ7PD128HAFV-000H7, XXXXXXX, max UDMA/133
[ 0.980798] ata3.00: 250069680 sectors, multi 1: LBA48 NCQ (depth 31/32), AA
[ 0.981070] ata3.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[ 0.981072] ata3.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[ 0.981073] ata3.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[ 0.981174] ata3.00: supports DRM functions and may not be fully accessible
[ 0.981225] ata3.00: failed to get NCQ Send/Recv Log Emask 0x1
[ 0.981227] ata3.00: configured for UDMA/133
我的架构:
$uname
3.13.8-1-ARCH
我担心的是它说系统无法获得NCQ发送/恢复日志Emask 0x1
这是我需要关注的吗?
我的系统是Asrock Extreme4 mb,在Arch Linux OS上使用SAMSUNG MZ7PD128HAFV-000H7 SSD SATA3驱动器.
更新1
我在我的机器上运行SysLinux,下面是同一命令的输出(没有失败消息):
root@sysresccd /root % dmesg | grep ata3
[ 1.166153] ata3: SATA max UDMA/133 abar m2048@0xf0336000 port 0xf0336200 irq 42
[ 1.470696] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 1.471504] ata3.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[ 1.471507] ata3.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[ 1.471710] ata3.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[ 1.472032] ata3.00: supports DRM functions and may not be fully accessible
[ 1.472166] ata3.00: ATA-9: SAMSUNG MZ7PD128HAFV-000H7, SN, max UDMA/133
[ 1.472359] ata3.00: 250069680 sectors, multi 1: LBA48 NCQ (depth 31/32), AA
[ 1.472760] ata3.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[ 1.472761] ata3.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[ 1.472762] ata3.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[ 1.472920] ata3.00: supports DRM functions and may not be fully accessible
[ 1.472946] ata3.00: configured for UDMA/133
我比较了/ sys / class / scsi_host / host(0-7)下两个操作系统上的SATA电源配置文件,它们设置为max_performance.
我还可以在两个操作系统上检查并配置Arch,以便此失败消息消失?
更新2
看起来此问题仅出现在较新的内核中…
我尝试使用Ubuntu Live CD 12.04,13.10和14.04:
我能够在14.04中看到这个问题,但在其他两个版本中没有.
然后我为内核配置文件运行diff但我无法弄清楚影响我的确切更改…
Ubuntu 13.10 kernel config file
Ubuntu 14.04 kernel config file
解决方法:
这是Samsung SSD中的一个已知错误:驱动器无法正确实现排队修剪命令.
但是,Ubuntu(以及可能大多数其他Linux发行版)现在将trim作为cronjob来实现,以提高性能,因此这不是任何实际问题.
有关更多详细信息,请参阅以下内核错误:
https://bugzilla.kernel.org/show_bug.cgi?id=72341
错误没有出现在旧内核中的原因是这些不会尝试使用驱动器的错误功能,因此它们永远不会看到错误.即使是更新的内核(4.0和更高版本)也知道驱动器有此错误,因此将来不会显示驱动器的错误.