I'm running 11.1-RELEASE
I've done two example hello_world type device drivers from both the Handbook and the Intrepid book.
It compiles fine. In fact I compiled the kernel without incident, so the system seems to be setup.
After I compile the example driver I try to load the hello.ko with:
sudo kldload ./hello.ko
It complains that it can't load the module because its already loaded in the kernel.
I've renamed it to a stupid name and it still happens.
I've checked the list of installed kernel modules, and my module names are not in that list.
What am I missing? I can find nothing about this in a google search either. Seems odd to me.
I've done two example hello_world type device drivers from both the Handbook and the Intrepid book.
It compiles fine. In fact I compiled the kernel without incident, so the system seems to be setup.
After I compile the example driver I try to load the hello.ko with:
sudo kldload ./hello.ko
It complains that it can't load the module because its already loaded in the kernel.
I've renamed it to a stupid name and it still happens.
I've checked the list of installed kernel modules, and my module names are not in that list.
What am I missing? I can find nothing about this in a google search either. Seems odd to me.