LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-26-2002, 05:00 AM   #1
darkfnord
LQ Newbie
 
Registered: Sep 2002
Location: Madison WI
Distribution: Gentoo Linux. OpenBSD.
Posts: 12

Rep: Reputation: 0
Kernel Basics


I have been using the Kernel-Howto, which seems wildly out of date, to try to create a new kernel. I am running debian woody on a pentium pro, and trying to make a 2.4.18 kernel. The problem is that 'make config' doesn't ask me about certain devices, such as my sound card, (an old soundblaster 16) so there is no obvious way to make kernel modules for the necessary drivers. I am obviously missing something really big here. Basically my 2.2.whatever kernel has a bunch of modules, and those don't seem to get compiled when I run 'make modules', and I don't understand why. Thanks for dealing with newbie crap.

By the way, I am pretty much following the HowTo verbatim, so if you are wondering what steps I am taking, those are them.
Matt
 
Old 10-26-2002, 05:40 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Go into the kernel source directory and do the following:
Code:
make mrproper && make menuconfig && make dep && make modules && make bzImage && make modules_install && make install
You may find www.kernelnewbies.org of help maybe
 
Old 11-21-2002, 01:02 PM   #3
darkfnord
LQ Newbie
 
Registered: Sep 2002
Location: Madison WI
Distribution: Gentoo Linux. OpenBSD.
Posts: 12

Original Poster
Rep: Reputation: 0
This is exactly what i did. I then went into lilo.conf and pointed Linux to the new bzImage. I still don't know where the modules are supposed to end up. There is a directory called /usr/src/modules which only has one module (one I compiled myself) . /lib/modules/2.4.18/ does not appear to contain any *.o type files. So what step am i missing ?

Thanks for any help. As you can tell by the long time since my last post, learning to use linux is not something I have been spending a lot of my time on lately, but I think building a kernel is probably one of the most important things to learn to do at the beginning.

Matt
 
Old 11-21-2002, 03:54 PM   #4
darkfnord
LQ Newbie
 
Registered: Sep 2002
Location: Madison WI
Distribution: Gentoo Linux. OpenBSD.
Posts: 12

Original Poster
Rep: Reputation: 0
Never mind I had my head up my @@@.

Matt
 
  


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
Basics Sn7 Linux - Software 2 09-20-2004 12:23 PM
Kernel Compile basics svarreby Slackware 15 01-04-2004 05:30 AM
:D basics deee Linux - Newbie 6 11-10-2003 01:01 AM
The basics of all basics... Thaidog Linux - Newbie 1 09-20-2002 01:18 AM
C basics sabeel_ansari Programming 12 07-22-2002 10:21 PM


All times are GMT -5. The time now is 04:51 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