
56
Symmetrix Fibre Channel with Qlogic HBAs on Linux Hosts
Fabric Configurations
3. Around line 703 (if using RedHat x6.2) or 760 (if using RedHat
v7.0), search for the following code block:
Insert the following lines between the
megaraid and scsi_mod
sections:
The result should look like the following:
Edit hosts.c
Depending on the Linux distribution and the kernel version, the lines
indicated in this section may differ.
Edit hosts.c (located in /usr/src/linux/drivers/scsi) as follows:
1.
vi hosts.c x
2. Around line 190 (if using RedHat x6.2) or 198 (if using RedHat
v7.0), search for the following code block:
#ifdef CONFIG_SCSI_QLOGIC_FC
#include "qlogicfc.h"
#endif
#ifdef CONFIG_SCSI_SEAGATE
#include "seagate.h"
#endif
megaraid.o: megaraid.c
$(CC) $(CFLAGS) -c megaraid.c
scsi_mod.o: $(MIX_OBJS) hosts.o scsi.o scsi_ioctl.o constants.o \
scsicam.o scsi_proc.o scsi_error.o scsi_obsolete.o
scsi_queue.o
qla2x00.o: ql2100_fw.h ql2200_fw.h qla2100.h qla2100.c
$(CC) $(CFLAGS) -c qla2100.c -o qla2x00.o
megaraid.o: megaraid.c
$(CC) $(CFLAGS) -c megaraid.c
qla2x00.o: ql2100_fw.h ql2200_fw.h qla2100.h qla2100.c
$(CC) $(CFLAGS) -c qla2100.c -o qla2x00.o
scsi_mod.o: $(MIX_OBJS) hosts.o scsi.o scsi_ioctl.o constants.o \
scsicam.o scsi_proc.o scsi_error.o scsi_obsolete.o
scsi_queue.o
Comentarios a estos manuales