Skip to contentSkip to conversation

SATA exceptions

DISCUSSION S.Çağlar Onur 2 participants 3 messages Jul 5, 2007 – Jul 6, 2007

lore
Share & tools
lore
#0 lore raw

Hi;

I'm starting to see following logs in dmesg for a while (according to kern.log these starts with 2.6.22-rc4) on HP Pavilion dv2385ea

...

[ 4260.278408] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 4260.278417] ata1.00: (irq_stat 0x40000001)
[ 4260.278427] ata1.00: cmd ca/00:08:d0:88:bc/00:00:00:00:00/ee tag 0 cdb 0x0 
data 4096 out
[ 4260.278430]          res 51/40:01:d7:88:bc/00:00:0e:00:00/ee Emask 0x9 
(media error)
[ 4260.911247] ata1.00: configured for UDMA/100
[ 4260.911263] ata1: EH complete
[ 4260.911809] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 
MB)
[ 4260.912127] sd 0:0:0:0: [sda] Write Protect is off
[ 4260.912135] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 4260.912672] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 

doesn't support DPO or FUA
...

zangetsu log # grep "ata1.00: exception" kern.log

Jun 10 23:23:33 localhost kernel: [ 3472.867317] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jun 12 17:09:56 localhost kernel: [ 2470.530793] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jun 12 17:11:19 localhost kernel: [ 2553.874662] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jun 13 12:08:46 localhost kernel: [ 2235.664683] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jun 17 16:59:23 localhost kernel: [ 9208.673909] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jun 22 13:35:56 localhost kernel: [ 1719.191725] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jun 24 14:13:46 localhost kernel: [ 5822.239007] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jun 26 15:24:11 localhost kernel: [ 1315.455726] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jun 26 15:36:46 localhost kernel: [ 2069.003291] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jun 26 15:37:01 localhost kernel: [ 2082.955499] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jun 26 15:37:21 localhost kernel: [ 2103.400411] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jun 26 15:37:38 localhost kernel: [ 2120.251088] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jun 28 10:23:55 localhost kernel: [  383.355017] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jul  5 22:05:14 localhost kernel: [ 4260.278408] ata1.00: exception Emask 0x0 
SAct 0x0 SErr 0x0 action 0x0
Jul  5 22:05:52 localhost kernel: [ 4297.784773] ata1.00: exception Emask 0x0 

SAct 0x0 SErr 0x0 action 0x0

Neither fsck nor badblocks didn't report anything wrong and i far as i know these didn't make any real problem until now but i'm not sure they are harmness or not (or indicates a hw error), so

dmesg, smartctl -a, /proc/interrupts and lspci -vv outputs can be found @[1]

if anything else needed please just tell...

[1] http://cekirdek.pardus.org.tr/~caglar/SATA/

Cheers

Signature · 4 lines
S.Çağlar Onur <[email protected]>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
#1 lore raw

Hello,

Quoted 4 lines · S.Çağlar Onur
[ 4260.278427] ata1.00: cmd ca/00:08:d0:88:bc/00:00:00:00:00/ee tag 0 cdb 0x0 
data 4096 out
[ 4260.278430]          res 51/40:01:d7:88:bc/00:00:0e:00:00/ee Emask 0x9 

(media error)

That's media error on sector 247236823 on WRITE. Media errors on write are bad signs - it usually means the drive even failed to remap the sector because extra space ran out. I'm not sure this is the case here tho - the smart log is clear. Please run smart short/long tests and see what they say.

Signature · 1 line
tejun
#2 lore raw

Hi;

06 Tem 2007 Cum tarihinde, Tejun Heo şunları yazmıştı:

Quoted 9 lines
Quoted 4 lines · S.Çağlar Onur
[ 4260.278427] ata1.00: cmd ca/00:08:d0:88:bc/00:00:00:00:00/ee tag 0 cdb
0x0 data 4096 out
[ 4260.278430]          res 51/40:01:d7:88:bc/00:00:0e:00:00/ee Emask 0x9

(media error)

That's media error on sector 247236823 on WRITE. Media errors on write are bad signs - it usually means the drive even failed to remap the sector because extra space ran out.

Hmm, more than 50GB is empty on disk :)

Quoted 3 lines

I'm not sure this is the case here
tho - the smart log is clear. Please run smart short/long tests and see what they say.

Both completed without a problem;

zangetsu ~ # smartctl -l selftest /dev/sda
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours)
LBA_of_first_error

# 1  Extended offline    Completed without error       00%       357         -
# 2  Short offline       Completed without error       00%       355         -

If you want me to try something else please just say :)

Cheers

Signature · 4 lines
S.Çağlar Onur <[email protected]>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!