Re: Resets on sil3124 sil3726 PMP

2007-08-22 Thread Rusty Conover
On Aug 21, 2007, at 11:43 PM, Tejun Heo wrote: Rusty Conover wrote: Putting just one hard disk into the PMP slots, works great all by itself. I created an ext3 fs on it, used dd to dump lots of data to it, no problems in all of my testing. H.. One hard disk in a PMP slot and another

Re: Resets on sil3124 sil3726 PMP

2007-08-22 Thread Tejun Heo
Does the attached patch make any difference? -- tejun --- drivers/ata/libata-core.c |1 + 1 file changed, 1 insertion(+) Index: work1/drivers/ata/libata-core.c === --- work1.orig/drivers/ata/libata-core.c +++

Re: Resets on sil3124 sil3726 PMP

2007-08-22 Thread Rusty Conover
On Aug 22, 2007, at 12:39 AM, Tejun Heo wrote: Does the attached patch make any difference? -- tejun --- drivers/ata/libata-core.c |1 + 1 file changed, 1 insertion(+) Index: work1/drivers/ata/libata-core.c === ---

Re: Resets on sil3124 sil3726 PMP

2007-08-22 Thread Tejun Heo
Rusty Conover wrote: After adding a semicolon to the added line, and recompiling there are still timeouts like before on the PMP ports. Oops. It did have the effect of setting the SATA speed to 1.5 rather then 3.0 on boot though. Yeah, that was the intention. I'm running out of ideas.

Re: Resets on sil3124 sil3726 PMP

2007-08-22 Thread Rusty Conover
On Aug 22, 2007, at 1:02 AM, Tejun Heo wrote: Rusty Conover wrote: After adding a semicolon to the added line, and recompiling there are still timeouts like before on the PMP ports. Oops. It did have the effect of setting the SATA speed to 1.5 rather then 3.0 on boot though. Yeah,

[PATCH 2.6.23-rc3] pata_via cable override for Arima W730-K8

2007-08-22 Thread Mikael Pettersson
On Fri, 3 Aug 2007 23:32:17 +0100, Alan Cox wrote: On Fri, 3 Aug 2007 20:28:39 +0200 (MEST) Mikael Pettersson [EMAIL PROTECTED] wrote: The machine is an Athlon64 laptop with a K8T800 chipset. With the IDE VIA driver the disk is detected as udma/100: Currently old IDE via driver has a hack in

Re: Problems with IDE on linux 2.6.22.X

2007-08-22 Thread Kiko Piris
On 22/08/2007 at 04:35 +0200, Rene Herman wrote: The old SATA driver available from the IDE menu also does not support your chip, so I don't believe there are any workarounds -- you'll need the issue fixed. I had the same issue when I compiled 2.6.22 on my T60 (SATA_AHCI drives my hd). I

Re: Problems with IDE on linux 2.6.22.X

2007-08-22 Thread Alan Cox
The old SATA driver available from the IDE menu also does not support your chip, so I don't believe there are any workarounds -- you'll need the issue fixed. What issue ? From the report its quite simple - enable the correct CONFIG_ATA based drivers and it should all work fine. - To

Re: [PATCH 2.6.23-rc3] pata_via cable override for Arima W730-K8

2007-08-22 Thread Alan Cox
This patch updates the pata_via cable override DMI table to also recognise my Targa Visionary 811 laptop (== Arima W730-K8). With this patch pata_via does UDMA100 just like the old IDE driver. Signed-off-by: Mikael Pettersson [EMAIL PROTECTED] Acked-by: Alan Cox [EMAIL PROTECTED] ---

Re: PATA hotplug

2007-08-22 Thread Paul Wakeman
--- Alan Cox [EMAIL PROTECTED] wrote: On Fri, 17 Aug 2007 08:56:35 -0700 (PDT) Paul Wakeman [EMAIL PROTECTED] wrote: Does libata support PATA hotplug? I have a PCMCIA CF using TrueIDE mode and want to be able to hotplug CF cards. Would I get hotplug for free if I convert the

Re: PATA hotplug

2007-08-22 Thread Alan Cox
My target is an embedded SoC which has PATA autodetect support. Nice. First, I need to convert the vendor-supplied legacy IDE driver to a PATA platform driver. Can you recommend best-of-breed existing PATA drivers to use as a reference for this work? pata_platform is a dumb platform device

Re: Problems with IDE on linux 2.6.22.X

2007-08-22 Thread Rene Herman
On 08/22/2007 01:23 PM, Alan Cox wrote: The old SATA driver available from the IDE menu also does not support your chip, so I don't believe there are any workarounds -- you'll need the issue fixed. What issue ? From the report its quite simple - enable the correct CONFIG_ATA based drivers

