Thanks Bhupesh -- the fix is queued for crash-7.2.2:
https://github.com/crash-utility/crash/commit/a002f07040972a3d4b0743811e643bfba7b8cc99
Dave
- Original Message -
> Hi Dave,
>
> On Wed, Feb 28, 2018 at 9:09 PM, Dave Anderson wrote:
> >
> > Hi Bhupesh,
> >
Hi Dave,
On Wed, Feb 28, 2018 at 9:09 PM, Dave Anderson wrote:
>
> Hi Bhupesh,
>
> Try this patch:
>
> $ diff --git a/filesys.c b/filesys.c
> index 1b44ad5..74728f1
> --- a/filesys.c
> +++ b/filesys.c
> @@ -625,7 +625,7 @@ find_booted_kernel(void)
>
>
Hi Dave,
On Wed, Feb 28, 2018 at 8:48 PM, Dave Anderson wrote:
> Hi Bhupesh,
>
> Thanks -- mystery solved!
>
> I kind of hate to simply use the file name string as the qualifier, though.
> Looking at the ELF headers of the vmlinux.o and vmlinux file, there are
> several
Hi Bhupesh,
Try this patch:
$ diff --git a/filesys.c b/filesys.c
index 1b44ad5..74728f1
--- a/filesys.c
+++ b/filesys.c
@@ -625,7 +625,7 @@ find_booted_kernel(void)
if (mount_point(kernel) ||
!file_readable(kernel) ||
-
Hi Bhupesh,
Thanks -- mystery solved!
I kind of hate to simply use the file name string as the qualifier, though.
Looking at the ELF headers of the vmlinux.o and vmlinux file, there are
several notable differences:
$ readelf -a vmlinux
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00
I found this particular issue while compiling and installing
a kernel from source on a RHEL arm64 machine. I used the following
commands to build and install the kernel from source:
# make olddefconfig
# make
# make modules_install INSTALL_MOD_STRIP=1 && make install
This compiles and