Q-Logic 2300 manual Building a Ramdisk Image to Load the Driver Automatically

Page 99

 

9 – Red Hat Linux Driver Installation

￿

Install or Update the Driver (Installed Operating

 

System)

 

 

 

 

 

 

9.4.2.2

Building a Ramdisk Image to Load the Driver Automatically

You can load the qla2x00 driver at boot time using a ramdisk image. For more information, refer to the Red Hat installation guide.

Perform the following steps to load the qla2x00 driver using a ramdisk image:

1.For Red Hat Linux 6.2, add the following line to the file /etc/conf.modules. For Red Hat Linux 7.0, 7.1, and 7.2, add the following line to the file /etc/modules.conf. For example:

alias scsi_hostadapter qla2x00

NOTE: If there are other SCSI HBAs installed on your system and the scsi_hostadapter alias is used, define a different alias (for example, scsi_hostadaptern (where n is a number from 1–9)).

2.Copy the object file to:

/lib/modules/<kernel release version>/scsi (Red Hat Linux 6.2 or 7.0)

/lib/modules/<kernel release version>/drivers/scsi (Red Hat Linux 7.1 and 7.2)

3.Build a new ramdisk image that contains the qla2x00.o object file.

For a single-processor system, type the following commands, where x.x.xx–x.xis the Red Hat Linux version number:

/sbin/mkinitrd /boot/newinitrd-image x.x.xx-x.x

For a multiprocessor system, type the following commands, where x.x.xx–x.xis the Red Hat Linux version number:

/sbin/mkinitrd /boot/newinitrd-image x.x.xx-x.xsmp

4.Modify the /etc/lilo.conf file to load the new ramdisk image. In the following examples, .x.xx–x.xis the Red Hat Linux version number.

For a single-processor system, change the following line from:

initrd=/boot/initrd-x.x.xx-x.x.img

to:

initrd=/boot/initrd-image

For a multiprocessor system, change the following line from:

initrd=/boot/initrd-x.x.xx-x.x.smp.img

to:

initrd=/boot/initrd-image

FC2354601-00 A

9-9

