FC Adapter (LPe32000-based) prints "iotag out of range", goes offline, and delays boot a lot (Ubuntu17.04/Emulex/lpfc))
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Tim Gardner | ||
Xenial |
Fix Released
|
Undecided
|
Tim Gardner | ||
Yakkety |
Fix Released
|
Undecided
|
Tim Gardner | ||
Zesty |
Fix Released
|
Undecided
|
Tim Gardner |
Bug Description
---Problem Description---
FC Adapter goes offline and produces the call traces while booting into OS, on assigning the LUNs to it.
---uname output---
Linux ltciofvtr-
FC Redfish Adapter(32 GB) is going offline on assigning the Luns to it. Adapter shows online till pettitboot and even Luns are also vissible in pettitboot.
once selecting the OS from pettitboot and booting into it, it produces call traces and also few lpfc errors. attached the comple console logs FYR.
The FC switch to which the Redfish adapter is connected is a 16 GB switch and the adapter is of 32 GB. According to me this parameter should not have any concern as the adapter has to support backward compatibility.
---Steps to Reproduce---
1. install the adapter in a server. and connect it to FC switch (16 GB)
2. create zone and assign the LUNS to it from V7000.
3. reboot the OS
root@ltciofvtr-
total 0
drwxr-xr-x 2 root root 0 Jan 25 04:22 ./
drwxr-xr-x 72 root root 0 Jan 25 03:50 ../
lrwxrwxrwx 1 root root 0 Jan 25 04:13 host10 -> ../../devices/
lrwxrwxrwx 1 root root 0 Jan 25 04:13 host6 -> ../../devices/
lrwxrwxrwx 1 root root 0 Jan 25 04:13 host8 -> ../../devices/
lrwxrwxrwx 1 root root 0 Jan 25 04:13 host9 -> ../../devices/
root@ltciofvtr-
root@ltciofvtr-
Offline
root@ltciofvtr-
Offline
root@ltciofvtr-
Online
root@ltciofvtr-
Online
root@ltciofvtr-
root@ltciofvtr-
0000:01:00.0 Fibre Channel [0c04]: Emulex Corporation Lancer Gen6: LPe32000 Fibre Channel Host Adapter [10df:e300] (rev 01)
0000:01:00.1 Fibre Channel [0c04]: Emulex Corporation Lancer Gen6: LPe32000 Fibre Channel Host Adapter [10df:e300] (rev 01)
0001:01:00.0 Fibre Channel [0c04]: Emulex Corporation Lancer-X: LightPulse Fibre Channel Host Adapter [10df:e200] (rev 10)
0001:01:00.1 Fibre Channel [0c04]: Emulex Corporation Lancer-X: LightPulse Fibre Channel Host Adapter [10df:e200] (rev 10)
root@ltciofvtr-
Device driver error code:
[ 537.317563] lpfc 0000:01:00.1: 1:0338 IOCB wait timeout error - no wake response Data x3c
[ 537.317755] lpfc 0000:01:00.1: 1:(0):0727 TMF FCP_LUN_RESET to TGT 1 LUN 0 failed (0, 0) iocb_flag x206
[ 537.317934] lpfc 0000:01:00.1: 1:(0):0713 SCSI layer issued Device Reset (1, 0) return x2007
[ 537.318005] lpfc 0000:01:00.1: 1:0372 iotag x0 is out off range: max iotag (x880)
[ 551.653563] lpfc 0000:01:00.0: 0:(0):0748 abort handler timed out waiting for abortng I/O (xri:x149) to complete: ret 0x2003, ID 1, LUN 1
[ 551.653795] lpfc 0000:01:00.0: 0:0372 iotag x0 is out off range: max iotag (x880)
[ 598.757557] lpfc 0000:01:00.1: 1:0338 IOCB wait timeout error - no wake response Data x3c
[ 598.757766] lpfc 0000:01:00.1: 1:(0):0727 TMF FCP_LUN_RESET to TGT 1 LUN 1 failed (0, 0) iocb_flag x206
[ 598.757946] lpfc 0000:01:00.1: 1:(0):0713 SCSI layer issued Device Reset (1, 1) return x2007
[ 598.758017] lpfc 0000:01:00.1: 1:0372 iotag x0 is out off range: max iotag (x880)
[ 613.093562] lpfc 0000:01:00.0: 0:(0):0748 abort handler timed out waiting for abortng I/O (xri:x14f) to complete: ret 0x2003, ID 1, LUN 0
[ 613.093630] INFO: task systemd-udevd:1148 blocked for more than 120 seconds.
[ 613.093631] Not tainted 4.9.0-12-generic #13-Ubuntu
[ 613.093631] "echo 0 > /proc/sys/
[ 613.093632] systemd-udevd D 0 1148 1141 0x00040000
Stack trace output:
[ 613.093633] Call Trace:
[ 613.093634] [c000001fd6b5b360] [ffffffffffffffff] 0xffffffffffffffff (unreliable)
[ 613.093636] [c000001fd6b5b530] [c00000000001c3a0] __switch_
[ 613.093637] [c000001fd6b5b590] [c000000000b188d8] __schedule+
[ 613.093638] [c000001fd6b5b670] [c000000000b18fb8] schedule+0x48/0xc0
[ 613.093640] [c000001fd6b5b6a0] [c000000000b1d394] schedule_
[ 613.093641] [c000001fd6b5b790] [c000000000b19f8c] wait_for_
[ 613.093642] [c000001fd6b5b810] [c0000000000ea27c] flush_work+
[ 613.093643] [c000001fd6b5b8a0] [c0000000000eca20] __cancel_
[ 613.093645] [c000001fd6b5b940] [c00000000059966c] disk_block_
[ 613.093646] [c000001fd6b5b990] [c00000000037124c] __blkdev_
[ 613.093648] [c000001fd6b5ba00] [c000000000372830] blkdev_
[ 613.093649] [c000001fd6b5bab0] [c0000000003167e0] do_dentry_
[ 613.093651] [c000001fd6b5bb10] [c00000000032fee4] do_last+
[ 613.093652] [c000001fd6b5bc00] [c000000000330a1c] path_openat+
[ 613.093654] [c000001fd6b5bc80] [c00000000033268c] do_filp_
[ 613.093655] [c000001fd6b5bdb0] [c00000000031841c] do_sys_
[ 613.093656] [c000001fd6b5be30] [c00000000000bd84] system_
[ 613.093657] INFO: task systemd-udevd:1155 blocked for more than 120 seconds.
[ 613.093658] Not tainted 4.9.0-12-generic #13-Ubuntu
[ 613.093658] "echo 0 > /proc/sys/
[ 613.093659] systemd-udevd D 0 1155 1141 0x00040002
Hi Canonical,
Can you please include these 2 commits to the lpfc driver on 17.04 and 16.04 HWE ?
They've just been applied on mainline as of 4.11-rc1.
The first resolves this problem, and the second prevents cache/DMA consistency problems which is likely to be hit in the future with this higher-performance adapter.
I already asked for both patches to be flagged for stable kernels.
[1] 8ea73db486cda44
[2] 6b3b3bdb83b4ad5
Thank you.
[1] https:/
[2] https:/
Changed in linux (Ubuntu Zesty): | |
assignee: | Taco Screen team (taco-screen-team) → Tim Gardner (timg-tpi) |
status: | New → Fix Committed |
Changed in linux (Ubuntu Yakkety): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Default Comment by Bridge