issues with the recent ath commits (r227740, r227651, ...)

Alexander Best arundel at freebsd.org
Mon Nov 21 22:53:43 UTC 2011


On Mon Nov 21 11, Alexander Best wrote:
> On Tue Nov 22 11, Adrian Chadd wrote:
> > Hi,
> > 
> > Please try this patch:
> 
> looking very promising so far. haven't got the boot-up-panic. i'll let my
> system run for a few hours, to see, if the lock up has also been resolved.

ok. after > 45 minutes uptime i can confirm that the patch fixes the issues i
experienced beforehand. unless i didn't get a boot-up-panic, my system locked
up after < 5 minutes.

however using your patch i noticed the following console output:

ath0: ath_start: sc_inreset_cnt > 0; bailing

... only once, however. i don't believe i've seen this one ever beforehand.

cheers.
alex

> 
> cheers.
> alex
> 
> > 
> > 
> > commit 3993972ed7407867dce188903f68a0751c487fbb
> > Author: Adrian Chadd <adrian at freebsd.org>
> > Date:   Tue Nov 22 05:28:16 2011 +0800
> > 
> >     Sleep on the correct lock.
> > 
> > diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
> > index 83c5ede..84cb91b 100644
> > --- a/sys/dev/ath/if_ath.c
> > +++ b/sys/dev/ath/if_ath.c
> > @@ -1878,9 +1878,9 @@ ath_txrx_stop(struct ath_softc *sc)
> >          */
> >         while (sc->sc_rxproc_cnt || sc->sc_txproc_cnt ||
> >             sc->sc_txstart_cnt || sc->sc_intr_cnt) {
> > -               if (i <= 0)
> > +               if (i <= 0)
> >                         break;
> > -               msleep(sc, &sc->sc_mtx, 0, "ath_txrx_stop", 1);
> > +               msleep(sc, &sc->sc_pcu_mtx, 0, "ath_txrx_stop", 1);
> >                 i--;
> >         }
> >         ATH_PCU_UNLOCK(sc);


More information about the freebsd-wireless mailing list