qla2300, scsi-problem: LUN larger than allowed by the host adapter
![](https://seccdn.libravatar.org/avatar/503a9da47b1f84812866b2e92c3aae2a.jpg?s=120&d=mm&r=g)
Hello *, I am trying to attach a linux box HP Proliant DL380 to a HP VA7x00 FC storage system. The Driver seems to work i think, because I can see the LUNs in /proc/scsi/qla2300/0 and also in /proc/scsi/scsi i can see them. The problem is, that i can't access them. fdisk /dev/sda reports open failed. So, whats wrong? Kernel: 2.4.21-243-smp on a SuSE Linux 9.0 dmesg reports the following: -----snipp----- qla2x00_set_info starts at address = e9100060 qla2x00: Found VID=1077 DID=2312 SSVID=e11 SSDID=100 scsi(0): Found a QLA2312 @ bus 6, device 0x1, irq 15, iobase 0xf9030000 scsi(0): 64 Bit PCI Addressing Enabled. scsi(0): Allocated 4096 SRB(s). scsi(0): Configure NVRAM parameters... scsi(0): Verifying loaded RISC code... scsi(0): Verifying chip... scsi(0): LIP reset occurred. scsi(0): Waiting for LIP to complete... scsi(0): LOOP UP detected. scsi(0): Port database changed. scsi(0): Topology - (F_Port), Host Loop address 0xffff qla2x00_detect num_hosts=0 scsi-qla0-adapter-port=210000e08b181c22\; scsi-qla0-tgt-0-di-0-node=50060b000014f4ce\; scsi-qla0-tgt-0-di-0-port=50060b0000234817\; scsi-qla0-tgt-0-di-0-control=00\; scsi-qla0-tgt-0-di-0-preferred=ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\; scsi-qla0-tgt-0-di-1-node=50060b000014f4ce\; scsi-qla0-tgt-0-di-1-port=50060b00001e955c\; scsi-qla0-tgt-0-di-1-control=80\; scsi0 : QLogic QLA2312 PCI to Fibre Channel Host Adapter: bus 6 device 1 irq 15 Firmware version: 3.02.28, Driver version 7.00.03-fo scsi: unknown type 12 Vendor: HP Model: A6218A Rev: A100 Type: Unknown ANSI SCSI revision: 03 scsi: host 0 ch 0 id 0 lun 16384 has a LUN larger than allowed by the host adapter scsi: host 0 ch 0 id 0 lun 16385 has a LUN larger than allowed by the host adapter scsi: host 0 ch 0 id 0 lun 16386 has a LUN larger than allowed by the host adapter scsi: host 0 ch 0 id 0 lun 16387 has a LUN larger than allowed by the host adapter scsi(0:0:0:0): Enabled tagged queuing, queue depth 16. Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 12 resize_dma_pool: unknown device type 12 scsi(0) qla2x00_isr MBA_PORT_UPDATE ignored scsi(0) qla2x00_isr MBA_PORT_UPDATE ignored -----snipp----- and cat /proc/scsi/qla2300/0 says -----snipp----- QLogic PCI to Fibre Channel Host Adapter for QLA2340 : Firmware version: 3.02.28, Driver version 7.00.03-fo Entry address = e9100060 HBA: QLA2312 , Serial# P81596 Request Queue = 0x28e10000, Response Queue = 0x29630000 Request Queue count= 512, Response Queue count= 512 Total number of active commands = 0 Total number of interrupts = 283 Total number of IOCBs (used/max) = (0/600) Total number of queued commands = 0 Device queue depth = 0x10 Number of free request entries = 500 Number of mailbox timeouts = 0 Number of ISP aborts = 0 Number of loop resyncs = 0 Number of retries for empty slots = 0 Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0 Number of reqs in failover_q= 0 Host adapter:loop state= <READY>, flags= 0x2860833 Dpc flags = 0x40 MBX flags = 0x0 SRB Free Count = 4096 Link down Timeout = 008 Port down retry = 016 Login retry count = 016 Commands retried with dropped frame(s) = 0 Configured characteristic impedence: 50 ohms Configured data rate: 1-2 Gb/sec auto-negotiate SCSI Device Information: scsi-qla0-adapter-node=200000e08b181c22; scsi-qla0-adapter-port=210000e08b181c22; scsi-qla0-target-0=50060b0000234817; FC Port Information: scsi-qla0-port-0=50060b000014f4ce:50060b0000234817; scsi-qla0-port-1=50060b000014f4ce:50060b00001e955c; SCSI LUN Information: (Id:Lun) * - indicates lun is not registered with the OS. ( 0: 0): Total reqs 5, Pending reqs 0, flags 0x0, 0:0:81, ( 0: 1): Total reqs 2, Pending reqs 0, flags 0x0*, 0:0:81, ( 0: 2): Total reqs 2, Pending reqs 0, flags 0x0*, 0:0:81, ( 0: 3): Total reqs 2, Pending reqs 0, flags 0x0*, 0:0:81, -----snipp----- /proc/scsi/scsi gives me -----snipp----- Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: HP Model: A6218A Rev: A100 Type: Unknown ANSI SCSI revision: 03 Host: scsi0 Channel: 00 Id: 00 Lun: 01 Vendor: HP Model: A6218A Rev: A100 Type: Unknown ANSI SCSI revision: 03 Host: scsi0 Channel: 00 Id: 00 Lun: 02 Vendor: HP Model: A6218A Rev: A100 Type: Unknown ANSI SCSI revision: 03 Host: scsi0 Channel: 00 Id: 00 Lun: 03 Vendor: HP Model: A6218A Rev: A100 Type: Unknown ANSI SCSI revision: 03 -----snipp----- Mit freundlichen Gruessen / Sincerely Jan Pilawa
![](https://seccdn.libravatar.org/avatar/e0f9409f9a84daad85e8b5e766cf2567.jpg?s=120&d=mm&r=g)
Jan-Marc Pilawa writes:
I am trying to attach a linux box HP Proliant DL380 to a HP VA7x00 FC storage system. The Driver seems to work i think, because I can see the LUNs in /proc/scsi/qla2300/0 and also in /proc/scsi/scsi i can see them. The problem is, that i can't access them. fdisk /dev/sda reports open failed. So, whats wrong?
Kernel: 2.4.21-243-smp on a SuSE Linux 9.0 ...
dmesg reports the following: -----snipp----- scsi: unknown type 12 Vendor: HP Model: A6218A Rev: A100 Type: Unknown ANSI SCSI revision: 03 scsi: host 0 ch 0 id 0 lun 16384 has a LUN larger than allowed by the host adapter scsi: host 0 ch 0 id 0 lun 16385 has a LUN larger than allowed by the host adapter scsi: host 0 ch 0 id 0 lun 16386 has a LUN larger than allowed by the host adapter scsi: host 0 ch 0 id 0 lun 16387 has a LUN larger than allowed by the host adapter
Something seems to be very wrong here. I don't know whether such a large LUN number is correct for the FC card, but clearly the driver doesn't think so. Maybe you should find out who the author of this driver is and contact them with this problem? -Ti -- Ti Kan http://www.amb.org/ti Vorsprung durch Technik
![](https://seccdn.libravatar.org/avatar/25bbc96d9c53647354cb724e744b2222.jpg?s=120&d=mm&r=g)
On Tue, 9 Nov 2004 09:33:01 +0100, Jan-Marc Pilawa
Hello *,
I am trying to attach a linux box HP Proliant DL380 to a HP VA7x00 FC storage system. The Driver seems to work i think, because I can see the LUNs in /proc/scsi/qla2300/0 and also in /proc/scsi/scsi i can see them. The problem is, that i can't access them. fdisk /dev/sda reports open failed. So, whats wrong?
Kernel: 2.4.21-243-smp on a SuSE Linux 9.0
dmesg reports the following: -----snipp-----
scsi: unknown type 12 Vendor: HP Model: A6218A Rev: A100 Type: Unknown ANSI SCSI revision: 03 scsi: host 0 ch 0 id 0 lun 16384 has a LUN larger than allowed by the host adapter scsi: host 0 ch 0 id 0 lun 16385 has a LUN larger than allowed by the host adapter scsi: host 0 ch 0 id 0 lun 16386 has a LUN larger than allowed by the host adapter scsi: host 0 ch 0 id 0 lun 16387 has a LUN larger than allowed by the host adapter
----- snip----- Are you really using LUN numbers that large? The arrrays I'm familiar with only support LUN numbers between 0 - 99. And most OS's are even more restrictive. I'm not sure what the limit is for your kernel. If the above LUN numbers are correct, I suggest reconfiguring your VA to use much smaller LUN numbers. If the LUN numbers are wrong, then you have found a bug and you need to report it appropriately. Greg -- Greg Freemyer
participants (3)
-
Greg Freemyer
-
Jan-Marc Pilawa
-
ti@amb.org