LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-26-2011, 06:14 PM   #1
markomarko
Member
 
Registered: Nov 2006
Location: Belgrade, Serbia
Distribution: Slackware
Posts: 69

Rep: Reputation: 19
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!
 
Old 06-26-2011, 06:37 PM   #2
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 138Reputation: 138
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/

Last edited by piratesmack; 06-26-2011 at 06:49 PM.
 
1 members found this post helpful.
Old 06-27-2011, 06:41 PM   #3
markomarko
Member
 
Registered: Nov 2006
Location: Belgrade, Serbia
Distribution: Slackware
Posts: 69

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by piratesmack View Post
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 :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compiling questions panzram Linux - General 1 06-26-2003 08:34 AM
Kernel Compiling; What/Why/How and other assorted questions Ashandarel Linux - Newbie 4 04-27-2003 04:20 AM
2 more kernel compiling questions moger Linux - General 8 09-28-2002 01:35 AM
Kernel compiling questions Mentecapto Linux - Newbie 1 09-26-2002 04:20 PM
Kernel compiling questions mistery Linux - Newbie 1 07-19-2002 07:15 PM


All times are GMT -5. The time now is 09:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration