Professional Web Applications Themes

Getting missing kernel headers - Mandrake 9.2 - Linux Setup, Configuration & Administration

Since Mandrake didn't think it was necessary to include the kernel headers on their installation CD's I have to go find and install them. I have to say I'm not having much luck. I've got a couple questions I'm hoping to find answer for... The kernel version shown at login is: "2.4.22-10mdksmp on dual i686" - I assume that Linux treats P4 hyperthreading CPU's as dual CPU's? Will there be any issues because of this? Looking online I found the following source files: "kernel-source-2.4.25-0.pre6.2mdk.i586.rpm" "kernel-source-2.6.2-0.rc1.1mdk.i586.rpm" - Looking at my kernel version, should I assume that these files wont work. What ...

  1. #1

    Default Getting missing kernel headers - Mandrake 9.2

    Since Mandrake didn't think it was necessary to include the kernel headers
    on their installation CD's I have to go find and install them. I have to say
    I'm not having much luck.

    I've got a couple questions I'm hoping to find answer for...

    The kernel version shown at login is:
    "2.4.22-10mdksmp on dual i686"

    - I assume that Linux treats P4 hyperthreading CPU's as dual CPU's? Will
    there be any issues because of this?

    Looking online I found the following source files:
    "kernel-source-2.4.25-0.pre6.2mdk.i586.rpm"
    "kernel-source-2.6.2-0.rc1.1mdk.i586.rpm"

    - Looking at my kernel version, should I assume that these files wont work.
    What should I be looking for? What would happen if I installed a newer
    version (like the 2.6.2 above)? Would I just get a newer kernel if I tried
    to compile something?

    What I'd expect to see would be "kernel-source-2.4.22-10mdksmp.i686.rpm" but
    I don't see that anyplace.

    I tried using urpmi to find and install the source but I didn't have any
    luck. Looking online I think my problem was specifying where to get the
    source from. Any suggestions I can use to install the correct source for my
    computer?

    The reason I need the kernel source is to install the ATI display drivers
    for my 9600XT video card. I also imagine that without this source I'll have
    other issue in the future as well. I can't start X at all until I get these
    drivers installed. (Don't know why... Suse 9.0 gave me a standard
    framebuffer when I installed it)

    Can someone lend some advice? Anything at all is appreciated!!!


    Noozer Guest

  2. #2

    Default Re: Getting missing kernel headers - Mandrake 9.2

    Noozer wrote: 

    Mandrake didn't include the kernel headers in a glibc-headers
    package by chance did they?

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. http://counter.li.org/
    Slackware 9.1.0 Kernel 2.4.24 SMP i686 (GCC) 3.3.2
    Uptime: 18 days, 12:58, 1 user, load average: 1.00, 1.05, 1.07
    David Guest

  3. #3

    Default Re: Getting missing kernel headers - Mandrake 9.2

    Hello

    David (<net>) wrote:
     
    >
    > Mandrake didn't include the kernel headers in a glibc-headers
    > package by chance did they?[/ref]

    Maybe they did, but probably he wants to build a driver for the kernel
    he is currently running, not the kernel that was used when the glibc
    was built. As far as I know, the headers are in the kernel source
    package. If they are not, the OP can do the following:

    - install source package
    - run make mrproper in the source dir
    - copy /boot/config-2.4.22-10mdksmp to
    /usr/src/linux-2.4.22-10mdksmp/.config
    - run make oldconfig
    - run make dep

    That way the headers are available (if what ever program needs the can
    be pointed to the headers, /usr/src/linux-2.4.22-10mdksmp/include
    should be the right directory.

    bets regards
    Andreas Janssen

    --
    Andreas Janssen
    com
    PGP-Key-ID: 0xDC801674
    Registered Linux User #267976
    Andreas Guest

  4. #4

    Default Re: Getting missing kernel headers - Mandrake 9.2

    Noozer sob 24. stycznia 2004 07:29 wrote:
     

    I can't say how P4 behaves in this regard, but I can say that I am using
    dual processor machine and it is great, no single process can choke the
    system. SMP is well tested in Linux, I wouldn't worry at all.
     

    Set up 'main' and 'contrib' and 'updates', optionally 'plf' as remote
    sources of software and forget about swapping CDs.
    http://urpmi.org/easyurpmi/index.php

    I'd rather install (add, do not replace) some newer kernel and start using
    it instead of old, buggy 2.4.22-10. Which one exactly I can't say, do not
    use mdk9.2 anymore. Corresponding entry in your bootloader will appear
    automagically; after testing you may change it to be your default.
    Then install appropriate sources.

    --
    Yours Virtually, Zbigniew A.

    "The buddha is not only to be found in petals on flowers, but also on the
    console of the computer."
    from the book 'Zen and the Art of Motorcycle Maintenance'
    Zbigniew Guest

Similar Threads

  1. compiling kernel, files missing
    By Mika in forum Linux Setup, Configuration & Administration
    Replies: 4
    Last Post: January 14th, 09:16 AM
  2. Who is Kernel Headers ?
    By Mark in forum Linux Setup, Configuration & Administration
    Replies: 7
    Last Post: January 1st, 11:22 PM
  3. Help: missing libfam.la library during kgpg install (Mandrake 9.1).
    By Michael in forum Linux Setup, Configuration & Administration
    Replies: 3
    Last Post: September 26th, 01:19 PM
  4. Mandrake 9.1 problem install: dma error bad crc, and pcimod missing on X config
    By Andrew Scott in forum Linux Setup, Configuration & Administration
    Replies: 0
    Last Post: September 13th, 09:08 PM
  5. Missing Mail headers causing grief
    By Chuck Reti in forum Mac Networking
    Replies: 0
    Last Post: September 7th, 11:40 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139