2.6.21-grsec: can't find root device

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

2.6.21-grsec: can't find root device

Postby jj2 » Mon May 21, 2007 8:17 am

Hi
I used the test patch for 2.6.20.7 and it works fine.

However, I tried to use test patch for 2.6.21 and have problem.

Patch applies fine. I run make menuconfig and loaded my earlier .config from 2.6.20.7. (I have done this many times with earlier grsec releases without problem)

I then run make oldconfig to configure any new items.

I compile kernel, but when I boot it, it starts booting but after a while screen fills with "Segmentation fault" (hundreds of them) and it dies saying

"/dev/sda1 does not exist. Dropping to a shell!"

At first I thought SCSI/SATA support was not enabled, but it is, and 2.6.20.7 works and it's the same config (I checked the .config and nothing SCSI related is different between old config).

So what cause this? I have experienced same problem before with one of the earlier stable grsec releases. Then I waited until next stable release for newer version and problem went away, but now it comes back again.

any information on this?
Thank You
jj2
 
Posts: 2
Joined: Mon May 21, 2007 8:10 am

Re: 2.6.21-grsec: can't find root device

Postby PaX Team » Sun May 27, 2007 6:31 am

jj2 wrote:I compile kernel, but when I boot it, it starts booting but after a while screen fills with "Segmentation fault" (hundreds of them) and it dies saying

"/dev/sda1 does not exist. Dropping to a shell!"

At first I thought SCSI/SATA support was not enabled, but it is, and 2.6.20.7 works and it's the same config (I checked the .config and nothing SCSI related is different between old config).
can you determine what is crashing exactly? would be nice if you could capture kernel boot logs (for both the -grsec kernel and vanilla). also you could try out the PaX patch alone and disable/enable features to determine which one causes this.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support