crash utility fails on arm64 with cannot determine VA_BITS_ACTUAL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
crash (Ubuntu) |
Fix Released
|
Medium
|
Ioanna Alifieraki | ||
Bionic |
Fix Released
|
Medium
|
Ioanna Alifieraki | ||
Focal |
Fix Released
|
Medium
|
Ioanna Alifieraki | ||
Groovy |
Fix Released
|
Medium
|
Ioanna Alifieraki | ||
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Ioanna Alifieraki | ||
Groovy |
Fix Released
|
Medium
|
Ioanna Alifieraki |
Bug Description
[Impact]
On Ubuntu Bionic with the 5.4.0-1038-aws kernel the crash utility 7.2.8-1ubuntu0.
crash: cannot determine VA_BITS_ACTUAL
This bug has been addressed upstream and needed patches both in crash and kernel.
Kernel patch :
commit bbdbc11804ff0b4
Author: Bhupesh Sharma <email address hidden>
Date: Thu May 14 00:22:37 2020 +0530
arm64/
Crash patch :
commit 1c45cea02df7f94
Author: Bhupesh Sharma <email address hidden>
Date: Tue Jul 14 01:14:49 2020 +0530
arm64: Change tcr_el1_t1sz variable name to TCR_EL1_T1SZ
Series affected :
Kenrel :
This affects Focal (5.4 kernel) and Groovy (5.8 kernel).
Hirsute already contains the commit and kernels prior to 5.3 are not affected.
Crash :
The commit is already in Hirsute.
Groovy, Focal and Bionic are affected.
In case of Bionic the bug appears only if 5.4 hwe kernel is used.
[Test Case]
On an arm64 host which runs the affected releases and kernels after creating a crashdump try to open it with crash.
It will fail with :
crash: cannot determine VA_BITS_ACTUAL
[Where problems could occur]
Kernel patch :
The kernel patch reads the appropriate cpu register and exports TCR_EL1.T1SZ variable in vmcoreinfo. Given that this is a simple operation
and that this patch landed upstream in 5.9 and no regressions have been reported, it is safe to assume that the regression potential is minimal.
Any potential problem would occur in vmcoreinfo since this is where TCR_EL1.T1SZ variable is exported.
Crash patch :
This patch renames tcr_el1_t1sz variable to TCR_EL1_T1SZ to be compatible with the kernel change above for crash to be able to read it.
The regression potential is small and any problem would regard reading this variable.
[Other]
Workaround :
This bug/change in crash provides a workaround for 5.4+ https:/
While it appears as though it this was fixed it https:/
Related branches
- Thadeu Lima de Souza Cascardo: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 70 lines (+49/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/0003-arm64-Change-tcr_el1_t1sz-variable-name-to-TCR_EL1_T.patch (+41/-0)
debian/patches/series (+1/-0)
- Thadeu Lima de Souza Cascardo: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 70 lines (+49/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/0003-arm64-Change-tcr_el1_t1sz-variable-name-to-TCR_EL1_T.patch (+41/-0)
debian/patches/series (+1/-0)
- Thadeu Lima de Souza Cascardo: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 70 lines (+49/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/0003-arm64-Change-tcr_el1_t1sz-variable-name-to-TCR_EL1_T.patch (+41/-0)
debian/patches/series (+1/-0)
Changed in crash (Ubuntu): | |
assignee: | nobody → Ioanna Alifieraki (joalif) |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
no longer affects: | crash-installer |
Changed in linux (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in crash (Ubuntu Bionic): | |
status: | New → Confirmed |
description: | updated |
Changed in crash (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Groovy): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu Focal): | |
status: | Confirmed → Fix Committed |
Changed in crash (Ubuntu Groovy): | |
status: | Confirmed → Fix Committed |
status: | Fix Committed → Confirmed |
tags: |
added: verification-done-focal removed: verification-needed-focal |
Changed in crash (Ubuntu Bionic): | |
assignee: | nobody → Ioanna Alifieraki (joalif) |
Changed in crash (Ubuntu Focal): | |
assignee: | nobody → Ioanna Alifieraki (joalif) |
Changed in crash (Ubuntu Groovy): | |
assignee: | nobody → Ioanna Alifieraki (joalif) |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Ioanna Alifieraki (joalif) |
assignee: | Ioanna Alifieraki (joalif) → nobody |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → Ioanna Alifieraki (joalif) |
Changed in linux (Ubuntu Groovy): | |
assignee: | nobody → Ioanna Alifieraki (joalif) |
tags: |
added: verification-done verification-done-groovy removed: verification-needed verification-needed-groovy |
Changed in crash (Ubuntu): | |
status: | New → Fix Released |
Changed in linux (Ubuntu): | |
status: | Incomplete → Fix Released |
Focal kernel : /lists. ubuntu. com/archives/ kernel- team/2021- April/119287. html
Patch submitted https:/
Groovy kernel : /lists. ubuntu. com/archives/ kernel- team/2021- April/119288. html
Patch submitted https:/