Subject: Re: kern/27067: cpu stuck in atabus3 thread, kernel won't finish booting. 2.0F works, 2.0H and 2.0Beta do not.
To: Chris Tribo <ctribo@college.dtcc.edu>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 10/04/2004 23:24:51
--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
sorry for the delay
On Thu, Sep 30, 2004 at 05:52:46PM -0400, Chris Tribo wrote:
> Hi Manuel,
>
> Didn't get anything from pdc202xx_pci_intr, I did from pdc20265
> though:
>
> db> break pdc20265_pci_intr
Ok, thanks. Can you try the attached patch ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff
Index: pdcide.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pdcide.c,v
retrieving revision 1.19
diff -u -r1.19 pdcide.c
--- pdcide.c 23 Aug 2004 21:30:35 -0000 1.19
+++ pdcide.c 4 Oct 2004 21:23:32 -0000
@@ -552,10 +552,11 @@
if((dmastat & IDEDMA_CTL_INTR) == 0)
continue;
crv = wdcintr(wdc_cp);
- if (crv == 0)
+ if (crv == 0) {
printf("%s:%d: bogus intr\n",
sc->sc_wdcdev.sc_atac.atac_dev.dv_xname, i);
- else
+ pciide_irqack(wdc_cp);
+ } else
rv = 1;
}
return rv;
--ReaqsoxgOBHFXBhH--