Bonding slaves by PCI bus order do not work after update to kernel >=4.8
This document (7023699) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12 Service Pack 4 (SLES 12 SP4)
SUSE Linux Enterprise Server 15
Situation
Resolution
The first pass need to be run with a kernel < 4.8.x or with kernel >= 4.12.14-95.13.1 and kernel boot option disable_fixed_phb. The second pass need to be run with a kernel >= 4.8.x
Script to reorder the PCI IDs
It is not recommended to use this script in an unattended upgrade. If there is not other way around following approach might be used.
- run the first pass of the script prior doing the upgrade.
- create a temporary service to trigger the second pass of the script
---------/etc/systemd/system/fix-pciids.service----- [Unit] After=multi-user.target [Service] Type=oneshot ExecStart=<path to>pci-reorder-2pass.sh ExecStartPost=/usr/bin/systemctl disable fix-pciids.service ExecStartPost=/usr/bin/rm /etc/systemd/system/fix-pciids.service ExecStartPost=/usr/bin/systemctl reboot [Install] WantedBy=default.target ----------------------------------------------------------
- replace <path to> with the path where the pci-reorder2pass.sh script has been placed on the system
- enable the service with
- systemctl daemon-reload
- systemctl enable fix-pciids.service
- now do the upgrade
If it is not possible for now to make this changes, a kernel update has been released to switch back to old PCI Bus ID naming.
ATTENTION: The kernel parameter fix will not be carried over to SLE15, so if there is a plan to update some time from SLE12 to SLE15, already consider changing to the new PCI Bus ID naming for flawless update.
Cause
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7023699
- Creation Date: 04-Feb-2019
- Modified Date:08-Jul-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com