-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to start 7.2.5 crash with SLES15 coredump #28
Comments
----- Original Message -----
I've got
crash-7.2.5: page excluded: kernel virtual address: ffff880825d47000 type:
"memory section"
7.2.1 crash works fine with the same coredump/vmlinux. Both versions were
builded with the same gcc/gdb.
build_target: X86_64
build_version: 7.2.5
compiler version: gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
SLES kernel is 4.12.14-25.22 x86_64 SMP
I've checked 7.2.2 and it doesn't work also with the same error msg.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#28
Looks like it might associated with these to 7.2.2 patches:
- As the first step in optimizing the is_page_ptr() function, save
the maximum SPARSEMEM section number during initialization, and
use it as the topmost delimeter in subsequent mem_section searches.
Also allow for per-architecture machdep->is_page_ptr() plugin functions.
([email protected])
- Implemented the x86_64 machdep->is_page_ptr() plugin function. If
the kernel is configured with CONFIG_SPARSEMEM_VMEMMAP, the plugin
function optimizes the mem_section search, reducing the computation
effort and time consumed by commands that repeatedly call the
is_page_ptr() function on large-memory systems.
([email protected])
You could try commenting out line 161 in x86_64.c:
157 switch (when)
158 {
159 case SETUP_ENV:
160 machdep->process_elf_notes = x86_process_elf_notes;
161 machdep->is_page_ptr = x86_64_is_page_ptr;
162 break;
163 case PRE_SYMTAB:
Dave
|
I've tried, the same error. |
I can confirm the same issue. The regression appeared with commit d586679. Removing the line "machdep->is_page_ptr = x86_64_is_page_ptr;" after having checked out commit 4141373 does not help, crash fails with the same "memory section" error message. The last "memory section" references with the modified build are as follows: Breakpoint 1, read_mem_section (addr=18446683600716103656) at memory.c:17005 Breakpoint 1, read_mem_section (addr=18446683600716103672) at memory.c:17005 |
----- Original Message -----
I can confirm the same issue. The regression appeared with commit
d586679. Removing the line "machdep->is_page_ptr =
x86_64_is_page_ptr;" after having checked out commit 4141373 does not
help, crash fails with the same "memory section" error message.
It's almost impossible for me to debug this, so I'm just guessing at this point.
Does the crash-7.2.5 run live on that particular kernel version on that system?
Another thing you could check is whether the correct machdep->max_physmem_bits
is being set in x86_64.c (line 664). Check whether it matches up with your
kernel's MAX_PHYSMEM_BITS setting. If not, there's a --machdep option to override
the default setting.
BTW, did you check with Petr Tesarik? He does the SUSE-specific maintenance
of the crash utility. ([email protected])
|
I've got
crash-7.2.5: page excluded: kernel virtual address: ffff880825d47000 type: "memory section"
7.2.1 crash works fine with the same coredump/vmlinux. Both versions were builded with the same gcc/gdb.
build_target: X86_64
build_version: 7.2.5
compiler version: gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
SLES kernel is 4.12.14-25.22 x86_64 SMP
I've checked 7.2.2 and it doesn't work also with the same error msg.
The text was updated successfully, but these errors were encountered: