mikep | 3 May 2004 17:44
Picon

DMA timeout with kernel-2.6.6-rc3 + SCSI_SATA_SIL

Using ASUS A7n8X m/b with SIL3112 and Raptor hard drive. This works with 
the BLK_DEV_SIIMAGE driver but with SCSI_SATA_SIL driver it hangs at 
boot message:

.......
SCSI device sda: drive cache : write through
/dev/scsi/host0/bus0/target0/lun0:<3>ata1: DMA timeout, stat 0x4
p1 p2 p3 p4<

As this is my first try with the SCSI driver, what am i missing?

-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Bartlomiej Zolnierkiewicz | 4 May 2004 01:33
Picon
Picon

[PATCH] remove bogus drivers/ide/pci/cmd640.h


CMD640 doesn't use generic IDE PCI code (it even doesn't include this header).

 linux-2.6.6-rc3-bk2/drivers/ide/pci/cmd640.h |   32 ---------------------------
 1 files changed, 32 deletions(-)

diff -puN -L drivers/ide/pci/cmd640.h drivers/ide/pci/cmd640.h~ide_cmd640 /dev/null
--- linux-2.6.6-rc3-bk2/drivers/ide/pci/cmd640.h
+++ /dev/null	2004-01-17 00:25:55.000000000 +0100
 <at>  <at>  -1,32 +0,0  <at>  <at> 
