Public bug reported:
[ Impact ]
A Dell PowerEdge T440 with a Broadcom BCM5720 Ethernet controller using
the tg3 driver can hang during a normal reboot. The upstream reporter
observed the hang on every reboot of their production server. During the
firmware’s ACPI _PTS preparation for S5, iDRAC reported a fatal PCIe
error. The server required manual intervention to restart. On affected
systems, this prevents unattended recovery after routine maintenance and
kernel security updates.
Commit 2ca1c94ce0b6 made tg3 power down the NIC during restart to
prevent this PCIe error. That exposed a different reboot hang on the
PowerEdge R650xs when UEFI Simple Network Protocol (SNP) had initialized
the BCM5720. Commit 9fc3bc764334 addressed the R650xs hang by making all
tg3 devices skip power-down during restart. Commit e0efe83ed325 then
added a DMI model table so the driver could suppress PCIe Advanced Error
Reporting (AER) on systems known to encounter the error when the NIC
stayed powered. The T440 exhibited the error but had no entry in that
table.
Please backport upstream commit d7314b51341c037973ce022f12c6009fd07b021e
to affected Ubuntu kernels. It restores NIC power-down on restart by
default and limits the bypass to Dell systems whose DMI product name
contains PowerEdge R650 or PowerEdge R750. This includes the R650xs. On
matching systems, the driver skips power-down on restart and suppresses
PCIe error reporting when the device state permits it. The change lets
the T440 reboot without requiring a separate table entry for each model
that needs normal NIC power-down.
[ Test Plan ]
Verification requires physical hardware because the failure occurs during a
firmware operation late in reboot. Use an iDRAC or serial console to observe
the restart and capture errors after the operating system stops logging.
1. On a PowerEdge T440 with a BCM5720, boot the Ubuntu kernel being tested as
the baseline. Record the Ubuntu release, kernel flavour and package version,
uname -r, BIOS version, and NIC firmware version. Use lspci -nnk to record the
BCM5720 PCI address and confirm that tg3 is the driver in use.
2. Run sudo systemctl reboot. Record whether the server reaches the next boot
without intervention. If it hangs, capture the console output and the new iDRAC
event for the BCM5720. The upstream failure was a fatal PCIe error followed by
a stalled reboot.
3. Boot the proposed kernel on the same T440 and confirm its version with uname
-r. Keep the firmware settings and boot method the same. Issue sudo systemctl
reboot while the proposed kernel is running, since the outgoing kernel executes
tg3_shutdown(). Repeat for three warm reboots. Each reboot should reach the
login prompt without intervention or a new fatal PCIe event for the BCM5720.
Confirm that the interface passes traffic afterward.
4. On a PowerEdge R650xs, use a UEFI network-boot configuration that
initializes the BCM5720 under test through SNP. Test the baseline and proposed
kernels with that boot method. Both should complete a warm reboot without a
non-maskable interrupt (NMI) or hang.
5. Where hardware is available, test a model covered by the former AER table,
such as the PowerEdge R640. Both kernels should reboot without a new fatal PCIe
event. Also verify that the T440 and R650xs can complete a full power-off and
subsequent boot with the proposed kernel.
[ Where problems could occur ]
- A server that requires the SNP workaround could report a vendor or product
name outside the new DMI matches. The driver would then power down the NIC
during restart, potentially reintroducing the original NMI or reboot hang after
an SNP-based boot.
- Systems such as the R640 previously relied on explicit AER suppression during
restart. They now rely on NIC power-down to prevent the error. If power-down is
insufficient with a particular BIOS or NIC firmware revision, a previously
working server could again report a fatal PCIe error or hang on reboot.
[ Other Info ]
The upstream author tested the fix on a PowerEdge T440 with a BCM5720.
The fix is present in upstream stable kernels 6.18.64 and 7.3.4. The
affected Ubuntu release, kernel flavour, package version, and before-
and-after reboot results have yet to be established. Launchpad bug
#1917471 documents the earlier BCM5720 reboot regression involving ACPI
S5 preparation.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175553
Title:
tg3: Dell PowerEdge T440 with Broadcom BCM5720 hangs on reboot with
fatal PCIe AER
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2175553/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs