ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] QLogic Fibre Channel HBA
@ 2007-08-17  7:11 Nikolay
  2007-08-17 12:39 ` Dmitry Lebkov
  0 siblings, 1 reply; 4+ messages in thread
From: Nikolay @ 2007-08-17  7:11 UTC (permalink / raw)
  To: Sysadmins

Доброго дня.
Возможно немного не по теме но всёже.
Решили мы познять сервер с REL 3.0 до REL 4.0 всё чудесно прошло - но теперь 
система не видит LUN B адаптера - и соответственно небольшой кусочек БД на 
нём. При борьбе с данной неприятностью был прочитан 
http://download.qlogic.com/drivers/54333/README_qla2xxx2-6U3.htm 
и /etc/modprobe.conf  был приведён в следующий вид
options scsi_mod max_scsi_luns=255
alias eth0 e1000
alias eth1 e1000
alias eth2 e100
alias scsi_hostadapter aic79xx
alias scsi_hostadapter2 megaraid_mbox
alias usb-controller ohci-hcd

alias scsi_hostadapter1 qla2300 ql2xsuspendcount=12 displayConfig=1
alias scsi_hostadapter3 qla2300 ql2xsuspendcount=12 displayConfig=1
alias scsi_hostadapter4 qla2300_conf ql2xsuspendcount=12 displayConfig=1
options scsi_mod max_scsi_luns=255 scsi_allow_ghost_devices=1
последняя строка - так на всякий случай ..
но всё одно - при старте или 
modprobe  qla2300
мы видим следующее


Aug 17 10:02:07 app kernel: ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 23 
(level, low) -> IRQ 201
Aug 17 10:02:07 app kernel: qla2300 0000:02:04.0: Found an ISP2312, irq 201, 
iobase 0xf8844000
Aug 17 10:02:07 app kernel: qla2300 0000:02:04.0: Configuring PCI space...
Aug 17 10:02:07 app kernel: qla2300 0000:02:04.0: Configure NVRAM 
parameters...
Aug 17 10:02:07 app kernel: qla2300 0000:02:04.0: Verifying loaded RISC 
code...
Aug 17 10:02:07 app kernel: qla2300 0000:02:04.0: LIP reset occured (f8f7).
Aug 17 10:02:07 app kernel: qla2300 0000:02:04.0: Waiting for LIP to 
complete...
Aug 17 10:02:07 app kernel: qla2300 0000:02:04.0: LIP occured (f8f7).
Aug 17 10:02:08 app kernel: qla2300 0000:02:04.0: LOOP UP detected (2 Gbps).
Aug 17 10:02:08 app kernel: qla2300 0000:02:04.0: Topology - (Loop), Host Loop 
address 0x0
Aug 17 10:02:08 app kernel: scsi9 : qla2xxx
Aug 17 10:02:08 app kernel: qla2300 0000:02:04.0:
Aug 17 10:02:08 app kernel:  QLogic Fibre Channel HBA Driver: 8.01.04-d7
Aug 17 10:02:08 app kernel:   QLogic QLA2340 -
Aug 17 10:02:08 app kernel:   ISP2312: PCI-X (100 MHz) @ 0000:02:04.0 hdma+, 
host#=9, fw=3.03.20 IPX
Aug 17 10:02:08 app kernel:   Vendor: EUROLOGC  Model: FC2502            Rev: 
7902
Aug 17 10:02:08 app kernel:   Type:   Direct-Access                      ANSI 
SCSI revision: 02
Aug 17 10:02:08 app kernel: qla2300 0000:02:04.0: scsi(9:0:0:0): Enabled 
tagged queuing, queue depth 32.
Aug 17 10:02:08 app kernel: SCSI device sdb: 824926208 512-byte hdwr sectors 
(422362 MB)
Aug 17 10:02:08 app kernel: SCSI device sdb: drive cache: write back
Aug 17 10:02:08 app kernel: SCSI device sdb: 824926208 512-byte hdwr sectors 
(422362 MB)
Aug 17 10:02:08 app kernel: SCSI device sdb: drive cache: write back
Aug 17 10:02:08 app kernel:  sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 >
Aug 17 10:02:08 app kernel: Attached scsi disk sdb at scsi9, channel 0, id 0, 
lun 0
Aug 17 10:02:08 app kernel: Attached scsi generic sg2 at scsi9, channel 0, id 
0, lun 0,  type 0
Aug 17 10:02:08 app scsi.agent[29125]: disk 
at /devices/pci0000:02/0000:02:04.0/host9/target9:0:0/9:0:0:0

lsmod| grep qla
qla2300               129857  0
qla2xxx               164453  1 qla2300
scsi_transport_fc      12097  1 qla2xxx
scsi_mod              117709  6 
qla2xxx,scsi_transport_fc,sg,megaraid_mbox,aic79xx,sd_mod

Если у кого нибуть есть опыт борьбы с данного вида криворукостью  - 
поделитесь .

При этом вывод REL 3.0 
qla2x00_detect num_hosts=0
scsi1 : QLogic QLA2312 PCI to Fibre Channel Host Adapter: bus 2 device 4 irq 
23
        Firmware version:  3.03.01, Driver version 7.01.01

blk: queue f7319e18, I/O limit 4294967295Mb (mask 0xffffffffffffffff)
  Vendor: EUROLOGC  Model: FC2502            Rev: 7902
  Type:   Direct-Access                      ANSI SCSI revision: 02
blk: queue f7319c18, I/O limit 4294967295Mb (mask 0xffffffffffffffff)
  Vendor: EUROLOGC  Model: FC2502            Rev: 7902
  Type:   Direct-Access                      ANSI SCSI revision: 02
blk: queue f7319a18, I/O limit 4294967295Mb (mask 0xffffffffffffffff)
scsi(1:0:0:0): Enabled tagged queuing, queue depth 32.
scsi(1:0:0:1): Enabled tagged queuing, queue depth 32.
Attached scsi disk sdc at scsi1, channel 0, id 0, lun 0
Attached scsi disk sdd at scsi1, channel 0, id 0, lun 1

Что и где я проморгал ?             

-- 
С уважением, Николай

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-20 10:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-17  7:11 [Sysadmins] QLogic Fibre Channel HBA Nikolay
2007-08-17 12:39 ` Dmitry Lebkov
2007-08-17 15:40   ` Dmitry Lebkov
2007-08-20 10:05     ` Nikolay

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git