-#ifndef CMD640_H
-#define CMD640_H
-
-#include <linux/config.h>
-#include <linux/pci.h>
-#include <linux/ide.h>
-
-#define IDE_IGNORE      ((void *)-1)
-
-static ide_pci_device_t cmd640_chipsets[] __initdata = {
-	{
-		.vendor		= PCI_VENDOR_ID_CMD,
-		.device		= PCI_DEVICE_ID_CMD_640,
-		.name		= "CMD640",
-		.init_setup	= NULL,
-		.init_chipset	= NULL,
-		.init_iops	= NULL,
-		.init_hwif	= IDE_IGNORE,
-		.init_dma	= NULL,
-		.channels	= 2,
(Continue reading)

Bartlomiej Zolnierkiewicz | 4 May 2004 01:34
Picon
Picon

[PATCH] remove dead drivers/ide/ppc/swarm.c


This driver was merged in 2.5.32 but depends on <asm/sibyte/swarm_ide.h>
which hasn't been merged in 2.5.  Additionally it is a MIPS specific driver
so it should be in drivers/ide/mips/ if somebody ever decides to re-add it.

 linux-2.6.6-rc3-bk2-bzolnier/drivers/ide/Kconfig  |    4 
 linux-2.6.6-rc3-bk2-bzolnier/drivers/ide/Makefile |    1 
 linux-2.6.6-rc3-bk2-bzolnier/drivers/ide/ide.c    |    6 -
 linux-2.6.6-rc3-bk2/drivers/ide/ppc/swarm.c       |  101 ----------------------
 4 files changed, 112 deletions(-)

diff -puN drivers/ide/ide.c~ide_swarm drivers/ide/ide.c
--- linux-2.6.6-rc3-bk2/drivers/ide/ide.c~ide_swarm	2004-05-04 01:32:48.841860272 +0200
+++ linux-2.6.6-rc3-bk2-bzolnier/drivers/ide/ide.c	2004-05-04 01:32:48.861857232 +0200
 <at>  <at>  -2090,12 +2090,6  <at>  <at>  static void __init probe_for_hwifs (void
 		pmac_ide_probe();
 	}
 #endif /* CONFIG_BLK_DEV_IDE_PMAC */
-#ifdef CONFIG_BLK_DEV_IDE_SWARM
-	{
-		extern void swarm_ide_probe(void);
-		swarm_ide_probe();
-	}
-#endif /* CONFIG_BLK_DEV_IDE_SWARM */
 #ifdef CONFIG_BLK_DEV_GAYLE
 	{
 		extern void gayle_init(void);
diff -puN drivers/ide/Kconfig~ide_swarm drivers/ide/Kconfig
--- linux-2.6.6-rc3-bk2/drivers/ide/Kconfig~ide_swarm	2004-05-04 01:32:48.848859208 +0200
+++ linux-2.6.6-rc3-bk2-bzolnier/drivers/ide/Kconfig	2004-05-04 01:32:48.863856928 +0200
(Continue reading)

Bartlomiej Zolnierkiewicz | 4 May 2004 01:35
Picon
Picon

[PATCH] remove dead PC9800 IDE support


It was added in 2.5.66 but PC9800 subarch is still non-buildable.
Also this is one big hack and only half-merged.

 linux-2.6.6-rc3-bk2-bzolnier/drivers/ide/Makefile   |    1 
 linux-2.6.6-rc3-bk2-bzolnier/drivers/ide/ide-proc.c |    1 
 linux-2.6.6-rc3-bk2-bzolnier/include/asm-i386/ide.h |   34 --------
 linux-2.6.6-rc3-bk2-bzolnier/include/linux/ide.h    |    5 -
 linux-2.6.6-rc3-bk2/drivers/ide/legacy/pc9800.c     |   84 --------------------
 5 files changed, 2 insertions(+), 123 deletions(-)

diff -puN drivers/ide/ide-proc.c~ide_pc9800 drivers/ide/ide-proc.c
--- linux-2.6.6-rc3-bk2/drivers/ide/ide-proc.c~ide_pc9800	2004-05-04 01:32:52.138359128 +0200
+++ linux-2.6.6-rc3-bk2-bzolnier/drivers/ide/ide-proc.c	2004-05-04 01:32:52.161355632 +0200
 <at>  <at>  -352,7 +352,6  <at>  <at>  static int proc_ide_read_imodel
 		case ide_cy82c693:	name = "cy82c693";	break;
 		case ide_4drives:	name = "4drives";	break;
 		case ide_pmac:		name = "mac-io";	break;
-		case ide_pc9800:	name = "pc9800";	break;
 		default:		name = "(unknown)";	break;
 	}
 	len = sprintf(page, "%s\n", name);
diff -puN -L drivers/ide/legacy/pc9800.c drivers/ide/legacy/pc9800.c~ide_pc9800 /dev/null
--- linux-2.6.6-rc3-bk2/drivers/ide/legacy/pc9800.c
+++ /dev/null	2004-01-17 00:25:55.000000000 +0100
 <at>  <at>  -1,84 +0,0  <at>  <at> 
-/*
- *  ide_pc9800.c
- *
- *  Copyright (C) 1997-2000  Linux/98 project,
(Continue reading)

Randy.Dunlap | 4 May 2004 01:32
X-Face

Re: [PATCH] remove dead PC9800 IDE support

On Tue, 4 May 2004 01:35:14 +0200 Bartlomiej Zolnierkiewicz wrote:

| 
| It was added in 2.5.66 but PC9800 subarch is still non-buildable.
| Also this is one big hack and only half-merged.
| 

It's fairly simple to make it buildable, but it's still a hack
that no one seems to want to support, so I agree, kill it.

Can we kill the rest of it too?

--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Ralf Baechle | 4 May 2004 13:19
Favicon

Re: [PATCH] remove dead drivers/ide/ppc/swarm.c

On Tue, May 04, 2004 at 01:34:22AM +0200, Bartlomiej Zolnierkiewicz wrote:

> This driver was merged in 2.5.32 but depends on <asm/sibyte/swarm_ide.h>
> which hasn't been merged in 2.5.  Additionally it is a MIPS specific driver
> so it should be in drivers/ide/mips/ if somebody ever decides to re-add it.

No.  I've already sent a proper patch instead of just a chainsaw massacre
to akpm.

  Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Bartlomiej Zolnierkiewicz | 4 May 2004 14:28
Picon
Picon

Re: [PATCH] remove dead drivers/ide/ppc/swarm.c


Hi Ralf,

On Tuesday 04 of May 2004 13:19, Ralf Baechle wrote:
> On Tue, May 04, 2004 at 01:34:22AM +0200, Bartlomiej Zolnierkiewicz wrote:
> > This driver was merged in 2.5.32 but depends on <asm/sibyte/swarm_ide.h>
> > which hasn't been merged in 2.5.  Additionally it is a MIPS specific
> > driver so it should be in drivers/ide/mips/ if somebody ever decides to
> > re-add it.
>
> No.  I've already sent a proper patch instead of just a chainsaw massacre
> to akpm.

It is not integrated into -mm (2.6.6-rc3-mm1) yet so I couldn't see it.
[ Please cc: me on IDE patches. ]

If it looks the same as in linux-mips CVS it won't work because I've killed
ide_init_default_hwifs() recently (except ARM but patch is pending).

Sorry, this is what you get when using hacks. 8)

While at swarm.c ...

> * Boards with SiByte processors so far have supported IDE devices via
> * the Generic Bus, PCI bus, and built-in PCMCIA interface.  In all
> * cases, byte-swapping must be avoided for these devices (whereas
> * other PCI devices, for example, will require swapping).

Why does byte-swapping must be avoided for PCI IDE
but not for other PCI devices?
(Continue reading)

Ralf Baechle | 4 May 2004 14:43
Favicon

Re: [PATCH] remove dead drivers/ide/ppc/swarm.c

On Tue, May 04, 2004 at 02:28:50PM +0200, Bartlomiej Zolnierkiewicz wrote:

> It is not integrated into -mm (2.6.6-rc3-mm1) yet so I couldn't see it.
> [ Please cc: me on IDE patches. ]

Will do.

> If it looks the same as in linux-mips CVS it won't work because I've killed
> ide_init_default_hwifs() recently (except ARM but patch is pending).
> 
> Sorry, this is what you get when using hacks. 8)
> 
> While at swarm.c ...
> 
> > * Boards with SiByte processors so far have supported IDE devices via
> > * the Generic Bus, PCI bus, and built-in PCMCIA interface.  In all
> > * cases, byte-swapping must be avoided for these devices (whereas
> > * other PCI devices, for example, will require swapping).
> 
> Why does byte-swapping must be avoided for PCI IDE
> but not for other PCI devices?

Simply a result of the way the IDE bus is hooked up to the generic bus of
the Sibyte chip.  I'd have to research details if you're interested ...

  Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
(Continue reading)

Bartlomiej Zolnierkiewicz | 4 May 2004 14:42
Picon
Picon

Re: [PATCH] remove dead drivers/ide/ppc/swarm.c

On Tuesday 04 of May 2004 14:28, Bartlomiej Zolnierkiewicz wrote:
> Hi Ralf,
>
> On Tuesday 04 of May 2004 13:19, Ralf Baechle wrote:
> > On Tue, May 04, 2004 at 01:34:22AM +0200, Bartlomiej Zolnierkiewicz wrote:
> > > This driver was merged in 2.5.32 but depends on
> > > <asm/sibyte/swarm_ide.h> which hasn't been merged in 2.5.  Additionally
> > > it is a MIPS specific driver so it should be in drivers/ide/mips/ if
> > > somebody ever decides to re-add it.
> >
> > No.  I've already sent a proper patch instead of just a chainsaw massacre
> > to akpm.
>
> It is not integrated into -mm (2.6.6-rc3-mm1) yet so I couldn't see it.
> [ Please cc: me on IDE patches. ]
>
> If it looks the same as in linux-mips CVS it won't work because I've killed
> ide_init_default_hwifs() recently (except ARM but patch is pending).
>
> Sorry, this is what you get when using hacks. 8)

Actually SiByte IDE seems to be broken even in linux-mips CVS since
at least 5 months due to this change:

http://www.linux-mips.org/cvsweb/linux/include/asm-mips/ide.h.diff?r1=1.23&r2=1.24

which causes conflicts between swarm.c private ide_init_default_hwifs() hack
and the one from <asm/mach-generic/ide.h> (I can't find other ide.h).

Bartlomiej
(Continue reading)

Bartlomiej Zolnierkiewicz | 4 May 2004 15:10
Picon
Picon

Re: [PATCH] remove dead drivers/ide/ppc/swarm.c

On Tuesday 04 of May 2004 14:43, Ralf Baechle wrote:
> On Tue, May 04, 2004 at 02:28:50PM +0200, Bartlomiej Zolnierkiewicz wrote:
> > It is not integrated into -mm (2.6.6-rc3-mm1) yet so I couldn't see it.
> > [ Please cc: me on IDE patches. ]
>
> Will do.

Thanks.

> > If it looks the same as in linux-mips CVS it won't work because I've
> > killed ide_init_default_hwifs() recently (except ARM but patch is
> > pending).
> >
> > Sorry, this is what you get when using hacks. 8)
> >
> > While at swarm.c ...
> >
> > > * Boards with SiByte processors so far have supported IDE devices via
> > > * the Generic Bus, PCI bus, and built-in PCMCIA interface.  In all
> > > * cases, byte-swapping must be avoided for these devices (whereas
> > > * other PCI devices, for example, will require swapping).
> >
> > Why does byte-swapping must be avoided for PCI IDE
> > but not for other PCI devices?
>
> Simply a result of the way the IDE bus is hooked up to the generic bus of
> the Sibyte chip.  I'd have to research details if you're interested ...

The basic question is whether disk used on SiByte can be read i.e. on x86.
If not than we may have serious problems with some special commands with
(Continue reading)


Gmane