Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Erik Slagter <erik@slagter.name>
To: linux-ide@vger.kernel.org
Subject: Re: BUG?: VIA IDE transfer-rate problem
Date: Thu, 19 Jan 2006 12:51:14 +0100	[thread overview]
Message-ID: <1137671474.20831.5.camel@localhost.localdomain> (raw)
In-Reply-To: <200601190821.51702.pvrusb2@toplitzer.net>

[-- Attachment #1: Type: text/plain, Size: 2279 bytes --]

On Thu, 2006-01-19 at 08:21 +0100, Helmut Toplitzer wrote:
> Ok. I found another possible reason, did I?
> 
> I read in several forums that HLT in KT333 chipsets
> of VIA is not enough to get the processor in powersafe
> and to disconnect from the FSB. You need to issuse
> the STPGNT command which also needs first
> to set some registers (because it degrades overall performance and
> so it's normaly disabled by BIOS).
> http://www.planet3dnow.de/vbulletin/archive/index.php/t-80854.html
> (German)
> 
> It's called "Disconnect Enable when STPGNT Detected". And may cause
> other problems like sound distortion etc. because of high fluctuation
> in power current.

This is actually a common AMD Athlon problem. When STOPGRNT is not
enable, hlt does next to nothing. Some boards/bios'es set this bit by
itself, some don't, and some even crash when it's enabled (very bad,
imho).

Also my experience is that some PCI devices tend to stop working when
STOPGRNT is enabled, notably my Promise SX 150 tx2plus, that completely
freaks whenever it misses one single interrupt, which may very well
happen when the processor/board are in C1/C2 (apparently).

See also my other message on this matter:

On Tue, 2006-01-03 at 18:58 +0000, Alan Cox wrote:

> There is a known old bug with error handling in some cases on promise
> chips. The core kernel code tries to clean up any remaining data after
> an error (to handle chip prefetch/postwrite FIFOs) if DRQ_STAT is
> asserted. Its a nice trick, saves on resets and slow recovery but
isn't
> compatible with some promise controllers.
> 
> The -mm tree has a partial but incomplete fix to this implemented, the
> base kernel does not have this fixed.
> 
> Its been known for some time so perhaps the ide maintainers have
patches
> waiting for 2.6.16 now its opened ?

Is this patch supposed to fix this problem:

Promise SATAII150 TX2plus using libata_promise, when it misses one
single interrupt (or maybe it's not even missed but only delayed), it
goes crazy, kernel log is full with disk failures, and the disk is
kicked out of the md(1) array grmbl.

This happens when amd76x_pm is used, even with the irq watcher in the
utter most conservative setting.

Any clue otherwise?


[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2771 bytes --]

  reply	other threads:[~2006-01-19 11:51 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-13 18:09 BUG?: VIA IDE transfer-rate problem Helmut Toplitzer
2006-01-13 18:10 ` Helmut Toplitzer
2006-01-16 17:49   ` Helmut Toplitzer
2006-01-17  9:55     ` Gentoopower
2006-01-17 10:22       ` Helmut Toplitzer
2006-01-17 13:17 ` Bartlomiej Zolnierkiewicz
2006-01-17 14:19   ` [linux-usb-devel] " Rene Herman
2006-01-17 16:03   ` Helmut Toplitzer
2006-01-18 10:27     ` Bartlomiej Zolnierkiewicz
2006-01-18 14:36       ` Helmut Toplitzer
2006-01-18 15:54         ` [linux-usb-devel] " David Brownell
2006-01-18 16:13         ` Bartlomiej Zolnierkiewicz
2006-01-18 23:41           ` Helmut Toplitzer
2006-01-19  1:05             ` [linux-usb-devel] " Alan Cox
2006-01-19  7:21           ` Helmut Toplitzer
2006-01-19 11:51             ` Erik Slagter [this message]
2006-01-19 12:19             ` Bartlomiej Zolnierkiewicz
2006-01-19 13:31               ` Helmut Toplitzer
2006-01-19 19:59                 ` Helmut Toplitzer
2006-01-19 21:29                   ` [linux-usb-devel] " Alan Stern
2006-01-20 11:27                     ` Helmut Toplitzer
2006-01-20 15:11                       ` Rene Herman
2006-01-20 15:44                         ` Helmut Toplitzer
2006-01-22 17:16                           ` Rene Herman

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=1137671474.20831.5.camel@localhost.localdomain \
    --to=erik@slagter.name \
    --cc=linux-ide@vger.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