[openib-general] Re: Mellanox device in INIT state

Michael S. Tsirkin mst at mellanox.co.il
Sat Sep 17 11:00:39 PDT 2005


Quoting r. Shirley Ma <xma at us.ibm.com>:
> Subject: Re: Mellanox device in INIT state
> 
> 
> I might hit this problem -- netdev reference counting problem with ib_at, which was pointed out by Roland a week ago. The difference was I tried to remove ib_mthca, not ib_ipoib. The process hung in the kernel and couldn't recover. 
> 
> The counter would go to -1 if bringing down the interface down first.
> 
> If loading both ib_at & ib_uat, when removing ipoib module without bringing the interface down, the reference count is 2, with the interface down, the reference is -3. ib_devs_changed() doesn't handle these events correctly. 
> 
> The workaround now is always removing ib_at/ib_uat before removing ib_ipoib/ib_mthca. 
> 
> Thanks
> Shirley Ma
> IBM Linux Technology Center
> 15300 SW Koll Parkway
> Beaverton, OR 97006-6063
> Phone(Fax): (503) 578-7638

Might make sense to go over sdp_link.c and compare to ib_at.c and
friends.

-- 
MST



More information about the general mailing list