View Single Post
  #1   (View Single Post)  
Old 6th November 2015
bashrules's Avatar
bashrules bashrules is offline
Aspiring Unix Greybeard
 
Join Date: Mar 2010
Location: Here
Posts: 80
Default building kernel modules

For the Linux kernel, I can select what functionality will be built into the kernel vs built as a module. I don't see how I can influence that in NetBSD.

I would like to build the wpi driver as a module into /stand/i386/7.0/modules/ simply because I get after a week or so a "wpi0: fatal firmware error" log in the dmesg buffer. From that point on, I don't get wpi0 working, anymore.

From wpi(4)

Code:
DIAGNOSTICS
     wpi%d: fatal firmware error  For some reason, the firmware crashed.  The
     driver will reset the hardware.  This should not happen.
"The driver will reset the hardware" - apparently, that doesn't happen or that doesn't help. So, I thought a module unload/reload may help. For this, I would need wpi to be module, though.
Reply With Quote