Commit 965354a
committed
Merge: Description: Updates for Grub RMA size
MR: https://gitlab.com/redhat/rhel/src/kernel/rhel-10/-/merge_requests/11
JIRA: https://issues.redhat.com/browse/RHEL-70827
Build Info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=66721363
Tested: Verified Brew build test kernel RPMs
This issue occurred due to lack of available memory in RMA region (Earlier size 512 MB, New size after the fix : 768 MB) for Grub2.
The below observations and testings are done with just the kernel fixes (No Grub2 fixes are included).
________
Without the fix:
The following errors are observed in Grub2 followed by kernel panic:
*****
error: ../../grub-core/kern/mm.c:552:out of memory.
.
.
[ 0.777633] List of all partitions:
[ 0.777639] No filesystem could mount root, tried:
[ 0.777649] Kernel panic - not syncing: VFS: Unable to mount root fs on "" or unknown-block(0,0)
--And the memory looks like this below:
memory layout at init:
memory_limit : 0000000000000000 (16 MB aligned)
alloc_bottom : 00000000108b0000
alloc_top : 0000000020000000
alloc_top_hi : 0000000020000000
rmo_top : 0000000020000000 <<<<< RMA
ram_top : 0000000020000000
*****
_________
After the fix :
None of the earlier errors were observed while booting. The RMA size has increased to 768 MB and the same can be seen while booting.
*****
memory layout at init:
memory_limit : 0000000000000000 (16 MB aligned)
alloc_bottom : 0000000010e20000
alloc_top : 0000000030000000
alloc_top_hi : 0000000040000000
rmo_top : 0000000030000000 <<<<<RMA
ram_top : 0000000040000000
*****
________
FADump impact:
This increase in RMA size to 768 MB has impacted the FADump. We have fixed this impact in FADump and the patch series has been tested with the following four scenarios, and both the production kernel and FADump kernel boot successfully:
1. Production Kernel: RADIX MMU
FADump Kernel: RADIX MMU
- MIN_RMA: 768 MB
- RMA: 1 GB
- a. crashkernel: 4 GB
- b. crashkernel: 1 GB
2. Production Kernel: HASH MMU
FADump Kernel: HASH MMU
- MIN_RMA: 768 MB
- RMA: 1 GB
- a. crashkernel: 768 MB
- b. crashkernel: 1 GB
________
Signed-off-by: Mamatha Inamdar <minamdar@redhat.com>
Approved-by: Tony Camuso <tcamuso@redhat.com>
Approved-by: Eder Zulian <ezulian@redhat.com>
Approved-by: Steve Best <sbest@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>
Merged-by: Jan Stancek <jstancek@redhat.com>File tree
5 files changed
+38
-12
lines changed- Documentation
- ABI/testing
- arch/powerpc
- arch/powerpc
- include/asm
- kernel
5 files changed
+38
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
123 | 145 | | |
124 | 146 | | |
125 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
1763 | 1764 | | |
1764 | 1765 | | |
1765 | 1766 | | |
1766 | | - | |
1767 | | - | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
1768 | 1774 | | |
1769 | | - | |
| 1775 | + | |
1770 | 1776 | | |
1771 | 1777 | | |
1772 | | - | |
1773 | | - | |
1774 | | - | |
1775 | | - | |
1776 | | - | |
1777 | | - | |
1778 | | - | |
| 1778 | + | |
| 1779 | + | |
1779 | 1780 | | |
1780 | 1781 | | |
1781 | 1782 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
1064 | | - | |
| 1064 | + | |
1065 | 1065 | | |
1066 | 1066 | | |
1067 | 1067 | | |
| |||
0 commit comments