I seem to have had a problem with the ahc driver since around the
beginning of the year.  Due to mail problems, this is the first I've
been able to report this.

I am running a Tyan Thunder2 [DLUA-1696] motherboard with
-current/SMP.  This board has the aic7895 [3940UW] on it.  The error I
get causes immediate panic on boot with the message:

        { MPARERR,      "Scratch or SCB Memory Parity Error" },

The only way I have found to fix this seems to be to comment out the
enabling of scratchpad SRAM parity checking:

cut--------------------------------------------------------------
*** ahc_pci.c   Sun Jan  9 19:47:51 2000
--- ahc_pci.c.mod       Mon Feb  7 01:03:44 2000
***************
*** 763,769 ****
                u_int dscommand0;
  
                dscommand0 = ahc_inb(ahc, DSCOMMAND0);
!               dscommand0 |= MPARCKEN;
                if ((ahc->features & AHC_ULTRA2) != 0) {
  
                        /*
--- 763,770 ----
                u_int dscommand0;
  
                dscommand0 = ahc_inb(ahc, DSCOMMAND0);
!               /* dscommand0 |= MPARCKEN; */ /* JDB */
! 
                if ((ahc->features & AHC_ULTRA2) != 0) {
  
                        /*
--------------------------------------------------------------cut

I don't know if this is a side effect of this change [as I can't get
it running with the parity checking enabled], but i get a system
freeze requiring hard reset when using my tape drive with my change.
I don't understand how that can happen as a result of commenting out
this one line, so I cannot say that it is a related or seperate
issue.  All I know is that everything works fine with a kernel from
before the driver was changed in January.

Since I only managed to resubscribe to the -lists today, I was
unaware of a code freeze at the moment for -current, but this is a
*FATAL* bug in the ahc code on this particular motherboard.

I would like to hear from other Tyan DLUA-1696 users as to whether or
not they are experiencing the same boot panic using the stock ahc
driver, also if they experience bus problems when dumping to tape when
using the above fix.

jim
-- 
All opinions expressed are mine, if you    |  "I will not be pushed, stamped,
think otherwise, then go jump into turbid  |  briefed, debriefed, indexed, or
radioactive waters and yell WAHOO !!!      |  numbered!" - #1, "The Prisoner"
------------------------------------------------------------------------------
KC5VDJ - HF to 23cm      KC5VDJ@NW0I.#NEKS.KS.USA.NOAM       [EMAIL PROTECTED] 
------------------------------------------------------------------------------
  IC-706MkII - IC-T81A - HTX-202 - HTX-212 - HTX-404 - KPC3+ - PK-232MBX/DSP


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to