Re: Final pre-2.0.31.. Expect this to be same as real 2.0.31

Doug Ledford (dledford@dialnet.net)
Tue, 09 Sep 1997 08:56:02 -0500


--------

> SCSI host 0 abort (pid 73306) timeout - resetting
> SCSI bus is being reset for host 0 channel 0
> Kernel panic: FORWARDED INTERRUPT TIMEOUT (AKP=0, saved AKP=1)

> The following patch should fix this timeout. Note that this is untested as
> yet; I'll verify it tomorrow and send it off for 2.0.31.
>
> Leonard

> + timeout_counter = 10000000;
> while (active_kernel_processor != saved_active_kernel_processor &&
> --timeout_counter >= 0)
> - barrier();
> + {
> + udelay(10);
> + barrier();
> + }

Geesh, I would hope that would solve the problem ;) The aic7xxx_reset code
has two embedded udelay(1000); calls in it, but the forwarding shouldn't
blow up any more since you just embedded 10 million udelay(10) calls for a
timeout :)

How long does it really take to run that anyway? Isn't the udelay somewhat,
ummm..... non-deterministic at that usage level? Unless I'm off on my
calculations, 10,000,000 iterations of what is suppossed to be 10/1,000,000
of a second comes out to be 100 seconds total. Did you really intend it to
be that long, or am I misfiguring things here?

-- 
*****************************************************************************
* Doug Ledford                      *   Unix, Novell, Dos, Windows 3.x,     *
* dledford@dialnet.net    873-DIAL  *     WfW, Windows 95 & NT Technician   *
*   PPP access $14.95/month         *****************************************
*   Springfield, MO and surrounding * Usenet news, e-mail and shell account.*
*   communities.  Sign-up online at * Web page creation and hosting, other  *
*   873-9000 V.34                   * services available, call for info.    *
*****************************************************************************