Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3

2008-01-10 Thread Marc Howard Zuckman
On Wed, 9 Jan 2008, Tejun Heo wrote: hdparm -d1 isn't supported (yet). pata_it821x will configure DMA automatically. OK. So prior to rebooting 2.3.23.12 (boot log attached), I disabled hdparm for my hde raid array during the boot process. However, after booting, hdparm still shows that dma

Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3

2008-01-10 Thread Tejun Heo
Marc Howard Zuckman wrote: With apologies if this was supposed to be an attachment: Inline is fine. IT8212: IDE controller at PCI slot :03:0c.0 IT8212: chipset revision 17 it821x: controller in smart mode. IT8212: 100% native mode on irq 21 ide2: BM-DMA at 0xb800-0xb807, BIOS

Re: [PATCH 0/7] sg_ring: a ring of scatterlist arrays

2008-01-10 Thread James Bottomley
On Thu, 2008-01-10 at 13:01 +1100, Rusty Russell wrote: On Thursday 10 January 2008 09:10:37 James Bottomley wrote: On Tue, 2008-01-08 at 11:39 +1100, Rusty Russell wrote: On Tuesday 08 January 2008 02:48:23 James Bottomley wrote: We're always open to new APIs (or more powerful and

[Kernel Bug Tracker] Your account linux-ide@vger.kernel.org is being impersonated

2008-01-10 Thread bugme-admin
Martin J. Bligh [EMAIL PROTECTED] has used the 'sudo' feature to access Kernel Bug Tracker using your account. Martin J. Bligh [EMAIL PROTECTED] did not provide a reason for doing this. If you feel that this action was inappropiate, please contact [EMAIL PROTECTED] For more

[Bug 5911] siimage.c interrupts screaming

2008-01-10 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=5911 [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]

RE: Sata 4726 Testing

