Page 1 of 1

cannot boot with RAP enabled

PostPosted: Sat May 28, 2016 12:28 pm
by torsten
Hi,

I cannot boot with the RAP enabled kernel on Archlinux (4.5.5, grsec 201605211442). The boot process stops before I can enter my LUKS password.

I uploaded the picture of the error message https://i.imgsafe.org/9c409541d6.jpg and here is my config http://pastebin.com/D1zCt8fn.

Please let me know how I can provide more information about this issue! I don't know whether this is relevant to narrow down the issue, I use LUKS on top of a bcache device

Thanks,
Torsten

Re: cannot boot with RAP enabled

PostPosted: Sat May 28, 2016 1:18 pm
by PaX Team
can you send me your vmlinux (from the build root)? or if you know your way around in assembly, you can look up the faulting RIP in vmlinux (adjusted for KASLR) and see which register is used for the following indirect call and see what code is there. i think it'll be RAX so you might as well just look that up (again, adjust it for KASLR) and let me know.

Re: cannot boot with RAP enabled

PostPosted: Sat May 28, 2016 9:40 pm
by PaX Team
thanks for the report, this was a bunch of bad fptr casts in bcache, the next patch will fix them.

Re: cannot boot with RAP enabled

PostPosted: Sun May 29, 2016 5:25 am
by torsten
Thanks for your help! I will test it once the new version is released