FreeBSD 9.1: HowTo Load a Kernel Module

In FreeBSD 9.1, you can load a kernel module using the kldload command.

Here’s the basic syntax to load a kernel module:

kldload <module-name>

For example, to load the if_bge module, use the following command:

kldload if_bge

Once the module is loaded, you can use the kldstat command to verify that the module is loaded:

kldstat

This will display a list of all loaded kernel modules, including the if_bge module.

Note that some modules may require specific options to be passed during loading. In that case, you can use the following syntax to load the module with options:

kldload <module-name> <options>

For example:

kldload if_bge bufsize=16384

Leave a Comment