Web Hosting Talk







View Full Version : the kernel that comes with my server


Rclark
11-11-2004, 01:20 AM
I'm quite new to cpanel and all the other VERY annoying managers and so for a friend I compiled the 2.4.27 kernel and included the grsecurity patch for this version. Everything went smooth no errors except when I rebooted the machine doesn't come back up.


Is there anything special I have to include in a new kernel config that goes with cpanel so it doesn't mess things up ?


When will the world come to realize BSD > linux ?

Steven
11-11-2004, 01:22 AM
Cpanel has nothing to do with the kernel. IT sounds like you are missing drivers.

Rclark
11-11-2004, 01:24 AM
I'll give 2.6 a try I guess.

Steven
11-11-2004, 01:26 AM
If you cannot get a 2.4 kernel to boot, then i dont suggest using 2.6. You just need to fix your config for the 2.4 kernel.

Rclark
11-11-2004, 01:30 AM
What do I fix when the config went fine. Plus the disadvantage of not being able to see what's going on at boot time. I have no clue what could have gone wrong.

Steven
11-11-2004, 01:34 AM
You shouldnt even need to see whats going on during boot time. snooping around in /proc will tell you all the devices you need to add.

ho247
11-11-2004, 07:33 AM
What operating system and version are you using?

But as said above, you'll need to config the kernel to make sure all device drivers are added to the new kernel build.

KingAdmin
11-11-2004, 10:40 AM
Originally posted by thelinuxguy
You shouldnt even need to see whats going on during boot time. snooping around in /proc will tell you all the devices you need to add.
/sbin/lspci can be very helpful.

Steven
11-11-2004, 02:31 PM
Originally posted by KingAdmin
/sbin/lspci can be very helpful.

A real man will use /proc <3


cat /proc/pci

assuredhost.com
11-12-2004, 04:12 PM
Use kernel 2.6.8 with SE Linux enabled.

Rclark
11-12-2004, 07:19 PM
I mispelled something in my freakin lilo.conf :D

Problem solved, thanks linuxguy for the fast replies and everyone else.

Pheaton
11-12-2004, 07:23 PM
Originally posted by assuredhost.com
Use kernel 2.6.8 with SE Linux enabled.

Uhm.... why? Going from a 2.4.x kernel to a 2.6.x kernel is harder than doing a straight 2.4.x kernel upgrade. Not to mention that modutils that is required for 2.6 does not work with 2.4 or at least so I heard.

Steven
11-12-2004, 08:00 PM
Originally posted by Pheaton
Uhm.... why? Going from a 2.4.x kernel to a 2.6.x kernel is harder than doing a straight 2.4.x kernel upgrade. Not to mention that modutils that is required for 2.6 does not work with 2.4 or at least so I heard.

That is correct, 2.6 is touchy at times. And you must recompile your modutils using module-init-tools