Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-26-2004, 03:25 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
No kernel source tree?

Running Debian Vanilla version.
uname gives me 2.2.20 kernel, whereis kernel gives me nothing. There is no kernel source installed and while looking on all 7 of the cd's I can't find the source for the 2.2.20 kernel, just the 2.4.18.

My problem is I can't just download the 2.2.20 source because I have no network drivers on my PC.(I'm at work right now) And while trying to install the BCM4400 drivers for my network card it just gives me no source tree found.

Is the source hidden somewhere on the cd and named weird or something?

Old 03-26-2004, 07:25 AM   #2
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 35
Why do you want the 2.2 source? The kernel is up to version 2.6.4 now, and so 2.4 is pretty stable. I suggest you install a 2.4 kernel first, and then install the network drivers. However, if you have the debian cds with source, then it's bound to be on there somewhere. Also "whereis kernel" will not return anything, since the kernel is:
a) Never usually found in an executable path
b) Never usually called "kernel"
Old 03-26-2004, 10:55 AM   #3
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
If kernel source is installed, it should be under /usr/src/linux (which is a symlink to /usr/src/kernel-something)
If it's not installed, and you let apt scan your CDs when promped, give
apt-get install kernel-source-2.2.20

PS: when looking for a non-executable file, use "locate -i". See manpage

Last edited by ac1980; 03-26-2004 at 10:59 AM.
Old 04-14-2004, 11:12 PM   #4
Nield Rankosa
LQ Newbie
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
Post Deleted.

Last edited by Nield Rankosa; 05-25-2009 at 01:16 AM.


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
how to integrate driver source into kernel source tree zhchang Linux - Software 5 11-23-2005 01:34 AM
Kernel Source Tree? raxxal Fedora 1 04-07-2005 06:14 PM
where is kernel source tree ? overproof Mandriva 2 04-07-2005 04:28 PM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 09:37 PM
no kernel source tree?? adambeazley Linux - Wireless Networking 3 04-22-2004 06:25 PM

All times are GMT -5. The time now is 02:50 PM.

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