Re: ICH Intel PATA short cable override...

2007-09-05 Thread Mark Lord
Alan Cox wrote: On Tue, 4 Sep 2007 13:37:22 +0100 "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: We see that in ata_piix.c, there is a whitelist for (laptop) Intel ICH controllers with short cables, tied to specific vendor subsystem IDs. Since my mini-ITX Ibase MI910F has the subsystem IDs speci

Re: pata_via cd/dvd timeout problems

2007-09-05 Thread Alan Cox
> Unfortunately I don't have another machine to try these drives in. But > they both worked OK under the old ide code -- the problems only started > with the move to libata. > > I guess the commands timing out are udev probing to see if a disk has > been inserted ? Probably. If you can file a bug

Re: libata equivalent for hdX=remap63

2007-09-05 Thread Alan Cox
> The first 64 KB of this hard disk can be found at > http://ums.usu.ru/~patrakov/first-64-kb.dsk (please tell me when I can > remove this file). Thanks - it'll probably be after the kernel summit before anything happens but the general question of using device mapper for this has been raised th

Re: ICH Intel PATA short cable override...

2007-09-05 Thread Alan Cox
On Tue, 4 Sep 2007 13:37:22 +0100 "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: > We see that in ata_piix.c, there is a whitelist for (laptop) Intel ICH > controllers with short cables, tied to specific vendor subsystem IDs. > Since my mini-ITX Ibase MI910F has the subsystem IDs specified as > Int

CF as IDE with pata_via or VIA_IDE fails on lexar CF

2007-09-05 Thread Paul Wouters
Hi, I followed the discussion on this list about people with CF as IDE problems, eg: http://www.mail-archive.com/linux-ide@vger.kernel.org/msg07402.html I was using Lexar Premium 80x 512MB cards on a VIA VT823x chipset (both on a VIA cpu and an P4 board), and they also fail to boot linux. What

Re: Stardom SATA HSM violation

2007-09-05 Thread Mark Lord
Andrew Morton wrote: .. Hey, we just found something which doesn't crash my Vaio! sony:/home/akpm/hdparm-7.7> 0 ./hdparm --drq-hsm-error /dev/sda /dev/sda: triggering "stuck DRQ" host state machine error do_drq_hsm_error: Success ata status=0x58 ata error=0x00 ata3.00: exception Emask 0x0 SAc

no data with HDIO_DRIVE_TASK

2007-09-05 Thread Kantor Zsolt
HI, I have a question. The HDIO_DRIVE_TASK can not return data on the PIO or DMA protocol ? Only the HDIO_DRIVE_CMD and HDIO_DRIVE_TASKFILE can do that ? Because HDIO_DRIVE_TASK with the WIN_IDENTIFY command for example returns 0, so ioctl was executed successful, but no data can be found in the

Re: CF as IDE on ICH6M using libata

2007-09-05 Thread Eddie Hung
Hello all, After trying a fake Extreme IV, then an Extreme III (which doesn't support UDMA) and then back onto another Extreme IV - I can finally report success! I am now using UDMA4 and enjoying speeds of 30+MB/s which is all very nice!!! (The other X41 user who reported success was also using a

[PATCH 13/13] ide: set drive->autotune in ide_pci_setup_ports()

2007-09-05 Thread Bartlomiej Zolnierkiewicz
Majority of host drivers using IDE PCI layer set drive->autotune, the only exceptions are: generic.c ns87415.c rz1000.c trm290.c * no ->set_pio_mode method it821x.c: * if memory allocation fails drive->autotune won't be set (but there also won't be ->set_pio_mode method in such case) piix.c:

[PATCH 8/13] alim15x3: always tune PIO

2007-09-05 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- drivers/ide/pci/alim15x3.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Index: b/drivers/ide/pci/alim15x3.c === --- a/drivers/ide/pci/alim15x3.c

[PATCH 11/13] opti621: always tune PIO

2007-09-05 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- drivers/ide/pci/opti621.c |8 1 file changed, 4 insertions(+), 4 deletions(-) Index: b/drivers/ide/pci/opti621.c === --- a/drivers/ide/pci/opti621.c +++ b

[PATCH 12/13] triflex: always tune PIO

2007-09-05 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- drivers/ide/pci/triflex.c |3 +++ 1 file changed, 3 insertions(+) Index: b/drivers/ide/pci/triflex.c === --- a/drivers/ide/pci/triflex.c +++ b/drivers/ide/pci/trif

[PATCH 9/13] cs5520: always tune PIO

2007-09-05 Thread Bartlomiej Zolnierkiewicz
Since cs5520 uses VDMA best PIO mode was tuned anyway by ide_dma_check() but only if DMA was successfully initialized. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- drivers/ide/pci/cs5520.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) Index: b/drivers/ide/p