Re: Problems with IDE on linux 2.6.22.X

2007-08-22 Thread Lennart Sorensen
On Wed, Aug 22, 2007 at 05:48:52PM +0200, Rene Herman wrote: He has a SATA harddrive and an IDE DVD drive. When he compiles with CONFIG_ATA_PIIX (a driver which advertises both SATA and PATA in its description) his drive works, his DVD does not. Is that not the correct driver? Does he need

Re: Problems with IDE on linux 2.6.22.X

2007-08-22 Thread Rene Herman
On 08/22/2007 06:23 PM, Lennart Sorensen wrote: On Wed, Aug 22, 2007 at 05:48:52PM +0200, Rene Herman wrote: He has a SATA harddrive and an IDE DVD drive. When he compiles with CONFIG_ATA_PIIX (a driver which advertises both SATA and PATA in its description) his drive works, his DVD does

Re: 2.6.23-rc3-mm1

2007-08-22 Thread Torsten Kaiser
On 8/22/07, Andrew Morton [EMAIL PROTECTED] wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc3/2.6.23-rc3-mm1/ [snip] -ata-add-the-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61.patch -ata-add-the-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61-fix.patch [snip]

Re: [PATCH ] /drivers/ata ioremap returncode check

2007-08-22 Thread Brandon Philips
On 20:31 Mon 13 Aug 2007, Scott Thompson wrote: patchset against 2.6.23-rc3. corrects missing ioremap return checks. Warning -- cleanup handler here may miss additional required cleanup as has occurred on other portions of ioremap audit. This patch had been submitted previously but

Re: 2.6.23-rc3-mm1

2007-08-22 Thread Andrew Morton
On Wed, 22 Aug 2007 19:24:39 +0200 Torsten Kaiser [EMAIL PROTECTED] wrote: On 8/22/07, Andrew Morton [EMAIL PROTECTED] wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc3/2.6.23-rc3-mm1/ [snip] -ata-add-the-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61.patch

no need to add new DID's to AHCI driver?

2007-08-22 Thread Gaston, Jason D
Hello, Now that the AHCI driver has support for all controllers with the 0x0106 (AHCI) class code, I am not planning on adding controller DeviceID's for AHCI controllers. I want to verify that this is the correct course of action. Note: I still will have to add the Intel SW RAID controller

Re: no need to add new DID's to AHCI driver?

2007-08-22 Thread Jeff Garzik
Gaston, Jason D wrote: Hello, Now that the AHCI driver has support for all controllers with the 0x0106 (AHCI) class code, I am not planning on adding controller DeviceID's for AHCI controllers. I want to verify that this is the correct course of action. Note: I still will have to add the

[PATCH] libata: Switch most of the remaining SFF drivers to ata_sff_port_start

2007-08-22 Thread Alan Cox
This avoids allocating DMA buffers if not needed but at the moment is mostly just a neatness item. Signed-off-by: Alan Cox [EMAIL PROTECTED] diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.23rc3-mm1/drivers/ata/pata_acpi.c

[PATCH] pata_sis: Add the FSC Amilo and friends

2007-08-22 Thread Alan Cox
More short cables Signed-off-by: Alan Cox [EMAIL PROTECTED] diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.23rc3-mm1/drivers/ata/pata_sis.c linux-2.6.23rc3-mm1/drivers/ata/pata_sis.c --- linux.vanilla-2.6.23rc3-mm1/drivers/ata/pata_sis.c 2007-08-22

[PATCH] pata_via: Add Armia W730-K8 and other rebadgings

2007-08-22 Thread Alan Cox
More cable funnies Signed-off-by: Alan Cox [EMAIL PROTECTED] diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.23rc3-mm1/drivers/ata/pata_via.c linux-2.6.23rc3-mm1/drivers/ata/pata_via.c --- linux.vanilla-2.6.23rc3-mm1/drivers/ata/pata_via.c 2007-08-22

[PATCH] libata-portmap: Remove unused definitions

2007-08-22 Thread Alan Cox
With the PCI layer properly handling legacy IDE and the kernel now using it these can go Signed-off-by: Alan Cox [EMAIL PROTECTED] diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.23rc3-mm1/include/asm-generic/libata-portmap.h

[PATCH]

2007-08-22 Thread Alan Cox
Correct handling of SRST reset sequences. After an SRST it is undefined whether the drive has gone back to PIO0. In order to talk safely we should talk slowly and carefully until we know. Thus when we do the reset if the controller has a pio setup method we call it to flip back to PIO 0 and a

[PATCH] libata: Spot bridge chips

