From: Maxim Kozover <maximkoz@netvision.net.il>
To: Andrew Vasquez <andrew.vasquez@qlogic.com>
Cc: Stefan Kaltenbrunner <mm-mailinglist@madness.at>,
Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re:Re: problems with scsi_transport_fc and qla2xxx
Date: Thu, 02 Mar 2006 19:32:48 +0300 [thread overview]
Message-ID: <957728045.20060302193248@netvision.net.il> (raw)
In-Reply-To: <20060301210802.GA7288@spe2>
Hi Andrew!
Today I tested disconnecting QLogic port.
Adapter 4 is connected via switch to a storage and 3 LUNs are seen via
the adapter.
Only 1 rport is created (for FCP Target) while in Emulex case there
were 3: (Fabric Port, Directory Server and FCP Target, FCP Initiator).
# ls /sys/class/fc_remote_ports/
rport-4:0-0
# cat /sys/class/fc_remote_ports/*/roles
FCP Target
Default dev_loss_tmo is 6 (1+5) while in Emulex case the default was 35.
After disconnecting the cable between the HBA and the switch
qla2xxx 0000:03:01.0: LOOP DOWN detected (2).
rport-4:0-0: blocked FC remote port time out: removing target and saving binding
# ls /sys/class/fc_remote_ports/
rport-4:0-0
# cat /sys/class/fc_remote_ports/*/roles
unknown
Relevant scsi devices are removed from /proc/scsi/scsi.
After reconnecting the cable
qla2xxx 0000:03:01.0: LIP reset occured (f7f7).
qla2xxx 0000:03:01.0: LOOP UP detected (2 Gbps).
# ls /sys/class/fc_remote_ports/
rport-4:0-0
# cat /sys/class/fc_remote_ports/*/roles
FCP Target
However, scsi devices don't reappear in /proc/scsi/scsi.
When I issue rescan, the command is stuck
echo - - - > /sys/class/scsi_host/host4/scan
Please advise.
Thanks,
Maxim.
I'm including /var/log/messages output:
# egrep -v 'Vendor|cron' /var/log/messages
Mar 2 19:13:49 multipath kernel: QLogic Fibre Channel HBA Driver
Mar 2 19:13:49 multipath kernel: GSI 24 sharing vector 0xE9 and IRQ 24
Mar 2 19:13:49 multipath kernel: ACPI: PCI Interrupt 0000:03:01.0[A] -> GSI 48 (level, low) -> IRQ 233
Mar 2 19:13:49 multipath kernel: qla2xxx 0000:03:01.0: Found an ISP2312, irq 233, iobase 0xffffc20000004000
Mar 2 19:13:49 multipath kernel: qla2xxx 0000:03:01.0: Configuring PCI space...
Mar 2 19:13:49 multipath kernel: qla2xxx 0000:03:01.0: Configure NVRAM parameters...
Mar 2 19:13:49 multipath kernel: qla2xxx 0000:03:01.0: Verifying loaded RISC code...
Mar 2 19:13:49 multipath kernel: qla2xxx 0000:03:01.0: Waiting for LIP to complete...
Mar 2 19:13:51 multipath kernel: qla2xxx 0000:03:01.0: LIP reset occured (f7f7).
Mar 2 19:13:51 multipath kernel: qla2xxx 0000:03:01.0: LOOP UP detected (2 Gbps).
Mar 2 19:13:51 multipath kernel: qla2xxx 0000:03:01.0: Topology - (F_Port), Host Loop address 0xffff
Mar 2 19:13:52 multipath kernel: scsi4 : qla2xxx
Mar 2 19:13:52 multipath kernel: qla2xxx 0000:03:01.0:
Mar 2 19:13:52 multipath kernel: QLogic Fibre Channel HBA Driver: 8.01.04-k
Mar 2 19:13:52 multipath kernel: QLogic QLA2340 -
Mar 2 19:13:52 multipath kernel: ISP2312: PCI-X (133 MHz) @ 0000:03:01.0 hdma-, host#=4, fw=3.03.18 IPX
Mar 2 19:13:52 multipath kernel: GSI 25 sharing vector 0x32 and IRQ 25
Mar 2 19:13:52 multipath kernel: ACPI: PCI Interrupt 0000:06:01.0[A] -> GSI 72 (level, low) -> IRQ 50
Mar 2 19:13:52 multipath kernel: qla2xxx 0000:06:01.0: Configuring PCI space...
Mar 2 19:13:52 multipath kernel: qla2xxx 0000:06:01.0: Configure NVRAM parameters...
Mar 2 19:13:52 multipath kernel: Type: Direct-Access ANSI SCSI revision: 05
Mar 2 19:13:52 multipath kernel: SCSI device sdb: 33554432 512-byte hdwr sectors (17180 MB)
Mar 2 19:13:52 multipath kernel: sdb: Write Protect is off
Mar 2 19:13:52 multipath kernel: SCSI device sdb: drive cache: write through
Mar 2 19:13:52 multipath kernel: SCSI device sdb: 33554432 512-byte hdwr sectors (17180 MB)
Mar 2 19:13:52 multipath kernel: sdb: Write Protect is off
Mar 2 19:13:52 multipath kernel: SCSI device sdb: drive cache: write through
Mar 2 19:13:52 multipath kernel: sdb: unknown partition table
Mar 2 19:13:52 multipath kernel: sd 4:0:0:0: Attached scsi disk sdb
Mar 2 19:13:52 multipath kernel: qla2xxx 0000:06:01.0: Verifying loaded RISC code...
Mar 2 19:13:52 multipath kernel: Type: Direct-Access ANSI SCSI revision: 05
Mar 2 19:13:52 multipath scsi.agent[4288]: disk at /devices/pci0000:00/0000:00:02.0/0000:01:00.2/0000:03:01.0/host4/rport-4:0-0/target4:0:0/4:0:0:0
Mar 2 19:13:52 multipath kernel: SCSI device sdc: 67108864 512-byte hdwr sectors (34360 MB)
Mar 2 19:13:52 multipath kernel: sdc: Write Protect is off
Mar 2 19:13:52 multipath kernel: SCSI device sdc: drive cache: write through
Mar 2 19:13:52 multipath kernel: SCSI device sdc: 67108864 512-byte hdwr sectors (34360 MB)
Mar 2 19:13:52 multipath kernel: sdc: Write Protect is off
Mar 2 19:13:52 multipath kernel: SCSI device sdc: drive cache: write through
Mar 2 19:13:52 multipath kernel: sdc: unknown partition table
Mar 2 19:13:52 multipath kernel: sd 4:0:0:1: Attached scsi disk sdc
Mar 2 19:13:52 multipath kernel: Type: Direct-Access ANSI SCSI revision: 05
Mar 2 19:13:52 multipath kernel: sdd : very big device. try to use READ CAPACITY(16).
Mar 2 19:13:52 multipath kernel: SCSI device sdd: 9797894144 512-byte hdwr sectors (5016522 MB)
Mar 2 19:13:52 multipath kernel: sdd: Write Protect is off
Mar 2 19:13:52 multipath kernel: SCSI device sdd: drive cache: write through
Mar 2 19:13:52 multipath kernel: sdd : very big device. try to use READ CAPACITY(16).
Mar 2 19:13:52 multipath kernel: SCSI device sdd: 9797894144 512-byte hdwr sectors (5016522 MB)
Mar 2 19:13:52 multipath kernel: sdd: Write Protect is off
Mar 2 19:13:52 multipath kernel: SCSI device sdd: drive cache: write through
Mar 2 19:13:52 multipath scsi.agent[4313]: disk at /devices/pci0000:00/0000:00:02.0/0000:01:00.2/0000:03:01.0/host4/rport-4:0-0/target4:0:0/4:0:0:1
Mar 2 19:13:52 multipath kernel: sdd: unknown partition table
Mar 2 19:13:52 multipath kernel: sd 4:0:0:2: Attached scsi disk sdd
Mar 2 19:13:52 multipath scsi.agent[4331]: disk at /devices/pci0000:00/0000:00:02.0/0000:01:00.2/0000:03:01.0/host4/rport-4:0-0/target4:0:0/4:0:0:2
Mar 2 19:13:52 multipath kernel: qla2xxx 0000:06:01.0: Waiting for LIP to complete...
Mar 2 19:14:12 multipath kernel: qla2xxx 0000:06:01.0: Cable is unplugged...
Mar 2 19:14:12 multipath kernel: scsi5 : qla2xxx
Mar 2 19:14:12 multipath kernel: qla2xxx 0000:06:01.0:
Mar 2 19:14:12 multipath kernel: QLogic Fibre Channel HBA Driver: 8.01.04-k
Mar 2 19:14:12 multipath kernel: QLogic QLA2340 -
Mar 2 19:14:12 multipath kernel: ISP2312: PCI-X (133 MHz) @ 0000:06:01.0 hdma-, host#=5, fw=3.03.18 IPX
Mar 2 19:14:17 multipath kernel: qla2xxx 0000:06:01.0: Unable to retrieve host statistics (65535).
Mar 2 19:14:18 multipath last message repeated 19 times
Mar 2 19:22:02 multipath kernel: qla2xxx 0000:03:01.0: LOOP DOWN detected (2).
Mar 2 19:22:08 multipath kernel: rport-4:0-0: blocked FC remote port time out: removing target and saving binding
Mar 2 19:24:04 multipath kernel: qla2xxx 0000:03:01.0: LIP reset occured (f7f7).
Mar 2 19:24:04 multipath kernel: qla2xxx 0000:03:01.0: LOOP UP detected (2 Gbps).
next prev parent reply other threads:[~2006-03-02 17:32 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-27 12:05 problems with scsi_transport_fc and qla2xxx Maxim Kozover
2006-02-27 18:05 ` Maxim Kozover
2006-03-01 6:14 ` Andrew Morton
2006-03-01 20:25 ` Stefan Kaltenbrunner
2006-03-01 21:08 ` Andrew Vasquez
2006-03-02 16:32 ` Maxim Kozover [this message]
2006-03-02 17:38 ` Andrew Vasquez
2006-03-02 22:15 ` Maxim Kozover
2006-03-06 19:06 ` Andrew Vasquez
2006-03-06 20:00 ` Mike Snitzer
2006-03-06 20:09 ` Maxim Kozover
2006-03-06 21:28 ` Andrew Vasquez
2006-03-06 20:57 ` Maxim Kozover
2006-03-06 21:09 ` Maxim Kozover
[not found] ` <20060306232831.GS6278@andrew-vasquezs-powerbook-g4-15.local>
[not found] ` <1219491790.20060307124035@netvision.net.il>
[not found] ` <20060307172227.GE6275@andrew-vasquezs-powerbook-g4-15.local>
[not found] ` <1343850424.20060307231141@netvision.net.il>
[not found] ` <20060308080050.GF9956@andrew-vasquezs-powerbook-g4-15.local>
[not found] ` <20060308154341.GA1779@andrew-vasquezs-powerbook-g4-15.local>
[not found] ` <1502511597.20060308213247@netvision.net.il>
[not found] ` <20060310231344.GB641@andrew-vasquezs-powerbook-g4-15.local>
2006-03-11 21:10 ` Re[8]: " Maxim Kozover
2006-03-12 9:28 ` Arjan van de Ven
2006-03-12 11:46 ` Maxim Kozover
2006-03-13 23:19 ` Andrew Vasquez
2006-03-20 10:45 ` Maxim Kozover
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=957728045.20060302193248@netvision.net.il \
--to=maximkoz@netvision.net.il \
--cc=akpm@osdl.org \
--cc=andrew.vasquez@qlogic.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mm-mailinglist@madness.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.