Image 99
Contents SANblade 2300 Series User’s Guide Page Table of Contents Section QLA2342/2342L Part Software Section Windows NT Driver Installation Section NetWare Driver Installation FCode 10-4 Section Solaris Sparc Driver InstallationFC2354601-00 a General Description How to Use this GuideWhat is Fibre Channel? IntroductionCompliance with PCI Local Bus Specification revision FeaturesHardware Hardware FC2354601-00 a QLA2340/2340L HBA Components QLA2340/2340LInstallation in the Computer LEDsJumpers QLA2340/2340L SunSPARC systems do not display the Bios banner Installation HelpIntroduction Configuration SettingsSelectable Boot Settings Host Adapter SettingsRestore Default Settings Advanced Adapter SettingsRaw Nvram Data Setting Options Extended Firmware Settings Extended Firmware SettingsRIO Operation Modes Scan Fibre Channel Devices Fibre Disk UtilitySelect Host Adapter Flashing a QLA2340/2340L HBA with FCode FCodeSetting the QLA2340/2340L HBA Connection Mode Connection mode and options display. For exampleNew connection mode displays. For example Type the following Setting the QLA2340/2340L HBA Loop IDSetting and Viewing the Fibre Channel Data Rate New loop ID displays. For exampleOk show-devs Pci@1f,0/pci@1/QLGC,qla@4 Selecting the Boot DeviceFollowing displays Building the Bootable DiskNewfs -v /dev/rdsk/c3t130d0s0 Boot from the newly created boot disk. For example View the current dump device setting. For exampleShut down the system. Type the following Tables 2-7and 2-8define the QLA2340/2340L specifications SpecificationsConducted Emission LabelAgency Certification EMI and EMC RequirementsProduct Safety Requirements QLA2340/2340L Agency Certification FC2354601-00 a QLA2342/2342L HBA Components QLA2342/2342LQLA2342/2342L HBA LED Activity QLA2342/2342L Installation Help Fast!UTIL QLA2342/2342L Fast!UTIL Restore Default Settings Setting Options Extended Firmware Settings RIO Operation Modes Scan Fibre Channel Devices Flashing a QLA2342/2342L HBA with FCode Setting the QLA2342/2342L HBA Connection Mode Setting the QLA2342/2342L HBA Loop ID Selecting the Boot Device Building the Bootable Disk Newfs -v /dev/rdsk/c3t130d0s0 Shut down the system. Type the following QLA2342/2342L HBA Operating Environment Tables 3-7and 3-8define the QLA2342/2342L specificationsQLA2342/2342L Label Product Safety Requirements QLA2342/2342L Agency Certification FC2354601-00 a System Configuration Problem Checklist TroubleshootingProblems After Installation Hardware Problem ChecklistFibre Channel Problem Checklist Operating System SoftwareII Software II-2 FC2354601-00 a Windows NT Driver Installation QL2300.SYS Windows NT InstallationWindows NT Driver Files Installing or Updating the Windows NT Driver Click OKRemove the disk, then click Yes to restart the computer Qldirect Updating the Windows NT DriverUpdating to Qldirect from Qlfilter Qldirect InstallationInitial Installation of Qldirect Qldirect Driver FilesQL2x00IP Ndis Network Driver Installation Initial Installation of the QL2x00IP Ndis Network DriverWindows NT networking software must be installed Updating the QL2x00IP Ndis Network Driver Driver Configuration QL2x00IP Ndis Driver and IP Address ConfigurationIP Address Configuration Click Close Click Yes to restart the computer Removing the QL2x00IP Ndis DriverPage Windows 2000 Driver Installation QL2300.SYS Windows 2000 InstallationCreating the Driver Disk Installing the Windows 2000 Driver Updating the Windows 2000 Driver Windows 2000 Driver Installation Windows Driver Installation QL2x00IP Ndis Network \W2k\Ip QL2x00IP Ndis Driver Configuration Adapter IP address Subnet mask255.255.0.0 Restart the computer Page Installing the Windows XP Driver Windows XP Driver Installation QL2300.SYSInstalling Windows XP with the QLA23xx HBA as an Add-On Installing the QL2300.SYS Driver Click Yes to continue with the installationClick Yes Double-clickQLogic QLA2300 PCI Fibre Channel Adapter Updating the Existing QLA2300.SYS DriverRemoving the Driver System Registry ParametersMaximumSGList Ql2300 Parameters Device CurrentControlSet Services Ql2300 Parameters DeviceNumberOfRequests FCTapeUseSameNN Page NetWare Driver Files and Parameters NetWare Driver Installation QL2300.HAMSelect Driver options from the main menu Installing the NetWare DriverDownload the driver to the temporary directory Red Hat Linux Driver InstallationDriver Floppy Disk 1 New Operating System Installation Creating the Driver Floppy DiskSource Code Driver Floppy Disk Driver Floppy Disk 2 Installed Operating SystemInstall or Update the Driver Installed Operating System Install a New Operating System and Driver Red Hat LinuxTo upgrade the existing qla2x00 drivers, type Installing the Driver on the Boot Drive# mcopy a*.tgz . The period . at the end is required Loading the DriverAfter line 338 add From the Main Menu, select Scsi support and press Enter Type the following command to access the Main MenuCreate a bootable kernel image by typing the following After line 609 add# cd arch/i386/boot # cp bzImage /boot/newsmp For a multiprocessor system, change the following line from Building a Ramdisk Image to Load the Driver AutomaticallyBuilding a Ramdisk Image to Load the qla2300 Driver Loading and Unloading the qla2x00 Driver ManuallyLoading and Unloading the qla2300 Driver Manually New text isRestart the system. The qla2300 driver loads automatically Building a Uniprocessor Version of the Driver Building a Driver from the SourcesBuilding a Multiprocessor Version of the Driver For Red Hat Linux 7.1 and 7.2, typeFor Red Hat 7.1 and 7.2, type # make dep Solaris Sparc Driver Installation QLA2300 Installing the Solaris Sparc Driver from a CD-ROMProduces a file in the same directory called qla2300 You are prompted to select a driver package. For example At the command prompt, type pkgadd -d ./qla2300Press Enter to accept the default 10.4