Re: can't boot with reiserfs on linux-4.6.0+
From: Linus Torvalds
Date: Wed May 25 2016 - 11:51:35 EST
On Wed, May 25, 2016 at 2:30 AM, Jeff Chua <jeff.chua.linux@xxxxxxxxx> wrote:
> Here's dmesg with symbols ...
Ok, so "handler" in generic_getxattr() is NULL, the code decodes to
0: 4d 89 c1 mov %r8,%r9
3: 48 8b 4c 24 08 mov 0x8(%rsp),%rcx
8: 4d 89 e0 mov %r12,%r8
b: 48 89 ea mov %rbp,%rdx
e: 48 89 de mov %rbx,%rsi
11: 48 89 c7 mov %rax,%rdi
14:* ff 50 20 callq *0x20(%rax) <-- trapping instruction
17: 48 98 cltq
return handler->get(handler, dentry, inode,
name, buffer, size);
so it's that "handler->get" access that fails ("handler" is in %rax
and %rdi, and the register state agrees).
I'm not seeing what changed for btrfs here - we had a calling
convention change, but nothing that should make handler be NULL.
I see nothing particularly odd in the call trace either:
> Call Trace:
that's the normal ->getxattr() call in security/commoncap.c, and I
don't see any changes there either apart from the calling convention.
Al, you'll probably go "Duh, I changed xyz" that I'm just missing.