Hello, i’m currently using opensuse 13.1 and I have the following error since I bought a Samsung SSD 840 EVO 250GB disk, I bought new sata cables, changed sata ports, same result.
# dmesg | grep ata1
0.444585] ata1: SATA max UDMA/133 abar m2048@0xfbffc000 port 0xfbffc100 irq 42
0.904226] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
0.906166] ata1.00: FORCE: horkage modified (noncq)
0.906220] ata1.00: supports DRM functions and may not be fully accessible
0.906222] ata1.00: ATA-9: Samsung SSD 840 EVO 250GB, EXT0BB6Q, max UDMA/133
0.906224] ata1.00: 488397168 sectors, multi 1: LBA48 NCQ (not used)
0.906459] ata1.00: supports DRM functions and may not be fully accessible
0.906463] ata1.00: configured for UDMA/133
3.504902] ata1.00: exception Emask 0x10 SAct 0x0 SErr 0x280100 action 0x6 frozen
3.504904] ata1.00: irq_stat 0x08000000, interface fatal error
3.504906] ata1: SError: { UnrecovData 10B8B BadCRC }
3.504908] ata1.00: failed command: READ DMA EXT
3.504911] ata1.00: cmd 25/00:70:e0:56:ce/00:02:13:00:00/e0 tag 0 dma 319488 in
3.504913] ata1.00: status: { DRDY }
3.504916] ata1: hard resetting link
3.967016] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
3.967177] ata1.00: supports DRM functions and may not be fully accessible
3.967348] ata1.00: supports DRM functions and may not be fully accessible
3.967350] ata1.00: configured for UDMA/133
3.967361] ata1: EH complete
8.374428] ata1.00: exception Emask 0x10 SAct 0x0 SErr 0x280100 action 0x6 frozen
8.374433] ata1.00: irq_stat 0x08000000, interface fatal error
8.374437] ata1: SError: { UnrecovData 10B8B BadCRC }
8.374440] ata1.00: failed command: READ DMA
8.374446] ata1.00: cmd c8/00:00:78:f5:2b/00:00:00:00:00/ea tag 0 dma 131072 in
8.374449] ata1.00: status: { DRDY }
8.374453] ata1: hard resetting link
8.834344] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
8.834581] ata1.00: supports DRM functions and may not be fully accessible
8.834776] ata1.00: supports DRM functions and may not be fully accessible
8.834780] ata1.00: configured for UDMA/133
8.834792] ata1: EH complete
I also turned off ncq and dma (like some people suggest) by adding libata.force=noncq libata.dma=3 in /etc/default/grub at the end of:
GRUB_CMDLINE_LINUX_DEFAULT="…"
I have currently the stock kernel 3.11.6-4-desktop.
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.11.10-21-desktop] (SUSE RPM)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: Samsung SSD 840 EVO 250GB
Serial Number: S1DBNSAF905927M
LU WWN Device Id: 5 002538 8a068963e
Firmware Version: EXT0BB6Q
User Capacity: 250.059.350.016 bytes [250 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 1.5 Gb/s)
Local Time is: Fri Nov 21 23:58:10 2014 ART
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 4800) seconds.
Offline data collection
capabilities: (0x53) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 80) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 57
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 148
177 Wear_Leveling_Count 0x0013 100 100 000 Pre-fail Always - 0
179 Used_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always - 0
181 Program_Fail_Cnt_Total 0x0032 100 100 010 Old_age Always - 0
182 Erase_Fail_Count_Total 0x0032 100 100 010 Old_age Always - 0
183 Runtime_Bad_Block 0x0013 100 100 010 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0032 071 054 000 Old_age Always - 29
195 Hardware_ECC_Recovered 0x001a 200 200 000 Old_age Always - 0
199 UDMA_CRC_Error_Count 0x003e 099 099 000 Old_age Always - 364
235 Unknown_Attribute 0x0012 099 099 000 Old_age Always - 78
241 Total_LBAs_Written 0x0032 099 099 000 Old_age Always - 280206929
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 0 -
# 2 Short offline Completed without error 00% 0 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
I also ran the smartctl long test the other day and it was fine.
I also tried opensuse 13.2 with kernel 3.16* and linux mint with kernel 3.17.3*, same issue.
And I forgot to mention that my mobo has 3GB SATA ports only, but I don’t think that should be the problem.
The drive is an SSD and it’s new! I also have an HDD pluged in and got no errors from it.
I have Windows 7 installed on the SSD too and it shows no problem.
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 1.5 Gb/s)
199 UDMA_CRC_Error_Count 0x003e 099 099 000 Old_age Always - 364
It also shows the drive up at 1.5Gb/s in smartctl?
Do Samsung provide test tools, if so run their diagnostic tools on the device, after so few hours I would not expect those errors, unless your hardware is having issues since you say it should be at 3Gb/s (which it does indicate in the logs)
8.834344] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Hi
Perhaps also look (but I imagine, since it’s new) if there are any firmware upgrades for the device. Else if you have no joy and still see errors I suggest create a support ticket with Samsung, maybe they can clarify.
I changed the SATA cable not the port and now dmesg and smartctl displays 3gb/s speed but the frozen error persists.
> smartctl -a /dev/sda
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.11.10-21-desktop] (SUSE RPM)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: Samsung SSD 840 EVO 250GB
Serial Number: S1DBNSAF905927M
LU WWN Device Id: 5 002538 8a068963e
Firmware Version: EXT0CB6Q
User Capacity: 250.059.350.016 bytes [250 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Sat Nov 22 19:57:38 2014 ART
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
> dmesg | grep ata1
0.444821] ata1: SATA max UDMA/133 abar m2048@0xfbffc000 port 0xfbffc100 irq 41
0.904461] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
0.904655] ata1.00: FORCE: horkage modified (noncq)
0.904694] ata1.00: supports DRM functions and may not be fully accessible
0.904696] ata1.00: ATA-9: Samsung SSD 840 EVO 250GB, EXT0CB6Q, max UDMA/133
0.904697] ata1.00: 488397168 sectors, multi 1: LBA48 NCQ (not used)
0.904936] ata1.00: supports DRM functions and may not be fully accessible
0.904940] ata1.00: configured for UDMA/133
3.996102] ata1.00: exception Emask 0x10 SAct 0x0 SErr 0x280100 action 0x6 frozen
3.996105] ata1.00: irq_stat 0x08000000, interface fatal error
3.996107] ata1: SError: { UnrecovData 10B8B BadCRC }
3.996109] ata1.00: failed command: READ DMA EXT
3.996112] ata1.00: cmd 25/00:00:88:51:e2/00:04:13:00:00/e0 tag 0 dma 524288 in
3.996114] ata1.00: status: { DRDY }
3.996117] ata1: hard resetting link
4.455371] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
4.455576] ata1.00: supports DRM functions and may not be fully accessible
4.455727] ata1.00: supports DRM functions and may not be fully accessible
4.455731] ata1.00: configured for UDMA/133
4.455747] ata1: EH complete
I just had an improvement, I turned off dma (with libata.dma=0) and now the error is gone. NCQ is still disabled.
I rebooted three times to be sure, I will keep monitoring this issue.
Here It’s the demesg ouput:
dmesg | grep ata1
0.444824] ata1: SATA max UDMA/133 abar m2048@0xfbffc000 port 0xfbffc100 irq 41
0.904426] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
0.904567] ata1.00: FORCE: horkage modified (noncq)
0.904597] ata1.00: supports DRM functions and may not be fully accessible
0.904599] ata1.00: ATA-9: Samsung SSD 840 EVO 250GB, EXT0CB6Q, max UDMA/133
0.904601] ata1.00: 488397168 sectors, multi 1: LBA48 NCQ (not used)
0.904780] ata1.00: supports DRM functions and may not be fully accessible
0.904784] ata1.00: configured for PIO4
Thank you very much for the help! I hope the problem doesn’t return.
Hi all, I’m reviving this thread because I think I’ve “fixed” this issue (for now) and maybe I could help users with similar problems.
I updated my Samsung EVO 840 to the latest firmware (EXT0DB6Q, Apr 15’), I did it from Windows (using Samsung Magician), there is a Magician CLI version for Linux but I didn’t knew at the time.
The thing is I needed the latest Magician version for Win, so I installed it (replacing the old one) and then installed the new firmware. But when it finished, it said something like “error during firmware installation”, so I rebooted my PC and found that grub couldn’t find the device! later I realized it had changed the SCSI boot order from the BIOS, so nothing complicated.
Also the error message from windows didn’t matter, I later installed from Linux using the CLI (and extracting some .enc files from the windows firmware .iso), an error appeared here too but didn’t seem to matter, the firmware was installed anyway.
# smartctl -a /dev/sdb
Device Model: Samsung SSD 840 EVO 250GB
Serial Number: S1DBNSAF905927M
LU WWN Device Id: 5 002538 8a068963e
Firmware Version: **EXT0DB6Q**
User Capacity: 250,059,350,016 bytes [250 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Mon May 25 21:07:21 2015 ART
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
.
.
.
I tried my disk on Linux and all the error messages are gone (for now), but I remind you I had DMA and NCQ disabled. So… I tried enabling DMA and it worked fine!
BUT… then I tried enabling NCQ and all hell broke loose!! CRC errors ALL the time, so I turned off again.
And that’s it, for now it’s working fine.
$ dmesg | grep ata6
0.977371] ata6: SATA max UDMA/133 abar m2048@0xfbffc000 port 0xfbffc380 irq 41
2.702066] ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
2.703963] ata6.00: FORCE: horkage modified (noncq)
2.703991] ata6.00: supports DRM functions and may not be fully accessible
2.703995] ata6.00: ATA-9: Samsung SSD 840 EVO 250GB, EXT0DB6Q, max UDMA/133
2.703997] ata6.00: 488397168 sectors, multi 1: LBA48 NCQ (not used)
2.704210] ata6.00: supports DRM functions and may not be fully accessible
2.704217] ata6.00: configured for UDMA/133