Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83061 - 2.6.10-hardened-r3 kernel panic during boot
Summary: 2.6.10-hardened-r3 kernel panic during boot
Status: RESOLVED DUPLICATE of bug 77776
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-23 05:36 UTC by Martin von Gagern
Modified: 2005-07-17 13:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
panic screen, passed through ksymoops (panic1.txt,3.06 KB, text/plain)
2005-02-23 05:38 UTC, Martin von Gagern
Details
Kernel config (panic1.conf,23.35 KB, text/plain)
2005-02-23 05:38 UTC, Martin von Gagern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2005-02-23 05:36:19 UTC
I configured a monolithic kernel including grsecurity.
When I try to boot this, I get "Unable to handle kernel paging request"
and "Bad EIP value"


Reproducible: Always
Steps to Reproduce:
1. emerge hardened-dev-sources
2. make defconfig
3. make menuconfig
4. make
5. make install

Actual Results:  
kernel panic in bootup after "NET: registered protocol family 16"

Expected Results:  
booting system

I will create attachments for additional information...
Comment 1 Martin von Gagern 2005-02-23 05:38:01 UTC
Created attachment 51938 [details]
panic screen, passed through ksymoops
Comment 2 Martin von Gagern 2005-02-23 05:38:24 UTC
Created attachment 51939 [details]
Kernel config
Comment 3 Martin von Gagern 2005-02-23 08:56:04 UTC
This seems to be a conflict with
CONFIG_AFS_FS and CONFIG_PAX_KERNEXEC.
Either one alone does not result in this panic.
Comment 4 Martin von Gagern 2005-02-23 09:22:33 UTC
Seems I've been too fast... Problem here again, I'm checking this.
Comment 5 Martin von Gagern 2005-02-26 11:25:12 UTC
OK, I think the one time this seemed to worked for me with CONFIG_PAX_KERNEXEC enabled I must have forgotten to install the new kernel or something.

I could not get it working with CONFIG_PAX_KERNEXEC enabled.
Enabling CONFIG_PAX_PAGEEXEC as well as CONFIG_PAX_SEGMEXEC did not help.
Comment 6 Marien Zwart (RETIRED) gentoo-dev 2005-03-06 12:08:04 UTC
This looks like a dupe of bug 77776.
Comment 7 Martin von Gagern 2005-03-07 02:10:26 UTC
Yes, this did solve my problem.

Maybe something in grsecurity should be changed to detect this problem during configuration or at compile time. As far as I can tell, CONFIG_X86_VISWS already enforces PCI_DIRECT on 2.6.10, maybe this method could be used for CONFIG_PAX_KERNEXEC as well.


*** This bug has been marked as a duplicate of 77776 ***