[PATCH 10/13] cy82c693: always tune PIO

2007-09-05 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- drivers/ide/pci/cy82c693.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Index: b/drivers/ide/pci/cy82c693.c === --- a/drivers/ide/pci/cy82c693.c

[PATCH 7/13] ide: add IDE_HFLAG_LEGACY_IRQS host flag

2007-09-05 Thread Bartlomiej Zolnierkiewicz
Add IDE_HFLAG_LEGACY_IRQS host flag to tell ide_pci_setup_ports() to set hwif->irq to legacy IRQ 14/15 (iff hwif->irq is not already set) and convert atiixp, piix, serverworks, sis5513 and slc90e66 host drivers to use it. While at it: * In piix.c add IDE_HFLAGS_PIIX define and don't use ->init_h

[PATCH 6/13] ide: add IDE_HFLAG_SERIALIZE host flag

2007-09-05 Thread Bartlomiej Zolnierkiewicz
Add IDE_HFLAG_SERIALIZE host flag to tell ide_pci_setup_ports() to set hwif/mate->serialized and convert aec62xx, cs5530 and sc1200 host drivers to use it. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- drivers/ide/pci/aec62xx.c | 10 +- drivers/ide/pci/cs5530.c |

[PATCH 5/13] ide: add IDE_HFLAG_ERROR_STOPS_FIFO host flag

2007-09-05 Thread Bartlomiej Zolnierkiewicz
Add IDE_HFLAG_ERROR_STOPS_FIFO host flag and use it instead of hwif->err_stops_fifo. As a side-effect this change fixes hwif->err_stops_fifo not being restored by ide_hwif_restore(). Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- drivers/ide/ide-io.c |3 ++- driv

[PATCH 3/13] pdc202xx_old: add DECLARE_PDC2026X_DEV() macro

2007-09-05 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- drivers/ide/pci/pdc202xx_old.c | 60 - 1 file changed, 19 insertions(+), 41 deletions(-) Index: b/drivers/ide/pci/pdc202xx_old.c

[PATCH 4/13] piix: add DECLARE_ICH_DEV() macro

2007-09-05 Thread Bartlomiej Zolnierkiewicz
Add DECLARE_ICH_DEV() macro. While at it: * Add init_hwif_ich() (->init_hwif method) for ICH controllers. * Rename init_chipset_piix() to init_chipset_ich() and use it only for ICH controllers. * Remove no longer needed piix_is_ichx() helper. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL

[PATCH 1/13] aec62xx: no need to disable UDMA in ->init_hwif method for ATP850UF

2007-09-05 Thread Bartlomiej Zolnierkiewicz
* No need to disable UDMA in ->init_hwif method for ATP850UF (and since we now always tune PIO it will be disabled by ->set_pio_mode calls anyway). * Bump driver version. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- drivers/ide/pci/aec62xx.c | 14 +- 1 file c

[PATCH 2/13] pdc202xx_new: add DECLARE_PDCNEW_DEV() macro

2007-09-05 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- drivers/ide/pci/pdc202xx_new.c | 76 ++--- 1 file changed, 19 insertions(+), 57 deletions(-) Index: b/drivers/ide/pci/pdc202xx_new.c

Re: Resets on sil3124 & sil3726 PMP

2007-09-05 Thread Robin H. Johnson
On Wed, Sep 05, 2007 at 05:08:00AM -0700, Petr Vandrovec wrote: > > 3124-2 (norco 4618): > > NCQ: > > 1TB alone: 82.30, 82.43 > > 1TB+1TB: 68.36+68.25 > > noNCQ: > > 1TB alone: 82.39, 82.29 > > 1TB+1TB: 70.33+70.32, 69.47+70.01 > > Unfortunately that enclosure has only two slots used.

Re: [PATCH 2/10] ide: use I/O ops directly part #2

2007-09-05 Thread Bartlomiej Zolnierkiewicz
On Saturday 01 September 2007, Sergei Shtylyov wrote: > Bartlomiej Zolnierkiewicz wrote: > > > Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> > > Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> > > Strange I thought I've already replaced everything in hpt366.c ... > although we

[PATCH] via82cxxx: add Arima W730-K8 and other rebadgings to short cables list

2007-09-05 Thread Bartlomiej Zolnierkiewicz
Port of Alan's patch for pata_via.c. Cc: Alan Cox <[EMAIL PROTECTED]> Cc: Mikael Pettersson <[EMAIL PROTECTED]> Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- drivers/ide/pci/via82cxxx.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) Index: b/drivers/

Re: Stardom SATA HSM violation

2007-09-05 Thread Andrew Morton
> On Wed, 05 Sep 2007 13:23:35 -0400 Mark Lord <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > >> please try 2.6.22.5. Even if it doesn't fix the problem, it would > >> report error conditions better. > > > > Presumably in the week and a half between Bryan's report and your request, > > Bryan

