LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-08-2005, 03:15 PM   #1
simkin101
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Rep: Reputation: 0
Mandriva 10.2... where's my kernel??


I apologize for my extreme ignorance... but I just installed Mandrive 10.2. I downloaded the free version, 3 ISOs, and installed them to my laptop. It runs great. I am trying to get my Linksys Wireless network card working. I downloaded the linux drivers from linksys.com, and I'm following along with their instructions.

I get to the point where I type:

make config

It goes through a few steps, asking me questions... and then it gets to where it's asking the location of my kernel. By default, it lists:

/usr/src/linux

But that folder doesn't exist. Instead, I have a folder called:

/usr/src/RPM

In it is a folder called:

RPMS

Unfortunately, the RPMS folder is completely empty.

Can anyone direct me a bit here? I'm rather lost... I want to learn more about the kernel, but I imagine my first step ought to be to locate the darn thing. :P
 
Old 06-08-2005, 04:12 PM   #2
aerogate
Member
 
Registered: Jun 2005
Location: UK
Distribution: Mandriva 2006
Posts: 154

Rep: Reputation: 30
you need to install the kernel source, you can do it via

urpmi kernel-source

hope that helps
 
Old 06-08-2005, 04:21 PM   #3
sekelsenmat
Member
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
Quote:
Originally posted by aerogate
you need to install the kernel source, you can do it via

urpmi kernel-source

hope that helps
You will need to be on the console and with superuser privileges (type su)
 
Old 06-08-2005, 04:34 PM   #4
aerogate
Member
 
Registered: Jun 2005
Location: UK
Distribution: Mandriva 2006
Posts: 154

Rep: Reputation: 30
oops yes, thats right
 
Old 06-08-2005, 05:39 PM   #5
simkin101
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks a ton!

Can either of you recommend a sort of "beginners guide" to kernel programming? I have heard the phrase "recompile my kernel" so many times, but have yet to truly understand just exactly what this means/entails. I don't expect to code my own Windows version tomorrow... :P Just wondering if there are some basic references, where I can clear up the definitions to some longstanding words regarding kernels/linux.

Again, thanks very much you guys! Gonna go try that command right now.
 
Old 06-08-2005, 06:41 PM   #6
sekelsenmat
Member
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
Quote:
Originally posted by simkin101
Thanks a ton!

Can either of you recommend a sort of "beginners guide" to kernel programming?

Again, thanks very much you guys! Gonna go try that command right now.
To recompile your kernel use the following guide:

http://wiki.linuxquestions.org/wiki/Compiling_a_Kernel

Remember that recompiling your kernel may screw up your linux system (I did that once). Be very careful, follow all steps precisely and keep your /home directory on a separate partition just in case you need to reinstall your system.

A successfull compilation will give you a very, very faster boot and a faster system, if you download the latest kernel from www.kernel.org and use the default options. Mandrake and other distros include lots and lots of unused options in their precompiled kernel to make it compatible with a wide variety of hardware.

You only need to recompile your kernel to include support for strange stuff (like New Technology File System - NTFS writing support or some strange hardware).

You probably don't need to recompile your kernel, you probably just need the source code of the kernel.

PS: Recompiling your kernel is not "kernel programming", that we should leave to the experts If you want to help try to help linux documentation at the "wikis"

Last edited by sekelsenmat; 06-08-2005 at 06:43 PM.
 
  


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
Mandriva Kernel of the Day batorma Linux - Newbie 3 11-02-2005 10:44 PM
kernel compile mandriva way ? dvbm Mandriva 4 09-25-2005 07:11 PM
Wrong Mandriva Kernel hkctr Mandriva 3 09-18-2005 10:10 PM
update kernel on mandriva le 2005 chil326 Mandriva 1 08-30-2005 02:08 PM
Cannot compile kernel in Mandriva 10.1 JLQ Mandriva 1 06-29-2005 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:33 PM.

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