fail to activate the second DS8K fcp device permanently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
Unassigned | ||
s390-tools (Ubuntu) |
Fix Released
|
Medium
|
Dimitri John Ledkov | ||
Xenial |
Fix Released
|
Medium
|
Dimitri John Ledkov | ||
Yakkety |
Fix Released
|
Medium
|
Dimitri John Ledkov | ||
Zesty |
Fix Released
|
Medium
|
Dimitri John Ledkov | ||
Artful |
Fix Released
|
Medium
|
Dimitri John Ledkov |
Bug Description
[Impact]
* out of order devices fail to activate
[Test Case]
* See steps to reproduce below
[Regression Potential]
* s390-tools rebuild, includes rebuilding the bootloader, thus failure to boot should be tested in case of a no-change rebuild regression. The fix for the issue in question is a pure ordering issue, thus ordering the ids should resolve the issue at hand without any other negative side-effects
[Other Info]
* Original report:
---Problem Description---
Fail to active the second DS8K fcp lun permanently
Machine Type = z13 lpar
---Debugger---
A debugger is not configured
---Steps to Reproduce---
1. Map tow fcp luns from DS8880:
root@ilz62u:~# lsluns
Scanning for LUNs on adapter 0.0.1800
at port 0x50050763070057f9:
0x40004028000
0x40014010000
Scanning for LUNs on adapter 0.0.1900
at port 0x50050763070b17f9:
0x40004028000
0x40014010000
2. active the two fcp temporarily
echo 0x4001401000000000 > /sys/bus/
echo 0x4001401000000000 > /sys/bus/
3. active them via tool "chzdev" permanently
root@ilz62u:~# lszdev | grep 57f9
zfcp-lun 0.0.1800:
zfcp-lun 0.0.1800:
4. multipath show
root@ilz62u:~# multipath -ll | grep 2107s
d2ilsd2107s (36005076307ffd
d1ilsd2107s (36005076307ffd
5. reboot
6. the secod fcp lun "0x400140100000
root@ilz62u:
0x4000402800000000 access_denied failed in_recovery power status uevent unit_add unit_remove
root@ilz62u:
0x4000402800000000 access_denied failed in_recovery power status uevent unit_add unit_remove
root@ilz62u:
d1ilsd2107s (36005076307ffd
Stack trace output:
no
Oops output:
no
System Dump Info:
The system is not configured to capture a system dump.
== Comment: #1 - Heinz-Werner Seeck <email address hidden> - 2017-04-18 03:08:54 ==
First problem evaluation:
Could be a chzdev problem. Seeing two jump-labels in the udev rule for port 0x50050763070b17f9 on fcp device 0x1800 and 0x1900. The first label enables the LUN that is working, while the second one with the LUN number that is not working is likely ignored.
Confirmed as a bug in chzdev!
Workaround:
Use chzdev to configure and immediately deconfigure a non-existent FCP LUN for the FCP devices that displays the problem.
Example (ignore any warnings that might show up):
For FCP device 0x1800:
chzdev -e -p zfcp-lun 0x1800:
chzdev -d -p zfcp-lun 0x1800:
and for FCP device 0x1900:
chzdev -e -p zfcp-lun 0x1900:
chzdev -d -p zfcp-lun 0x1900:
Solution available : Patch applied:
Upstream patch, also applies to s390-tools v1.37.0 and v1.37.1.
tags: | added: kernel-da-key |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
affects: | linux (Ubuntu) → s390-tools (Ubuntu) |
Changed in s390-tools (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
Changed in s390-tools (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in s390-tools (Ubuntu Zesty): | |
milestone: | none → zesty-updates |
Changed in s390-tools (Ubuntu Yakkety): | |
milestone: | none → yakkety-updates |
Changed in s390-tools (Ubuntu Xenial): | |
milestone: | none → xenial-updates |
Changed in s390-tools (Ubuntu Yakkety): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in s390-tools (Ubuntu Xenial): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in s390-tools (Ubuntu Zesty): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → Dimitri John Ledkov (xnox) |
status: | New → Triaged |
Changed in s390-tools (Ubuntu Yakkety): | |
status: | New → Triaged |
Changed in s390-tools (Ubuntu Xenial): | |
status: | New → Triaged |
milestone: | xenial-updates → ubuntu-16.04.3 |
Changed in ubuntu-z-systems: | |
status: | New → Triaged |
importance: | Undecided → Medium |
description: | updated |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
tags: | added: id-5967809caa3068937bd9d599 |
Default Comment by Bridge