Re: QLogic HBA and max_luns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





karasiov@xxxxxxxxxx wrote:
hello, fedora-list.
1. I have Fedora Core (2.6.11-1.1369_FC4smp) installed from scratch.
2. I have QLogic HBA  QLA2340 (new BIOS installed)
3. I have Hitachi RAID with 3 LUNs on it

Here is my /etc/modprobe.conf

alias scsi_hostadapter sata_sil
alias eth0 e1000
alias eth1 e1000
alias scsi_hostadapter1 qla2300
alias usb-controller uhci-hcd
options scsi_mod max_luns=8

mkinitrd is done

Here is my /etc/grub.conf

title Fedora Core (2.6.11-1.1369_FC4smp)
        root (hd0,0)
        kernel /vmlinuz-2.6.11-1.1369_FC4smp ro root=LABEL=/1 max_luns=8
        initrd /initrd-2.6.11-1.1369_FC4smp.img
Here is my dmesg output

-----------dmesg output ------------------------------------------
QLogic Fibre Channel HBA Driver
ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 48 (level, low) -> IRQ 193
qla2300 0000:02:01.0: Found an ISP2312, irq 193, iobase 0xf8820000
scsi4 : qla2xxx
qla2300 0000:02:01.0: Configuring PCI space...
qla2300 0000:02:01.0: Configure NVRAM parameters...
qla2300 0000:02:01.0: Verifying loaded RISC code...
qla2300 0000:02:01.0: Waiting for LIP to complete...
qla2300 0000:02:01.0: LOOP UP detected (2 Gbps).
qla2300 0000:02:01.0: Topology - (F_Port), Host Loop address 0xffff
qla2300 0000:02:01.0:
 QLogic Fibre Channel HBA Driver: 8.00.02b5-k
  QLogic QLA2340 -
  ISP2312: PCI-X (133 MHz) @ 0000:02:01.0 hdma+, host#=4, fw=3.03.08 IPX
  Vendor: HITACHI   Model: DF600F            Rev: 0000
  Type:   Direct-Access                      ANSI SCSI revision: 03
SCSI device sdb: 734005248 512-byte hdwr sectors (375811 MB)
SCSI device sdb: drive cache: write through
SCSI device sdb: 734005248 512-byte hdwr sectors (375811 MB)
SCSI device sdb: drive cache: write through
 sdb: sdb1 sdb2 sdb3
Attached scsi disk sdb at scsi4, channel 0, id 0, lun 0
scsi: host 4 channel 0 id 0 lun1 has a LUN larger than allowed by the host adapter
scsi: host 4 channel 0 id 0 lun2 has a LUN larger than allowed by the host adapter
----------end of dmesg output --------------------


when I try to run this command - it do HOTHING

echo "scsi add-single-device 4 0 0 1" > /proc/scsi/scsi
echo "scsi add-single-device 4 0 0 2" > /proc/scsi/scsi

I can not find 2 other LUNs (1 and 2).

What's wrong with me?

It's funny - but then I try to install Win2k (only for test!!!) it seems to work.
It found all LUNs - so configurations of Hitachi and HBA are correct.



I'm not sure if this helps, but I am running FC3 on my machine with a QLA2200. I have a FC attached tape library which has 3 LUNs, and it scans them and they work fine.

Kernel is 2.6.12-1.1372_FC3smp and it always "just worked".

The only thing I would be curious is if the other two LUNs you have are sequential or if there is a gap. I've seen weird things happen when there are multiple LUNs on machines where there is a gap (like 0, 3, 6 instead of 0, 1, 2)

qla2200 0000:03:05.0: Found an ISP2200, irq 201, iobase 0xf881c000
qla2200 0000:03:05.0: Configuring PCI space...
qla2200 0000:03:05.0: Configure NVRAM parameters...
qla2200 0000:03:05.0: Verifying loaded RISC code...
qla2200 0000:03:05.0: LIP reset occured (f8f7).
qla2200 0000:03:05.0: Waiting for LIP to complete...
qla2200 0000:03:05.0: LIP occured (f8f7).
qla2200 0000:03:05.0: LOOP UP detected (1 Gbps).
qla2200 0000:03:05.0: Topology - (FL_Port), Host Loop address 0x0
scsi4 : qla2xxx
qla2200 0000:03:05.0:
 QLogic Fibre Channel HBA Driver: 8.01.00b2-fo
  QLogic QLA22xx -
  ISP2200: PCI (33 MHz) @ 0000:03:05.0 hdma+, host#=4, fw=2.02.06 TP
  Vendor: ADIC      Model: Scalar 1000       Rev: 601A
  Type:   Medium Changer                     ANSI SCSI revision: 02
  Vendor: SONY      Model: SDX-500C          Rev: 0200
  Type:   Sequential-Access                  ANSI SCSI revision: 02
  Vendor: SONY      Model: SDX-500C          Rev: 0200
  Type:   Sequential-Access                  ANSI SCSI revision: 02


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux