mikerayner

Well-Known Member
Apr 10, 2002
192
0
316
One of my systems does not work with default redhat kernel, due to RAID and SMP

I have to compile in the Kernel from source,
what options should I select during Kernel configuration?
also configuring GRsecurity patch from the source is necessary

ITF please help ?
anyone can help?
 

Tim Greer

Well-Known Member
Aug 11, 2002
62
0
156
More information about your system is needed. What options/modules do you want/need? Do you want to enable loadable module support? Any other relevant information?
 

mikerayner

Well-Known Member
Apr 10, 2002
192
0
316
[quote:cb3b18b4dc][i:cb3b18b4dc]Originally posted by Tim Greer[/i:cb3b18b4dc]

More information about your system is needed. What options/modules do you want/need? Do you want to enable loadable module support? Any other relevant information?[/quote:cb3b18b4dc]

I need something like what is offered by redhat as a kernel in binary but with GRsecurity and ctx patch
 

Tim Greer

Well-Known Member
Aug 11, 2002
62
0
156
[quote:c2772f05dd][i:c2772f05dd]Originally posted by mikerayner[/i:c2772f05dd]

[quote:c2772f05dd][i:c2772f05dd]Originally posted by Tim Greer[/i:c2772f05dd]

More information about your system is needed. What options/modules do you want/need? Do you want to enable loadable module support? Any other relevant information?[/quote:c2772f05dd]

I need something like what is offered by redhat as a kernel in binary but with GRsecurity and ctx patch[/quote:c2772f05dd]

I'm not sure what to offer for an answer. It's just like any other kernel compile, except you apply the patch first. What specifically are you needing help with in the process of doing this compile?
 

Dotcoms

Active Member
Dec 17, 2001
25
0
301
Once you have untarred the kernel and downloaded the grsecurities patch (Example):-

ln -s linux-2.4.20 linux
patch -p0 & grsecurity-1.9.8-rc2-2.4.20.patch

Type
lspci

Will tell you things about the current system (If required)

Then type

cd linux

make menuconfig

Select all the options required, you will see grsecurity near the bottom, select that and then choose the security level required.

All the other options really depend upon what you need/want - Make sure to add ext3 file system support (Not slected by default) if you are running it.

After selecting and saving all options:

make dep;make bzImage;make modules;make modules_install

Then to put the kernel into place (in /boot)

cp arch/i386/boot/bzImage /boot/linux2420-grsec;cp System.map /boot/System.map-linux2420-grsec;cd /boot;rm -f System.map;ln -s System.map-linux2420-grsec System.map

Then edit lilo or grub to reflect the new kernel location.

This is an example - Modify to suit your needs.
 

mikerayner

Well-Known Member
Apr 10, 2002
192
0
316
[quote:ba074a3db9][i:ba074a3db9]Originally posted by Dotcoms[/i:ba074a3db9]

Once you have untarred the kernel and downloaded the grsecurities patch (Example):-

ln -s linux-2.4.20 linux
patch -p0 & grsecurity-1.9.8-rc2-2.4.20.patch

Type
lspci

Will tell you things about the current system (If required)

Then type

cd linux

make menuconfig

Select all the options required, you will see grsecurity near the bottom, select that and then choose the security level required.

All the other options really depend upon what you need/want - Make sure to add ext3 file system support (Not slected by default) if you are running it.

After selecting and saving all options:

make dep;make bzImage;make modules;make modules_install

Then to put the kernel into place (in /boot)

cp arch/i386/boot/bzImage /boot/linux2420-grsec;cp System.map /boot/System.map-linux2420-grsec;cd /boot;rm -f System.map;ln -s System.map-linux2420-grsec System.map

Then edit lilo or grub to reflect the new kernel location.

This is an example - Modify to suit your needs.[/quote:ba074a3db9]

It seems that you didn't read my post carefully, I know all of these:
after running

make menuconfig

moduls should be selected I don't know which one should be used, anyone knows what is the default in Redhat Binary Kernel?
 

itf

Well-Known Member
May 9, 2002
624
0
316
[quote:9f2e82f325][i:9f2e82f325]Originally posted by mikerayner[/i:9f2e82f325]

One of my systems does not work with default redhat kernel, due to RAID and SMP

I have to compile in the Kernel from source,
what options should I select during Kernel configuration?
also configuring GRsecurity patch from the source is necessary

ITF please help ?
anyone can help?[/quote:9f2e82f325]
I’ve compiled in your requested kernel, just contact me directly and get your Kernel.



P.S. Mike, please do not send 30 emails requesting a thing, I was very busy and had no time to come to the forum.