#
3b3525f1 |
| 23-Oct-2024 |
Nhi Pham <nhi@os.amperecomputing.com> |
meta-ampere: ampere-usbnet: Ignore link carrier state
The virtual LAN over USB (usb0) connection between BMC and HOST is locally utilized by the Redfish Host Interface. It is configured with a stati
meta-ampere: ampere-usbnet: Ignore link carrier state
The virtual LAN over USB (usb0) connection between BMC and HOST is locally utilized by the Redfish Host Interface. It is configured with a static IPv4 address '192.168.0.10' by the network configuration file [1] '00-bmc-usb0.network'.
Returning to the Ampere Altra Mt. Jade platform, an AC power cycle caused the usb0 IP address to be lost [2]. The `ipmi lan print 3` command gives a zero IP address on which HOST has not yet initiated the PCIe USB device, which was caused by the usb0 link not being ready. The solution was determined and well-tested. However, the same issue with the upstream driver in edk2 is still present today. Therefore, a clean solution ought to be used to fix it.
This patch sets ConfigureWithoutCarrier to 'yes' to allows usb0 interface to retain the static IP address even if the physical carrier link is down. This helps HOST UEFI firmware to retrieve the IP address information using the `IPMI lan print 3` command to populate the SMBIOS Type 42 for the subsequent redfish discovery even when the usb0 link is not yet established.
Tested with the following steps: 1. Check the usb0 IP address by the command `ip a`. The IP 192.168.0.10 should be shown in the command output. 2. Check the `ipmi lan print 3`. Since the IP address is available, the IP address shown in the command output should be idential with the one in step 1. 3. `networkctl down usb0` - Set the usb0 link down. 4. Run again step 1 & 2. The usb0 IP address should be retained. Without this patch, it returns all zeros.
[1] https://www.freedesktop.org/software/systemd/man/latest/systemd.network.html [2] https://den-bugzilla.amperecomputing.com/show_bug.cgi?id=92830
Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com> Change-Id: I1b1375082ea70510c1ea708947d7f796f6ba7624
show more ...
|
Revision tags: 2.17.0-dev, 2.16.0-dev, 2.14.0, 2.14.0-rc1, 2.15.0-dev |
|
#
a512e6ec |
| 21-Apr-2023 |
Thang Q. Nguyen <thang@os.amperecomputing.com> |
meta-ampere: usbnet: explicit configure usb0 as static IP
usb0 is a virtual USB Ethernet which is configured to static IP 192.168.0.10 in /etc/systemd/network/00-bmc-usb0.network without DHCP parame
meta-ampere: usbnet: explicit configure usb0 as static IP
usb0 is a virtual USB Ethernet which is configured to static IP 192.168.0.10 in /etc/systemd/network/00-bmc-usb0.network without DHCP parameter with expecting that DHCP=no. However, IPMI and Redfish report IP source as DHCP, not static. This commit explicitly specifies in network configuration as DHCP=no so that IPMI and Redfish report correctly.
Tested: 1. Check address source for usb0 via IPMI # ipmitool lan print 3 | grep "IP Address Source" IP Address Source : Static Address 2. Check address source for usb0 via Redfish
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: Id14bfc289da6d36552bd37448ec1e4c30ff32a0a
show more ...
|
Revision tags: 2.13.0, 2.14.0-dev, 2.12.0, 2.12.0-rc1 |
|
#
6998e511 |
| 16-May-2022 |
Thang Q. Nguyen <thang@os.amperecomputing.com> |
meta-ampere: refine code structure
Restructure Ampere recipes to better reuse existing resource for multiple platforms later.
Tested: 1. Compile without error. 2. Run regression test for related fe
meta-ampere: refine code structure
Restructure Ampere recipes to better reuse existing resource for multiple platforms later.
Tested: 1. Compile without error. 2. Run regression test for related features without error.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I5d034d21273b99be651f20dc2eb5549c1092f079
show more ...
|