LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   compiling kernel - few questions (https://www.linuxquestions.org/questions/slackware-14/compiling-kernel-few-questions-888479/)

markomarko 06-26-2011 06:14 PM

compiling kernel - few questions
 
hello everybody
i have slack 13.37 with kernel that comes with distro (i don't know what kernel version is because i'm in windows now)...
i recently bought ati radeon 6850 graphic card but i couldn't use it because there was error during x server startup (...requires KMS...)
so i downloaded the latest kernel (2.6.39.2) and enabled KMS and now x server works good, but i disabled ethernet card (realtek)

i downloaded new kernel, unpacked it in /usr/src, made linux symbolic link to directory of new kernel, entered that directory and typed make mrproper, make oldconfig, make menuconfig and then only enabled KMS, nothing more...then make modules, make modules_install, make install and rebooted.
after that i couldn't boot my system because ext4 filesystem was disabled (my / is ext4) and when i fixed that (again i compiled kernel) there was problem with ethernet card...
so, if i understand correctly, make oldconfig makes .config file that has setting of current kernel (that works)...my question is - where did i get wrong? how come that .config file made by make oldconfig command doesn't have ext4 filesystem, ethernet card and everything that works in working kernel?

thank you!
cheers!

piratesmack 06-26-2011 06:37 PM

Copy in the running kernel's .config before running "make oldconfig"

See Alien Bob's kernel compile howto.
http://alien.slackbook.org/dokuwiki/...kernelbuilding

And if you want to make your kernel more "leet" (also hints at an easy way to build a Slackware package for your kernel):
http://blog.hashbangbash.com/2011/04...13-37-release/

markomarko 06-27-2011 06:41 PM

Quote:

Originally Posted by piratesmack (Post 4396441)
Copy in the running kernel's .config before running "make oldconfig"

See Alien Bob's kernel compile howto.
http://alien.slackbook.org/dokuwiki/...kernelbuilding

And if you want to make your kernel more "leet" (also hints at an easy way to build a Slackware package for your kernel):
http://blog.hashbangbash.com/2011/04...13-37-release/

thank you, now everything works excellent :-)


All times are GMT -5. The time now is 12:06 AM.