Subject: Re: wi performance hack
To: NetBSD Current <current-users@NetBSD.ORG>
From: Holger Weiss <lists@jhweiss.de>
List: current-users
Date: 07/19/2004 18:19:54
* Charles M. Hannum <abuse@spamalicious.com> [2004-07-19 14:53]:
> On Monday 19 July 2004 11:34, Simon Burge wrote:
> > I see the following errors in groups of three:
> >
> > wi0: bad alloc 1f7 != 1f9, cur 2 nxt 2
> > wi0: bad alloc 1f8 != 1f9, cur 2 nxt 2
> > wi0: bad alloc 1f9 != 1f7, cur 0 nxt 0
Same thing with my Orinoco card.
> So, one thing you might try is to just modify:
>
> if (sc->sc_txd[cur].d_fid != fid) {
> printf("%s: bad alloc %x != %x, cur %d nxt %d\n",
> sc->sc_dev.dv_xname, fid, sc->sc_txd[cur].d_fid, cur,
> sc->sc_txqueue);
> return;
> }
>
> to also print out the current value of sc->sc_txstart.
wi0: bad alloc 1f7 != 1f9, cur 2 nxt 2 sc_txstart 1
wi0: bad alloc 1f8 != 1f9, cur 2 nxt 2 sc_txstart 2
wi0: bad alloc 1f9 != 1f7, cur 0 nxt 0 sc_txstart 0
wi0: bad alloc 1f7 != 1f9, cur 2 nxt 2 sc_txstart 2
wi0: bad alloc 1f8 != 1f9, cur 2 nxt 2 sc_txstart 2
wi0: bad alloc 1f9 != 1f7, cur 0 nxt 0 sc_txstart 0
wi0: bad alloc 1f7 != 1f9, cur 2 nxt 2 sc_txstart 1
wi0: bad alloc 1f8 != 1f7, cur 0 nxt 0 sc_txstart 0
wi0: bad alloc 1f9 != 1f7, cur 0 nxt 0 sc_txstart 0
Holger
--
PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE