LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mandrake Kernel Source (https://www.linuxquestions.org/questions/linux-newbie-8/mandrake-kernel-source-168362/)

Patbuzz86 04-09-2004 10:42 PM

Mandrake Kernel Source
 
i am trying to get my computer to recognize my DWL-122 in mandrake 9.2. I have downloaded the driver from www.linux-wlan.com and have successfully unpacked it and all. At a point in the './Configure' command it asks for the path to the kernel source (with the default bein [usr/src/linux]).
being the newbie that i am i go ahead and accept the default.

It comes back with a message saying 'usr/src/linux is incomplete or missing'. upon inspection of the /usr/src/ directory i see that there is nothing in it. OK so there is my problem. I am assuming that /usr/src/linux is the location of the kernel source. I believe that when i installed MDK 9.2 the kernel source was not installed.

Where do i get it from -- ie what disk is it on and what is the path of it
What are the commands that i need to get it from the cd to the /usr/src/linux directory.

Will this work?


Thankyou

Crito 04-10-2004 12:10 AM

You might as well upgrade to the latest kernel and it's source while you're at it.
http://rpms.mandrakeclub.com/rpms/ma...1mdk.i586.html
http://rpms.mandrakeclub.com/rpms/ma...8mdk.i586.html

If the @#$% Mandrake Club boolshiat doesn't let you download without an account you can get the files from other sites like pbone.
http://rpm.pbone.net/

Electro 04-10-2004 02:26 AM

Easy load up package installer and type kernel. Match the kernel version when you type "cat /proc/version" at bash or console screen. Next you need to install gcc compiler. Also match the same version compiler that mandrake compiled the kernel with. Usually its gcc version 3.2.

Patbuzz86 04-11-2004 10:13 AM

cant i make it work with the kernel i already have?

Crito 04-11-2004 11:07 AM

Sure, just download the source for your version, which the command "uname -r" will tell you. I believe the original 9.2 kernel was 2.4.22-10mdk. The newer kernels fix bugs and security vulnerabilities, however, and there are also customized versions for specific purposes. I'm using 2.4.22-26mm, for example, which is the preemptive multimedia version.

Electro 04-11-2004 05:50 PM

Quote:

Originally posted by Patbuzz86
cant i make it work with the kernel i already have?
mmm....No offense you are that stubborn. The KERNEL SOURCE is on the CDs. Just run Mandrake Installer package and type kernel. Check the source code package. geez...what is so hard about that.

Crito 04-11-2004 07:21 PM

I'm pretty sure 9.2 download edition didn't include the kernel source.

Patbuzz86 04-12-2004 02:13 PM

yeah thankyou im not that lazy i did check thank you very much. No need to get crazy on me im sorry that i have only been on a linux machine for about a week, so there! now you can go back to your little world where you are the ruler and condem everybody that asks a simple question, Electro!

Electro 04-13-2004 01:38 AM

I found it its on the second CD. The files are kernel22-source-2.2.20-9mdk.i586.rpm, kernel-multimedia-source-2.4.22-21mm.1mdk.i586.rpm, or kernel-tmb-source-2.4.22-21.tmb.1mdk.i586.rpm.

It will be stupid if Mandrake did not include the kernel source code because they include a few compilers.

BTW, whos lazy now.

Patbuzz86 04-13-2004 07:27 PM

well as you can see it is clearly not me and as 'crito' already said he doesnt think that mandrake included the source on the download edition -- of which i have. and number two i see that you are using mandrake 9.0 as i am using mandrake 9.2, do you think there might just be a difference?

i downloaded this file:
kernel-2.4.22.10mdk-1-1mdk.i586.rpm
from a website and went to install it on my linux machine but the software installer came back and said that these files have already been installed.
now what?

Patbuzz86 04-13-2004 07:39 PM

btw -- just checked on all cd's -- theres no Kernel source

Crito 04-14-2004 12:01 AM

That's the precompiled kernel you already have installed. pbone has several links where you can download the source for it but, like the page says, it's obsolete now:
http://rpm.pbone.net/index.php3/stat....i586.rpm.html
If none of those links work for you -- I didn't try them -- rpmfind.net still has it:
ftp://fr.rpmfind.net/linux/Mandrake/...10mdk.i586.rpm

As to whether 9.2 included the kernel source, all I can say for sure is sources are on CDs #4 and #5 of the powerpack edition I purchased. I've heard others complain about the download edition not including those CDs however, and I took their word for it. It was discussed on one of the other Linux boards LQ competes with so I won't link to the thread, but you can find it easily with google. ;)

Patbuzz86 04-22-2004 08:52 PM

HAHA i finally did it i am on the internet on my linux machine! YEAH -- thanks for your help everyone and especially Crito for showing me where to get the kernel source!

detpenguin 04-22-2004 09:21 PM

welcome to the net, linux-style, pat!!!

juliancoccia 08-02-2004 04:25 PM

For your reference, here is a step-by-step guide for the DWL-122:
http://julian.coccia.com/article-53.html


All times are GMT -5. The time now is 10:14 AM.