Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
qla2300 woes

qla2300 woes

2005-10-24       - By Lee Whatley, Contractor

 Back
Reply:     1     2     3     4     5  

Hi All,


I recently installed a Qlogic 2300 HBA on a RHEL v3 U6 (2.4.21-37.ELsmp)
system (AMD64).  The HBA has two ports and both are directly connected
to a StorageTek D178 array.  The D178 is sharing out 6 LUNS.

When I booted the machine for the first time, kudzu recognized the
qla2300 card and modified my modules.conf file to include "alias
scsi_hostadapter3 qla2300".  It did not remake the initrd in order to
load the module on boot, so I did that by hand with "mkinitrd -f".

Now when the system boots it loads the qla2300 module and the kernel
sees the HBA and its two ports.  No LUNS seem to show up however.  Doing
a "cat /proc/scsi/scsi" only shows my locally-attached scsi disks.
Doing a "cat /proc/scsi/qla2300/6 (or 7 for the second port)" outputs
the following:

-- ---- ---- ---- ---- ---- ---
QLogic PCI to Fibre Channel Host Adapter for QLA2342:
        Firmware version:  3.03.11, Driver version 7.05.00-RH1
Entry address = ffffffffa076b0c0
HBA: QLA2312 , Serial# G76899
Request Queue = 0xc238000, Response Queue = 0xc241000
Request Queue count= 512, Response Queue count= 512
Total number of active commands = 0
Total number of interrupts = 8
Total number of IOCBs (used/max) = (0/600)
Total number of queued commands = 0
    Device queue depth = 0x20
Number of free request entries = 503
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
Host adapter:loop state= <READY>, flags= 0x860a13
Dpc flags = 0x1000000
MBX flags = 0x0
SRB Free Count = 4096
Link down Timeout = 000
Port down retry = 030
Login retry count = 030
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=200000e08b0a2354;
scsi-qla0-adapter-port=210000e08b0a2354;
scsi-qla0-target-0 (See http://get-0.ora-code.com)=200200a0b80ccd6e;

SCSI LUN Information:
(Id:Lun)  * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 2, Pending reqs 0, flags 0x0*, 0:0:00,
( 0: 1): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00,
( 0: 2): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00,
( 0: 3): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00,
( 0: 4): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00,
( 0: 5): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00,
( 0:31): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00,
-- ---- ---- ---- ---- -----

As you can see there are LUNS shown at the bottom, but the are "not
registered with the OS".  Since the OS for some reason isn't
automatically seeing them, I tried installing them manually using "scsi
add-single-device 6 0 0 0" replacing the last 0 with 1-5 and 31 for the
rest of the LUNS.  Now the LUNS show up in /proc/scsi/scsi, but as
generic devices (/dev/sg3-sg9) instead of as disk devices.  In addition,
/proc/scsi/scsi seems to think that they are printers!

Output of  "cat /proc/scsi/scsi":
---local disks removed--
Host: scsi6 Channel: 00 Id: 00 Lun: 00
  Vendor:  WJ      Model:                  Rev:    m
  Type:   Printer                          ANSI SCSI revision: ffffffff
Host: scsi6 Channel: 00 Id: 00 Lun: 01
  Vendor:  WJ      Model:                  Rev:   u
  Type:   Printer                          ANSI SCSI revision: ffffffff
Host: scsi6 Channel: 00 Id: 00 Lun: 02
  Vendor:  WJ      Model:                  Rev:    o
  Type:   Printer                          ANSI SCSI revision: ffffffff
Host: scsi6 Channel: 00 Id: 00 Lun: 03
  Vendor:  WJ      Model:                  Rev:    n
  Type:   Printer                          ANSI SCSI revision: ffffffff
Host: scsi6 Channel: 00 Id: 00 Lun: 04
  Vendor:  WJ      Model:                  Rev:    o
  Type:   Printer                          ANSI SCSI revision: ffffffff
Host: scsi6 Channel: 00 Id: 00 Lun: 05
  Vendor:  WJ      Model:                  Rev:    u
  Type:   Printer                          ANSI SCSI revision: ffffffff
Host: scsi6 Channel: 00 Id: 00 Lun: 31
  Vendor:  WJ      Model:                  Rev:   }o
  Type:   Printer                          ANSI SCSI revision: ffffffff
-- ---- ---- ---- ---- ---- ----

Has anyone ever seen this behavior before?  How do I get the OS to see
the disks as disks and not printers?  How do I get the OS to
automatically load those LUNS without having to echo anything to /proc?

Any help or insight would be greatly appreciated.

Thanks,
-Lee


--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list