Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ppc64: still allow to move on if the emergency stacks info fails to i…
…nitialize Currently crash will fail and then exit, if the initialization of the emergency stacks information fails. In real customer environments, sometimes, a vmcore may be partially damaged, although such vmcores are rare. For example: # ./crash ../3.10.0-1127.18.2.el7.ppc64le/vmcore ../3.10.0-1127.18.2.el7.ppc64le/vmlinux -s crash: invalid kernel virtual address: 38 type: "paca->emergency_sp" # Lets try to keep loading vmcore if such issues happen, so call the readmem() with the RETURN_ON_ERROR instead of FAULT_ON_ERROR, which allows the crash move on. Reported-by: Dave Wysochanski <dwysocha@redhat.com> Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
- Loading branch information