lkml.org 
[lkml]   [1996]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Still freezes with 2.0.23 and AHA2940 (aka AIC7xxx)
Date
From
[ quite a cross-posting -- I saw this at: KERNEL, SCSI, and SMP, very
least. ]

> Hi!
>
> I noticed, that there are many fixes for the aic7xxxx module in the
> current 2.0.23 patch. So I gave it another spin on my Dual-P200 server
> but no avail.
>
> The machine still gets a 'spurious interrupt' when trying to
> initialize the SCSI controller, then 'AIEEEEEE, killing interrupt
> handler' and a solid lockup. This happened all the way up from 2.0.13
> when the aic7xxx.c driver was bumped up to a new release.
>
> Currently I'm running an 2.0.21 with all aic7* Files copied to
> drivers/scsi from an 2.0.12 kernel. This works.

Yes, known symptoms -- following ONE LINE change
does hide the bug by returning the AIC configuration
into previous model, however it does not really FIX
things :-( (Line numbers may have some fudge on
them, I did add/remove a lot of printk()s to find this.)
(There are two similar changes, however only this one
is apparently necessary!)

/Matti Aarnio <matti.aarnio@tele.fi>

*** linux-2.1.4/drivers/scsi/aic7xxx.c~ Wed Oct 16 18:11:23 1996
--- linux-2.1.4/drivers/scsi/aic7xxx.c Wed Oct 16 18:12:29 1996
***************
*** 4433,4439 ****
outb(config->scsi_id, SCSIID + base);
scsi_conf = inb(SCSICONF + base) & (ENSPCHK | STIMESEL);
outb(scsi_conf | ENSTIMER | ACTNEGEN | STPWEN, SXFRCTL1 + base);
! #if 1
outb(ENSELTIMO | ENSCSIRST | ENSCSIPERR, SIMODE1 + base);
#else
outb(ENSELTIMO, SIMODE1 + base);
--- 4433,4439 ----
outb(config->scsi_id, SCSIID + base);
scsi_conf = inb(SCSICONF + base) & (ENSPCHK | STIMESEL);
outb(scsi_conf | ENSTIMER | ACTNEGEN | STPWEN, SXFRCTL1 + base);
! #if 0 /* XXX: SETTING THIS BREAKS MY AHA-3940 BOOT! <matti.aarnio@tele.fi> */
outb(ENSELTIMO | ENSCSIRST | ENSCSIPERR, SIMODE1 + base);
#else
outb(ENSELTIMO, SIMODE1 + base);

...
> I do would appreciate help or a pointer to what I'm doing wrong. I
> want to upgrade this machine to a Dual-PPro somewhere around next
> week.
>
> Ciao
> Henning
> --
> Dipl.-Inf. Henning Schmiedehausen - henning@iconsult.com
>
> ICONSULT Tandogan - Schmiedehausen - Egerer GbR Tel.: +49-9131-9047-12
> Memelstrasse 38 - D-91052 Erlangen Fax.: +49-9131-9047-77
>


\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2011 Jasper Spaans