Re: [PATCH 0/3 v11] add reserved e820 ranges to the kdump kernel e820 table

2019-06-12 Thread dyo...@redhat.com
On 06/12/19 at 08:07pm, Borislav Petkov wrote: > On Wed, Jun 12, 2019 at 04:52:22PM +, Lendacky, Thomas wrote: > > I think the discussion ended up being that debuginfo wasn't being stripped > > from the kernel and initrd (mainly the initrd). What are the sizes of > > the kernel and initrd that

Re: [PATCH V8 3/3] Call ima_kexec_cmdline to measure the cmdline args

2019-06-12 Thread Mimi Zohar
[Cc: kexec mailing list] Hi Eric, Dave, On Wed, 2019-06-12 at 15:15 -0700, Prakhar Srivastava wrote: > During soft reboot(kexec_file_load) boot cmdline args > are not measured.Thus the new kernel on load boots with > an assumption of cold reboot. > > This patch makes a call to the ima hook ima_k

Re: [PATCH 0/3 v11] add reserved e820 ranges to the kdump kernel e820 table

2019-06-12 Thread Lendacky, Thomas
On 6/12/19 1:07 PM, Borislav Petkov wrote: > On Wed, Jun 12, 2019 at 04:52:22PM +, Lendacky, Thomas wrote: >> I think the discussion ended up being that debuginfo wasn't being stripped >> from the kernel and initrd (mainly the initrd). What are the sizes of >> the kernel and initrd that you ar

Re: [PATCH 0/3 v11] add reserved e820 ranges to the kdump kernel e820 table

2019-06-12 Thread Borislav Petkov
On Wed, Jun 12, 2019 at 04:52:22PM +, Lendacky, Thomas wrote: > I think the discussion ended up being that debuginfo wasn't being stripped > from the kernel and initrd (mainly the initrd). What are the sizes of > the kernel and initrd that you are loading for kdump via kexec? > > From previou

[PATCH v4 13/28] docs: kdump: convert docs to ReST and rename to *.rst

2019-06-12 Thread Mauro Carvalho Chehab
Convert kdump documentation to ReST and add it to the user faced manual, as the documents are mainly focused on sysadmins that would be enabling kdump. Note: the vmcoreinfo.rst has one very long title on one of its sub-sections: PG_lru|PG_private|PG_swapcache|PG_swapbacked|PG_slab|PG_hwp

Re: [PATCH 0/3 v11] add reserved e820 ranges to the kdump kernel e820 table

2019-06-12 Thread Lendacky, Thomas
On 6/12/19 10:10 AM, Borislav Petkov wrote: > On Wed, Jun 12, 2019 at 09:55:49AM +0800, Baoquan He wrote: >> With further investigation, the failure after applying Tom's patch is >> caused by OOM. When increase crashkernel reservation to 512M, kdump >> kernel can boot successfully. I noticed your c

Re: [PATCH 0/3 v11] add reserved e820 ranges to the kdump kernel e820 table

2019-06-12 Thread Borislav Petkov
On Wed, Jun 12, 2019 at 09:55:49AM +0800, Baoquan He wrote: > With further investigation, the failure after applying Tom's patch is > caused by OOM. When increase crashkernel reservation to 512M, kdump > kernel can boot successfully. I noticed your crashkernel reservation is > 256M, that will fail

Re: [PATCH 1/4] x86: kdump: move reserve_crashkernel_low() into kexec_core.c

2019-06-12 Thread Dave Young
Hi, On 05/07/19 at 11:50am, Chen Zhou wrote: > In preparation for supporting reserving crashkernel above 4G > in arm64 as x86_64 does, move reserve_crashkernel_low() into > kexec/kexec_core.c. Other than the comments from James, can you move the function into kernel/crash_core.c, we already have s