NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/40462: bnx0: Double mbuf allocation failure!



The following reply was made to PR kern/40462; it has been noted by GNATS.

From: Jarle Greipsland <jarle%uninett.no@localhost>
To: gnats-bugs%NetBSD.org@localhost, mhitch%lightning.msu.montana.edu@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/40462: bnx0: Double mbuf allocation failure!
Date: Fri, 23 Jan 2009 20:48:17 +0100 (CET)

 "Michael L. Hitch" <mhitch%lightning.msu.montana.edu@localhost> writes:
 >     I think this occurs because each bnx device attempts to allocate a large
 >  number of receive buffers from the mbuf cluster pool.  The default size
 >  is too small for two bnx devices, and the bnx driver appears to be the 
 >  only one I've seen that panics when it can't allocate the receive buffers.
 >  
 >     You can override this with the NMBCLUSTERS kernel config option (which
 >  required rebuilding the kernel).  Also, enabling the GATEWAY option will
 >  usually double the default NMBCLUSTERS (but also requires a kernel 
 >  rebuild).
 Thanks for the advice.  I'll find a suitable service window and
 try out a kernel with an increased setting for the NMBCLUSTERS
 option and see what happens.
                                        -jarle
 


Home | Main Index | Thread Index | Old Index