LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-26-2004, 10:45 AM   #1
Mariory
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
location of mandrake 9.0 linux kernel source files


Hi guys, now I'm relatively new to linux but I'm trying to install a driver for my Sagem 800 adsl modem. I downloaded the linux driver file from the sagem site and when I try to install it I get the following error.

Error : /usr/src/linux-2.4.19-16mdk directory doesn't exist

The installation help file says if I get such an error i should check the directory /usr/src/linux contains the source files of the linux kernel or a link to the source files.

Now I've checked the /usr/src directory (in the root directory) and there is no linux directory. The only directory in there is RPM and all the RPM subfolders are empty.

Do I have to reinstall linux or is there a location I can copy the kernel source files from.

P/s Please list the sorce files I shuld copy. Thanks.
 
Old 11-26-2004, 11:18 AM   #2
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
first, you probably should consider upgrading to a newer version of Mandrake. 10.0 Official is the latest free version, 10.1 Official should be available to the public any day now. better/newer apps, more hardware support, 2.6 series kernel.

anywho, to answer your question, to install the kernel-source, do it one of 2 ways.........

first, to make sure you know what kernel version you're currently running, open a terminal as root & type........

Code:
uname -a
that will list your current kernel & some other system info. note the kernel version number. now, to install the source.......

GUI method......... open Mandrake Control Center (type mcc in terminal as root->hit enter) then go to software management->install software. type kernel in the search box, check the kernel-source that matches your kernel, install it. it's on one of the MDK install CD's.

CLI method............. open a terminal as root, & type the following........

Code:
urpmi kernel-source
hit enter, & that will install the kernel-source. if more than one is available, it will give you a list to choose from. again, choose the one that matches your kernel.

otis
 
Old 11-26-2004, 12:01 PM   #3
Mariory
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks a lot for your help.
 
Old 12-20-2004, 08:01 PM   #4
Ace2005
Member
 
Registered: Dec 2004
Distribution: OpenSuSE 10.0
Posts: 140

Rep: Reputation: 15
Just in case you are wondering about Sagem Fast 800 E2T and Mandrake 10.1

i installed mandrake 10.1 and that installed the drivers automatically and all i had to do was set up the connection. I hope this helps you. I'm even newer to linux than you are, i have so far only used it for 4 days

Last edited by Ace2005; 12-20-2004 at 08:03 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
linux kernel source location Add1Sun SUSE / openSUSE 5 03-30-2005 12:33 PM
need to install kernel source files (mandrake 10) in console lostlyre Linux - Software 2 04-02-2004 03:45 PM
Mandrake 8.1 need help in getting Kernel source files CorpChAoS Mandriva 2 01-19-2004 04:54 AM
Mandrake Update and Kernel Source Files Campy19 Mandriva 2 12-24-2003 02:59 PM
Kernel Source Location in Mandrake 9.1? Ken Ju-On Linux - Newbie 11 08-13-2003 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:40 AM.

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