Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel panic with hardened-dev-sources [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tukachinchila
Apprentice
Apprentice


Joined: 11 Mar 2005
Posts: 274
Location: Oregon

PostPosted: Sat Mar 12, 2005 8:11 pm    Post subject: kernel panic with hardened-dev-sources [solved] Reply with quote

I've tried searching the forums here, and at grsecurity for the solution w/o success.
The problem I originally had was, after installing Gentoo SELinux 2004.3 and compiling the kernel, the system wouldn't boot (got a lot of register dumps, then a kernel panic: attempted to kill init). This is on a Celeron 300Mhz.

After playing with the settings in "Security options" I narrowed the problem down to PaX.
The solutions was to unset CONFIG_PAX_DEFAULT_SEGMEXEC and CONFIG_PAX_KERNEXEC
Setting CONFIG_PAX_DEFAULT_PAGEEXEC=y seems to work for me.

I've also noticed that on a different computer (x86_64 w/o SELinux), my hardened-dev-sources don't even include the options for CONFIG_PAX_KERNEXEC or CONFIG_PAX_SEGMEXEC

I'm curious to know if anyone else has had this problem, and whether any kernel experts might have some insight.

Hope this helps anyone getting kernel panics caused by PaX.
Back to top
View user's profile Send private message
vladgrigorescu
Guru
Guru


Joined: 11 Jan 2005
Posts: 360

PostPosted: Tue Jan 10, 2006 10:47 pm    Post subject: Reply with quote

Removing Solved posts from Unanswered... Check out the Adopt an Unanswered Post Initiative.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum