Kazuhito Hagio

Results 61 comments of Kazuhito Hagio

That is an intended fallthrough.

Cross-compilation is not supported. I'm not sure whether that error is due to it though. There were some efforts to support it, but not merged. https://listman.redhat.com/archives/crash-utility/2020-November/msg00016.html

``` crash -d8 /usr/lib/debug/lib/modules/3.10.0-1160.62.1.el7.x86_64/vmlinux ... ... release: 3.10.0-862.el7.x86_64 ``` That's a wrong vmlinux (kernel-debuginfo). Please use the corresponding one to the running kernel.

FYI, a patch to support cross-compilation was posted [1]. Can you try it? [1] https://www.redhat.com/archives/crash-utility/2020-November/msg00016.html

> Would like to know if the crash utility can be used to understand and debug kernel crashes and panics. I am facing one issue with armv GNU Linux and...

> crash does not use /proc/kcore default when CONFIG_STRICT_DEVMEM is set, just when read /dev/mem failed, then switch to use /proc/kcore, is it by design? Yes, it seems so. Do...

I cannot reproduce this with Fedora 34's gcc 11.1.1. ``` [root@fedora34 crash]# rpm -q gcc gcc-11.1.1-3.fc34.x86_64 [root@fedora34 crash]# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured...

It's defined in `/usr/include/limits.h` on my Fedora machine: ``` $ grep -r LONG_MIN /usr/include ... /usr/include/limits.h:# define LONG_MIN (-LONG_MAX - 1L) ``` It is not available on your machine? ```...

> Another way to try to fix this problem is to update to the latest GDB that hopefully works better with GCC11. We updated the internal gdb to 10.2 in...

If you are using an Ubuntu's crash, please consult Ubuntu support about it first. If you are using an upstream crash, please try the latest crash, crash-7.2.8 is too old...