This documentation describes how to apply the patch and install the
kernel. You probably don't need to do this unless you need to
reconfigure the kernel.
Also note, running 'installfloppy' with the Utility disk is the most
easiest way to setup the machine to run Wildboar. Please run '
installfloppy' first, and follow direction in this document to build
kernel.
To configure the Wildboar kernel by yourself, you need following items:
-
* BSD/OS Kernel Source
-
The current Wildboar diff is made against BSD/OS 2.1 plus several patches.
More precisely, Wildboar diff is made against the kernel tree:
2.1 Release
patched with K201-001 through K210-023
Warning about K210-015 patch: BSDI release a version of K210-015 and
later replaced it with same patch name: K210-015. Thus if you have
problem applying patch, try to get latest K210-015 and try again.
-
* Wildboar source kit
-
.
We assume kernel sources are installed in /usr/src/sys (/sys).
You'll found 'sys.diff' and 'utils.tar.gz' files in your source
'kit.tar.gz' archive.
apply the patch 'sys.diff' comes from this kit by:
# cd /usr/src/sys
# patch -p1 < SOMEWHERE/sys.diff
The /usr/src/sys/i386/conf/WILDBOAR configuration file is provided for
configuration baseline.
DON'T BOOT TILL YOU FINISH THE NEXT STEP
To activate APM, you should install /boot, in addition to /bsd.
Type:
# cd /usr/src/sys/i386/stand
# make boot
# install -s -c boot /boot
Now you can your source tree to build kernel!
If you want to have utilities sources handy, follow this step. If you
don't need utilities source, it is not necessary. Binary is installed
by running installfloppy on BOOT1 disk.
# cd /usr/src
# gzcat SOMEWHERE/utils.tar.gz | tar xpf -
# cd /usr/src/contrib/wildboar
# make devices
# cd /usr/src/contrib/wildboar
# make all
# make install
Add following at end of the /etc/rc.local
if [ -f /sbin/apmstart ]; then
/sbin/apmstart;
fi
Currently, Wildboar does not configure cards on boot. (design choice)
If you would like to configure all of the inserted cards at bootstrap time,
add the following lines just after apmstart:
if [ -f /sbin/csconfig ]; then
csconfig -a up
fi