Re: SATA problems

From: Jeff Garzik
Date: Thu Jun 14 2007 - 13:33:35 EST


Nigel Kukard wrote:
I'm stumped trying to track down the below intermittent problem.....

I've confirmed this problem on 2.6.19, 2.6.20 and 2.6.21.

Jun 14 07:55:52 nigel-m2v kernel: ata2.00: exception Emask 0x0 SAct 0x0
SErr 0x0 action 0x2 frozen
Jun 14 07:55:52 nigel-m2v kernel: ata2.00: cmd
ca/00:18:87:e7:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data 12288 out
Jun 14 07:55:52 nigel-m2v kernel: res
40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Jun 14 07:55:52 nigel-m2v kernel: ata2: soft resetting port
Jun 14 07:55:52 nigel-m2v kernel: ATA: abnormal status 0x7F on port
0x0001c807
Jun 14 07:55:52 nigel-m2v kernel: ATA: abnormal status 0x7F on port
0x0001c807
Jun 14 07:56:22 nigel-m2v kernel: ata2.00: qc timeout (cmd 0xef)
Jun 14 07:56:22 nigel-m2v kernel: ata2.00: failed to set xfermode
(err_mask=0x4)

Try 2.6.22-rc4-gitX...

Is there a patch in particular I can maybe apply? I see you made a
couple of commits ... my problem is this is also happening on one of my
production boxes which has a few other patches applied, I'm a bit scared
of conflicts ... I don't really want to break anything by upgrading the
kernel.

The two most relevant git commits:

commit 51b94d2a5a90d4800e74d7348bcde098a28f4fb3
Author: Tejun Heo <htejun@xxxxxxxxx>
Date: Fri Jun 8 13:46:55 2007 -0700

sata_promise: use TF interface for polling NODATA commands

commit 464cf177df7727efcc5506322fc5d0c8b896f545
Author: Tejun Heo <htejun@xxxxxxxxx>
Date: Sun May 27 15:10:40 2007 +0200

libata: always use polling SETXFER

If you have a git tree local to you, "git-diff-tree -p $COMMIT" will extract a patch, otherwise click "raw" after surfing to http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=$COMMIT

Regards,

Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/