• Justin T. Gibbs's avatar
    [PATCH] fix aci7xxx locking problem · caddf53a
    Justin T. Gibbs authored
    > On Thu, May 01, 2003 at 04:28:12PM -0600, Justin T. Gibbs wrote:
    >> Folks,
    >>
    >> I've just uploaded version 1.3.8 of the aic79xx driver and version
    >> 6.2.33 of the aic7xxx driver.  Both are available for 2.4.X and
    >> 2.5.X kernels in either bk send format or as a tarball from here:
    >>
    >> http://people.FreeBSD.org/~gibbs/linux/SRC/
    >
    > Hi Justin,
    >
    > I've just tested it and I still have the deadlock on SMP. I also tried with
    > noapic, but it didn't change. I have reduced the TCQ from 253 to 32, and I
    > had the impression that it was more difficult to trigger, although I cannot
    > be certain. With 32, I could boot and go to about half the 'make -j 8 dep',
    > while it hanged during init script with 253. I may retest by the week-end, but
    > now I'm going to sleep. Now I'm back to 6.2.28 and everything's OK.
    
    Can you try with this patch?  It seems I forgot to pull part of a change
    from the aic79xx driver into the aic7xxx driver.  This could easily cause
    a lock order reversal. <sigh>
    caddf53a
aic7xxx_osm.h 32.7 KB