Problem with installation of Qlogic 2310F FC card!!!
Govind C
govind at mc-3.org
Wed Feb 23 10:16:34 UTC 2005
Folks,
I am trying to configure Sun 3511 storage with Sun V40z.I downloaded
the FC drivers from qlogic site.I am using RedHat AS 3.0 for AMD
architecture.
"uname -a"
Linux Render-master 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:32:58 EDT 2003
x86_64 x86_64 x86_64 GNU/Linux
The installation was done as per instruction given below..
1) tar xvzf qla2x00-v7.00.02-dist.tgz
2) cd qlogic
3) sh -x drvrinstall
4)Follow the steps outlined in the README.qla2x00 file to build
the driver.
README.qla2x00 file
--------------------
5)Extract the kernel-headers and kernel-sources RPM files from the
first RedHat CD:
cd /mnt/cdrom/RedHat/RPMS
rpm -iv kernel-headers*.rpm (I couldn`t find this rpm on
my distribution)
rpm -iv kernel-source*.rpm
6)Build the Driver qla2200.o and qla2300.o from the source code by
typing:
# make all SMP=1
Output
------
cc -D__KERNEL__ -DMODULE -Wall -O -g -DUDEBUG -DLINUX -Dlinux -
DINTAPI -DEXPORT_SYMTAB -DMODVERSIONS -include /usr/src/linux-
2.4/include/linux/modversions.h -I/usr/src/linux-2.4/include -
I/usr/src/linux-2.4/include/../drivers/scsi -Wall -Wstrict-prototypes -
Wno-trigraphs -fno-strict-aliasing -fno-common -fomit-frame-pointer -
mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -finline-
limit=2000 -fno-strength-reduce -fno-asynchronous-unwind-tables -
D__SMP__ -DCONFIG_SMP -DSHT_HAS_HIGHMEM_IO -DSHT_HAS_VARY_IO -
DSHT_HAS_NEED_PLUG_TIMER -DSH_HAS_HOST_LOCK -DSH_HAS_CAN_QUEUE_MASK -c
qla2200.c -o qla2200.o
In file included from qlfo.h:64,
from qla_fo.h:32,
from qla_gbl.h:35,
from qla2x00.c:151,
from qla2200.c:43:
qlfoln.h:26:1: warning: "QL_IOCTL_CMD" redefined
In file included from exioct.h:240,
from qla2x00.c:124,
from qla2200.c:43:
exioctln.h:155:1: warning: this is the location of the previous
definition
cc -D__KERNEL__ -DMODULE -Wall -O -g -DUDEBUG -DLINUX -Dlinux -
DINTAPI -DEXPORT_SYMTAB -DMODVERSIONS -include /usr/src/linux-
2.4/include/linux/modversions.h -I/usr/src/linux-2.4/include -
I/usr/src/linux-2.4/include/../drivers/scsi -Wall -Wstrict-prototypes -
Wno-trigraphs -fno-strict-aliasing -fno-common -fomit-frame-pointer -
mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -finline-
limit=2000 -fno-strength-reduce -fno-asynchronous-unwind-tables -
D__SMP__ -DCONFIG_SMP -DSHT_HAS_HIGHMEM_IO -DSHT_HAS_VARY_IO -
DSHT_HAS_NEED_PLUG_TIMER -DSH_HAS_HOST_LOCK -DSH_HAS_CAN_QUEUE_MASK -c
qla2300.c -o qla2300.o
In file included from qlfo.h:64,
from qla_fo.h:32,
from qla_gbl.h:35,
from qla2x00.c:151,
from qla2300.c:46:
qlfoln.h:26:1: warning: "QL_IOCTL_CMD" redefined
In file included from exioct.h:240,
from qla2x00.c:124,
from qla2300.c:46:
exioctln.h:155:1: warning: this is the location of the previous
definition
cc -D__KERNEL__ -DMODULE -Wall -O -g -DUDEBUG -DLINUX -Dlinux -
DINTAPI -DEXPORT_SYMTAB -DMODVERSIONS -include /usr/src/linux-
2.4/include/linux/modversions.h -I/usr/src/linux-2.4/include -
I/usr/src/linux-2.4/include/../drivers/scsi -Wall -Wstrict-prototypes -
Wno-trigraphs -fno-strict-aliasing -fno-common -fomit-frame-pointer -
mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -finline-
limit=2000 -fno-strength-reduce -fno-asynchronous-unwind-tables -
D__SMP__ -DCONFIG_SMP -DSHT_HAS_HIGHMEM_IO -DSHT_HAS_VARY_IO -
DSHT_HAS_NEED_PLUG_TIMER -DSH_HAS_HOST_LOCK -DSH_HAS_CAN_QUEUE_MASK -
c qla2200_conf.c -o qla2200_conf.o
cc -D__KERNEL__ -DMODULE -Wall -O -g -DUDEBUG -DLINUX -Dlinux -
DINTAPI -DEXPORT_SYMTAB -DMODVERSIONS -include /usr/src/linux-
2.4/include/linux/modversions.h -I/usr/src/linux-2.4/include -
I/usr/src/linux-2.4/include/../drivers/scsi -Wall -Wstrict-prototypes -
Wno-trigraphs -fno-strict-aliasing -fno-common -fomit-frame-pointer -
mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -finline-
limit=2000 -fno-strength-reduce -fno-asynchronous-unwind-tables -
D__SMP__ -DCONFIG_SMP -DSHT_HAS_HIGHMEM_IO -DSHT_HAS_VARY_IO -
DSHT_HAS_NEED_PLUG_TIMER -DSH_HAS_HOST_LOCK -DSH_HAS_CAN_QUEUE_MASK -
c qla2300_conf.c -o qla2300_conf.o
cc -o qla_opts qla_opts.c
chmod 700 qla_opts
[7)Load the driver directly from the local build directory
#insmod qla2200.o
or
# insmod qla2300.o
output
------
qla2300.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters. You may find more information
in syslog or the output from dmesg
dmesg output "qla2x00_set_info starts at address = ffffffffa00b70b8"
Any help would be highly appreciated.
Cheers
More information about the redhat-list
mailing list