Page 1 of 1

Illegal Instruction on Boot

PostPosted: Sun Jan 24, 2016 7:54 pm
by tjh
I've had this with both 4.3.3 and 4.3.4 (I haven't built a grsec kernel in a few months, so not sure if it's recent or not sorry)

Kernel has debuging etc enable to help with capture of issue.

It's a 32 bit kernel booting on a VMWARE Host.

Screenshot of crash:

Image

Thanks.

Code: Select all
ld version is 2.25.1
gcc version is 5.2.1

Debug files here (Edit: Removed as issue is resolved, thanks PaX Team)

Re: Illegal Instruction on Boot

PostPosted: Sun Jan 24, 2016 8:00 pm
by tjh
I should point out the title of this report was because I was getting the following error:

Image

So I rebuilt the kernel with debugging info for my post above. I don't see an Illegal Instruction message in the above report.

Re: Illegal Instruction on Boot

PostPosted: Sun Jan 24, 2016 10:16 pm
by spender
What was the last kernel you built that worked? Have you changed your kernel .config recently?

-Brad

Re: Illegal Instruction on Boot

PostPosted: Sun Jan 24, 2016 10:26 pm
by tjh
Last kernel built for this machine was 4.1.6

The config file has changed slightly - some options have been disabled.

Does it look like I've nuked something I shouldn't have?

Tim

Re: Illegal Instruction on Boot

PostPosted: Tue Jan 26, 2016 8:56 am
by PaX Team
the next patch will fix this, the problem happens on configs that disable the modify_ldt syscall which in turn caused some necessary setup code to be left out as well.

Re: Illegal Instruction on Boot

PostPosted: Tue Jan 26, 2016 4:39 pm
by tjh
Thanks PaX Team. Appreciate the amazing work you do.

Re: Illegal Instruction on Boot

PostPosted: Tue Jan 26, 2016 9:39 pm
by tjh
I can confirm this is fixed in the latest path and I'm now booting up with no issues.
Thanks again.