his tutorial walks the user through setting up a virtual development environment capable of being used to work through Joseph Kong’s book, “FreeBSD Device Drivers: A Guide for the Intrepid” in 2020. The book was written in 2013 and while it can be used with a more recent installation, there are some annoying changes that will frustrate the developer working through the book.

The environment that is setup is a FreeBSD 8.4 instance running ssh. The VM doesn’t require access to the network and probably shouldn’t have that access. The VM is suitable for building and testing kernel modules. Anything developed in the VM would likely need some minor modifications to run in a modern system, but would be entirely suitable for learning about device driver development as discussed in the book.

Here’s a link to the script file

post added 2022-12-02 09:57:11 -0600