2007-08-22 Thread Alan Cox
If we have a PATA cable with a SATA drive on it then we've found a bridge and we can flip the cable type. This fixes some cable detect problems with SATA bridges on chipsets and misdetected cable types. In theory cable detection and mode limiting is needed if you put a SATA/PATA bridge on a 40

[PATCH] libata: Allow for original IDE drives that don't support geometry setting

2007-08-22 Thread Alan Cox
This is mandatory for all early ATA devices but may fail on IDE. As we try to set the geometry to the geometry we already have a failure of this request is harmless. We can't skip the request as its mandatory during setup and some older ATA drives pee themselves if you don't do it.

[PATCH] pata_marvell: Add another PCI identifier

2007-08-22 Thread Alan Cox
Signed-off-by: Alan Cox [EMAIL PROTECTED] diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.23rc3-mm1/drivers/ata/pata_marvell.c linux-2.6.23rc3-mm1/drivers/ata/pata_marvell.c --- linux.vanilla-2.6.23rc3-mm1/drivers/ata/pata_marvell.c 2007-08-22

Re: File corruption in 2.6.18 thru 2.6.22

2007-08-22 Thread Dave Jones
On Sat, Aug 18, 2007 at 02:42:45PM +, Neil Romig wrote: Everything is O.K using kernel 2.6.17.14, but 2.6.18 and beyond all have this problem. It may take me months to sort this out on my own - any suggestions? In most (though not all), a single bit was flipped. This is usually a sign

Re: [PATCH] pata_marvell: Add another PCI identifier

2007-08-22 Thread Robin H. Johnson
On Wed, Aug 22, 2007 at 11:27:05PM +0100, Alan Cox wrote: static const struct pci_device_id marvell_pci_tbl[] = { { PCI_DEVICE(0x11AB, 0x6101), }, - { PCI_DEVICE(0x11AB, 0x6145), }, Why is this ID being removed? Not that I have that model (I have 0x6101), it just looks weird given

Re: no need to add new DID's to AHCI driver?

2007-08-22 Thread Tejun Heo
Jeff Garzik wrote: Gaston, Jason D wrote: Hello, Now that the AHCI driver has support for all controllers with the 0x0106 (AHCI) class code, I am not planning on adding controller DeviceID's for AHCI controllers. I want to verify that this is the correct course of action. Note: I still

[PATCH #upstream-fixes] ata_piix: implement IOCFG bit18 quirk

2007-08-22 Thread Tejun Heo
Some notebooks need bit18 of IOCFG to be cleared for the drive bay to work even though the bit is NOOP according to the datasheet. This patch implement IOCFG bit18 quirk and apply it to Clevo M570U. http://bugzilla.kernel.org/show_bug.cgi?id=8051 Signed-off-by: Tejun Heo [EMAIL PROTECTED] Cc:

Re: [PATCH] hook ACPI _PSx method to IDE power on/off

2007-08-22 Thread Len Brown
On Saturday 04 August 2007 15:55, Bartlomiej Zolnierkiewicz wrote: On Thursday 02 August 2007, Shaohua Li wrote: ACPI spec defines the sequence of IDE power on/off: Powering down: Call _GTM. Power down drive (calls _PS3 method and turns off power planes). Powering up:

[PATCH resubmit] /drivers/ata ioremap returncode check

2007-08-22 Thread Scott Thompson
Patchset against 2.6.23-rc3. corrects missing ioremap return checks, resending after making changes suggested Signed-off-by: Scott Thompson postfail at hushmail.com diff --git a/drivers/ata/pata_ixp4xx_cf.c

Re: libata pmp support

2007-08-22 Thread Tejun Heo
Izik Weksler wrote: Tejun, If you're sending the patch please send it to this address. Okay, please test the attached patch and please cc linux-ide@vger.kernel.org when replying. Thanks. -- tejun diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 06f212f..d838bdd 100644 ---

[PATCH] mpc8xx: Only build mpc8xx on arch/ppc

2007-08-22 Thread Kumar Gala
Currently the mpc8xx ide driver will only work on arch/ppc so only allow it to be built there. Also, killed a minor include that isn't actually used by the driver. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- drivers/ide/Kconfig |2 +- drivers/ide/ppc/mpc8xx.c |1 - 2 files

Re: [PATCH resubmit] /drivers/ata ioremap returncode check

2007-08-22 Thread Brandon Philips
On 19:47 Wed 22 Aug 2007, Scott Thompson wrote: Patchset against 2.6.23-rc3. corrects missing ioremap return checks, resending after making changes suggested Signed-off-by: Scott Thompson postfail at hushmail.com diff --git