Skip to content
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

8.0.5 on v6.11-6.12: crash: seek error: kernel virtual address: ffffffff825e15a8 type: "page_offset_base" #194

Open
vt-alt opened this issue Oct 26, 2024 · 0 comments

Comments

@vt-alt
Copy link

vt-alt commented Oct 26, 2024

Current release of crash 8.0.5 does not even run with Linux v6.11 and v6.12-rc4. (Didn't test 6.10).

6.12.0-6.12-alt0.rc4.1:~# crash -d 9
...
readmem: read_dev_mem() -> /dev/mem
crash: pv_ops exists: ARCH_PVOPS
VMCOREINFO: NUMBER(phys_base): 1476395008 -> 58000000
gdb /usr/lib/debug/lib/modules/6.12.0-6.12-alt0.rc4.1/vmlinux
GNU gdb (GDB) 10.2
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
GETBUF(344 -> 0)
  GETBUF(1500 -> 1)

  FREEBUF(1)
FREEBUF(0)
<readmem: ffffffff825e15a8, KVADDR, "page_offset_base", 8, (FOE|Q), 560639ff3468>
<read_dev_mem: addr: ffffffff825e15a8 paddr: 5a5e15a8 cnt: 8>
/dev/mem: Operation not permitted
crash: read(/dev/mem, 5a5e15a8, 8): 4294967295 (ffffffff)
crash: read error: kernel virtual address: ffffffff825e15a8  type: "page_offset_base"
<readmem: ff000, PHYSADDR, "devmem_is_allowed - pfn 255", 8, (ROE|Q|NDS), 7fffc20edee8>
<read_dev_mem: addr: ff000 paddr: ff000 cnt: 8>
<readmem: 101000, PHYSADDR, "devmem_is_allowed - pfn 257", 8, (ROE|Q|NDS), 7fffc20edee8>
<read_dev_mem: addr: 101000 paddr: 101000 cnt: 8>
/dev/mem: Operation not permitted
crash: read(/dev/mem, 101000, 8): 4294967295 (ffffffff)
crash: read error: physical address: 101000  type: "devmem_is_allowed - pfn 257"
<readmem: ffffffff82c079c0, KVADDR, "devmem_is_allowed - jiffies", 8, (ROE|Q|NDS), 7fffc20edee8>
<read_dev_mem: addr: ffffffff82c079c0 paddr: 5ac079c0 cnt: 8>
/dev/mem: Operation not permitted
crash: read(/dev/mem, 5ac079c0, 8): 4294967295 (ffffffff)
crash: read error: kernel virtual address: ffffffff82c079c0  type: "devmem_is_allowed - jiffies"
crash: this kernel may be configured with CONFIG_STRICT_DEVMEM, which
       renders /dev/mem unusable as a live memory source.
crash: trying /proc/kcore as an alternative to /dev/mem

<readmem: ffffffff825e15a8, KVADDR, "page_offset_base", 8, (FOE), 560639ff3468>
<read_proc_kcore: addr: ffffffff825e15a8 paddr: 5a5e15a8 cnt: 8>
crash: seek error: kernel virtual address: ffffffff825e15a8  type: "page_offset_base"
6.12.0-6.12-alt0.rc4.1:~# 

While master branch works well. My (wild) guess is that commit 3879e91 (from 2024-05-20) fixed this.

Can you please release more frequently when such major breakage with new Linux releases occur?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant