QLogic HBA and max_luns

karasiov at infobox.ru karasiov at infobox.ru
Mon Aug 1 15:51:17 UTC 2005


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.


-- 
WBR,
 Karasiov                          mailto:karasiov at infobox.ru




More information about the fedora-list mailing list