public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [2.6.21.1] SATA freeze
@ 2007-06-04 12:59 Tomasz Chmielewski
  0 siblings, 0 replies; 16+ messages in thread
From: Tomasz Chmielewski @ 2007-06-04 12:59 UTC (permalink / raw)
  To: LKML; +Cc: gmack

Fred Moyer wrote:

>> Sounds like SMART is likely disabled on that drive. You can try doing 
>> "smartctl -s on /dev/sda" and see if that will turn it on.
>> 
> 
> Sorry - that last post of mine was brain dead.  Here's the one with 
> (hopefully) useful data.
> 
> app2 ~ # smartctl  -d ata -a /dev/sda
> smartctl version 5.36 [x86_64-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
> 

(...)

>    -- -- -- -- -- -- --
>    84 51 00 b5 c9 73 e0  Error: ICRC, ABRT at LBA = 0x0073c9b5 = 7588277
> 
>    Commands leading to the command that caused the error were:
>    CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
>    -- -- -- -- -- -- -- --  ----------------  --------------------
>    25 00 20 96 c9 73 e0 00      01:25:42.886  READ DMA EXT
>    b0 d0 01 00 4f c2 00 02      01:25:42.868  SMART READ DATA
>    35 00 08 ae b6 42 e0 00      01:25:42.456  WRITE DMA EXT
>    b0 da 00 00 4f c2 00 00      01:25:42.430  SMART RETURN STATUS
>    35 00 08 60 81 04 e0 00      01:25:42.376  WRITE DMA EXT

I was getting very similar SMART results, and kernel errors, when used 
PATA drive and SATA_VIA (no freezes or hangs though):


SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata3.00: cmd b0/da:00:00:4f:c2/00:00:00:00:00/00 tag 0 cdb 0x0 data 0
          res 51/04:00:0b:ff:bf/00:00:00:00:00/00 Emask 0x1 (device error)
ata3.00: configured for UDMA/100
ata3: EH complete
SCSI device sda: write cache: enabled, read cache: enabled, doesn't 
support DPO or FUA
ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata3.00: cmd b0/d0:01:00:4f:c2/00:00:00:00:00/00 tag 0 cdb 0x0 data 512 in
          res 51/04:01:00:4f:c2/00:00:00:00:00/00 Emask 0x1 (device error)
ata3.00: configured for UDMA/100
ata3: EH complete



The problem was that I started smartd with wrong parameters:

DEVICESCAN -a -o on -S on -s (S/../.././10|L/../../6/11)


It was solved when I added "-d sat" to smartd parameters:

DEVICESCAN -d sat -a -o on -S on -s (S/../.././10|L/../../6/11)


 From that time on, smartctl -a /dev/sda gives "normal" output, and no 
more strange kernel errors.

Hopefully, it'll get fixed in smartmontools soon (or is fixed already, 
but not yet mainline).


-- 
Tomasz Chmielewski
http://wpkg.org



^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <fa.zU1kuoSgByTYCYqY+iCQ5rMJy34@ifi.uio.no>]
[parent not found: <fa.Ngs+g4HBWK5JUzEhRMjcVQVR448@ifi.uio.no>]
* [2.6.21.1] SATA freeze
@ 2007-05-09 18:54 Gerhard Mack
  2007-05-09 19:53 ` Jeff Garzik
  0 siblings, 1 reply; 16+ messages in thread
From: Gerhard Mack @ 2007-05-09 18:54 UTC (permalink / raw)
  To: linux-kernel

May  9 14:51:35 mgerhard kernel: ata1.00: exception Emask 0x0 SAct 0x0 
SErr 0x1800000 action 0x2 frozen
May  9 14:51:35 mgerhard kernel: ata1.00: cmd 
35/00:00:80:6d:c8/00:04:09:00:00/e0 tag 0 cdb 0x0 data 524288 out
May  9 14:51:35 mgerhard kernel:          res 
40/00:c8:68:65:c8/84:00:09:00:00/e0 Emask 0x4 (timeout)
May  9 14:51:42 mgerhard kernel: ata1: port is slow to respond, please be 
patient (Status 0xd0)

Anything I can do to figgure out what's causing this?

	Gerhard
 

--
Gerhard Mack

gmack@innerfire.net

<>< As a computer I find your faith in technology amusing.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-06-04 13:00 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fa.nl0Mcy44vzL27dQ8CsLG/+SfNO0@ifi.uio.no>
     [not found] ` <fa.Odn/BmbDLGQp4kzhwqs6TScgkdE@ifi.uio.no>
     [not found]   ` <fa.QtdEc9oISM5NdAmikW4kWhdGDeM@ifi.uio.no>
     [not found]     ` <fa.YyeTl86xaR6Y3MLVL7vUm5SgUzc@ifi.uio.no>
     [not found]       ` <fa.9rF0YSLySQV/+6iXNTOmlASflXA@ifi.uio.no>
2007-05-12 18:34         ` [2.6.21.1] SATA freeze Robert Hancock
2007-06-04 12:59 Tomasz Chmielewski
     [not found] <fa.zU1kuoSgByTYCYqY+iCQ5rMJy34@ifi.uio.no>
2007-05-12 18:48 ` Robert Hancock
2007-05-12 19:09   ` Fred Moyer
2007-05-13  1:02     ` Robert Hancock
2007-05-13  1:52       ` Fred Moyer
2007-05-13  1:20   ` Robin H. Johnson
2007-05-13 18:18     ` Jim Paris
     [not found] <fa.Ngs+g4HBWK5JUzEhRMjcVQVR448@ifi.uio.no>
     [not found] ` <fa.xHed6JNWpYYFYmDy7FY+p6HTjPw@ifi.uio.no>
     [not found]   ` <fa.I0i3SlPzvZnxCYuJNFL3tixqEJU@ifi.uio.no>
2007-05-09 23:48     ` Robert Hancock
2007-05-10 11:40       ` Gerhard Mack
  -- strict thread matches above, loose matches on Subject: below --
2007-05-09 18:54 Gerhard Mack
2007-05-09 19:53 ` Jeff Garzik
2007-05-09 21:43   ` Gerhard Mack
2007-05-09 22:58     ` Chuck Ebbert
2007-05-10  8:51     ` Mikael Pettersson
2007-05-10 11:27       ` Gerhard Mack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox