- FreeBSD Driver Installation
- Updating the driver on an existing FreeBSD system:
- In this case the kernel image has to be updated the new driver module. Following are the steps to update the kernel with new driver.
- 1) Make sure that kernel source has been installed on the system. If the kernel sources have been installed then there will be /usr/src/sys directory.
- 2) Move to the arch/conf directory and copy the GENERIC configuration file to the name you want to give your kernel. For example:
- # cd /usr/src/sys/i386/conf
- For 64 bit the path is
- # /usr/src/sys/amd64/conf
- # cp GENERIC MYKERNEL
- 3) Perform the following steps.
- a) Comment the following line in the file MYKERNEL by placing # at the
- beginning of the line.
- device cbb #cardbus (yenta) bridge
- b) Add the following line to the file /usr/src/sys/conf/files
- dev/mfi/mfi_syspd.c optional mfi
- (Note add this line next to the line which has dev/mfi/mfi_cam.c optional mfi)
- 4) Copy the zip (mfi.zip) file under the path /usr/src/sys/dev (Before proceeding to next step make sure that the directory with name “mfi” does not exist under path /usr/src/sys/dev/. If already a directory with name “mfi” exists, move it to some other folder. For example type, mv /usr/src/sys/dev/mfi /root/mfibackup).
- 5) Go to the directory /usr/src/sys/dev and run the following command to unzip the source.
- tar –x –f mfi.zip
- 6) To compile the kernel go to /usr/src directory and type
- make buildkernel KERNCONF=MYKERNEL
- 7) To install the new kernel type
- make installkernel KERNCONF=MYKERNEL
- 8) The new kernel will be copied to the /boot/kernel directory as /boot/kernel/kernel and the old kernel will be moved to /boot/kernel. old/kernel. Reboot the system to use the new kernel, which has the latest driver.
- Same driver can be used for OS versions 7.0, 7.1, 7.2 & 8.0
- FreeBSD OS does not support supplying DUD’s (Driver update disks) at installation time. The kernel that comes with the installation CD has driver statically linked in it but not as a module. Hence it is not possible to override the driver binary that is part of the kernel with the new driver module. Following table gives the list of OS version’s on which installation of OS on a VD is supported.
- O.S Release Gen2 Skinny
- 7.0 No No
- 7.1 Yes (OS can be installed on VD) No
- 7.2 Yes (OS can be installed on VD) No
a guest Nov 26th, 2011 176 Never
RAW Paste Data