Tyan Computer Transport GS12 Computer Hardware User Manual


 
37
http://www.TYAN.com
Then save and exit.
/usr/sbin/config MYKERNEL
cd ../../compile/MYKERNEL
make depend
make
make install
vi /etc/rc
Add the line apm -e 1 before the last line exit 0. Then save and exit.
Reboot the system.
You can now use the new kernel. Run the command halt -p to shutdown the system
completely.
LAN Driver
NOTE: To compile the driver into the kernel, go directly to step 4.
1. Insert the driver CD into the CD drive.
2. Copy the base driver tar file em-1.7.15.tar.gz of the /LAN/Intel/LINUX/
FREEBSD directory to the directory of your choice. For example, use
/home/username/em or /usr/local/src/em.
3. Untar/unzip the archive: tar xvfz em-x.x.x.tar.gz
This will create an em-x.x.x directory.
4. To create a loadable module, perform the following steps.
a. To compile the module
cd em-x.x.x
make
b. To install the compiled module in the system directory:
make install
c. If you want the driver to load automatically when the system is booted:
1. Follow steps a and b above to compile and install the module
2. Edit /boot/loader.conf and add the following line:
if_em_load=”YES”
5. To compile the driver into the kernel:
cd em-x.x.x/src
cp if_em* /usr/src/sys/dev/em
cp Makefile.kernel /usr/src/sys/modules/em/Makefile
Edit the /usr/src/sys/conf/files.i386 file and add the following lines:
dev/em/if_em.c optional em