CF flash PATA on libata failure to attach

2007-06-26 Thread Andrew Hall
Hello, I have been wrestling now for several days trying to get a Compact Flash (IDE) card detected and mounted properly under any version of Linux 2.6.x. using ICH8 hardware. My understanding is that this hardware uses a SATA to PATA bridge, and so I have tried unsuccessfully to use the newer

Re: SATA update in 2.4, ICH8

2007-06-26 Thread Willy Tarreau
On Mon, Jun 25, 2007 at 10:06:47AM +0200, Vincent Bernat wrote: OoO En ce début de soirée du vendredi 22 juin 2007, vers 21:13, Willy Tarreau [EMAIL PROTECTED] disait: This is a SATA CDROM. There is no PATA controller on the motherboard. I've never tested any SATA CDROM yet. I don't

Re: SATA update in 2.4, ICH8

2007-06-26 Thread Jeff Garzik
Willy Tarreau wrote: On Mon, Jun 25, 2007 at 10:06:47AM +0200, Vincent Bernat wrote: OoO En ce début de soirée du vendredi 22 juin 2007, vers 21:13, Willy Tarreau [EMAIL PROTECTED] disait: This is a SATA CDROM. There is no PATA controller on the motherboard. I've never tested any SATA

Re: [RFT] hpt366: reset DMA state machine on timeouts

2007-06-26 Thread Sergei Shtylyov
Hello. Linas Vepstas wrote: Now I'm confused too -- did you get any DMA timeouts this time? No. And yes, this is confusing, as the initial hang that I was seeing was preceeded by DMA timeout messages on the screen (as posted in the initial email). Now, with the patched kernel, I'm not

Re: SATA update in 2.4, ICH8

2007-06-26 Thread Willy Tarreau
On Tue, Jun 26, 2007 at 09:37:10AM -0400, Jeff Garzik wrote: Any chance you could email me what is pending? Of course! it was in first mail of this thread. Here it is. Thanks, Willy -- Hi ! I have patched 2.4.34

Re: [patch 3/3] Enable Aggressive Link Power management for AHCI controllers.

2007-06-26 Thread Kristen Carlson Accardi
On Fri, 22 Jun 2007 21:00:00 +0200 Jens Axboe [EMAIL PROTECTED] wrote: Exactly, it needs to be handled by some power management daemon anyway and be integrated with power savings in general. You could use io load to determine when to enable/disable alpm, for instance. Acked-by: Kristen

Re: Frequent SATA resets with sata_nv (fwd)

2007-06-26 Thread Matthew \Cheetah\ Gabeler-Lee
On Sun, 24 Jun 2007, Robert Hancock wrote: Matthew Cheetah Gabeler-Lee wrote: (Please cc me on replies) I have three samsung hdds (/sys/block/sda/device/model says SAMSUNG SP2504C) in a raid configuration. My system frequently (2-3x/day) experiences temporary lockups, which produce

[PATCH 1/3] libata: call ata_check_atapi_dma() with qc better prepared

2007-06-26 Thread Tejun Heo
In atapi_xlat(), prepare qc better before calling ata_check_atapi_dma() such that ata_check_atapi_dma() can use info from qc. While at it, reformat weird looking if/else block in the function. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- drivers/ata/libata-scsi.c | 20

[PATCH] libata: use PIO for non-16 byte aligned ATAPI commands

2007-06-26 Thread Tejun Heo
The IDE driver used DMA for ATAPI commands if READ/WRITE command is multiple of sector size or sg command is multiple of 16 bytes. For libata, READ/WRITE sector alignment is guaranteed by the high level driver (sr), so we only have to worry about the 16 byte alignment. This patch makes

[PATCH 3/3] libata: kill ATA_HORKAGE_DMA_RW_ONLY

2007-06-26 Thread Tejun Heo
ATA_HORKAGE_DMA_RW_ONLY for TORiSAN is verified to be subset of using DMA for ATAPI commands which aren't aligned to 16 bytes. As libata now doesn't use DMA for unaligned ATAPI commands, the horkage is redundant. Kill it. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- In case it wasn't clear.

Re: Frequent SATA resets with sata_nv (fwd)

2007-06-26 Thread Heinz Ulrich Stille
On Tuesday 26 June 2007, Matthew Cheetah Gabeler-Lee wrote: On Sun, 24 Jun 2007, Robert Hancock wrote: I selected that model in part because it at least claimed to support NCQ. I'm not sure if it reflects NCQ or not, but I do have /sys/block/sd[abc]/device/queue_{depth,type} which show simple

Re: [PATCH 5/5] via82cxxx: backport short cables support from pata_via.c