Re: CF as IDE on ICH6M using libata

2007-09-05 Thread Mark Lord
Tejun Heo wrote: .. I don't think the device supports UDMA. Supported transfer modes are indicated in the IDENTIFY page (hdparm -I) and libata/ide would use UDMA if the device reports so. There's no black magic there. Some newer CF Cards have a funky way of reporting UDMA. Get a copy of hdp

Re: Stardom SATA HSM violation

2007-09-05 Thread Mark Lord
Andrew Morton wrote: On Mon, 03 Sep 2007 17:53:00 +0900 Tejun Heo <[EMAIL PROTECTED]> wrote: Michal Piotrowski wrote: Hi, [Adding linux-ide to CC] On 25/08/07, Bryan Woods <[EMAIL PROTECTED]> wrote: Hi KML I am installing gentoo 2007.0 (kernel 2.6.19) on a dual AMD Opteron server (total of 4

Re: [sata_nv] timeout waiting for ADMA IDLE, stat=0x440

2007-09-05 Thread Maarten Maathuis
At this point it safe to say that it was a cable related issue. I swapped it to be sure and i haven't had issues since. Sincerely, Maarten Maathuis. On 9/5/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Tue, 28 Aug 2007 16:06:41 +0200 "Maarten Maathuis" <[EMAIL PROTECTED]> > > wrote: > >

Re: Stardom SATA HSM violation

2007-09-05 Thread Andrew Morton
> On Mon, 03 Sep 2007 17:53:00 +0900 Tejun Heo <[EMAIL PROTECTED]> wrote: > Michal Piotrowski wrote: > > Hi, > > > > [Adding linux-ide to CC] > > > > On 25/08/07, Bryan Woods <[EMAIL PROTECTED]> wrote: > >> Hi KML > >> > >> I am installing gentoo 2007.0 (kernel 2.6.19) on a dual AMD Opteron serve

Re: [sata_nv] timeout waiting for ADMA IDLE, stat=0x440

2007-09-05 Thread Andrew Morton
> On Tue, 28 Aug 2007 16:06:41 +0200 "Maarten Maathuis" <[EMAIL PROTECTED]> > wrote: > I have not had any issues, i swapped the cable because a while ago i > had to check the connection of the drive after the bios failed to > detect the drive. That is why i considered that a posibility. Kernel > 2

Re: [PATCH 3/7] blk_end_request: changing "normal" drivers

2007-09-05 Thread Kiyoshi Ueda
Hi Benny, Thank you for the comments. On Wed, 05 Sep 2007 10:45:54 +0300, Boaz Harrosh <[EMAIL PROTECTED]> wrote: > On Sat, Sep 01 2007 at 1:42 +0300, Kiyoshi Ueda <[EMAIL PROTECTED]> wrote: > > arch/arm/plat-omap/mailbox.c|9 ++--- > > arch/um/drivers/ubd_kern.c | 10 +---

Re: Resets on sil3124 & sil3726 PMP

2007-09-05 Thread Petr Vandrovec
Petr Vandrovec wrote: Tejun Heo wrote: Hello, Petr Vandrovec wrote: I have recompiled kernel with all debugging disabled, and it brought me 1.5MBps, so it is still consistently 1MBps slower than on sil. Disabling NCQ seems to improve concurrent access a bit (for which I have no explanation)

Re: pata_via cd/dvd timeout problems

2007-09-05 Thread richard kennedy
On Tue, 2007-09-04 at 17:40 -0700, Vlad wrote: > Hi, > > > I have both a dvd RW drive & a cd rom drive connected > > the second ide interface on my motherboard with a via > > chipset, using pata_via I see timeout messages in the > > log & after some time both drives lockup and are > > unable to mo

Re: [PATCH 3/7] blk_end_request: changing "normal" drivers

2007-09-05 Thread Boaz Harrosh
On Sat, Sep 01 2007 at 1:42 +0300, Kiyoshi Ueda <[EMAIL PROTECTED]> wrote: > This patch converts "normal" drivers, which complete request > in a standard way shown below, to use blk_end_request(). > > a) end_that_request_{chunk/first} > spin_lock_irqsave() > (add_disk_randomness(), blk_qu

Re: [PATCH 6/7] blk_end_request: remove/unexport end_that_request_*

2007-09-05 Thread Boaz Harrosh
On Wed, Sep 05 2007 at 2:13 +0300, Kiyoshi Ueda <[EMAIL PROTECTED]> wrote: > Hi, > > On Tue, 4 Sep 2007 17:25:14 -0400, "Halevy, Benny" <[EMAIL PROTECTED]> wrote: >> We suspect we'll still need the extern entry points for handling the bidi >> request in the scsi_io_completion() path as we only wa