
Driver Installation Under FreeBSD
www.3ware.com 53
8 At the FreeBSD boot menu, select "Escape to loader prompt.”
9 At the loader prompt, load the kernel driver module by typing
load disk0:twa_96se.ko (assuming disk0 is the floppy drive)
Then boot, by typing
boot
Now that you have installed the twa_96se.ko kernel driver module and you
are up and booted into FreeBSD, the next step is to upgrade the kernel with
the latest 3ware kernel driver sources.
10 Once the system boots up, replace the twa driver sources at
/sys/dev/twa and /sys/modules/twa with the new sources that
have 9550SX/9590SE/9650SE support, for the OS version being used.
The sources for the new kernel driver module for FreeBSD 6.1 can be
found on both the 3ware CD-ROM and the 3ware website.
For step-by-step instructions, see “To update the kernel with new driver
source” on page 53.
11 Build the kernel with the new driver sources.
For help with this, see http://www.freebsd.org/doc/en_US.ISO8859-1/
books/handbook/kernelconfig-building.html.
12 Reboot your system.
To update the kernel with new driver source
1 Copy .c and .h files to
sys/dev/twa and makefile to sys/modules/
twa
2 Go to /usr/src/sys/conf/ and edit the files file (use vi or any other editor)
a Remove these lines:
twa/twa.c
twa/twa_cam.c
twa/twa_freebsd.c
twa/twa_fwing.c
twa/twa_globals.c
b Replace them with:
twa/tw_cl_fwimg.c (omit this if using code set 9.3.0.4 or newer)
twa/tw_cl_init.c
twa/tw_cl_intr.c
twa/tw_cl_io.c
twa/tw_cl_misc.c
twa/tw_osl_cam.c
twa/tw_osl_freebsd.c
c Save changes.
Kommentare zu diesen Handbüchern