2007-06-26 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: Backport short cables support from pata_via.c. This patch should allow UDMA 2 modes on Acer Ferrari 3400. Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] Acked-by: Sergei Shtylyov [EMAIL PROTECTED] MBR, Sergei - To unsubscribe from this

Re: [PATCH 3/5] alim15x3: backport short cables support from pata_ali.c

2007-06-26 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Backport short cables support from pata_ali.c and while at it cleanup existing cable detection code. This patch should allow UDMA 2 modes on HP Pavilion N5430 and Fujitsu P2000. Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] Acked-by: Sergei

Re: [PATCH 2/5] piix: backport short cables support from ata_piix.c

2007-06-26 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Backport short cables support from ata_piix.c. This patch should allow UDMA 2 modes on: - Acer 5602WLMi - Acer 3682WLMi - Asus W5F - Acer Aspire 2023WLMi Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] Acked-by: Sergei Shtylyov [EMAIL

[2.6.22-rc6] NForce4 soft and hard resetting ports and exceptions

2007-06-26 Thread Frederik Himpe
I tried Linux 2.6.22-rc6 on my machine with an Asus A8N-SlI Deluxe motherboard (NForce 4 chipset). When booting, the system hangs for a long time, but it continues after a long wait. I found these kind of errors in the logs afterwards: ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2

Re: [Fwd: promise-sata-pata, No release code PATA port on Promise PDC20579, TODO?]

2007-06-26 Thread thomas schorpp
thomas schorpp wrote: thomas schorpp wrote: Subject: promise-sata-pata, No release code PATA port on Promise PDC20579, TODO? From: thomas schorpp [EMAIL PROTECTED] Date: Fri, 10 Nov 2006 14:41:53 +0100 To: Linux SCSI

Re: [PATCH 4/5] sis5513: backport short cables support from pata_sis.c

2007-06-26 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Backport short cables support from pata_sis.c. This patch should allow UDMA 2 modes on ASUS A6K. Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] Acked-by: Sergei Shtylyov [EMAIL PROTECTED] Index: b/drivers/ide/pci/sis5513.c

Re: CF flash PATA on libata failure to attach

2007-06-26 Thread Mark Lord
Andrew Hall wrote: Hello, I have been wrestling now for several days trying to get a Compact Flash (IDE) card detected and mounted properly under any version of Linux 2.6.x. using ICH8 hardware. My understanding is that this hardware uses a SATA to PATA bridge, and so I have tried

Re: [2.6.22-rc6] NForce4 soft and hard resetting ports and exceptions

2007-06-26 Thread Frederik Himpe
On Tue, 26 Jun 2007 17:45:22 +, Frederik Himpe wrote: I tried Linux 2.6.22-rc6 on my machine with an Asus A8N-SlI Deluxe motherboard (NForce 4 chipset). When booting, the system hangs for a long time, but it continues after a long wait. I found these kind of errors in the logs

Re: [PATCH 3/6] siimage: PIO mode setup fixes

2007-06-26 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: A lot to argue about here... * Add sil_tuneproc() wrapper for siimage_tuneproc() which also sets PIO mode on the device. Planning on the global prefix change? :-) * Add code limiting maximum PIO mode according to the pair device capabilities to

Re: [2.6.22-rc6] NForce4 soft and hard resetting ports and exceptions

2007-06-26 Thread Jim Paris
Frederik Himpe wrote: On Tue, 26 Jun 2007 17:45:22 +, Frederik Himpe wrote: I tried Linux 2.6.22-rc6 on my machine with an Asus A8N-SlI Deluxe motherboard (NForce 4 chipset). When booting, the system hangs for a long time, but it continues after a long wait. I found these kind of

Re: ALPM on devices not supporting HIPM?

2007-06-26 Thread Kristen Carlson Accardi
On Sat, 23 Jun 2007 14:23:12 +0300 Török Edvin [EMAIL PROTECTED] wrote: Hi, With the ALPM patches I get: Unable to set link PM policy. [until now I've tested only the combination of your, and Tejun's port-stopping patch, as I already reported in a past thread] It looks like my device

is Promise TX4302 supported?

2007-06-26 Thread Jan Kundrát
Hi folks, I'm considering buying a four-channel SATA PCI controller marked as Promise TX-4302 (two internal SATA links, two eSATA, independent on each other). According to the product page at Promise [1], Linux is missing from the list of supported operating systems, although Google suggests that

RE: CF flash PATA on libata failure to attach

2007-06-26 Thread Andrew Hall
This looks a lot like the other CF-card problem that was being debugged here over the past week -- the one where POLLING had to be turned on. Robert de Rooy (copied) was the reporter for that one. Perhaps you two could compare notes ? Cheers Thanks for getting back to me. I read through