LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-09-2004, 10:42 PM   #1
Patbuzz86
Member
 
Registered: Mar 2004
Distribution: MDK 9.2
Posts: 92

Rep: Reputation: 15
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
 
Old 04-10-2004, 12:10 AM   #2
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
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/
 
Old 04-10-2004, 02:26 AM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 04-11-2004, 10:13 AM   #4
Patbuzz86
Member
 
Registered: Mar 2004
Distribution: MDK 9.2
Posts: 92

Original Poster
Rep: Reputation: 15
cant i make it work with the kernel i already have?
 
Old 04-11-2004, 11:07 AM   #5
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
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.
 
Old 04-11-2004, 05:50 PM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 04-11-2004, 07:21 PM   #7
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
I'm pretty sure 9.2 download edition didn't include the kernel source.
 
Old 04-12-2004, 02:13 PM   #8
Patbuzz86
Member
 
Registered: Mar 2004
Distribution: MDK 9.2
Posts: 92

Original Poster
Rep: Reputation: 15
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!
 
Old 04-13-2004, 01:38 AM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 04-13-2004, 07:27 PM   #10
Patbuzz86
Member
 
Registered: Mar 2004
Distribution: MDK 9.2
Posts: 92

Original Poster
Rep: Reputation: 15
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?

Last edited by Patbuzz86; 04-13-2004 at 07:28 PM.
 
Old 04-13-2004, 07:39 PM   #11
Patbuzz86
Member
 
Registered: Mar 2004
Distribution: MDK 9.2
Posts: 92

Original Poster
Rep: Reputation: 15
btw -- just checked on all cd's -- theres no Kernel source
 
Old 04-14-2004, 12:01 AM   #12
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
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.

Last edited by Crito; 04-14-2004 at 12:18 AM.
 
Old 04-22-2004, 08:52 PM   #13
Patbuzz86
Member
 
Registered: Mar 2004
Distribution: MDK 9.2
Posts: 92

Original Poster
Rep: Reputation: 15
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!
 
Old 04-22-2004, 09:21 PM   #14
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
welcome to the net, linux-style, pat!!!
 
Old 08-02-2004, 04:25 PM   #15
juliancoccia
Member
 
Registered: Dec 2003
Posts: 51

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


Reply



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
Where can I get the Mandrake Kernel Source code? tur third Mandriva 3 06-15-2005 03:09 AM
Mandrake 10.1, & 10.2 kernel and kernel-source match up. raxxal Mandriva 1 03-30-2005 10:57 PM
Kernel Source on Mandrake dwessell Mandriva 3 05-08-2004 02:15 PM
Mandrake 9.2 kernel source toastermaker Mandriva 4 12-07-2003 07:03 PM
Mandrake 9.2 no kernel source??? storyteller Linux - Software 2 11-23-2003 11:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:30 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
Open Source Consulting | Domain Registration