[Debian Testing] Custom Kernel Compiling.

New to Debian (Or Linux in general)? Ask your questions here!

[Debian Testing] Custom Kernel Compiling.

Postby Raiju » 2010-02-23 04:40

I been trying all day to compile a kernel i downloaded from http://www.kernel.org/ (2.6.32.8 )

Following this help thread viewtopic.php?t=4468
When i invoke make xconfig i'm just kinda lost at that point. Not really sure what to do, so i just save it as is and then compile/install.
when i try to boot the kernel, a kernel panic happens saying it can't not mount the root partition.
So i am sure i am missing a step with the xconfig part but not sure what.
Raiju
 
Posts: 4
Joined: 2010-02-23 04:26

Re: [Debian Testing] Custom Kernel Compiling.

Postby shadowking » 2010-02-23 06:30

Try make menuconfig

The official debian handbook has enough info:

http://kernel-handbook.alioth.debian.or ... rg-package


BTW: Theres too many howtos - Its getting confusing IMO
shadowking
 
Posts: 496
Joined: 2009-05-06 11:34

Re: [Debian Testing] Custom Kernel Compiling.

Postby Raiju » 2010-02-23 16:37

Thank you. that worked like a charm :D

nvidia driver setup was complaining about the current gcc version is 4.4 but the kernel was compiled with gcc 4.3
Raiju
 
Posts: 4
Joined: 2010-02-23 04:26

Re: [Debian Testing] Custom Kernel Compiling.

Postby nadir » 2010-02-23 16:50

When i invoke make xconfig i'm just kinda lost at that point. Not really sure what to do, so i just save it as is and then compile/install.

as adviced here i do at minimum this (from the make menuconfig menu).
1)enable the block layer-> IO-schedulers -> default IO-scheduler and set it to "deadline"
2) processor type and features -> timer frequency and set it to 1000Hz
3)processor type and features -> preemption-model and set it to "desktop"

if i got time:
a / lets you search for a pattern, a ? tells you what a module does. often it says
"if you have never heard it before in your live you don't need it"
or
"enabling this is in general a very good idea" "you need this for sure"
those recommendations i follow.

with ? i check especially under "networking support" , "filesystems" and "kernel hacking" for stuff i don't need for sure.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: [Debian Testing] Custom Kernel Compiling.

Postby sir fer » 2010-02-24 00:01

Raiju wrote:Thank you. that worked like a charm :D

nvidia driver setup was complaining about the current gcc version is 4.4 but the kernel was compiled with gcc 4.3


Are you using the drivers from NVIDIA?

From memory you can ignore this and continue. No need to get involved in kernel compiling.
sir fer
 
Posts: 923
Joined: 2008-09-10 18:49
Location: Auckland

Re: [Debian Testing] Custom Kernel Compiling.

Postby Raiju » 2010-02-24 17:55

nadir wrote:
When i invoke make xconfig i'm just kinda lost at that point. Not really sure what to do, so i just save it as is and then compile/install.

as adviced here i do at minimum this (from the make menuconfig menu).
1)enable the block layer-> IO-schedulers -> default IO-scheduler and set it to "deadline"
2) processor type and features -> timer frequency and set it to 1000Hz
3)processor type and features -> preemption-model and set it to "desktop"

if i got time:
a / lets you search for a pattern, a ? tells you what a module does. often it says
"if you have never heard it before in your live you don't need it"
or
"enabling this is in general a very good idea" "you need this for sure"
those recommendations i follow.

with ? i check especially under "networking support" , "filesystems" and "kernel hacking" for stuff i don't need for sure.

Thank you for the tip :D

sir fer wrote:
Raiju wrote:Thank you. that worked like a charm :D

nvidia driver setup was complaining about the current gcc version is 4.4 but the kernel was compiled with gcc 4.3


Are you using the drivers from NVIDIA?

From memory you can ignore this and continue. No need to get involved in kernel compiling.

yes i am; i noticed you could do that, but i didn't know if that would cause problems in the future.
Raiju
 
Posts: 4
Joined: 2010-02-23 04:26


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 16 guests

fashionable