[openib-general] Re: slab error in kmem_cache_destroy(): cache `ib_mad': Can't free all objects

Hal Rosenstock halr at voltaire.com
Fri May 6 09:52:24 PDT 2005


On Wed, 2005-05-04 at 02:57, Michael S. Tsirkin wrote: 
> > If this only occurs on machines which are running OpenSM, it could be a
> > problem with the local MAD handling where ib_free_recv_mad is not called
> > for some case where it should. I will look into this if this is the
> > case.
> > 
> > -- Hal
> > 
> 
> This is the case for me: the error only  occurs on machines which are
> running OpenSM.

So assuming mthca sets the bits properly for local MAD handling (and I
have no reason to think otherwise), this is likely a local MAD handling
error in mad.c where some path does not return an allocation to the MAD
cache. I inspected the code to try and find it but couldn't. I will need
to dig deeper. This will take some more time. (I will add some
accounting in and see what this shows up). Please bear with me.

-- Hal




More information about the general mailing list