linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Favrholdt <linux-ide@how.dk>
To: linux-ide@vger.kernel.org
Cc: Tejun Heo <tj@kernel.org>
Subject: Re: FYI: BUG in SATA Promise 300 TX4 (2.6.24 - 2.6.27-3) w/Linux
Date: Thu, 20 Nov 2008 11:22:37 +0100	[thread overview]
Message-ID: <49253A6D.1040202@how.dk> (raw)
In-Reply-To: <492371F4.7020400@kernel.org>

Hi Tejun and list,

Tejun Heo wrote:
> COMRESETs are failing with EBUSY while ata_sff_check_ready() is
> returning ENODEV.  Hmmm... Does the attached patch change anything?

patching file drivers/ata/sata_promise.c
Hunk #1 succeeded at 707 (offset -2 lines).

Yes, it actually helped. Tested it twice and both times the following 
happened:

1. started the dd's from all four drives

2. /dev/sda fails after a while as usual

3. two hardresets happen on sda - the second limits the link to 1.5Gbps

4. dd continues without hickups (and when completed normally I started 
yet another dd test which ran to completion without any errors).

So at first error the hardreset kicks in and saves the day (and 
downgrades to 1.5Gbps which prevents the problem from happening in my 
setup).

Thanks a lot!

Best regards,

Peter Favrholdt

Here is the dmesg:

[  648.683865] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x180000 
action 0x6
[  648.683872] ata1.00: port_status 0x20280000
[  648.683876] ata1: SError: { 10B8B Dispar }
[  648.683884] ata1.00: cmd c8/00:00:00:0e:e6/00:00:00:00:00/e1 tag 0 
dma 131072 in
[  648.683886]          res 51/84:00:00:0e:e6/00:00:00:00:00/e1 Emask 
0x12 (ATA bus error)
[  648.683889] ata1.00: status: { DRDY ERR }
[  648.683891] ata1.00: error: { ICRC ABRT }
[  648.683942] ata1: hard resetting link
[  649.190217] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  649.334082] ata1.00: configured for UDMA/133
[  649.334354] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x9 t4
[  649.334357] ata1: hotplug_status 0x80
[  649.492347] ata1.00: configured for UDMA/133
[  649.492363] ata1: EH complete
[  649.537356] sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors 
(500108 MB)
[  649.540275] sd 0:0:0:0: [sda] Write Protect is off
[  649.540284] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[  649.547891] sd 0:0:0:0: [sda] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[  649.555009] sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors 
(500108 MB)
[  649.557709] sd 0:0:0:0: [sda] Write Protect is off
[  649.557719] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[  649.991649] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x180000 
action 0x6
[  649.991657] ata1.00: port_status 0x20280000
[  649.991662] ata1: SError: { 10B8B Dispar }
[  649.991669] ata1.00: cmd c8/00:00:00:17:e6/00:00:00:00:00/e1 tag 0 
dma 131072 in
[  649.991671]          res 51/84:00:00:17:e6/00:00:00:00:00/e1 Emask 
0x12 (ATA bus error)
[  649.991674] ata1.00: status: { DRDY ERR }
[  649.991676] ata1.00: error: { ICRC ABRT }
[  649.991712] ata1: hard resetting link
[  650.500230] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  650.641824] ata1.00: configured for UDMA/133
[  650.642194] ata1: limiting SATA link speed to 1.5 Gbps
[  650.642200] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xf t4
[  650.642202] ata1: hotplug_status 0x80
[  650.642252] ata1: hard resetting link
[  651.550344] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[  651.700416] ata1.00: configured for UDMA/133
[  651.700678] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x9 t3
[  651.700681] ata1: hotplug_status 0x80
[  651.882957] ata1.00: configured for UDMA/133
[  651.882973] ata1: EH complete
[  651.931329] sd 0:0:0:0: [sda] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[  651.939665] sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors 
(500108 MB)
[  651.943942] sd 0:0:0:0: [sda] Write Protect is off
[  651.943952] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[  651.952162] sd 0:0:0:0: [sda] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA

  reply	other threads:[~2008-11-20 10:24 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-13 21:21 FYI: BUG in SATA Promise 300 TX4 (2.6.24 - 2.6.27-3) w/Linux Linda Walsh
2008-11-16  6:04 ` Tejun Heo
2008-11-16 11:08   ` Mikael Pettersson
2008-11-16 14:24     ` Tejun Heo
2008-11-16 16:48     ` Brad Campbell
2008-11-17  2:01       ` Tejun Heo
2008-11-16 17:34     ` Peter Favrholdt
2008-11-16 17:39       ` Peter Favrholdt
2008-11-17  2:01         ` Tejun Heo
2008-11-17 11:47           ` Peter Favrholdt
2008-11-18  1:11             ` Tejun Heo
2008-11-18 18:03               ` Peter Favrholdt
2008-11-19  1:55                 ` Tejun Heo
2008-11-20 10:22                   ` Peter Favrholdt [this message]
2008-11-20 11:10                     ` Mikael Pettersson
2008-11-21  4:42                       ` Tejun Heo
2008-11-21  4:56                       ` [PATCH #upstream-fixes] sata_promise: request follow-up SRST Tejun Heo
2008-11-22 16:30                         ` Mikael Pettersson
2008-11-23 22:38                         ` Peter Favrholdt
2008-11-25 13:00                         ` Peter Favrholdt
2008-11-26  2:46                           ` Tejun Heo
2008-11-26  8:12                             ` Peter Favrholdt
2008-11-26 23:07                               ` Peter Favrholdt
2008-11-25 17:27                         ` Jeff Garzik
2008-11-25 21:17                           ` Mikael Pettersson
2008-11-29 21:50                           ` Mikael Pettersson
2008-11-30 15:06                             ` Peter Favrholdt
2009-02-10  4:30                             ` Jeff Garzik
2009-02-10 17:28                               ` Mikael Pettersson
2009-02-10 21:13                                 ` Jeff Garzik
2009-02-23 12:17                                   ` [PATCH #upstream-fixes] sata_promise: request follow-up SRST - it works Peter Favrholdt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49253A6D.1040202@how.dk \
    --to=linux-ide@how.dk \
    --cc=linux-ide@vger.kernel.org \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).