Re: [PATCH] sata_nv,ahci: add the ahci legacy mode support to sata_nv

2007-10-19 Thread Jeff Garzik
peer chen wrote: Ok,I agree to use AHCI driver for our AHCI controllers no matter their class codes are IDE/RAID/AHCI. But for those new or upcoming AHCI controller which DIDs are not included in ahci.c and also IDE/RAID mode being set in BIOS, no driver will be loaded currently, so I hope the

Re: [PATCH] sata_nv,ahci: add the ahci legacy mode support to sata_nv

2007-10-19 Thread peer chen
Ok,I agree to use AHCI driver for our AHCI controllers no matter their class codes are IDE/RAID/AHCI. But for those new or upcoming AHCI controller which DIDs are not included in ahci.c and also IDE/RAID mode being set in BIOS, no driver will be loaded currently, so I hope the first patch

Re: New CD/DVD drive - 80-wire cable detection failure

2007-10-19 Thread Bartlomiej Zolnierkiewicz
On Friday 19 October 2007, Nick Warne wrote: On Friday 19 October 2007 22:07:43 Lennart Sorensen wrote: On Fri, Oct 19, 2007 at 10:03:09PM +0100, Nick Warne wrote: No change: ide_setup: hdd=ide-cd ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA hdd: TSSTcorp

[PATCH] ide: add hwif-ack_intr hook

2007-10-19 Thread Bartlomiej Zolnierkiewicz
* Add hwif-ack_intr hook and use it instead of hwif-hw.ack_intr. * Add missing brackets to cris-v32 and powerpc ide_ack_intr() macros. Cc: Roman Zippel [EMAIL PROTECTED] Cc: Geert Uytterhoeven [EMAIL PROTECTED] Cc: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL

Re: New CD/DVD drive - 80-wire cable detection failure

2007-10-19 Thread Nick Warne
On Friday 19 October 2007 22:07:43 Lennart Sorensen wrote: On Fri, Oct 19, 2007 at 10:03:09PM +0100, Nick Warne wrote: No change: ide_setup: hdd=ide-cd ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA hdd: TSSTcorp CDDVDW SH-S202J, ATAPI CD/DVD-ROM drive hdd: drive

Re: New CD/DVD drive - 80-wire cable detection failure

2007-10-19 Thread Lennart Sorensen
On Fri, Oct 19, 2007 at 10:03:09PM +0100, Nick Warne wrote: No change: ide_setup: hdd=ide-cd ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA hdd: TSSTcorp CDDVDW SH-S202J, ATAPI CD/DVD-ROM drive hdd: drive side 80-wire cable detection failed, limiting max speed to UDMA33

Re: Sata Sil3512 bug?; Promise SATA300 TX4

2007-10-19 Thread Tejun Heo
Alexander Sabourenkov wrote: Hello. So, my bet for your second report is your hardware went through something similar as above. Thanks for the insight. Let's dismiss it then. Back to the TX4, I tried libata-dev.git cloned at about 20:00 UTC 19.10, no perceived difference - parallel read

Re: Port Multiplier Support for sata_sil24

2007-10-19 Thread Tejun Heo
Greg Meyer wrote: Hi. I was very excited to see port multiplier support for the sata_sil24 module in your patchset, but it does not appear to be working here, and I am not sure if I am doing something wrong or if it still is not supported. I am working on a project to get a RAID enclosure

Re: New CD/DVD drive - 80-wire cable detection failure

2007-10-19 Thread Nick Warne
On Friday 19 October 2007 22:44:27 Bartlomiej Zolnierkiewicz wrote: Ah, so the patch won't help (sorry, I didn't pay enough attention). Len's advices are worth the try, also please send the output of hdparm -I /dev/hdd. Thanks, Bart Yes, Len's advice has me wondering now. Do I have a

[git patches] libata fixes

2007-10-19 Thread Jeff Garzik
Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus to receive the following updates: drivers/ata/libata-core.c |2 +- drivers/ata/pata_cs5536.c |4 ++-- drivers/ata/sata_sis.c| 15 +-- 3 files

Re: [PATCH] sata_sis: fix SCR read breakage

