有时当我打开笔记本电脑时,辅助硬盘无法安装。启动时间也很长。如果我关闭它并重新启动它可能会工作。我发现以下错误,但我不知道如何修复它。我使用 Ubuntu 16.04.3 LTS。硬盘是安装在 HP Omen 中的 Seagate ST2000LM007 2TB SATA 硬盘。
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)
工作时也遇到过几次:
[ 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,它可以运行几天而不会出现任何问题。
答案1
从实时媒体启动,看看您是否遇到同样的问题。如果没有,则表明存在软件问题;如果存在,则表明存在硬件问题,请继续阅读。
识别您的型号并检查系统板和硬盘之间的连接。如果是电缆,请更换它,如果不是,请确保主板上的插座没有松动,并且驱动器已正确就位。如果可能,请在具有已知良好连接的另一个系统中测试驱动器,以确定问题是否与驱动器有关,如果是,请更换它。如果对此答案有任何不清楚的地方,请给我留言,我会尽力澄清。