Operating System - Linux
1821985 Members
3263 Online
109638 Solutions
New Discussion юеВ

Re: RedHat Linux 9 and FCA2414 HBA

 
SOLVED
Go to solution
Troy Sanchez
Advisor

RedHat Linux 9 and FCA2414 HBA

I just installed the fca2414 hba in a HP Kayak running RH Linux 9. I am able to see the fiber card in the array configurator and was able to present the logical volume to that server.

My question is, how do I then see this in my Linux server? Am I missing something? Is there a special way of getting this logical volume to show up in Linux?
15 REPLIES 15
Stuart Browne
Honored Contributor
Solution

Re: RedHat Linux 9 and FCA2414 HBA

Unfortunately I've not had the opportunity to use one of these beasties myself, but having a look at the documentation, it seems pretty easy. This:

http://h200001.www2.hp.com/bc/docs/support/UCR/SupportManual/TPM_aa-rsbma-te/TPM_aa-rsbma-te.pdf

Is the Linux installation guide for this card. Does this help you in any way?

From the quick read I had of it, it's basically making sure that the 'qla2300' driver is compiled, installed, and configured.

If you get stuck with those notes, please drop us a line.

Now, RH8-9 has the kernel driver 'qla2300' already, so you might be in luck, and not have to compile your own as the documentation states. I don't know if there is an updated/certified driver from HP though.
One long-haired git at your service...
Troy Sanchez
Advisor

Re: RedHat Linux 9 and FCA2414 HBA

The documentation was somewhat helpful in installing the driver. The HP driver that is available online was for V 7 of RedHat. When I installed it in my V9, it errored and said that I don't have the right kernel version. But somehow it installed anyways. However, now I don't know how to make use of the Logical Volume.

In the Array Config Utility, I was able to present the Volume to the Linux Server. But from the Linux Server I do not know how to find it and make use of the Logical Volume.
Huc_1
Honored Contributor

Re: RedHat Linux 9 and FCA2414 HBA

there should be some information at the bottom of dmesg to help you along ?

and command

#cdrecord -scanbus

would perhaps help

J-P
Smile I will feel the difference
Troy Sanchez
Advisor

Re: RedHat Linux 9 and FCA2414 HBA

This command helps, thanks. Since I'm still new to Linux, how do I then make use of this new Logical Volume? Is it considered sdc, eda??? Here is the output of the
#cdrecord -scanbus
Command

Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J├Г┬╢rg Schilling
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) *
0,1,0 1) 'SEAGATE ' 'ST318406LW ' '010A' Disk
0,2,0 2) 'QUANTUM ' 'ATLAS IV 9 WLS ' '0707' Disk
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) 'COMPAQ ' 'MSA1000 ' '1.16' Storage array
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
Huc_1
Honored Contributor

Re: RedHat Linux 9 and FCA2414 HBA

did you do the modules "read page 23 of Stuart" pdf document

If your module are there then you should see this with lsmod

#lsmod

should show you the modules presently loaded on your system ... you driver/card should be there

for more informations
(read man lsmod, insmod)

in fact you should also see you drive/card in dmesg

# dmesg | less

should say this ....

from there you shoulsd be able to pick up /dev/s** something this is the "disk's'" you can then (partition create file system mount)

J-P
Smile I will feel the difference
Troy Sanchez
Advisor

Re: RedHat Linux 9 and FCA2414 HBA

I appreciate your help on this.

I rebooted the machine and the modules are not loaded anymore. When I did a cdrecord -scanbus this is what I get...

Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J├Г┬╢rg Schilling
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) *
0,1,0 1) 'SEAGATE ' 'ST318406LW ' '010A' Disk
0,2,0 2) 'QUANTUM ' 'ATLAS IV 9 WLS ' '0707' Disk
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

Scsibus1 disappeared...

I think I manually loaded them initially. how do I load them automatically when the server comes up. Also when I ran dmesg|less, this is what I get somewhere near the bottom of the log....

qla2x00_set_info starts at address = e8918060
PCI: Found IRQ 11 for device 00:12.0
PCI: Sharing IRQ 11 with 00:07.2
qla2x00: Found VID=1077 DID=2312 SSVID=e11 SSDID=100
scsi1: Found a QLA2312 @ bus 0, device 0x12, irq 11, iobase 0xf800
scsi(1): Allocated 4096 SRB(s)
scsi(1): Configure NVRAM parameters...
scsi(1): 64 Bit PCI Addressing Enabled
scsi(1): Verifying loaded RISC code...
scsi(1): Verifying chip...
scsi(1): LIP reset occurred
scsi(1): Waiting for LIP to complete...
scsi(1): LOOP UP detected
scsi1: Topology - (F_Port), Host Loop address 0xffff
scsi1: Host table full.
scsi1 : QLogic QLA2312 PCI to Fibre Channel Host Adapter: bus 0 device 18 irq 11
Firmware version: 3.01.13, Driver version 6.01.00-fo
scsi: unknown type 12
Vendor: COMPAQ Model: MSA1000 Rev: 1.16
Type: Unknown ANSI SCSI revision: 04
scsi(1:0:0:0): Enabled tagged queuing, queue depth 16.
resize_dma_pool: unknown device type 12
scsi : 1 host left.

I'm not sure what else I need to do..
Huc_1
Honored Contributor

Re: RedHat Linux 9 and FCA2414 HBA

I suggest you try and follow the pdf doc (where most revelant information is around page 23-24)

This is the bit about

alias hostadapter qlaXXX

that should be included in your modules conf file

an lsmod should show you hostadapter as loaded

J-P
Smile I will feel the difference
Troy Sanchez
Advisor

Re: RedHat Linux 9 and FCA2414 HBA

In response to Stuart Brown's answer, the documentation provided by HP only works if you are knowledgable in creating your own binaries. But Im not. Im new at this.

The drivers proved by HP only works with Linux 7.2 version and Enterprise 2.1. I tried installing the 7.2 version driver and it gave me an error.

Still no luck with this problem. Can anyone help... Thank you all.
Troy Sanchez
Advisor

Re: RedHat Linux 9 and FCA2414 HBA

BTW.. this is what I get when I do an lsmod..

qla2x00: Found VID=1077 DID=2312 SSVID=e11 SSDID=100
scsi1: Found a QLA2312 @ bus 0, device 0x12, irq 11, iobase 0xf800
scsi(1): Allocated 4096 SRB(s)
scsi(1): Configure NVRAM parameters...
scsi(1): 64 Bit PCI Addressing Enabled
scsi(1): Verifying loaded RISC code...
scsi(1): Verifying chip...
scsi(1): LIP reset occurred
scsi(1): Waiting for LIP to complete...
scsi(1): LOOP UP detected
scsi1: Topology - (F_Port), Host Loop address 0xffff
scsi1: Host table full.
scsi1 : QLogic QLA2312 PCI to Fibre Channel Host Adapter: bus 0 device 18 irq 11
Firmware version: 3.01.13, Driver version 6.01.00-fo
scsi: unknown type 12
Vendor: COMPAQ Model: MSA1000 Rev: 1.16
Type: Unknown ANSI SCSI revision: 04
scsi(1:0:0:0): Enabled tagged queuing, queue depth 16.
resize_dma_pool: unknown device type 12


I've also added...

alias scsi_hostadapter1 qla2300

in the /etc/modules.conf file

Troy Sanchez
Advisor

Re: RedHat Linux 9 and FCA2414 HBA

Some additional info.. Hope you guys can help some more...

When I tried to build a ramdisk just like what the documentation said.. this is what I got...

[root@penguin sbin]# mkinitrd /boot/newinitrd-image 2.4.20-20.9

/sbin/mkinitrd: line 137: [: /lib/modules/2.4.20-20.9/./kernel/drivers/scsi/qla2300.o: binary operator expected

What does this mean... The new ramdisk file newinitrd-image was created in the /boot/ directory. I tried to add this in the grub.conf file... Rebooted and nothing really happens. Still have the same problem.
Stuart Browne
Honored Contributor

Re: RedHat Linux 9 and FCA2414 HBA

Ok, so it's not a custom build. Is that build link there though?

As for the 'mkinitrd' error, don't know. What's line 137 of 'mkinitrd' say? (I don't have an RH9 box handy).
One long-haired git at your service...
Huc_1
Honored Contributor

Re: RedHat Linux 9 and FCA2414 HBA

Sorry for delay this is a non working day today as is tommorow !

When you say


Why did you take this one ?... as Stuard say's there is already one in the 9.0 kernel

I checked here on 1 of my system I have

/usr/src/linux-2.4.9-21/drivers/addon/qla2200/qla2300.o

Perhaps you could do a compare the one you have from HP 7.2 to the one you used

the following command
#file /lib/modules/2.4.20-20.9/./kernel/drivers/scsi/qla2300.o

should give you something like the following
ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped

If it is not, that would explain the binary error of initrd.

last are you sure that the output of you before/last reply is from lsmod ? or is it from dmesg ?

J-P
Smile I will feel the difference
Huc_1
Honored Contributor

Re: RedHat Linux 9 and FCA2414 HBA

sorry replace


with
Perhaps you could do a compare the one you have from HP 7.2 to the one in your /usr/src/linux ...

J-P (who should double check before post)
Smile I will feel the difference
Troy Sanchez
Advisor

Re: RedHat Linux 9 and FCA2414 HBA

Guys.. thank you for your patience in helping me out on this.

I used the 7.2version provided by HP because when I first installed the card, the MSA1000 did not see it and Linux 9 did not recognize it.

I did a #file /lib/modules/2.4.20-20.9/kernel/drivers/scci/qla2300.0 and it did give me back a response of ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped

I also do no have anything in the /usr/src directory

Any more suggestions??
Troy Sanchez
Advisor

Re: RedHat Linux 9 and FCA2414 HBA

guys.. i may need more of your help... I moved the card to another slot so it would not share irq. did a modprobe qla2300 to load it manually and this is what i got in the dmesg... near the bottom...

qla2x00_set_info starts at address = e8948060
PCI: Found IRQ 9 for device 00:13.0
qla2x00: Found VID=1077 DID=2312 SSVID=e11 SSDID=100
scsi1: Found a QLA2312 @ bus 0, device 0x13, irq 9, iobase 0xf800
scsi(1): Allocated 4096 SRB(s)
scsi(1): Configure NVRAM parameters...
scsi(1): 64 Bit PCI Addressing Enabled
scsi(1): Verifying loaded RISC code...
scsi(1): Verifying chip...
scsi(1): LIP reset occurred
scsi(1): Waiting for LIP to complete...
scsi(1): LOOP UP detected
scsi1: Topology - (F_Port), Host Loop address 0xffff
scsi1: Host table full.
scsi1 : QLogic QLA2312 PCI to Fibre Channel Host Adapter: bus 0 device 19 irq 9
Firmware version: 3.01.13, Driver version 6.01.00-fo
scsi: unknown type 12
Vendor: COMPAQ Model: MSA1000 Rev: 1.16
Type: Unknown ANSI SCSI revision: 04
scsi(1:0:0:0): Enabled tagged queuing, queue depth 16.
resize_dma_pool: unknown device type 12
Attached scsi generic sg2 at scsi1, channel 0, id 0, lun 0, type 12
resize_dma_pool: unknown device type 12
[root@penguin /]#

when I tried to fdisk /dev/sg2 nothing happens... how do i them configure the device?