Code: Select all
oct 06 00:26:40 pc-desktop kernel: ata6.00: status: { DRDY }
oct 06 00:26:40 pc-desktop kernel: ata6.00: failed command: READ FPDMA QUEUED
oct 06 00:26:40 pc-desktop kernel: ata6.00: cmd 60/78:90:90:2b:20/00:00:32:00:00/40 tag 18 ncq dma 61440 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x10 (ATA bus error)
oct 06 00:26:40 pc-desktop kernel: ata6.00: status: { DRDY }
oct 06 00:26:40 pc-desktop kernel: ata6: hard resetting link
oct 06 00:26:41 pc-desktop kernel: ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
oct 06 00:26:41 pc-desktop kernel: ata6.00: configured for UDMA/133
oct 06 00:26:41 pc-desktop kernel: ahci 0000:01:00.1: port does not support device sleep
oct 06 00:26:41 pc-desktop kernel: sd 5:0:0:0: [sda] tag#16 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=1s
oct 06 00:26:41 pc-desktop kernel: sd 5:0:0:0: [sda] tag#16 Sense Key : Illegal Request [current]
oct 06 00:26:41 pc-desktop kernel: sd 5:0:0:0: [sda] tag#16 Add. Sense: Unaligned write command
oct 06 00:26:41 pc-desktop kernel: sd 5:0:0:0: [sda] tag#16 CDB: Read(10) 28 00 32 20 2b 00 00 00 88 00
oct 06 00:26:41 pc-desktop kernel: I/O error, dev sda, sector 840968960 op 0x0:(READ) flags 0x80700 phys_seg 17 prio class 0
oct 06 00:26:41 pc-desktop kernel: sd 5:0:0:0: [sda] tag#18 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=1s
oct 06 00:26:41 pc-desktop kernel: sd 5:0:0:0: [sda] tag#18 Sense Key : Illegal Request [current]
oct 06 00:26:41 pc-desktop kernel: sd 5:0:0:0: [sda] tag#18 Add. Sense: Unaligned write command
oct 06 00:26:41 pc-desktop kernel: sd 5:0:0:0: [sda] tag#18 CDB: Read(10) 28 00 32 20 2b 90 00 00 78 00
oct 06 00:26:41 pc-desktop kernel: I/O error, dev sda, sector 840969104 op 0x0:(READ) flags 0x80700 phys_seg 15 prio class 0
oct 06 00:26:41 pc-desktop kernel: ata6: EH complete
After searching for a lot of information, everywhere they said: "Change SATA or power cables, or a faulty hard drive."
The hard drive had recently been purchased and used for less than 24 hours, and i changed a lot of time cables and connect hard disk to other connectors in the motherboard... I even went so far as to change the power supply. All this with no results.
I finally found the solution:
By typing:
Code: Select all
tail /sys/class/scsi_host/host*/link_power_management_policyCode: Select all
med_power_with_dipmCreate the file:
Code: Select all
/etc/udev/rules.d/hd_power_save.rules
Code: Select all
ACTION=="add", SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="performance"
Code: Select all
reboot
If you're experiencing random crashes with an SSD, and you've checked the RAM and other things and everything is OK, this could be the problem.
I'm leaving it here as a note for other forum users. I've been following this issue for a long time.
Best regards.
Source: https://bbs.archlinux.org/viewtopic.php?id=290615&p=2
https://wiki.archlinux.org/title/Power_ ... Management


