Re: About forcing 32bit DMA patch for AMD690G(SB600)

2008-01-25 Thread Konstantin A. Lepikhov
Hi Tejun!

Friday 25, at 02:50:06 PM you wrote:

 Andrew Paprocki wrote:
  I have an SB600/RS690 here with SATA drives connected. I haven't been
  following this thread, but I can help test something if it would help.
 
 We're trying to determine whether SB600 ahci controller can do 64bit DMA
 or not.  Srihari's couldn't but Shane's test result tells a different
 story.  Do you have memory mapped over 4G (if you have 4G some of them
 will be over 4G, you can know this by looking at the e820 map printed
 during boot)?
$ lspci -nn
00:00.0 Host bridge [0600]: ATI Technologies Inc RD580 [CrossFire Xpress 3200] 
Chipset Host Bridge [1002:5952]
00:02.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI-X Root Port 
[1002:5a34]
00:05.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI Bridge [1002:5a37]
00:12.0 SATA controller [0106]: ATI Technologies Inc SB600 Non-Raid-5 SATA 
[1002:4380]
...

Is this hardware enough for testing? I can add 2G to existing 4G of RAM
and post dmesg.

-- 
WBR et al.
-
To unsubscribe from this list: send the line unsubscribe linux-ide in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: How to Switch DMA off for only one Harddisk at Kernelboot

2007-12-29 Thread Konstantin A. Lepikhov
Hi Gabriel!

Sunday 16, at 09:31:17 PM you wrote:

 Oliver Joa wrote:
  Hi,
  
  Gabriel C wrote:
  
  [...]
  
  Also have a look at Documentation/ide.txt.
  I read this already. Searching for nodma in this document gives only 
  one line:
 
ide=nodma: disable DMA globally for the IDE subsystem.
 
  If the documentation is correct hda=nodma and ideX=nodma should not 
  work. I use kernel 2.6.23.1 at the moment.
  grep nodma Documentation/ide.txt
   hdx=nodma: disallow DMA
 
  ide=foo_option is for the whole ide sub-system where ideX|hdX=foo_option 
  is just for that HDD.
  
  
  /usr/src/linux-2.6.23.1$ grep nodma Documentation/ide.txt
ide=nodma: disable DMA globally for the IDE subsystem.
  
  /usr/src/linux-2.6.21.5$ grep nodma Documentation/ide.txt
ide=nodma: disable DMA globally for the IDE subsystem.
  
  /usr/src/linux-2.6.12# grep nodma Documentation/ide.txt
ide=nodma: disable DMA globally for the IDE subsystem.
  
  Sorry, but I can not find this option, and it does not work. Which 
  kernel do you use?
 
 This is my devel box , running 2.6.24-rc5-git
Are you using modular or in-kernel IDE? Modules ignore cmdline options, so
you must pass this parameter directly to ide_core (e.g. ide_core
options=ide=nodma).

-- 
WBR et al.
-
To unsubscribe from this list: send the line unsubscribe linux-ide in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] libata: blacklist TOSHIBA MK1637GSX

2007-11-19 Thread Konstantin A. Lepikhov
Hi!

TOSHIBA MK1637GSX do spurious command completion

More details can be found in
http://bugzilla.kernel.org/show_bug.cgi?id=9410

-- 
WBR et al.
From 9aca07148a192ece4c6fe085148b3cfb7390d367 Mon Sep 17 00:00:00 2001
From: Konstantin A. Lepikhov [EMAIL PROTECTED]
Date: Mon, 19 Nov 2007 23:56:25 +0300
Subject: [PATCH] libata: Another one in spurious command completion list:

ata1.00: exception Emask 0x2 SAct 0x1 SErr 0x0 action 0x2 frozen
ata1.00: spurious completions during NCQ issue=0x0 SAct=0x1 
FIS=004040a1:0020
ata1.00: cmd 60/70:00:83:a6:f0/00:00:04:00:00/40 tag 0 cdb 0x0 data 57344 in

Device Model: TOSHIBA MK1637GSX
Serial Number:77VBT1CRT
Firmware Version: DL040D

Blacklist it.

Signed-off-by: Konstantin A. Lepikhov [EMAIL PROTECTED]
Acked-by: Pavlov Konstantin [EMAIL PROTECTED]
---
 drivers/ata/libata-core.c |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 8189803..0e9cd14 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4236,6 +4236,7 @@ static const struct ata_blacklist_entry 
ata_device_blacklist [] = {
{ ST980813AS, 3.ADB,ATA_HORKAGE_NONCQ, },
{ SAMSUNG HD401LJ,ZZ100-15, ATA_HORKAGE_NONCQ, },
{ Maxtor 7V300F0, VA111900, ATA_HORKAGE_NONCQ, },
+   { TOSHIBA MK1637GSX,  DL040D,   ATA_HORKAGE_NONCQ, },
 
/* devices which puke on READ_NATIVE_MAX */
{ HDS724040KLSA80,KFAOA20N, ATA_HORKAGE_BROKEN_HPA, },
-- 
1.5.3.5.GIT