Agricultural Project (install RDAC driver on Linux)

Source: Internet
Author: User

1. An error occurred while installing RDAC on Linux.
Error in RDAC Installation
[Root @ database1 linuxrdac-09.02.C5.13] # Make
Make V = 0-C/lib/modules/2.6.18-8. el5xen/build M =/root/Test2/linuxrdac-09.02.C5.13 modverdir =/lib/modules/2.6.18-8. el5xen/build /. tmp_versions subdirs =/root/Test2/linuxrdac-09.02.C5.13 modules
Make: ***/lib/modules/2.6.18-8. el5xen/Build: the file or directory does not exist. Stop.
Make: *** [mppupper] Error 2

The directory is not found.

Solve this problem
2) carefully check the README installed by RDAC.
1> models supported by HbA
HbA support
========================================================== ======================================
The RDAC driver is supported on the following host
Bus adapters:
Iscsi Qlogic
PCI-X: Qlogic 4050c, Qlogic 4052c
PCI-E: Qlogic 4060c, Qlogic 4062c

Fibre channel Qlogic
PCI-E: qle2460, qle2462 (4 GB)
PCI-E: qle236x (2 GB)
PCI-X: qla2460, qla2462 (4 GB)
PCI-X: qla2310f, qla2340, qla2342 (2 GB)
PCI-X: qla2000 (1 GB)

Sas lsi Logic
PCI-X: LSISAS3800-X, LSI SAS3442X-R, LSI SAS3442E-R

Fibre channel LSI logic:
PCI-X: LSI7204XP-LC, LSI7404XP-LC, lsi70000xp, (4 GB)
PCI-X: lsi7202xp, lsi7402xp (2 GB)
Lsi7104ep, lsi7204ep

2>. co-existence with Qlogic and LSI failover drivers
========================================================== ======================================
The RDAC driver cannot co-exist with an HbA-level failover
Driver such as the Emulex, Qlogic or LSI logic HbA failover drivers.
RDAC cannot coexist with fault-tolerant drivers of LSI or Qlogic.

3> requirements before RDAC driver package installation
-----------------------------------------------------------
A. It's assumed that the host system that you are
Installing the RDAC driver to has supported HbA's.

B. Although the system can have fiber re channel hbas from
Multiple Vendors or multiple models of hbas from
Same vendor, only the same model of hbas can be
Connected to each storage array.

C. It is assumed that the low level HbA driver has been
Properly built and installed before RDAC driver
Installation.

D. The standard HbA driver needs to be loaded before
The RDAC driver installation. The HbA driver has
Be a non-failover driver.

For Qlogic hbas, the base driver is named "qla2xxx"
And host driver is named "qla2300 ".

For LSI logic hbas, the port driver is named
Mptbase and the host driver is named mptscsi or
Mptscsih, for the MPT driver version earlier
3.02.xx. the 3.02.xx or later lsi mpt driver splits to three
Driver modules-mptspi, mptsas and mptfc for SCSI parallel
Interface transport, SAS transport and Fiber Channel
Transport respectively.

E. On the SuSE operating system, it is assumed that
Low level HbA driver names are supported in
Initrd_modules in/etc/sysconfig/kernel.

For the systems that have Qlogic HbA's, the modules
File shoshould include a qla2xxx and qla2300 (or qla2300 ).

For the systems that have LSI logic hbas, initrd_modules
Shocould include mptbase and mptscsi (or mptscsih)
For pre-3.02.xx version of lsi mpt driver. The initrd_modules
Shocould include mptbase, mptscsi, mptspi, mptsas and mptfc
For 3.02.xx or later version of lsi mpt driver.

For the systems that have IBM Emulex hbas, initrd_modules
Shoshould include lpfcdd or lpfc.

F. The kernel source tree for the kernel version to be
Built against shoshould already be installed before
RDAC driver package installation.

G. The glibc-devel (64 bit) package is required for 64 bit machines.

Summary:
Conditions Required Before RDAC is installed: A. The system has a supported HbA card, and B: the one-to-one HbA card model that the system connects to the disk array at the same time. C.
D. The driver of the HBA must be of the standard type, rather than the driver with a failed switch. E: For Qlogic, ala2xxx and qla2300 must be installed.
F: kernel source tree should be installed first. G: for 64-bit machines, glibc-devel (64bit) must be installed)

It seems that the conditions are met, unless the Qlogic HbA driver does not work, but we can see the disk array from the host, so it should not be the reason why the HBA driver does not work,
It is likely that the Redhat has several support packages that are not properly prepared, resulting in failure

4> lsmod check whether Qlogic's memory card driver is installed:

[Root @ database1 ~] # Lsmod
Module size used
Nls_utf86209 0
Hfsplus 76101 0
Bridge 53725 0
Netloop 10817 0
Netbk 78017 0 [permanent]
Blktap 385125 2 [permanent]
Blkbk 21089 0 [permanent]
Autofs4 23749 2
Hidp 23105 2
RFCOMM 42457 0
L2CAP 29505 10 hidp, RFCOMM
Bluetooth 53925 5 hidp, RFCOMM, L2CAP
SunRPC 142973 1
Dm_mirror29840 0
DM _ mod 56665 1 dm_mirror
Video 19269 0
SBS 18533 0
I2c_ec 9025 1 SBS
Button 10705 0
Battery 13637 0
Asus_acpi 19289 0
AC 9157 0
IPv6 251137 30
Parport_pc 29157 0
LP 15849 0
Partport 37641 2 parport_pc, lp
SG 35933 0
Pcspkr 7105 0
I2c_i80 1 11341 0
I2c_core 23745 2 i2c_ec, i2c_i801
E10000 117201
Serial_core 23617 0
Ide_cd 40033 0
CDROM 36705 1 ide_cd
Serio_raw 10693 0
Qla2xxx 749985 1
Scsi_transport_fc 37065 1 qla2xxx
Ata_piix 17609 0
Libata 97625 1 ata_piix
Mptsas 29001 3
Mptscsih 26177 1 mptsas
Mptbase 53089 2 mptsas, mptscsih
Scsi_transport_sas 29249 1 mptsas
Sd_mod 22977 5
Scsi_mod 130893 8 SG, qla2xxx, scsi_transport_fc, libata, mptsas, mptscsih, scsi_transport_sas, sd_mod
Ext3 123081 3
Jbd 56553 1 ext3
E-ci_hcd 33229 0
Ohci_hcd 23645 0
Uhci_hcd 25677 0

Find the solution on the Internet:
The reason for the error is that the appropriate package is not installed.
1> install the following packages: (red)
Compat-gcc-34-3.4.6-4.i386.rpm kernel-PAE-devel-2.6.18-8.el5.i686.rpm
Compat-gcc-34-c +-3.4.6-4. i386.rpm kernel-xen-devel-2.6.18-8.el5.i686.rpm
Compat-libstdc ++-33-3.2.3-61.i386.rpm libXp-1.0.0-8.i386.rpm
Kernel-2.6.18-8.el5.i686.rpm rdac-LINUX-09.02.C5.13-source.tar.gz
Kernel-devel-2.6.18-8.el5.i686.rpm sysstat-7.0.0-3.el5.i386.rpm
Kernel-PAE-2.6.18-8.el5.i686.rpm

2.> decompress rdac-linux-09.02.c5.13-source.tar.gz
Install make
Make install
After installation, a file mpp-2.6.18-8.el5xen.img is generated on the boot menu

3.> use the compiled kernel as the IMG boot Guide
VI/boot/GRUB/menu. lst
Comment out the last line of imgfile and add the generated imgfile.
Title Red Hat Enterprise Linux Server (2.6.18-8. el5xen)
Root (hd0, 0)
Kernel/boot/xen.gz-2.6.18-8. EL5
Module/boot/vmlinuz-2.6.18-8.el5xen Ro root = label =/rhgb quiet
Module/boot/mpp-2.6.18-8.el5xen.img

Solved

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.