tukachinchila Apprentice


Joined: 11 Mar 2005 Posts: 274 Location: Oregon
|
Posted: Sat Mar 12, 2005 8:11 pm Post subject: kernel panic with hardened-dev-sources [solved] |
|
|
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. |
|