Hide Forgot
Description of problem: NM doesn't activate CTC devices that use predictable names (like slccw0.0.d000), but it works with unpredictable names (like ctc0). A brief look into NM upstream sources showed that there is at least one place where NM relies on old unpredictable names of CTC devices: http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/platform/nm-linux-platform.c#n889 Version-Release number of selected component (if applicable): NetworkManager-1.0.0-8.fc22.s390x.rpm How reproducible: always Steps to Reproduce: 1. boot an s390x system having a CTC network device Actual results: CTC network device not activated Expected results: CTC network device up and running
Created attachment 1014819 [details] journalctl, predictable device name Content of /etc/sysconfig/network-scripts/ifcfg-slccw0.0.d000: NAME="slccw0.0.d000" SUBCHANNELS="0.0.d000,0.0.d001" NETTYPE="ctc" OPTIONS="protocol=0" DEVICE="slccw0.0.d000" ONBOOT=yes NETBOOT=yes UUID="4b28b6f4-f6de-4778-b8b3-ac0f136da891" BOOTPROTO=none IPADDR="192.168.1.2" PREFIX="32" GATEWAY="192.168.1.1" DNS1="10.16.36.29" DNS2="10.11.5.19" TYPE="Ethernet"
Created attachment 1014820 [details] journalctl, unpredictable device name Booted with the "net.ifnames=0" kernel boot option. Content of /etc/sysconfig/network-scripts/ifcfg-ctc0: NAME="ctc0" SUBCHANNELS="0.0.d000,0.0.d001" NETTYPE="ctc" OPTIONS="protocol=0" DEVICE="ctc0" ONBOOT=yes NETBOOT=yes UUID="4b28b6f4-f6de-4778-b8b3-ac0f136da891" BOOTPROTO=none IPADDR="192.168.1.2" PREFIX="32" GATEWAY="192.168.1.1" DNS1="10.16.36.29" DNS2="10.11.5.19" TYPE=Ethernet This case works fine.
Jan, thanks for the configuration files. We should identify CTC devices by the driver name (ctcm) instead of the interface name, because it is changed by systemd nowadays. Pushed a fix to an upstream branch jk/ctc-device-detect-rh1212118.
Jan, could you retry with rpms from http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1779720 ? They contain the patch Jirka wrote.
(In reply to Dan Horák from comment #5) > Jan, could you retry with rpms from > http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1779720 ? They > contain the patch Jirka wrote. I have installed the build to a test machine and CTC device with interface name slccw0.0.0150 is properly recognized as an Ethernet device and is activated.
Jirko, can we get an updated NM package in F-22 with the fix soon? The final freeze is getting closer.
NetworkManager-1.0.0-9.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/NetworkManager-1.0.0-9.fc22
Package NetworkManager-1.0.0-9.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing NetworkManager-1.0.0-9.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-7273/NetworkManager-1.0.0-9.fc22 then log in and leave karma (feedback).
NetworkManager-1.0.0-9.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
Thanks Jirko, retested with NetworkManager-1.0.2-1.fc22.s390x, it works fine.
Detection of CTC devices regressed on F22 and F23 due to NM-1.0.6. This is fixed upstream with commit http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=8a6afe92c18dfefa91d057518be00b0127720fa5 See also RHEL-7.2 bug 1272974. (will be fixed again in F22 soon)
(In reply to Thomas Haller from comment #12) > (will be fixed again in F22 soon) will be fixed by NetworkManager-1.0.6-7.fc22 https://bodhi.fedoraproject.org/updates/FEDORA-2015-6c051fe008