Hi,
I have been experiencing a strange issue with a brand new PC on which I'm running Fedora 16 x64. After using the system for a while, my secondary HDD (unto which my /home partition is located) suddenly becomes read-only! I can hear a strange noise coming from the drive when this happens. After restarting the system, the drive seems to be OK for a while and then, all of a sudden, it fails again. The HDD is a ST1000DM003 connected to a Marvell 88SE9128 SATA controller.
Any idea what might be causing this issue? I'd like to know if there is anything I can do in order to test whether the drive is faulty or if it's a software problem.
If it can be of any help, here are the relevant entries that appear into /var/log/messages just after the HDD fails:
Dec 5 20:23:29 phobos kernel: [ 385.949107] ata7.00: exception Emask 0x0 SAct 0x7f SErr 0x0 action 0x6 frozen
Dec 5 20:23:29 phobos kernel: [ 385.949117] ata7.00: failed command: WRITE FPDMA QUEUED
Dec 5 20:23:29 phobos kernel: [ 385.949129] ata7.00: cmd 61/08:00:08:08:80/00:00:2a:00:00/40 tag 0 ncq 4096 out
Dec 5 20:23:29 phobos kernel: [ 385.949131] res 40/00:00:00:4f:c2/00:00:00:00:00/40 Emask 0x4 (timeout)
Dec 5 20:23:29 phobos kernel: [ 385.949135] ata7.00: status: { DRDY }
Dec 5 20:23:29 phobos kernel: [ 385.949138] ata7.00: failed command: WRITE FPDMA QUEUED
Dec 5 20:23:29 phobos kernel: [ 385.949145] ata7.00: cmd 61/08:08:80:08:80/00:00:2a:00:00/40 tag 1 ncq 4096 out
Dec 5 20:23:29 phobos kernel: [ 385.949146] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Dec 5 20:23:29 phobos kernel: [ 385.949149] ata7.00: status: { DRDY }
Dec 5 20:23:29 phobos kernel: [ 385.949152] ata7.00: failed command: WRITE FPDMA QUEUED
Dec 5 20:23:29 phobos kernel: [ 385.949158] ata7.00: cmd 61/10:10:30:09:80/00:00:2a:00:00/40 tag 2 ncq 8192 out
Dec 5 20:23:29 phobos kernel: [ 385.949159] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Dec 5 20:23:29 phobos kernel: [ 385.949162] ata7.00: status: { DRDY }
Dec 5 20:23:29 phobos kernel: [ 385.949165] ata7.00: failed command: WRITE FPDMA QUEUED
Dec 5 20:23:29 phobos kernel: [ 385.949171] ata7.00: cmd 61/00:18:00:a5:c0/04:00:0f:00:00/40 tag 3 ncq 524288 out
Dec 5 20:23:29 phobos kernel: [ 385.949172] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Dec 5 20:23:29 phobos kernel: [ 385.949175] ata7.00: status: { DRDY }
Dec 5 20:23:29 phobos kernel: [ 385.949178] ata7.00: failed command: WRITE FPDMA QUEUED
Dec 5 20:23:29 phobos kernel: [ 385.949184] ata7.00: cmd 61/08:20:a0:0a:81/00:00:2a:00:00/40 tag 4 ncq 4096 out
Dec 5 20:23:29 phobos kernel: [ 385.949185] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Dec 5 20:23:29 phobos kernel: [ 385.949188] ata7.00: status: { DRDY }
Dec 5 20:23:29 phobos kernel: [ 385.949190] ata7.00: failed command: WRITE FPDMA QUEUED
Dec 5 20:23:29 phobos kernel: [ 385.949196] ata7.00: cmd 61/08:28:00:08:00/00:00:02:00:00/40 tag 5 ncq 4096 out
Dec 5 20:23:29 phobos kernel: [ 385.949198] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Dec 5 20:23:29 phobos kernel: [ 385.949201] ata7.00: status: { DRDY }
Dec 5 20:23:29 phobos kernel: [ 385.949203] ata7.00: failed command: WRITE FPDMA QUEUED
Dec 5 20:23:29 phobos kernel: [ 385.949209] ata7.00: cmd 61/08:30:a8:08:00/00:00:02:00:00/40 tag 6 ncq 4096 out
Dec 5 20:23:29 phobos kernel: [ 385.949210] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Dec 5 20:23:29 phobos kernel: [ 385.949213] ata7.00: status: { DRDY }
Dec 5 20:23:29 phobos kernel: [ 385.949221] ata7: hard resetting link
Dec 5 20:23:29 phobos NetworkManager[903]: <info> (wlan0): supplicant interface state: associated -> 4-way handshake
Dec 5 20:23:29 phobos NetworkManager[903]: NetworkManager[903]: <info> (wlan0): supplicant interface state: associated -> 4-way handshake
Dec 5 20:23:29 phobos NetworkManager[903]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Dec 5 20:23:29 phobos NetworkManager[903]: NetworkManager[903]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Dec 5 20:23:34 phobos kernel: [ 391.289221] ata7: link is slow to respond, please be patient (ready=0)
Dec 5 20:23:39 phobos kernel: [ 395.967329] ata7: COMRESET failed (errno=-16)
Dec 5 20:23:39 phobos kernel: [ 395.967338] ata7: hard resetting link
Dec 5 20:23:44 phobos kernel: [ 401.306092] ata7: link is slow to respond, please be patient (ready=0)
Dec 5 20:23:49 phobos kernel: [ 405.981781] ata7: COMRESET failed (errno=-16)
Dec 5 20:23:49 phobos kernel: [ 405.981790] ata7: hard resetting link
Dec 5 20:23:54 phobos kernel: [ 411.321108] ata7: link is slow to respond, please be patient (ready=0)
Dec 5 20:24:24 phobos kernel: [ 440.914703] ata7: COMRESET failed (errno=-16)
Dec 5 20:24:24 phobos kernel: [ 440.914713] ata7: limiting SATA link speed to 3.0 Gbps
Dec 5 20:24:24 phobos kernel: [ 440.914716] ata7: hard resetting link
Dec 5 20:24:29 phobos kernel: [ 445.949629] ata7: COMRESET failed (errno=-16)
Dec 5 20:24:29 phobos kernel: [ 445.949639] ata7: reset failed, giving up
Dec 5 20:24:29 phobos kernel: [ 445.949643] ata7.00: disabled
Dec 5 20:24:29 phobos kernel: [ 445.949648] ata7.00: device reported invalid CHS sector 0
Dec 5 20:24:29 phobos kernel: [ 445.949651] ata7.00: device reported invalid CHS sector 0
Dec 5 20:24:29 phobos kernel: [ 445.949654] ata7.00: device reported invalid CHS sector 0
Dec 5 20:24:29 phobos kernel: [ 445.949659] ata7.00: device reported invalid CHS sector 0
Dec 5 20:24:29 phobos kernel: [ 445.949662] ata7.00: device reported invalid CHS sector 0
Dec 5 20:24:29 phobos kernel: [ 445.949665] ata7.00: device reported invalid CHS sector 0
Dec 5 20:24:29 phobos kernel: [ 445.949667] ata7.00: device reported invalid CHS sector 0
Dec 5 20:24:29 phobos kernel: [ 445.951634] ata7: EH complete
Dec 5 20:24:29 phobos kernel: [ 445.951662] sd 6:0:0:0: [sdb] Unhandled error code
Dec 5 20:24:29 phobos kernel: [ 445.951665] sd 6:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Dec 5 20:24:29 phobos kernel: [ 445.951669] sd 6:0:0:0: [sdb] CDB: Write(10): 2a 00 02 00 08 a8 00 00 08
Dec 5 20:24:29 phobos kernel: [ 445.953197] EXT4-fs (sdb2): Remounting filesystem read-only
Dec 5 20:24:29 phobos kernel: [ 445.953201] EXT4-fs (sdb2): previous I/O error to superblock detected
Dec 5 20:24:29 phobos kernel: [ 445.953228] sd 6:0:0:0: [sdb] Unhandled error code
Dec 5 20:24:29 phobos kernel: [ 445.953231] sd 6:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Dec 5 20:24:29 phobos kernel: [ 445.953235] sd 6:0:0:0: [sdb] CDB: Write(10): 2a 00 02 00 08 00 00 00 08 00
Dec 5 20:24:29 phobos kernel: [ 445.953249] end_request: I/O error, dev sdb, sector 33556480
Dec 5 20:24:29 phobos kernel: [ 445.953253] Buffer I/O error on device sdb2, logical block 0
Dec 5 20:24:29 phobos kernel: [ 445.953256] lost page write due to I/O error on sdb2
Dec 5 20:24:29 phobos kernel: [ 445.960606] sd 6:0:0:0: [sdb] Unhandled error code
Dec 5 20:24:29 phobos kernel: [ 445.960609] sd 6:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Dec 5 20:24:29 phobos kernel: [ 445.960613] sd 6:0:0:0: [sdb] CDB: Write(10): 2a 00 3b 04 08 00 00 00 08 00
Dec 5 20:24:29 phobos kernel: [ 445.960621] end_request: I/O error, dev sdb, sector 990119936
Dec 5 20:24:29 phobos kernel: [ 445.960633] JBD2: I/O error detected when updating journal superblock for sdb2-8.
Thanks for your help,
PM