If anyone was like me you had some problems with the new modules on the 2.6.19 kernels. I guess they changed some stuff with sata modules and you have to select your exact module. Here is the latest grsecurity already patched and all needed modules selected. Grsecurity settings are set to low with proc restrictions where users can only see their processes. No pax modules have been selected so if you want those you will have to select them.
First download the tarball
wget nix101.com/linux-2.6.19.2-grsec.tar.gz
tar zxvf linux-2.6.19.2-grsec.tar.gz
cd linux-2.6.19.2-grsec
Then to make sure you will be compiling the right sata module
lsmod
Find the ata, sata, or scsi module it lists then
nano .config
ctrl+w to search for it
make sure it is enabled as module, uncomment the line put an m beside it, simple as that. You can also do with make menuconfig but this is easier and faster. If you are running a dual core or dual AMD machine you can go ahead and start building the kernel. if not just make menuconfig and select your processor type. If you don’t have a dual core or dual proc you may want to unselect the smp features.
To build the kernel and install it
make bzImage ; make modules ; make modules_install ; make install
If you see an error on install like it cant find any module and is continuing anyway do not try to boot the kernel. Means you didn’t select your module you needed as I talked about above.
Good luck, hope everyone finds this useful and a way to save some time
Related Articles
2 users responded in this post
thankyou for this.
This has saved me alot of stuffing around
if you need somewhere to host these if it’s using too much bw for your sever let me know.
Thanks