From 2054c3c53f8bc83733c8ef81c2cc57f4e6b27f5a Mon Sep 17 00:00:00 2001 From: Oleksandr Kuchmystyi Date: Thu, 9 Jul 2026 11:16:09 +0300 Subject: kdump: T8868: Implement kernel crash dump support Add new CLI subtree 'system option kdump' with memory reservation and local dump path configuration. Also add 'show system kdump' and 'show system kdump dumps' operation mode commands to get status of the configuration and list of dumps. Extend 'show tech-support report' and 'generate tech-support archive' with kdump service status, active config files and the recently kernel dump file. --- smoketest/scripts/system/test_kernel_options.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'smoketest/scripts/system/test_kernel_options.py') diff --git a/smoketest/scripts/system/test_kernel_options.py b/smoketest/scripts/system/test_kernel_options.py index c39d5a26b..9cecf561f 100755 --- a/smoketest/scripts/system/test_kernel_options.py +++ b/smoketest/scripts/system/test_kernel_options.py @@ -168,6 +168,18 @@ class TestKernelModules(unittest.TestCase): tmp = re.findall(f'{option}=y', self._config_data) self.assertTrue(tmp) + def test_kdump(self): + options = [ + 'CONFIG_KEXEC', + 'CONFIG_CRASH_DUMP', + 'CONFIG_DEBUG_INFO', + 'CONFIG_PROC_VMCORE', + ] + for option in options: + with self.subTest(option=option): + tmp = re.findall(f'{option}=y', self._config_data) + self.assertTrue(tmp, msg='Required kdump option must be enabled') + def test_openvpn_dco(self): options_to_check = ['CONFIG_OVPN'] for option in options_to_check: -- cgit v1.2.3