2007-10-19 Thread Jeff Garzik
Tejun Heo wrote: SCR read for controllers which uses PCI configuration space for SCR access got broken while adding @val argument to SCR accessors. Fix it. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- drivers/ata/sata_sis.c | 13 - 1 file changed, 8 insertions(+), 5

Re: [git patch] libata build fix

2007-10-19 Thread Jeff Garzik
Bartlomiej Zolnierkiewicz wrote: On Tuesday 16 October 2007, Jeff Garzik wrote: Jeff Garzik (1): [libata] pata_cs5536: new API build fix We probably need also this one for pata_cs5536: [PATCH] pata_cs5536: MWDMA fix * Fix out-of-bound array access for MWDMA modes. * Bump driver

Re: [PATCH] libata: fix kernel-doc param name

2007-10-19 Thread Jeff Garzik
Randy Dunlap wrote: From: Randy Dunlap [EMAIL PROTECTED] Fix libata kernel-doc parameter name. Warning(linux-2.6.23-git13//drivers/ata/libata-core.c:1415): No description found for parameter 'sgl' Signed-off-by: Randy Dunlap [EMAIL PROTECTED] --- drivers/ata/libata-core.c |2 +-

Re: Fwd: CMD 64x regression from 2.6.21 to 2.6.22 and 2.6.23?

2007-10-19 Thread Martin Rogge
On Friday 19 October 2007 22:26:23 Sergei Shtylyov wrote: Hello. Martin Rogge wrote: BTW, can you try adding #define DEBUG to the driver meanwhile?.. Yoda said: Try not. Do or do not. There is no try. :-) So I did it. To be precise, I #defined both DEBUG and CMD_DEBUG.

Fw: Spurious completions during NCQ

2007-10-19 Thread Andrew Morton
Begin forwarded message: Date: Sat, 13 Oct 2007 15:12:31 +0200 (CEST) From: Marco Lamberto [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Spurious completions during NCQ Hi, I think that my drives should be NCQ blacklisted too. That's what I'm getting in my /var/log/messages:

Re: New CD/DVD drive - 80-wire cable detection failure

2007-10-19 Thread Lennart Sorensen
On Fri, Oct 19, 2007 at 11:04:23PM +0100, Nick Warne wrote: Yes, Len's advice has me wondering now. Do I have a dodgy cable? I will have to change that tomorrow. But more info. The old drive played DVD movies etc. OK, but slowly it became worse until I couldn't read any one of them 9

Re: New CD/DVD drive - 80-wire cable detection failure

2007-10-19 Thread Bartlomiej Zolnierkiewicz
On Saturday 20 October 2007, Nick Warne wrote: On Friday 19 October 2007 22:44:27 Bartlomiej Zolnierkiewicz wrote: hdparm -I It should have been hdparm --Istdout (sorry, once again). [ It is definitevely not my day, or rather trying to debug the problem while preparing the next IDE pull

Re: [PATCH] IDE: Remove inclusion of non-existent io_trace.h.

2007-10-19 Thread Bartlomiej Zolnierkiewicz
On Monday 08 October 2007, Bartlomiej Zolnierkiewicz wrote: Hi, On Sunday 07 October 2007, Robert P. J. Day wrote: Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] applied --- the fact that this header file doesn't exist has apparently been known for quite some time:

Re: [2.6 patch] ide/pci/sis5513.c: add missing else

2007-10-19 Thread Bartlomiej Zolnierkiewicz
On Friday 19 October 2007, Adrian Bunk wrote: This patch adds a missing else that was missing in commit c77a89cd98d99819f23a4a08e5e17ee1f13f6e4d. Spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] applied, thanks! --- 2e4b8d4f58ea45e55c87ba5563b0d0e135cac2b4

Re[2]: Sata Sil3512 bug?; Promise SATA300 TX4

2007-10-19 Thread MisterE
Hello Alexander, Friday, October 19, 2007, 11:06:02 PM, you wrote: I don't know what to try next. Any ideas? I'm no kernel hacker, so i'll take a shot. I assume you have done most already... * hardware (Tested/without/or used another: motherboard, videocard, memory, hard drives, power

Re: New CD/DVD drive - 80-wire cable detection failure

2007-10-19 Thread Nick Warne
Hi Bart, Thanks for assistance. On Friday 19 October 2007 21:28:43 Bartlomiej Zolnierkiewicz wrote: No help anyone? Did I buy a taboo drive? [EMAIL PROTECTED]:nick$ /usr/sbin/hdparm -i /dev/hdd /dev/hdd: Model=TSSTcorp CDDVDW SH-S202J, FwRev=SB00, SerialNo= Config={ Fixed

Re: Fwd: CMD 64x regression from 2.6.21 to 2.6.22 and 2.6.23?

2007-10-19 Thread Sergei Shtylyov
Hello. Martin Rogge wrote: BTW, can you try adding #define DEBUG to the driver meanwhile?.. Yoda said: Try not. Do or do not. There is no try. :-) So I did it. To be precise, I #defined both DEBUG and CMD_DEBUG. However, I am not sure the result is conclusive. On a good kernel

Re: New CD/DVD drive - 80-wire cable detection failure

2007-10-19 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday 19 October 2007, Nick Warne wrote: On Thursday 18 October 2007 18:32:42 Nick Warne wrote: Hi all, Please CC, not subscribed. kernel 2.6.23 My DVD/CDrom stopped reading DVD's, so I purchased a new one today. Old: Oct 10 21:01:01 linuxamd kernel: ide0: BM-DMA

Re: [patch] PCI: disable MSI on more ATI NorthBridges

2007-10-19 Thread Jeff Garzik
Linas Vepstas wrote: On Fri, Oct 19, 2007 at 09:17:23PM +0800, Shane Huang wrote: Since we have little experience on PCI and MSI here, we had to try to As someone else pointed out, AMD should have *lots* of people with pci and msi experience on the payroll. (Folks here buy AMD-designed pci

Re: Fwd: CMD 64x regression from 2.6.21 to 2.6.22 and 2.6.23?

2007-10-19 Thread Martin Rogge
On Wednesday 17 October 2007 22:40:21 Sergei Shtylyov wrote: BTW, can you try adding #define DEBUG to the driver meanwhile?.. Yoda said: Try not. Do or do not. There is no try. So I did it. To be precise, I #defined both DEBUG and CMD_DEBUG. However, I am not sure the result is conclusive.

Re: Sata Sil3512 bug?; Promise SATA300 TX4

2007-10-19 Thread Alexander Sabourenkov
Hello. So, my bet for your second report is your hardware went through something similar as above. Thanks for the insight. Let's dismiss it then. Back to the TX4, I tried libata-dev.git cloned at about 20:00 UTC 19.10, no perceived difference - parallel read from two drives causes a lot

Re: FW: LIBATA issue with SATA drive

2007-10-19 Thread Torsten Kaiser
On 10/19/07, Tejun Heo [EMAIL PROTECTED] wrote: Torsten Kaiser wrote: Just remebered another thing about sata_sil24 that popped up with 2.6.23-mm1. With this kernel version (comparing to 2.6.23-rc8-mm1) the port probing time goes up from ~0.5 seconds per port/drive to ~2 seconds. Also

Re: [2.6.22.5] irq X: nobody cared but X is successfully used by libata

2007-10-19 Thread Bjoern Olausson
On 10/19/07, Paul Rolland [EMAIL PROTECTED] wrote: Hi Tejun, On Fri, 19 Oct 2007 12:23:15 +0900 Tejun Heo [EMAIL PROTECTED] wrote: On 26/08/07, Paul Rolland [EMAIL PROTECTED] wrote: My machine (an ASUS P5W-DH-Deluxe, Core2, 4Go RAM, 3 SATA and 2IDE) is reporting a : irq 23: nobody

ATA_GET_STATUS ioctl crashes on AHCI devices

2007-10-19 Thread Stanislav Semakin
Hi, I use 2.6.21 kernel. If I call the ATA_GET_STATUS to the disks connected to ahci card then my app crashes. ata_check_status() function does ioread8(ap-ioaddr.status_addr) where ap-ioaddr.status_addr is 0. If I change it in the following way everything works: u8 ata_check_status(struct

Port Multiplier Support for sata_sil24

2007-10-19 Thread Greg Meyer
Hi. I was very excited to see port multiplier support for the sata_sil24 module in your patchset, but it does not appear to be working here, and I am not sure if I am doing something wrong or if it still is not supported. I am working on a project to get a RAID enclosure that came with a