Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 12-05-2006, 10:32 AM   #1
LQ Newbie
Registered: Dec 2006
Posts: 11

Rep: Reputation: 0
Installing Kernel sources

Hi there. I'm trying to get a driver installed for a USB modem, and it keeps telling me "Kernel sources not found!" when I run the configuration for the driver install.

I'm using Debian, and I installed the package "Kernel-source-2.4.27" after using uname to find out what my kernel was. This didn't resolve the problem. After uncovering some (possibly unrelated) documentation on kernel recompiling, I tried extracting the tar file at /usr/src, but this also didn't have any effect.

Any help would be appreciated guys, I know I'm a n00b and probably shouldn't bein ther kernel section, but I figured it didn't fit anywhere else!
Old 12-05-2006, 11:46 AM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Did you also make a symlink from /usr/src/linux to /usr/src/kernel-source-2.4 (debian looks for the kernel source at /usr/src/linux)? Not sure, but you also might have to copy your config file in /boot to /usr/src/linux/.config and then run make oldconfig.

The other thing you can usually do for drivers is just aptitude install kernel-headers-2.4.27.
Old 12-05-2006, 04:36 PM   #3
LQ Newbie
Registered: Dec 2006
Posts: 11

Original Poster
Rep: Reputation: 0
OK, actually found out that the problem was that Debian wasn't supported, and that for Debian there was a seperate set of tools!

Still, I just recompiled my first kernel, which is an experience worth having, I guess! And remarkably, without breaking anything!

Thanks dude :-)


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
installing kernel sources in gentoo briansaysword Linux - Distributions 4 11-04-2006 07:29 AM
Ndiswrapper - Cant find kernel sources while installing (Kernel 2.6.11) krayhze Linux - Wireless Networking 6 05-23-2006 06:30 AM
installing kernel sources bhodi Slackware 1 04-12-2005 01:07 PM
installing fedora kernel sources wiz561 Linux - Newbie 2 07-30-2004 01:41 PM
Installing Kernel Sources... Solean Slackware 4 04-26-2003 03:16 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration