LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-12-2004, 11:14 PM   #1
reshma
LQ Newbie
 
Registered: Sep 2003
Distribution: Debian
Posts: 6

Rep: Reputation: 0
Smile how to install kernal source


Hi All,
I am a newbie to Debian. I have kernel 2.4.18-bf2.4.
I was trying to install emu10k1-v0.20a.tar.bz2 for my sound blaster and I received following error:
'/lib/modules/2.4.18-bf2.4/build directory does not exist. Please edit the file 'config' in this directory and set KERNEL_SOURCE to the correct location of your kernel source'.

Can someone tell me how to determine if I have source installed and if not, how to go about installing it? I read some of debian references but still not sure where to download the source for the version I am running.

Thanks in advance.
Reshma
 
Old 01-13-2004, 12:05 AM   #2
nmoog
Member
 
Registered: Sep 2003
Location: Sydney
Distribution: Debian
Posts: 70

Rep: Reputation: 15
Im just a newbie myself, but heres some suggestions while you wait for someone who knows what they are talking about!

Have a look as see if "/lib/modules/2.4.18/" exists.

Does "/usr/src/linux" or "/usr/src/linux-2.4.18-blahblah" exist? This is where the source code goes.

Have you tried to so a "modprobe emu10k1" to see if you have the sb driver already?

Thats all I got
 
Old 01-14-2004, 11:38 PM   #3
reshma
LQ Newbie
 
Registered: Sep 2003
Distribution: Debian
Posts: 6

Original Poster
Rep: Reputation: 0
Thumbs up

hi.. I tried modprobe emu10k1 and the sound worked!!! thx alot.. But everytime I restart my linux, I need to give this command to load the module.
But what do I need to do so that I don't have to do this everytime I reboot?
 
Old 01-15-2004, 07:36 PM   #4
mysterio
Member
 
Registered: Sep 2003
Location: Springfield Ma.
Distribution: Mandrake 9.2,Knoppix 3.7,Slackware 10.0, FreeBSD. 5.3, OpenBSD 3.6, NetBSD 2.0, Debian
Posts: 275

Rep: Reputation: 30
Not sure about debian but in mandrake it goes in modules.conf, check in debian
where modules file is and put it in there.
 
  


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
kernal source phoneix Linux - Hardware 13 07-16-2005 07:33 AM
How to install kernal source for Mandrake 10? i_like_deer Mandriva 11 08-08-2004 01:26 PM
how to install kernal-source code? jmg1894 Linux - Software 8 06-07-2004 06:06 PM
Install linux Kernal-Source in suse 9.0 TheLoneGoldFish Linux - Newbie 5 04-28-2004 12:30 PM
Will updating kernal source screw up my nvidia install? EnVoy Mandriva 3 12-23-2003 05:06 PM


All times are GMT -5. The time now is 12:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration