Find the answer to your Linux question:
Results 1 to 10 of 10
Hi, I'm really newbie and i don't know what's the kernel... I was installing a driver and it ask me for the path of the target kernel. There is only ...
  1. #1
    Just Joined! jsaturno's Avatar
    Join Date
    Feb 2007
    Location
    Venezuela
    Posts
    34

    Question the kernel???

    Hi,

    I'm really newbie and i don't know what's the kernel...

    I was installing a driver and it ask me for the path of the target kernel. There is only one kernel in my OS? Where is it?

  2. #2
    Linux Newbie
    Join Date
    Feb 2007
    Location
    N. Ireland
    Posts
    198

    Lightbulb

    Hi, I've just started linux as well

    As far as I understand it, the kernel is a small piece of code that is specific to the OS e.g. Knoppix, Mandrake, Red Hat. As to where to find it I don't actually know. I'm currently reading this document which I find is very helpful in explaining Linux so if you want you can have a read at it. It gives a brief history, common commands as well as other interesting information and is around 250 pages.

    <snip>
    Last edited by oz; 02-24-2007 at 04:40 PM. Reason: deleted spam URL

  3. #3
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803
    Quote Originally Posted by jsaturno
    I was installing a driver and it ask me for the path of the target kernel. There is only one kernel in my OS? Where is it?
    Among the tons of info available for linux on the internet two stand out as a great way to expand your linux knowledge: Google and Wikipedia.

    For example for a concise explanation of the kernel check here.

    There is only ONE kernel. If you want to know what kernel you are using, at the Command LIne type in:
    Code:
    uname -r
    .

    Re: your driver installation issue you need to provide some details if you need some help with that.
    registered Linux user #388382

    Have you checked here first?

  4. #4
    Just Joined! jsaturno's Avatar
    Join Date
    Feb 2007
    Location
    Venezuela
    Posts
    34

    More details

    I have the following instruction when installing a driver...

    $make -C /path/to/source SUBDIRS=$PWD modules
    Where /path/to/source is the path to the source directory for the (configured and built) target kernel.

    I don't know what is the path of the target kernel...

  5. #5
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803
    Your "kernel source" is probably not installed which is the case with the distros I use. It appears you are using Mandravia which I do not use so I can't say where exactly to look. But use whatever package manager Mandravia uses and see if the "kernel source" is installed. Just do a search for "kernel source".
    registered Linux user #388382

    Have you checked here first?

  6. #6
    Just Joined! tuxv's Avatar
    Join Date
    Jul 2006
    Location
    Colombo, Sri Lanka
    Posts
    92
    http://lwn.net/Articles/22072/
    check this site,

    http://linuxfornewbies.org/forum/ind...opic,18.0.html
    or check this site for mandriva specific help.

    Maybe you don't have your kernel source installed if so try installing it.
    Cheers

  7. #7
    Just Joined! jsaturno's Avatar
    Join Date
    Feb 2007
    Location
    Venezuela
    Posts
    34
    Hi,

    I have this version: 2.6.17-5mdv

    I don't know if it indicates that i have the kernel source...

  8. #8
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803
    Did you go to your package manager and do the search that I recommended you do? With out doing that and stating whether or not you were successful makes it unlikely we can help.
    registered Linux user #388382

    Have you checked here first?

  9. #9
    Just Joined! jsaturno's Avatar
    Join Date
    Feb 2007
    Location
    Venezuela
    Posts
    34
    Hi rong,

    I did it! I did the search and it was not installed, then i installed the package with the dvd and the /usr/src/linux-2.6.17-5mdv folder was created but i still can't install the driver... There is an error with the kernel source, i think i haven't configured the kernel. What can i do?

  10. #10
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803
    Post the error. There may be other files that are needed and the error messages usually provide the info about what is missing.
    registered Linux user #388382

    Have you checked here first?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...