Re: [PATCH 2/2] Limit the size of vmcore-dmesg.txt to 2G

2019-08-22 Thread lijiang
在 2019年08月22日 16:52, Simon Horman 写道: > On Thu, Aug 15, 2019 at 11:37:56AM +0800, Lianbo Jiang wrote: >> With some corrupted vmcore files, the vmcore-dmesg.txt file may grow >> forever till the kdump disk becomes full, and also probably causes >> the disk error messages as follow: >> ... >> sd

Re: [PATCH 1/2] cleanup: move it back from util_lib/elf_info.c

2019-08-22 Thread lijiang
在 2019年08月22日 16:51, Simon Horman 写道: > Hi Lianbo, > > I like where this patch is going but I would like to request a few changes. > Please see comments inline. > Thanks for your comment, Simon. > On Thu, Aug 15, 2019 at 11:37:55AM +0800, Lianbo Jiang wrote: >> Some code related to

Re: [PATCH] x86/kdump: Reserve extra memory when SME or SEV is active

2019-08-22 Thread Kairui Song
On Thu, Aug 22, 2019 at 10:35 PM Lendacky, Thomas wrote: > > On 8/21/19 9:53 PM, Kairui Song wrote: > > Since commit c7753208a94c ("x86, swiotlb: Add memory encryption support"), > > SWIOTLB will be enabled even if there is less than 4G of memory when SME > > is active, to support DMA of devices

Re: [PATCH] x86/kdump: Reserve extra memory when SME or SEV is active

2019-08-22 Thread Lendacky, Thomas
On 8/21/19 9:53 PM, Kairui Song wrote: > Since commit c7753208a94c ("x86, swiotlb: Add memory encryption support"), > SWIOTLB will be enabled even if there is less than 4G of memory when SME > is active, to support DMA of devices that not support address with the > encrypt bit. > > And commit

Re: Brocken/incomplete `/proc/vmcore`

2019-08-22 Thread Donald Buczek
Dear Paul, On 8/15/19 1:36 PM, Paul Menzel wrote: Dear Linux folks, Using Linux 4.19.57 (configuration attached), crashing the system, and starting it using the same Linux kernel as crash kernel, the available `/proc/vmcore` seems to be incomplete. Running GDB commands, working with

Re: [PATCH 2/2] Limit the size of vmcore-dmesg.txt to 2G

2019-08-22 Thread Simon Horman
On Thu, Aug 15, 2019 at 11:37:56AM +0800, Lianbo Jiang wrote: > With some corrupted vmcore files, the vmcore-dmesg.txt file may grow > forever till the kdump disk becomes full, and also probably causes > the disk error messages as follow: > ... > sd 0:0:0:0: [sda] tag#6 FAILED Result:

Re: [PATCH 1/2] cleanup: move it back from util_lib/elf_info.c

2019-08-22 Thread Simon Horman
Hi Lianbo, I like where this patch is going but I would like to request a few changes. Please see comments inline. On Thu, Aug 15, 2019 at 11:37:55AM +0800, Lianbo Jiang wrote: > Some code related to vmcore-dmesg.c is put into the util_lib, which > is not very reasonable, so lets move it back