Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
Hi, I can't seem to install the source code for the kernel using the inbuilt installer. I'm also not able to find the source code for the kernel anywhere. Thanks ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    21

    Where do i get the source code for the kernel


    Hi,

    I can't seem to install the source code for the kernel using the inbuilt installer. I'm also not able to find the source code for the kernel anywhere.

    Thanks in advance.

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    What happens when you do
    Code:
    #urpmi kernel-source
    Also are you using the full version of Mandriva or did you install from the live discs?

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    21
    I installed using a DVD. I think i installed almost all add-ons.

  4. $spacer_open
    $spacer_close
  5. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    I'd think they'd have plenty of room on the DVD itself to include the kernel sources, but I'm not sure if they do so, or not.

    If what daark.child doesn't pull them in, have a look around on the DVD for them, if you haven't done so already.
    oz

  6. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Quote Originally Posted by rajasekharan View Post
    I installed using a DVD. I think i installed almost all add-ons.
    So what happens when you enter the commands I posted above?

  7. #6
    Just Joined!
    Join Date
    Jan 2008
    Posts
    21
    I got a message that said the kernel source is already installed.

    But when i try to install ndiswrapper for my Wireless ethernet card, i get this message:

    make -C driver
    make[1]: Entering directory `/home/maverick/ndiswrapper-1.50/driver'
    Makefile:35: *** Cannot find kernel version in /lib/modules/2.6.17-13mdv/build, is it configured?. Stop.
    make[1]: Leaving directory `/home/maverick/ndiswrapper-1.50/driver'
    make: *** [all] Error 2


    Please help.

  8. #7
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You can install ndiswrapper using urpmi because its on the installation disks. What is the output of running
    Code:
    rpm -qa | grep -i kernel

  9. #8
    Just Joined!
    Join Date
    Jan 2008
    Posts
    21
    I got:
    Code:
    kernel-2.6.17.13mdv-1-1mdv2007.1
    kernel-doc-2.6.17.13mdv-1-1mdv2007.1
    kernel-source-stripped-2.6.17.13mdv-1-1mdv2007.1

  10. #9
    Just Joined!
    Join Date
    Jan 2008
    Posts
    21
    I also went to the Packages application which allows u to install various applications for mandriva and found ndiswrapper. I uninstalled and reinstalled it. But still no luck.

    When I try to set up the wireless connection I still get the message that asks me to download madwifi from madwifi.org.

    Even that is not installing.

  11. #10
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    If you card requires madwifi, then installing ndiswrapper probably won't solve your problems. Install the Mandriva madwifi package. What is the output when you do
    Code:
    /sbin/lspci | grep -i net
    If its a USB type device, also show the output of
    Code:
    lsusb
    If the lsusb command is not found install usbutils.

Page 1 of 2 1 2 LastLast

Posting Permissions

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