From: George France <france@handhelds.org>
To: axp-list@redhat.com, Marc Zyngier <mzyngier@freesurf.fr>
Subject: Re: AS500 and 2.4 SCSI blues
Date: Sat, 8 Jun 2002 14:53:01 -0400 [thread overview]
Message-ID: <02060814530106.14941@shadowfax.middleearth> (raw)
In-Reply-To: <wrp3cvygpbx.fsf@hina.wild-wind.fr.eu.org>
[-- Attachment #1: Type: text/plain, Size: 1531 bytes --]
Apply the attached patch. to 2.4.19-pre10. The patch is for 2.4.19-pre9, but
it should work. This patch will be in the main kernel soon.
Best Regards,
--George
On Saturday 08 June 2002 04:13, Marc Zyngier wrote:
> Hi all,
>
> I just came along a shiny AlphaStation 500/333 (much better than my
> old Multia and AlphaServer 1000/200).
>
> Unfortunately, I'm unable to run a 2.4 kernel on that system. 2.2
> works fine, but 2.4 crashes while probing the SCSI bus (I've tried
> with both the internal QLogic and a Symbios 53c875 based card, with
> kernel 2.4.17, 2.4.18 and 2.4.19-pre10, with both Generic and Alcor
> options).
>
> Here's the message I'm getting with the 875 card :
>
> SCSI subsystem driver Revision: 1.00
> sym.0.12.0: setting PCI_COMMAND_INVALIDATE.
> sym0: <875> rev 0x4 on pci bus 0 device 12 function 0 irq 20
> sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
> CACHE TEST FAILED: DMA error (dstat=0xa0).sym0: CACHE INCORRECTLY
> CONFIGURED. sym0: giving up ...
>
> A kernel compiled with qlogic crashes with a machine-check exeption
> (660, IIRC).
>
> I also get this message while initializing the PCI chipset (don't know
> if that's normal or not) :
>
> pci: passed tb register update test
> pci: failed sg loopback i/o read test (0x5cee00 != 0xdeadbeef)
> pci: disabling sg translation window
>
> If that's of any interrest, I'm booting off SRM V6.9-5 (serial
> console).
>
> Does anybody have a clue or, even better, a known working .config for
> that system ?
>
> Thanks a lot,
>
> M.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: linux-2.4.19-pre9-alpha-isa-dma.patch --]
[-- Type: text/english; name="linux-2.4.19-pre9-alpha-isa-dma.patch", Size: 806 bytes --]
--- linux/drivers/scsi/sym53c8xx.c-orig Fri Jun 7 14:01:43 2002
+++ linux/drivers/scsi/sym53c8xx.c Fri Jun 7 14:02:24 2002
@@ -1139,7 +1139,7 @@
/* To keep track of the dma mapping (sg/single) that has been set */
#define __data_mapped SCp.phase
-#define __data_mapping SCp.have_data_in
+#define __data_mapping SCp.dma_handle
static void __unmap_scsi_data(pcidev_t pdev, Scsi_Cmnd *cmd)
{
--- linux/drivers/scsi/sym53c8xx_comm.h-orig Fri Jun 7 14:01:56 2002
+++ linux/drivers/scsi/sym53c8xx_comm.h Fri Jun 7 14:02:42 2002
@@ -946,7 +946,7 @@
/* To keep track of the dma mapping (sg/single) that has been set */
#define __data_mapped SCp.phase
-#define __data_mapping SCp.have_data_in
+#define __data_mapping SCp.dma_handle
static void __unmap_scsi_data(pcidev_t pdev, Scsi_Cmnd *cmd)
{
next prev parent reply other threads:[~2002-06-08 18:59 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-08 8:13 AS500 and 2.4 SCSI blues Marc Zyngier
2002-06-08 11:29 ` Peter M. Hahn
2002-06-08 14:04 ` Marc Zyngier
2002-06-08 18:53 ` George France [this message]
2002-06-09 19:02 ` Marc Zyngier
2002-06-09 8:30 ` [LONG] CIA breakage in 2.4.13 (was Re: AS500 and 2.4 SCSI blues) Marc Zyngier
2002-06-09 12:53 ` Marc Zyngier
2002-06-09 19:41 ` Jay Estabrook
2002-06-10 6:08 ` Marc Zyngier
2002-06-10 12:12 ` Jay Estabrook
2002-06-10 12:25 ` Marc Zyngier
2002-06-10 18:38 ` Marc Zyngier
2002-06-10 18:07 ` Jay Estabrook
2002-06-10 19:29 ` Marc Zyngier
2002-06-13 17:02 ` Jay Estabrook
2002-06-13 21:28 ` Marc Zyngier
2002-06-09 16:32 ` Michal Jaegermann
2002-06-09 18:36 ` Marc Zyngier
2002-06-09 19:03 ` Michal Jaegermann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox