Press ESC to close

COMRESET失败(errno=

有时,当我打开我的笔记本电脑,第二硬盘没有挂载。启动时间也很长。如果我关闭它并重新启动,它可能会工作。我发现了下面的错误,但我不知道如何修复它。我使用Ubuntu16.04.3 LTS。硬盘是希捷ST2000LM007 2TB SATA硬盘驱动器安装在惠普Omen。

代码语言:javascript复制 dmesg |grep ata2

[ 1.301925] ata2: SATA max UDMA/133 abar m2048@0xb4434000 port 0xb4434180 irq 129

[ 1.618501] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)

[ 1.629519] ata2.00: ATA-10: ST2000LM007-1R8174, RDM4, max UDMA/100

[ 1.629520] ata2.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA

[ 1.652483] ata2.00: configured for UDMA/100

[ 22.834992] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen

[ 22.834996] ata2.00: failed command: IDENTIFY DEVICE

[ 22.834998] ata2.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 9 pio 512 in

[ 22.834999] ata2.00: status: { DRDY }

[ 22.835013] ata2: hard resetting link

[ 28.195015] ata2: link is slow to respond, please be patient (ready=0)

[ 32.874978] ata2: COMRESET failed (errno=-16)

[ 32.874983] ata2: hard resetting link

[ 38.235030] ata2: link is slow to respond, please be patient (ready=0)

[ 42.926952] ata2: COMRESET failed (errno=-16)

[ 42.926956] ata2: hard resetting link

[ 48.283032] ata2: link is slow to respond, please be patient (ready=0)在工作时也有几次:

代码语言:javascript复制[ 1.337312] ata2: SATA max UDMA/133 abar m2048@0xb4434000 port 0xb4434180 irq 128

[ 1.650864] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)

[ 1.661902] ata2.00: ATA-10: ST2000LM007-1R8174, RDM4, max UDMA/100

[ 1.661903] ata2.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA

[ 1.684796] ata2.00: configured for UDMA/100

[ 158.780788] ata2.00: exception Emask 0x0 SAct 0x1e SErr 0x0 action 0x6 frozen

[ 158.780798] ata2.00: failed command: WRITE FPDMA QUEUED

[ 158.780808] ata2.00: cmd 61/40:08:00:69:c0/05:00:68:00:00/40 tag 1 ncq dma 688128 out

[ 158.780813] ata2.00: status: { DRDY }

[ 158.780816] ata2.00: failed command: WRITE FPDMA QUEUED

[ 158.780823] ata2.00: cmd 61/c0:10:40:6e:c0/02:00:68:00:00/40 tag 2 ncq dma 360448 out

[ 158.780827] ata2.00: status: { DRDY }

[ 158.780830] ata2.00: failed command: WRITE FPDMA QUEUED

[ 158.780837] ata2.00: cmd 61/40:18:00:71:c0/05:00:68:00:00/40 tag 3 ncq dma 688128 out

[ 158.780840] ata2.00: status: { DRDY }

[ 158.780843] ata2.00: failed command: WRITE FPDMA QUEUED

[ 158.780849] ata2.00: cmd 61/c0:20:40:76:c0/02:00:68:00:00/40 tag 4 ncq dma 360448 out

[ 158.780853] ata2.00: status: { DRDY }

[ 158.780859] ata2: hard resetting link

[ 164.138013] ata2: link is slow to respond, please be patient (ready=0)

[ 168.819468] ata2: COMRESET failed (errno=-16)

[ 168.819476] ata2: hard resetting link

[ 174.176956] ata2: link is slow to respond, please be patient (ready=0)

[ 178.857942] ata2: COMRESET failed (errno=-16)

[ 178.857948] ata2: hard resetting link

[ 184.227221] ata2: link is slow to respond, please be patient (ready=0)

[ 213.866965] ata2: COMRESET failed (errno=-16)

[ 213.866975] ata2: limiting SATA link speed to 3.0 Gbps

[ 213.866977] ata2: hard resetting link

[ 218.927156] ata2: COMRESET failed (errno=-16)

[ 218.927163] ata2: reset failed, giving up

[ 218.927165] ata2.00: disabled

[ 218.927183] ata2: EH complete我也格式化了这些分区,但仍然失败。如果我使用一个新的ubuntu安装,它可以工作几天,没有任何问题。

智能扩展测试: