LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-10-2008, 11:35 PM   #1
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
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?
 
Old 09-11-2008, 01:53 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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)
 
Old 09-11-2008, 08:00 AM   #3
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
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

Last edited by farslayer; 09-11-2008 at 08:02 AM.
 
Old 09-11-2008, 08:33 AM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Original Poster
Rep: Reputation: 118Reputation: 118
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.)
 
Old 09-11-2008, 01:18 PM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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.
 
Old 09-11-2008, 02:02 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Original Poster
Rep: Reputation: 118Reputation: 118
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?
 
Old 09-11-2008, 02:46 PM   #7
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
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.
 
Old 09-11-2008, 02:55 PM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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.
 
Old 09-11-2008, 04:14 PM   #9
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Original Poster
Rep: Reputation: 118Reputation: 118
I'll give it a try when I get home from work tonight and post an update. Thanks guys!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clone a dual booting IDE hard drive to a SATA hard drive namida12 Linux - Distributions 1 07-14-2008 10:01 AM
500 GB Sata Hard Drive - volume issue >> shows 452 GB bskrakes Linux - Hardware 25 03-24-2008 11:45 PM
kernel accessing pata cd rom drive instead of sata OS hard drive for filesystem elaps2007 Linux - Kernel 0 03-19-2008 09:39 AM
Sata Raid 1 and Single Sata drive drive order issue Kvetch Linux - Hardware 5 03-19-2007 06:50 PM
about SATA hard disk's issue zywsdu Linux - Hardware 1 01-13-2006 07:46 PM


All times are GMT -5. The time now is 10:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration