
Driver for Linux - Installation Section Page 6
Upgrading the Kernel
There are two ways to install the driver into an upgraded kernel. The method you use depends on
whether or not you are upgrading the driver.
• You can upgrade the kernel using the same version of the driver.
• You can upgrade the kernel using a new version of the driver.
To upgrade the kernel with the same version of the lpfc driver kit installed:
1. Copy the /etc/lpfc.conf file to a safe location; for example, to /etc/lpfc.conf.backup. Type:
cp /etc/lpfc.conf /etc/lpfc.conf.backup
2. Uninstall the Emulex driver. Type:
lpfc-install --uninstall
3. Upgrade the kernel and/or distribution.
4. Reboot the system with the new kernel.
5. Re-install the Emulex driver with the lpfc.conf file; to use the previous example, /etc/
lpfc.conf.backup. Type:
lpfc-install -c /etc/lpfc.conf.backup
6. Reboot the system to complete re-installation of the Emulex drivers.
To upgrade the kernel with a new version of the lpfc driver kit installed:
1. Copy the /etc/lpfc.conf file to a safe location; for example, /etc/lpfc.conf.backup. Type:
cp /etc/lpfc.conf /etc/lpfc.conf.backup
2. Uninstall the Emulex driver. Type:
lpfc-install --uninstall
3. Upgrade the kernel and/or distribution.
4. Reboot the system with the new kernel.
5. Install the new Emulex driver. Do NOT use the backup lpfc.conf file. Type:
lpfc-install
6. Add custom configuration lines to the new /etc/lpfc.conf, using the backup lpfc.conf file as a
reference.
7. Rebuild the driver with the new /etc/lpfc.conf changes.
cd /usr/src/lpfcmakemake install
8. Rebuild the ramdisk image with the new lpfc driver. Type:
lpfc-install --createramdisk
9. Reboot the system to complete the re-installation of the Emulex drivers.
Kommentare zu diesen Handbüchern