All of lore.kernel.org
 help / color / mirror / Atom feed
* FYI: BUG in SATA Promise 300 TX4 (2.6.24 - 2.6.27-3) w/Linux
@ 2008-11-13 21:21 ` Linda Walsh
  0 siblings, 0 replies; 40+ messages in thread
From: Linda Walsh @ 2008-11-13 21:21 UTC (permalink / raw)
  To: LKML, Smartmontools Mailing List, linux-ide

FYI -- ever since I switched to using SATA, I've not had a stable kernel.
Sys uptime went from near infinite (striking planned take downs), to less
than a week consistently.  I'd been using the Promise 300 TX4 with 1-2
Seagate drives.  (PDC40718, rev 02).

Finally an explicit problem regarding that controller under Linux, with it
timing out a drive returning from suspend during 'SMART' operations, got a
suggestions from the community (Tnx, Tejun Heo) to try a _cheaper_ but
better featured Silicon Image controller (SiI 3124 Sata).

Not only did it NOT have the SMART problem (that would hang the drive or
machine), but my random hangs seem to have gone away.

My main server has been up nearly 21 days now on 2.6.27-3 SMP
(vanilla-i386).

I'd had problems with the ranging in kernels going back to 2.6.24 or so
when I had first tried adding SATA to the system.

So Tnx again to Tejun --

and NOTE: the card or driver (or both) for the Promise 300 TX4 isn't
stable for production use -- and has a repeatable problem of timing out
some drives before it can spin-up from standby (just the drive -- not the
computer).  The error logically removes the drive from the system until
the next boot (unplugging, and replugging in the SATA cable on the drive
would hang the machine within 5 seconds of replugging in the cable).  Not
an instant, hang as might indicated a HW upset plugging in cable, but a
couple second delay after plugin -- before keyboard would lock up --
pointing toward the software trying to re-add+initialize the drive.

Needless to say, I'm only using the Sil controller now, and things are
stable.



^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [PATCH #upstream-fixes] sata_promise: request follow-up SRST
@ 2009-09-25  5:24 Walter Hutchins
  2009-09-26  2:57 ` Robert Hancock
  0 siblings, 1 reply; 40+ messages in thread
From: Walter Hutchins @ 2009-09-25  5:24 UTC (permalink / raw)
  To: linux-ide

I have tested this patch:

http://user.it.uu.se/~mikpe/linux/patches/2.6/OLD/2.6.28/patch-sata_promise-reset-updates-v1-2.6.28

on a 2.6.31 kernel.

It continues with the same errors as:
{ DRDY ERR },
{ ICRC ABRT },
exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x9 t4,
link is slow to respond,
gradually reducing UDMA/133 to UDMA/33,
etc.,
with no apparent improvement.

One thing of note is that it happens always on one drive, and not ever
on the other.

It never happens on happens on ST3500641AS Seagate esata 500GB.
It always happens on  WD My Book esata 500GB.

I tried exchanging cables, and even reversing ports
(including with fstab tweak from sda to sdb) to rule out the cable
or the the controller port.
I tried copying data the other way around and the WD still gave one
group of errors, but writing triggers many more errors than reading.

The problem follows the drive.
The drive passes WD diagnostics and apparently functions fine except
for the messages. The WD drive is a second RMA replacement for same model
which gave same messages and I thought it was a problem.

On kernel 2.6.18.8, the throughput to the WD drive is a little faster
and the messages, which happen with the same frequency, are gentler.

hdparm in case there is some clue:

hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
        Model Number:       ST3500641AS
        Serial Number:      3PM1C9S5
        Firmware Revision:  3.AAE
Standards:
        Supported: 7 6 5 4
        Likely used: 7
Configuration:
        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        --
        CHS current addressable sectors:   16514064
        LBA    user addressable sectors:  268435455
        LBA48  user addressable sectors:  976773168
        device size with M = 1024*1024:      476940 MBytes
        device size with M = 1000*1000:      500107 MBytes (500 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        Queue depth: 32
        Standby timer values: spec'd by Standard, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = ?
        Recommended acoustic management value: 144, current value: 0
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=240ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    SMART feature set
                Security Mode feature set
           *    Power Management feature set
           *    Write cache
           *    Look-ahead
           *    Host Protected Area feature set
           *    WRITE_BUFFER command
           *    READ_BUFFER command
           *    DOWNLOAD_MICROCODE
                SET_MAX security extension
           *    48-bit Address feature set
           *    Device Configuration Overlay feature set
           *    Mandatory FLUSH_CACHE
           *    FLUSH_CACHE_EXT
           *    SMART error logging
           *    SMART self-test
           *    General Purpose Logging feature set
           *    SATA-I signaling speed (1.5Gb/s)
           *    SATA-II signaling speed (3.0Gb/s)
           *    Native Command Queueing (NCQ)
           *    Phy event counters
           *    Software settings preservation
Security:
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
        not     frozen
        not     expired: security count
        not     supported: enhanced erase
Checksum: correct

hdparm -I /dev/sdb

/dev/sdb:

ATA device, with non-removable media
        Model Number:       WD      My Book ESOxford OEMF@J
        Serial Number:      WD-WCAPW0367705
        Firmware Revision:  012
Standards:
        Used: ATA/ATAPI-6 T13 1410D revision 1
        Supported: 6 5 4
Configuration:
        Logical         max     current
        cylinders       16383   0
        heads           16      0
        sectors/track   63      0
        --
        LBA    user addressable sectors:  268435455
        LBA48  user addressable sectors:  976773168
        device size with M = 1024*1024:      476940 MBytes
        device size with M = 1000*1000:      500107 MBytes (500 GB)
Capabilities:
        LBA, IORDY(cannot be disabled)
        Standby timer values: spec'd by Vendor, with device specific minimum
        R/W multiple sector transfer: Max = 1   Current = 0
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    SMART feature set
           *    Power Management feature set
           *    Write cache
           *    48-bit Address feature set
           *    Mandatory FLUSH_CACHE
           *    FLUSH_CACHE_EXT
           *    SMART self-test
           *    WRITE_{DMA|MULTIPLE}_FUA_EXT
           *    SATA-I signaling speed (1.5Gb/s)
           *    SATA-II signaling speed (3.0Gb/s)
Integrity word not set (found 0x0000, expected 0x51a5)

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

end of thread, other threads:[~2009-09-26 18:49 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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-13 21:21 ` Linda Walsh
2008-11-16  6:04 ` Tejun Heo
2008-11-16  6:04   ` Tejun Heo
2008-11-16 11:08   ` Mikael Pettersson
2008-11-16 11:08     ` Mikael Pettersson
2008-11-16 14:24     ` Tejun Heo
2008-11-16 14:24       ` Tejun Heo
2008-11-16 16:48     ` Brad Campbell
2008-11-16 16:48       ` Brad Campbell
2008-11-17  2:01       ` Tejun Heo
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
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
2009-09-25  5:24 [PATCH #upstream-fixes] sata_promise: request follow-up SRST Walter Hutchins
2009-09-26  2:57 ` Robert Hancock
2009-09-26 18:42   ` Walter Hutchins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.