Illegal Instruction on Boot

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Illegal Instruction on Boot

Postby tjh » Sun Jan 24, 2016 7:54 pm

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)
Last edited by tjh on Tue Jan 26, 2016 9:40 pm, edited 1 time in total.
tjh
 
Posts: 102
Joined: Sat Oct 16, 2004 8:19 pm

Re: Illegal Instruction on Boot

Postby tjh » Sun Jan 24, 2016 8:00 pm

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.
tjh
 
Posts: 102
Joined: Sat Oct 16, 2004 8:19 pm

Re: Illegal Instruction on Boot

Postby spender » Sun Jan 24, 2016 10:16 pm

What was the last kernel you built that worked? Have you changed your kernel .config recently?

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Re: Illegal Instruction on Boot

Postby tjh » Sun Jan 24, 2016 10:26 pm

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
tjh
 
Posts: 102
Joined: Sat Oct 16, 2004 8:19 pm

Re: Illegal Instruction on Boot

Postby PaX Team » Tue Jan 26, 2016 8:56 am

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.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Illegal Instruction on Boot

Postby tjh » Tue Jan 26, 2016 4:39 pm

Thanks PaX Team. Appreciate the amazing work you do.
tjh
 
Posts: 102
Joined: Sat Oct 16, 2004 8:19 pm

Re: Illegal Instruction on Boot

Postby tjh » Tue Jan 26, 2016 9:39 pm

I can confirm this is fixed in the latest path and I'm now booting up with no issues.
Thanks again.
tjh
 
Posts: 102
Joined: Sat Oct 16, 2004 8:19 pm


Return to grsecurity support