LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

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

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, 12:46 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 05:36 PM   #3
fishkake
LQ Newbie
 
Registered: Dec 2006
Posts: 2

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


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


All times are GMT -5. The time now is 12:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration