On Wed, Aug 23, 2006 at 12:43:42AM +0400, Oleg Bulyzhin wrote:
> On Tue, Aug 22, 2006 at 02:44:34PM +0200, Michael Reifenberger wrote:
> > On Tue, 22 Aug 2006, Pyun YongHyeon wrote:
> > ...
> > >I'm not familiar with vge(4) and don't have hardwares supported by
> > >vge(4). Because vge(4) supports a kind of interrupt moderation, there
> > >is a possiblity to have the same issue seen on em(4).
> > >If you want my blind patch I can send a patch for you.
> > >
> > Yes, please!
> > I can test it (on RELENG_6 though).
> I have an idea why those timeouts can happen. Could you please test
> attached patch? It may help (or may not). Anyway would be fine
> to know results.
Since vge(4) uses MTX_RECURSE mutex and miibus(4) handler is
protected with the mutex I guess it wouldn't help much.
I guess it needs a seperate mutex to protect miibus(4) handler
and should remove the use of MTX_RECURSE. vge(4) also has a bug
if mbuf chain is too long(7 or higher) and defragmentation with
m_defrag(9) fails it would access an invalid mbuf chain.
All these requires lots of work and need a real hardware.
Oleg, if you have hardware, would you fix it?