commit | de082281d6087318aa3eb325c4c7824ce2a69769 | [log] [tgz] |
---|---|---|
author | Yuxiao Zhang <yuxiaozhang@google.com> | Thu Oct 10 14:23:48 2024 -0700 |
committer | Yuxiao Zhang <yuxiaozhang@google.com> | Fri Oct 11 18:22:38 2024 +0000 |
tree | 6e0723d298e2a0dd63028fddcb5883ba93c558e7 | |
parent | 031f21290def357bb1b3885f4622f733a3792399 [diff] |
kdump: redirect stderr to the pstore message This will output any error messages from makedumpfile to the pstore so that we can view it after reboot. Also this fixes the aspeed platforms kdump page missing. Somehow makedumpfile could dump stderr output into the core. The reason is still unclear but might be due to stdout/err pts is not created properly yet in the init script env. Tested: on a aspeed bmc, kcore is generated and crash can parse it with no issue. Fusion-link: https://fusion2.corp.google.com/f02af0d3-5214-3bfd-957e-a1cbe5bd3ef9 https://fusion2.corp.google.com/c8998f37-72e7-3965-88f8-b6b6caa528d0 Google-Bug-Id: 370096566 Change-Id: I31c0a65baee45838414d3b040d7eb13f4bbbe536 Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>