You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[LEP-4267] fix(xid): detect fallen-off-bus logs as XID 79 (#1209)
Some new GPU drivers now emitting in multi-line
```
$ journalctl -k | grep -C 20 fallen
Feb 14 05:03:41 000-000-00000-1-gpu-1 systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
Feb 14 05:03:41 000-000-00000-1-gpu-1 kernel: mlx5_core 0000:ab:00.0 mlx5_5: Port: 1 Link INIT
Feb 14 05:03:41 000-000-00000-1-gpu-1 kernel: workqueue: ib_cache_event_task [ib_core] hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND
Feb 14 05:03:41 000-000-00000-1-gpu-1 systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
Feb 14 05:03:41 000-000-00000-1-gpu-1 systemd[1]: systemd-tpm2-setup-early.service - TPM2 SRK Setup (Early) was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
Feb 14 05:03:41 000-000-00000-1-gpu-1 systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
Feb 14 05:03:41 000-000-00000-1-gpu-1 systemd[1]: Started systemd-journald.service - Journal Service.
Feb 14 05:03:41 000-000-00000-1-gpu-1 kernel: EXT4-fs (md127p3): re-mounted 0f3cd65a-338b-4574-bba3-ecef214e1917 r/w. Quota mode: none.
Feb 14 05:03:41 000-000-00000-1-gpu-1 kernel: mlx5_core 0000:ab:00.0 mlx5_5: Port: 1 Link ACTIVE
Feb 14 05:03:42 000-000-00000-1-gpu-1 kernel: bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Feb 14 05:03:42 000-000-00000-1-gpu-1 kernel: Bridge firewalling registered
Feb 14 05:03:42 000-000-00000-1-gpu-1 kernel: knem 1.1.4.90mlnx3: initialized
Feb 14 05:03:42 000-000-00000-1-gpu-1 systemd-journald[2382]: Received client request to flush runtime journal.
Feb 14 05:03:42 000-000-00000-1-gpu-1 systemd-journald[2382]: /var/log/journal/c0f88c9a436e4570b7183c73a833c48c/system.journal: Journal file uses a different sequence number ID, rotating.
Feb 14 05:03:42 000-000-00000-1-gpu-1 systemd-journald[2382]: Rotating system journal.
Feb 14 05:03:42 000-000-00000-1-gpu-1 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 236
Feb 14 05:03:42 000-000-00000-1-gpu-1 kernel:
Feb 14 05:03:42 000-000-00000-1-gpu-1 kernel: nvidia 0000:18:00.0: enabling device (0140 -> 0142)
Feb 14 05:03:42 000-000-00000-1-gpu-1 kernel: NVRM: The NVIDIA GPU 0000:18:00.0
NVRM: (PCI ID: 10de:2901) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
Feb 14 05:03:42 000-000-00000-1-gpu-1 kernel: nvidia: probe of 0000:18:00.0 failed with error -1
Feb 14 05:03:42 000-000-00000-1-gpu-1 kernel: nvidia 0000:29:00.0: enabling device (0140 -> 0142)
Feb 14 05:03:42 000-000-00000-1-gpu-1 kernel: nvidia 0000:3a:00.0: enabling device (0140 -> 0142)
Feb 14 05:03:42 000-000-00000-1-gpu-1 kernel: nvidia 0000:4b:00.0: enabling device (0140 -> 0142)
```
---------
Signed-off-by: Gyuho Lee <gyuhol@nvidia.com>
// Fallback signatures for "GPU has fallen off the bus" logs that do not include
31
+
// explicit "NVRM: Xid (...)" text.
32
+
//
33
+
// Multiline example:
34
+
// NVRM: The NVIDIA GPU 0000:18:00.0
35
+
// NVRM: ... fallen off the bus and is not responding to commands.
36
+
RegexNVRMFallenOffBusMultiline=`(?s)NVRM:\s+The NVIDIA GPU ((?:[0-9a-fA-F]{4}:)?[0-9a-fA-F]{2}:[0-9a-fA-F]{2})\.0.*?fallen off the bus and is not responding to commands\.`
37
+
38
+
// Single-line example:
39
+
// NVRM: GPU 0000:18:00.0: GPU has fallen off the bus.
40
+
RegexNVRMFallenOffBusSingleLine=`NVRM:\s+GPU ((?:[0-9a-fA-F]{4}:)?[0-9a-fA-F]{2}:[0-9a-fA-F]{2})\.0:\s+GPU has fallen off the bus\.?`
0 commit comments