LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SATA Hard Drive Issue? (http://www.linuxquestions.org/questions/linux-hardware-18/sata-hard-drive-issue-669084/)

Matir 09-10-2008 11:35 PM

SATA Hard Drive Issue?
 
Rare as it is that I get to ask a question here, I do have one I'm hoping someone else has seen.

I have 3 drives in my desktop: 2 SATA and 1 PATA. Consistently, the two SATA drives drop errors in dmesg:
Code:

[980303.819311] ata3.00: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6
[980303.819321] ata3.00: BMDMA stat 0x5
[980303.819332] ata3.00: cmd ca/00:18:32:3b:dc/00:00:00:00:00/ea tag 0 dma 12288 out
[980303.819334]          res 51/84:09:41:3b:dc/84:00:00:00:00/ea Emask 0x10 (ATA bus error)
[980303.819339] ata3.00: status: { DRDY ERR }
[980303.819342] ata3.00: error: { ICRC ABRT }
[980303.819364] ata3: hard resetting link
[980304.296038] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[980304.317485] ata3.00: configured for UDMA/33
[980304.317507] ata3: EH complete
[980304.318048] sd 2:0:0:0: [sdb] 1953525168 512-byte hardware sectors (1000205 MB)
[980304.318306] sd 2:0:0:0: [sdb] Write Protect is off
[980304.318314] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[980304.318719] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

My controller is 00:05.0 RAID bus controller: Silicon Integrated Systems [SiS] RAID bus controller 180 SATA/PATA [SiS] (rev 01), supported by the sata_sis driver. I've run SMART tests via smartctl on both drives, and neither drive is showing any signs of trouble in SMART. One drive is brand new and the other is about a year old, 2 different models and manufacturers.

I guess it seems to come down to a motherboard issue or a kernel bug. Either way, I haven't seen any data integrity issues, so hopefully it will stay that way. (And if not, that's what backups are for, right?)

Anyone seen this before with insight into it?

jschiwal 09-11-2008 01:53 AM

I grep'ed /var/log/messages. I see this as well on occasion.

Code:

/var/log/warn:Jun 22 03:03:38 hpmedia kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
/var/log/warn-Jun 22 03:03:38 hpmedia kernel: ata3.00: cmd b0/da:00:00:4f:c2/00:00:00:00:00/00 tag 0
/var/log/warn:Jun 22 03:03:38 hpmedia kernel:          res 40/00:00:01:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
/var/log/warn-Jun 22 03:03:38 hpmedia kernel: ata3.00: status: { DRDY }
/var/log/warn-Jun 22 03:03:44 hpmedia kernel: ata3: port is slow to respond, please be patient (Status 0xd0)
/var/log/warn-Jun 22 03:03:45 hpmedia smartd[3581]: Warning via /usr/lib/smartmontools/smart-notify to root@localhost produced unexpected output (69 bytes)to STDOUT/STDERR:  method return sender=:1.15 -> dest=:1.107 reply_serial=2    uint16 0
/var/log/warn-Jun 22 03:04:24 hpmedia kernel: nfsd: last server has exited
--
/var/log/warn:Jul  1 15:52:26 hpmedia kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
/var/log/warn-Jul  1 15:52:26 hpmedia kernel: ata3.00: cmd b0/da:00:00:4f:c2/00:00:00:00:00/00 tag 0
/var/log/warn:Jul  1 15:52:26 hpmedia kernel:          res 40/00:00:01:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
/var/log/warn-Jul  1 15:52:26 hpmedia kernel: ata3.00: status: { DRDY }
/var/log/warn-Jul  1 15:52:27 hpmedia smartd[4281]: Warning via /usr/lib/smartmontools/smart-notify to root@localhost produced unexpected output (67 bytes)to STDOUT/STDERR:  method return sender=:1.2 -> dest=:1.23 reply_serial=2    uint16 0
/var/log/warn-Jul  1 20:55:55 hpmedia kernel: UDF-fs: No partition found (1)
/var/log/warn-Jul  1 20:56:07 hpmedia kernel: ISOFS: Unable to identify CD-ROM format.
--
/var/log/warn:Jul 14 00:10:36 hpmedia kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
/var/log/warn-Jul 14 00:10:36 hpmedia kernel: ata3.00: cmd b0/da:00:00:4f:c2/00:00:00:00:00/00 tag 0
/var/log/warn:Jul 14 00:10:36 hpmedia kernel:          res 40/00:00:01:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
/var/log/warn-Jul 14 00:10:36 hpmedia kernel: ata3.00: status: { DRDY }
/var/log/warn-Jul 14 00:10:39 hpmedia smartd[4344]: Warning via /usr/lib/smartmontools/smart-notify to root@localhost produced unexpected output (68 bytes)to STDOUT/STDERR:  method return sender=:1.3 -> dest=:1.492 reply_serial=2    uint16 0
/var/log/warn-Jul 14 01:45:09 hpmedia dhcpcd[2720]: eth0: Failed to lookup hostname via DNS: Name or service not known
/var/log/warn-Jul 14 04:51:48 hpmedia mountd[9986]: mount request from unknown host 192.168.1.104 for /home/jschiwal/podcasts (/home/jschiwal/podcasts)
--
/var/log/warn:Aug  8 02:35:30 hpmedia kernel: ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
/var/log/warn-Aug  8 02:35:30 hpmedia kernel: ata5.00: cmd a0/01:00:00:00:08/00:00:00:00:00/a0 tag 0 dma 2048 in
/var/log/warn-Aug  8 02:35:30 hpmedia kernel:          cdb 28 00 00 00 00 10 00 00  01 00 00 00 00 00 00 00
/var/log/warn:Aug  8 02:35:30 hpmedia kernel:          res 40/00:02:00:18:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
/var/log/warn-Aug  8 02:35:30 hpmedia kernel: ata5.00: status: { DRDY }
/var/log/warn-Aug 10 22:48:31 hpmedia kernel: NTFS-fs warning (device loop1): load_system_files(): Volume is dirty.  Will not be able to remount read-write.  Run chkdsk and mount in Windows.
/var/log/warn-Aug 11 03:06:44 hpmedia pulseaudio[16689]: protocol-esound.c: pulsecore/protocol-esound.c: Failed to create sink input.
/var/log/warn-Aug 12 21:17:08 hpmedia kernel: NVRM: API mismatch: the client has the version 173.14.12, but
--
/var/log/warn:Sep  2 10:27:24 hpmedia kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
/var/log/warn-Sep  2 10:27:24 hpmedia kernel: ata1.00: cmd 35/00:08:bf:a1:8c/00:00:22:00:00/e0 tag 0 dma 4096 out
/var/log/warn:Sep  2 10:27:24 hpmedia kernel:          res 40/00:00:01:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
/var/log/warn-Sep  2 10:27:24 hpmedia kernel: ata1.00: status: { DRDY }
/var/log/warn-Sep  2 10:27:29 hpmedia kernel: ata1: port is slow to respond, please be patient (Status 0xd0)
/var/log/warn-Sep  2 10:27:34 hpmedia kernel: ata1: device not ready (errno=-16), forcing hardreset
/var/log/warn-Sep  2 10:28:05 hpmedia kernel: ata1.00: qc timeout (cmd 0xec)


farslayer 09-11-2008 08:00 AM

http://ata.wiki.kernel.org/index.php...error_messages


http://kerneltrap.org/mailarchive/li...8/6/12/2102214
Quote:

timeouts may be solved by acpi=off or 'noapic' or pci=nomsi or pci=biosirq.
and

http://kerneltrap.org/mailarchive/li...8/6/16/2135544

Matir 09-11-2008 08:33 AM

Thanks farslayer! No idea how I missed that wiki.kernel.org page. Seems well-buried in google results for my normal searches. I'm gonna go read through it some and see what I can figure out, though I always thought SATA was far less susceptible to cable issues than PATA (which is what my initial read of the error seems to indicate.)

H_TeXMeX_H 09-11-2008 01:18 PM

I bet you might also be able to solve it if you put them in AHCI mode, if it isn't the cables of course.

Matir 09-11-2008 02:02 PM

I hadn't thought to try that... I need to see if it's supported by my BIOS. Any downsides to switching to AHCI mode?

jay73 09-11-2008 02:46 PM

Not as far as I know. You may get to use NCQ if your drives support it, which is good for servers but largely indifferent for office and home systems.

H_TeXMeX_H 09-11-2008 02:55 PM

I don't know of any downside to AHCI, it simply allows for more features, like jay73 said one of them is native command queuing. It depends some on how well the controller and drives support AHCI, but most newer components should have no problem.

Matir 09-11-2008 04:14 PM

I'll give it a try when I get home from work tonight and post an update. Thanks guys!


All times are GMT -5. The time now is 06:59 PM.