-   Linux - Newbie (
-   -   how to install kernal source (

reshma 01-12-2004 11:14 PM

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.

nmoog 01-13-2004 12:05 AM

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 :)

reshma 01-14-2004 11:38 PM

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?

mysterio 01-15-2004 07:36 PM

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

All times are GMT -5. The time now is 03:25 AM.