"lsluns" does not display ds8k lun information and unable to activate ds8k storage luns in host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Expired
|
Medium
|
Unassigned | ||
linux (Ubuntu) |
Expired
|
Wishlist
|
Unassigned |
Bug Description
== Comment: #2 - Steffen Maier - 2016-08-01 09:54:09 ==
While
LTC bug 139096 - LP1567602 : FCP devices are not detected correctly nor deterministically
did successfully fix the attachment of "regular" LUNs of (peripheral device) type disk,
it seems the attachment of the (report luns) WLUN 0xc101000000000000 (49409) still shows issues with the ALUA device handler:
[ 105.049479] scsi 0:0:7:49409: Well-known LUN IBM 2107900 .470 PQ: 0 ANSI: 5
[ 105.050109] scsi 0:0:7:49409: alua: disable for non-disk devices
[ 105.050112] scsi 0:0:7:49409: alua: Attach failed (-22)
[ 105.050114] scsi 0:0:7:49409: failed to add device handler: -22
After this failed attempt to attach such LUN (here triggered by the "lsluns" tool from s390-tools to discover LUNs from out of user space), the corresponding SCSI device is INvisible from user space, but still exists in-kernel in some broken state.
In our case here, the attachment should have been successful
(or the scsi_device been unregistered completely in maybe other cases).
On the next attempt to run lsluns against the same target remote port and thus the same WLUN SCSI device, we get the following kernel warning as a follow-on error:
[ 572.079588] scsi 0:0:7:49409: Well-known LUN IBM 2107900 .470 PQ: 0 ANSI: 5
[ 572.080354] sysfs: cannot create duplicate filename '/bus/scsi/
[ 572.080380] ------------[ cut here ]------------
[ 572.080381] WARNING: at /build/
[ 572.080381] Modules linked in: qeth_l3 chsc_sch eadm_sch qeth ccwgroup ib_iser rdma_cm iw_cm ib_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi scsi_transport_
[ 572.080404] CPU: 1 PID: 8494 Comm: sh Not tainted 4.4.0-31-generic #50-Ubuntu
[ 572.080405] task: 00000001d7740af0 ti: 00000001d8144000 task.ti: 00000001d8144000
[ 572.080406] Krnl PSW : 0704c00180000000 00000000003a35fc (sysfs_
[ 572.080415] R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:0 PM:0 EA:3
Krnl GPRS: 0000000000cf7034 0000000000000006 0000000000000047 0000000000000000
[ 572.080417] 00000000003a35f8 00000000000002c6 00000001da805400 00000001d8f2f178
[ 572.080417] 0000000000c1d0e0 00000001e8cd3ab8 0000000000000001 00000001e8cd3ab8
[ 572.080418] 00000001d8cac4b0 000000007b7c8000 00000000003a35f8 00000001d81479b8
[ 572.080425] Krnl Code: 00000000003a35ec: c020002f33f3 larl %r2,989dd2
[ 572.080438] Call Trace:
[ 572.080440] ([<00000000003a
[ 572.080443] [<00000000003a3
[ 572.080447] [<00000000005c4
[ 572.080448] [<00000000005c1
[ 572.080453] [<00000000005f7
[ 572.080456] [<00000000005f4
[ 572.080457] [<00000000005f4
[ 572.080458] [<00000000005f4
[ 572.080468] [<000003ff80076
[ 572.080471] [<000003ff80076
[ 572.080474] [<000003ff80075
[ 572.080476] [<00000000003a1
[ 572.080480] [<000000000030f
[ 572.080482] [<0000000000310
[ 572.080484] [<00000000007b8
[ 572.080485] [<000003ff9fc5f
[ 572.080486] Last Breaking-
[ 572.080487] [<00000000003a3
[ 572.080487] ---[ end trace 622dfcc1a25e342e ]---
[ 572.080504] scsi 0:0:7:49409: failed to add device: -17
tags: | added: architecture-s39064 bugnameltc-144325 severity-medium targetmilestone-inin16041 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
Changed in ubuntu-z-systems: | |
importance: | Undecided → Medium |
Changed in ubuntu-z-systems: | |
assignee: | bugproxy (bugproxy) → Andy Whitcroft (apw) |
Changed in ubuntu-z-systems: | |
assignee: | Andy Whitcroft (apw) → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu): | |
assignee: | bugproxy (bugproxy) → nobody |
Changed in ubuntu-z-systems: | |
assignee: | bugproxy (bugproxy) → nobody |
tags: |
added: severity-low removed: severity-medium |
tags: |
added: targetmilestone-inin--- removed: targetmilestone-inin16041 |
Due to the fact that this issue is lslun related and lslun belongs to the s390-tools set: /www.ibm. com/developerwo rks/linux/ linux390/ s390-tools- overview. html
https:/
the IBM LTC needs to have a look at that.