2008-01-10 Thread Gaston, Jason D
-Original Message- From: [EMAIL PROTECTED] [mailto:linux-ide- [EMAIL PROTECTED] On Behalf Of Tejun Heo Sent: Wednesday, January 09, 2008 7:19 PM To: Gaston, Jason D Cc: Andrew Ryder; linux-ide@vger.kernel.org Subject: Re: Sata 4726 Testing Gaston, Jason D wrote: Attached are two dmesg

[RFC 1/2] block: implement drain buffers

2008-01-10 Thread James Bottomley
On Wed, 2008-01-02 at 20:12 +0900, Tejun Heo wrote: Misc ATAPI commands may try to transfer more bytes than requested. For PIO which is performed by libata HSM, this is worked around by draining extra bytes from __atapi_pio_bytes(). This patch implements drain buffer to perform draining for

40-wire cable detected when directly connected

2008-01-10 Thread Tobias Müller
Hello! I'm running 2.6.24-rc7 with an Addonics AD4CFPRJ Quad-CF PCI Controller (http://www.addonics.com/products/flash_memory_reader/ad4cfprj.asp) using Silicon Image PCI0680 chipset which is connected direct (no cables) with 2 Compact-Flash Cards. In configured CONFIG_ATA=y

Re: [PATCH] libata and starting/stopping ATAPI floppy devices

2008-01-10 Thread Ondrej Zary
On Thursday 10 January 2008 02:05:23 Robert Hancock wrote: Tejun Heo wrote: From: Ondrej Zary [EMAIL PROTECTED] Prevent libata from starting/stopping non-ATA devices (like ATAPI floppy drives) as they don't seem to like it: sd 1:0:1:0: [sdb] Starting disk ata2.01: configured for

Re: [RFC 2/2] libata: implement drain buffers

2008-01-10 Thread James Bottomley
This just updates the libata slave configure routine to take advantage of the block layer drain buffers. I suspect I should also be checking for AHCI as well as ATA_DEV_ATAPI, but I couldn't see how to do that easily. James --- diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c

Re: [PATCH #upstream-fixes] ata_piix: ignore ATA_DMA_ERR on vmware ich4

2008-01-10 Thread Jeff Garzik
Tejun Heo wrote: VMware ich4 emulation incorrectly sets DMA_ERR on TF error. Ignore it. Signed-off-by: Tejun Heo [EMAIL PROTECTED] hrm. IIRC, the old-IDE code just sorta ignores this, and in the original libata I followed old-IDE's habit of acking events with

Re: [PATCH #upstream-fixes] sata_qstor: use hardreset instead of softreset

2008-01-10 Thread Jeff Garzik
Tejun Heo wrote: During conversion to new EH, sata_qstor was accidentaly changed to use softreset, which is buggy on this chip, instead of hardreset. This patch updates sata_qstor such that it uses hardreset again. This fixes bugzilla bug 9631. Signed-off-by: Tejun Heo [EMAIL PROTECTED] Cc:

Re: [PATCH] libata-sff: PCI IRQ handling fix

2008-01-10 Thread Jeff Garzik
Alan Cox wrote: It is legitimate (although annoying and silly) for a PCI IDE controller not to be assigned an interrupt and to be polled. The libata-sff code should therefore not try and request IRQ 0 in this case. Signed-off-by: Alan Cox [EMAIL PROTECTED] applied #upstream-fixes (2.6.24) -

Re: [PATCH] pata_pdc202xx_old: Further fixups

2008-01-10 Thread Jeff Garzik
Alan Cox wrote: Turns out distros always enabled burst mode and it is pretty essential so do the same. Also sort out the post DMA mode restore properly. My 20263 card now seems happy but needs some four drive tests done yet (when I've persuaded the kernel not to hang in the edd boot code if I

Re: pata_ixp4xx_cf: fix compilation introduced by ata_port_desc() conversion

2008-01-10 Thread Jeff Garzik
Tejun Heo wrote: From: Rod Whitby [EMAIL PROTECTED] Fixes a compilation error caused by ata_port_desc() conversion (cbcdd87593a1d85c5c4b259945a3a09eee12814d). Signed-off-by: Rod Whitby [EMAIL PROTECTED] Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- drivers/ata/pata_ixp4xx_cf.c |3 ++- 1

Re: [PATCH #upstream-fixes] libata-pmp: 4726 hates SRST

2008-01-10 Thread Jeff Garzik
Tejun Heo wrote: 4726 hates SRST even on non-config ports. Don't use it. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- drivers/ata/libata-pmp.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) applied this and propagate timeout patch - To unsubscribe from this list:

Re: [PATCH #upstream-fixes] libata: don't normalize UNKNOWN to NONE after reset

2008-01-10 Thread Jeff Garzik
Tejun Heo wrote: After non-classifying reset, ehc-classes[] could contain ATA_DEV_UNKNOWN which used to be normalized to ATA_DEV_NONE for consistency. However, this causes unfortunate side effect for drivers which have non-classifying hardresets (e.g. sata_nv) by making hardreset report

Re: [PATCH #upstream-fixes] sata_sil24: prevent hba lockup when pass-through ATA commands are used

2008-01-10 Thread Jeff Garzik
Tejun Heo wrote: From: Gwendal Grignou [EMAIL PROTECTED] Fix commands timeout with Sil3124/3132 based HBA when pass-through ATA commands [where ATA_QCFLAG_RESULT_TF is set] are used while other commands are active on other devices connected to the same port with a Port Multiplier. Due to a

Re: [patch]workaround suspend bug for ACPI IDE

2008-01-10 Thread Bartlomiej Zolnierkiewicz
On Thursday 10 January 2008, Shaohua Li wrote: http://bugzilla.kernel.org/show_bug.cgi?id=9673 ACPI _PS3 cause S4 breaks in the second attempt. The system has a _PS3 method for IDE, which will call into SMM mode. Currently we haven't clue why just the second attempt fails, as it's totally in

[git patches] IDE fixes

2008-01-10 Thread Bartlomiej Zolnierkiewicz
Hopefully the final IDE update for 2.6.24. Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6.git/ to receive the following updates: drivers/ide/ide-acpi.c | 36 +++- drivers/ide/ide-iops.c |6 +++--- drivers/ide/pci/trm290.c

Re: [PATCH] libata and starting/stopping ATAPI floppy devices

2008-01-10 Thread Jeff Garzik
Tejun Heo wrote: From: Ondrej Zary [EMAIL PROTECTED] Prevent libata from starting/stopping non-ATA devices (like ATAPI floppy drives) as they don't seem to like it: sd 1:0:1:0: [sdb] Starting disk ata2.01: configured for PIO2 sd 1:0:1:0: [sdb] Result: hostbyte=0x00 driverbyte=0x08 sd

[git patches] libata fixes

2008-01-10 Thread Jeff Garzik
Still working through the backlog, but this is most of the immediate libata stuff. I asked DaveM to help out with netdev fixes, so there shouldn't be much of a 2.6.24-rc backlog at all there (thanks again David). Please pull from 'upstream-linus' branch of

[Bug 9728] New: Serverworks initialisation fails

2008-01-10 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=9728 Summary: Serverworks initialisation fails Product: IO/Storage Version: 2.5 KernelVersion: 2.6.24-rc7-g88fb61e4 Platform: All OS/Version: Linux Tree: Mainline Status:

Serverworks Oops with the very latest git kernel...

2008-01-10 Thread Trond Myklebust
Hi, I'm getting the following Oops on boot with kernel 2.6.24-rc7-g88fb61e4. Starting udev: BUG: unable to handle kernel paging request at virtual address 2d6d3a65 printing eip: c04e1af1 *pde = Oops: [#1] PREEMPT SMP Modules linked in: evdev evbug rtc_cmos pcspkr floppy rtc_core

Re: [PATCH #upstream-fixes] ata_piix: ignore ATA_DMA_ERR on vmware ich4

2008-01-10 Thread Tejun Heo
Jeff Garzik wrote: Tejun Heo wrote: VMware ich4 emulation incorrectly sets DMA_ERR on TF error. Ignore it. Signed-off-by: Tejun Heo [EMAIL PROTECTED] hrm. IIRC, the old-IDE code just sorta ignores this, and in the original libata I followed old-IDE's habit of acking events with

Re: Serverworks Oops with the very latest git kernel...

2008-01-10 Thread Jeff Garzik
Trond Myklebust wrote: Hi, I'm getting the following Oops on boot with kernel 2.6.24-rc7-g88fb61e4. Starting udev: BUG: unable to handle kernel paging request at virtual address 2d6d3a65 printing eip: c04e1af1 *pde = Oops: [#1] PREEMPT SMP Modules linked in: evdev evbug

Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3

2008-01-10 Thread Marc Howard Zuckman
On Thu, 10 Jan 2008, Tejun Heo wrote: Oh... I thought you were using libata drivers because you mentioned pata_it821x on the subject. The IDE driver supports 'hdparm -d 1' fine. I wonder why that's not working. Also, the driver is configuring your disk to PIO0. Cc'ing Alan and Bartlomiej.

Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3

2008-01-10 Thread Tejun Heo
Marc Howard Zuckman wrote: On Thu, 10 Jan 2008, Tejun Heo wrote: Oh... I thought you were using libata drivers because you mentioned pata_it821x on the subject. The IDE driver supports 'hdparm -d 1' fine. I wonder why that's not working. Also, the driver is configuring your disk to PIO0.

Re: 40-wire cable detected when directly connected

2008-01-10 Thread Tejun Heo
Tobias Müller wrote: Hello! I'm running 2.6.24-rc7 with an Addonics AD4CFPRJ Quad-CF PCI Controller (http://www.addonics.com/products/flash_memory_reader/ad4cfprj.asp) using Silicon Image PCI0680 chipset which is connected direct (no cables) with 2 Compact-Flash Cards. In configured

Re: [Patch]: ACPI : Not register gsi for PCI IDE controller in legacy mode

2008-01-10 Thread Len Brown
Applied to acpi test tree for .25. Do you think this is .24 and a 23.stable candidate? thanks, -Len On Monday 17 December 2007 02:13, Zhao Yakui wrote: Subject: ACPI : Not register gsi for PCI IDE controller in legacy mode From : Alan Cox [EMAIL PROTECTED] When PCI IDE controller works in

Re: [Patch]: ACPI : Not register gsi for PCI IDE controller in legacy mode

2008-01-10 Thread Zhao Yakui
On Thu, 2008-01-10 at 22:53 -0500, Len Brown wrote: Applied to acpi test tree for .25. Do you think this is .24 and a 23.stable candidate? thanks, -Len I think that it is OK. On Monday 17 December 2007 02:13, Zhao Yakui wrote: Subject: ACPI : Not register gsi for PCI IDE controller

[PATCH] IDE: terminate ACPI DMI list

2008-01-10 Thread Jeff Garzik
Fix oops reported by Trond. Signed-off-by: Jeff Garzik [EMAIL PROTECTED] --- drivers/ide/ide-acpi.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ide/ide-acpi.c b/drivers/ide/ide-acpi.c index fe6768a..899d565 100644 --- a/drivers/ide/ide-acpi.c +++ b/drivers/ide/ide-acpi.c @@

Re: PROBLEM REMAINS: [sata_nv ADMA breaks ATAPI] Crash on accessing DVD-RAM

2008-01-10 Thread Robert Hancock
Alexander wrote: Hello! The problem described at https://bugzilla.redhat.com/show_bug.cgi?id=351451 and at http://ubuntuforums.org/showthread.php?t=655772 and supposedly fixed by the patch http://kerneltrap.org/mailarchive/linux-kernel/2007/11/25/445094 is still there. I have compiled

Re: Sata 4726 Testing

2008-01-10 Thread Tejun Heo
Andrew Ryder wrote: For the regular power on detected, are you referring to cold/warm booting the system and verifying initialization or only power cycling the 4726? Here are my test results, TestingRoutine.txt is the procedure I followed and test results obtained. If I missed something,

RE: fixed a bug of adma in rhel4u5 with HDS7250SASUN500G.

2008-01-10 Thread Kuan Luo
hi robert, I have fixed a bug in rhel4u5 2.6.9-55 when running adma mode with HDS7250SASUN500G. Could you check this code and if no problem, then help me to submit to the newest kernel. for 2.6.9-55 diff -Nupr a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c ---