Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750780AbWIFMKU (ORCPT ); Wed, 6 Sep 2006 08:10:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750782AbWIFMKU (ORCPT ); Wed, 6 Sep 2006 08:10:20 -0400 Received: from natblert.rzone.de ([81.169.145.181]:21163 "EHLO natblert.rzone.de") by vger.kernel.org with ESMTP id S1750780AbWIFMKS (ORCPT ); Wed, 6 Sep 2006 08:10:18 -0400 Date: Wed, 6 Sep 2006 14:09:54 +0200 From: Olaf Hering To: James Bottomley Cc: Benjamin Herrenschmidt , Linus Torvalds , linux-scsi@vger.kernel.org, Linux Kernel Mailing List Subject: Re: Linux 2.6.18-rc6 Message-ID: <20060906120954.GA12548@aepfle.de> References: <20060905122656.GA3650@aepfle.de> <1157490066.3463.73.camel@mulgrave.il.steeleye.com> <1157494837.22705.151.camel@localhost.localdomain> <1157498567.3463.91.camel@mulgrave.il.steeleye.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1157498567.3463.91.camel@mulgrave.il.steeleye.com> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1896 Lines: 53 On Tue, Sep 05, James Bottomley wrote: > On Wed, 2006-09-06 at 08:20 +1000, Benjamin Herrenschmidt wrote: > > Yes, it's a PCI error. > > Thanks, and the cat of /proc/scsi_host/host/signalling? > > My suspicion is the register doesn't actually exist on this card so it > doesn't actually respond on the bus. However, on my equivalent > everything works; largely I think because the only PC's I have don't > know how to signal a PCI error. Where is that area mapped? It crashes already if I read port 0. Everything works if I also add the second hunk to disable signalling. Index: linux-2.6.17/drivers/scsi/aic7xxx/aic7xxx_osm.c =================================================================== --- linux-2.6.17.orig/drivers/scsi/aic7xxx/aic7xxx_osm.c +++ linux-2.6.17/drivers/scsi/aic7xxx/aic7xxx_osm.c @@ -2539,8 +2539,15 @@ static void ahc_linux_set_iu(struct scsi static void ahc_linux_get_signalling(struct Scsi_Host *shost) { struct ahc_softc *ahc = *(struct ahc_softc **)shost->hostdata; - u8 mode = ahc_inb(ahc, SBLKCTL); + int i; + u8 mode; + for (i=0;i!=SBLKCTL;i++) { + printk("i 0x%02x ",i); + mode = ahc_inb(ahc, i); + printk("m 0x%02x\n",mode); + } + mode = ahc_inb(ahc, SBLKCTL); if (mode & ENAB40) spi_signalling(shost) = SPI_SIGNAL_LVD; else if (mode & ENAB20) @@ -2566,8 +2573,8 @@ static struct spi_function_template ahc_ .show_iu = 1, .set_qas = ahc_linux_set_qas, .show_qas = 1, -#endif .get_signalling = ahc_linux_get_signalling, +#endif }; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/