Thread (62 messages) 62 messages, 5 authors, 2021-11-07

Re: 5.14.9 aarch64 OOPS Workqueue: btrfs-delalloc btrfs_work_helper

From: Chris Murphy <hidden>
Date: 2021-10-13 12:43:37

On Wed, Oct 13, 2021 at 8:29 AM Nikolay Borisov [off-list ref] wrote:


On 13.10.21 г. 15:27, Chris Murphy wrote:
quoted
On Wed, Oct 13, 2021 at 8:18 AM Qu Wenruo [off-list ref] wrote:
quoted
Sorry, it only needs the last the stack (submit_compressed_extents+0x38)

The full command would looks like this:

$ ./scripts/faddr2line fs/btrfs/btrfs.ko submit_compressed_extents+0x38
btrfs is built-in on Fedora kernels, so there's no btrfs.ko, when I do:

$ /usr/src/kernels/5.14.9-300.fc35.x86_64/scripts/faddr2line
/boot/vmlinuz-5.14.9-300.fc35.x86_64 submit_compressed_extents+0x38
readelf: /boot/vmlinuz-5.14.9-300.fc35.x86_64: Error: Not an ELF file
- it has the wrong magic bytes at the start
nm: /boot/vmlinuz-5.14.9-300.fc35.x86_64: no symbols
nm: /boot/vmlinuz-5.14.9-300.fc35.x86_64: no symbols
no match for submit_compressed_extents+0x38

quoted
The modules needs to have debug info though.
CONFIG_BTRFS_DEBUG ?

Neither regular nor debug kernels have this set, we're only setting
CONFIG_BTRFS_ASSERT on debug kernels.
No, debug info is intorduced by CONFIG_DEBUG_INFO
CONFIG_DEBUG_INFO=y in even regular kernels.
so you need the kernel debug package for fedora i.e vmlinuz.debug or
some such?
Each kernel has kernel-debuginfo and kernel-debuginfo-common, ~735M.
Installed that and yet I get the same error, so I'm not sure I'm
pointing to the correct object.

-- 
Chris Murphy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help