How to load kernel module automatic?

Navdeep Parhar nparhar at gmail.com
Tue Dec 6 14:41:19 UTC 2016


On Tue, Dec 06, 2016 at 05:34:56PM +0300, Slawa Olhovchenkov wrote:
> On Tue, Dec 06, 2016 at 06:25:44AM -0800, Navdeep Parhar wrote:
> 
> > On Tue, Dec 06, 2016 at 02:47:15PM +0300, Slawa Olhovchenkov wrote:
> > > Now I am try to update fw in chelsio card.
> > > Firmware can't be updated if card was running (interface go to UP).
> > > I am try to unload if_cxgbe module, check module unloaded... and after
> > > short time see module loaded again!
> > > How is this possible?
> > 
> > Something is running "ifconfig cxgbe|cxl|cc" on your system.  ifconfig
> > can figure out the name of the module from the name of the ifnet and
> > will kldload it if it isn't in the kernel already.
> 
> What is 'something'?

A script that's running via devd or some other mechanism.

Regards,
Navdeep


More information about the freebsd-current mailing list