LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-07-2011, 05:15 PM   #1
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Rep: Reputation: 1
what options are enabled in the default debian squeeze kernel


does it have all the possible stuff enabled/compiled or do they pick?
 
Old 09-07-2011, 05:20 PM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Code:
less /boot/config-$(uname -r)
 
Old 09-07-2011, 05:27 PM   #3
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
great, that works. now is there any way I can duplicate those options for when I compile my own kernel without having to select them one-by-one manually?
 
Old 09-07-2011, 07:24 PM   #4
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Sure, just copy /usr/src/<your_current_kernel_headers>/.config to the root of the directory containing the kernel source you want to compile. (Note that .config is a hidden file).
 
Old 09-07-2011, 09:33 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
Sure, just copy /usr/src/<your_current_kernel_headers>/.config to the root of the directory containing the kernel source you want to compile. (Note that .config is a hidden file).
.. And then use "the old .config" file : Just run 'make oldconfig'


.

Last edited by knudfl; 09-07-2011 at 09:34 PM.
 
Old 09-08-2011, 03:10 AM   #6
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
ok one final question: what's the best place to get the kernel source as .tar.bz2 now that kernel.org is down?
 
Old 09-09-2011, 02:32 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
kernel source as .tar.bz2
Which version do you want ? ?
 
Old 09-09-2011, 02:53 AM   #8
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
You can get the source for the stock debian kernels from the repos - e.g.

Code:
apt-get source linux-image-$(uname -r)
You can do that as a normal user from within a directory in your ~ and download the source to there.

If you want the mainline kernel source then you will have to pull it from the Git repo.
 
Old 09-09-2011, 08:07 AM   #9
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by knudfl View Post
Which version do you want ? ?
>= 2.6.37

Quote:
Originally Posted by Caravel View Post
pull it from the Git repo.
link please
 
Old 09-09-2011, 11:06 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
"linux-2.6.37" : Slackware 13.37 uses 2.6.37.6,
ftp://ftp.slackware.org.uk/slackware....6.37.6.tar.xz
> linux-2.6.37.6.tar.xz

Suse 11.4 : 2.6.37.1,
http://download.opensuse.org/source/...-1.2.2.src.rpm
> kernel-source-2.6.37.1-1.2.2.src.rpm > > linux-2.6.37.1.tar.bz2

Suse updates, 11.4 : 2.6.37.6



The "git version" is something like version 3.0.4+***.

..

Last edited by knudfl; 09-09-2011 at 11:09 AM.
 
  


Reply



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
Various segmentation faults Debian Squeeze Virtualbox running on Debian Squeeze host fordwrench Debian 1 07-21-2011 03:55 AM
[SOLVED] network-manager, vpn: no/slow connection, options not saved (debian squeeze) mike11 Linux - Networking 2 01-23-2010 09:43 PM
To check kernel options - enabled/disabled satimis Fedora 5 05-10-2006 12:44 PM
How to find out which options have been enabled in kernel? donbellioni Linux - General 1 07-21-2004 09:54 AM
default kernel options whysyn Slackware 1 06-16-2003 11:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:33 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
Open Source Consulting | Domain Registration