Bug 225183 - Cam Target ISP Qlogic Bios not seen through fibre channel switch
Summary: Cam Target ISP Qlogic Bios not seen through fibre channel switch
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.1-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-15 16:35 UTC by Chris LaFond
Modified: 2018-01-15 16:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris LaFond 2018-01-15 16:35:36 UTC
My first bug report.
I'm having a problem with my Cam targets not showing up when using a fibre switch.
If I hook CTL to client, everything shows up fine under the Qlogic bios, When using a switch, I can scan for devices, but it times out after not finding anything. If i boot a freebsd disk, I can see the targets just fine. It's just the bios (so no booting) that is the problem.
Both host and client are using Qlogic fibre cards (4gbs ISP2432 PCIE), and a Brocade silkworm 4600 switch. Here is some data:
kernel errors from ISP while scanning for devices
Jan 14 23:36:11 Fibre kernel: ctlfeasync: WWPN 0x21000024ff4645e6 port 0x031100 path 2 target 0 arrived
Jan 14 23:41:35 Fibre kernel: isp2: CTIO returned by f/w- Port Logout
Jan 14 23:41:35 Fibre kernel: isp2: isp_handle_platform_ctio: CTIO7[125958] seq 0 nc 1 sts 0x29 flg 0x8040 sns 0 resid 0 FIN
Jan 14 23:41:35 Fibre kernel: isp2: CTIO returned by f/w- Port Logout
Jan 14 23:42:05 Fibre kernel: isp2: CTIO returned by f/w- Port Logout
Jan 14 23:42:05 Fibre kernel: isp2: isp_handle_platform_ctio: CTIO7[125984] seq 0 nc 1 sts 0x29 flg 0x8040 sns 0 resid 0 FIN
Jan 14 23:42:05 Fibre kernel: isp2: CTIO returned by f/w- Port Logout
Jan 14 23:42:36 Fibre kernel: isp2: CTIO returned by f/w- Port Logout
Jan 14 23:42:36 Fibre kernel: isp2: isp_handle_platform_ctio: CTIO7[1259b0] seq 0 nc 1 sts 0x29 flg 0x8040 sns 0 resid 0 FIN
Jan 14 23:42:36 Fibre kernel: isp2: CTIO returned by f/w- Port Logout
Jan 14 23:42:36 Fibre kernel: ctlfeasync: WWPN 0x21000024ff4645e6 port 0x031100 path 2 target 0 left
Jan 14 23:43:15 Fibre kernel: isp2: Chan 0 WWPN 0x21000024ff4645e6 PortID 0x031100 handle 0x1 cannot be found to be deleted
Jan 14 23:43:49 Fibre kernel: ctlfeasync: WWPN 0x21000024ff4645e6 port 0x031100 path 2 target 0 arrived
Jan 14 23:43:49 Fibre kernel: isp2: CTIO returned by f/w- Port Logout
Jan 14 23:43:49 Fibre kernel: isp2: isp_handle_platform_ctio: CTIO7[1259dc] seq 0 nc 1 sts 0x29 flg 0x8040 sns 0 resid 0 FIN
Jan 14 23:43:49 Fibre kernel: isp2: CTIO returned by f/w- Port Logout
Jan 14 23:44:00 Fibre /usr/sbin/cron[45153]: (operator) CMD (/usr/libexec/save-entropy)
Jan 14 23:44:20 Fibre kernel: isp2: CTIO returned by f/w- Port Logout
Jan 14 23:44:20 Fibre kernel: isp2: isp_handle_platform_ctio: CTIO7[125a08] seq 0 nc 1 sts 0x29 flg 0x8040 sns 0 resid 0 FIN
Jan 14 23:44:20 Fibre kernel: isp2: CTIO returned by f/w- Port Logout
Jan 14 23:44:20 Fibre kernel: ctlfeasync: WWPN 0x21000024ff4645e6 port 0x031100 path 2 target 0 left

root@Fibre:/export # uname -a
FreeBSD Fibre 11.1-RELEASE-p5 FreeBSD 11.1-RELEASE-p5 #5: Sat Dec  2 21:27:37 CST 2017     chris@Fibre:/usr/obj/usr/src/sys/FCKERNEL  amd64

I have found a fix to the problem submitted by MAV, but i was wondering about getting it MFC'ed into 11.1 release
https://svnweb.freebsd.org/base?view=revision&revision=320604

Thanks for the Help,
Chris