[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux-source-3.2.0-rc7



On Thu, 05 Jan 2012 01:38:23 -0500 (EST), lina wrote:
> 
> Hi,
> 
> a quick question,
> 
> Which header I should choose?
> 
> linux-headers-3.2.0-rc7-all_3.2~rc7-1~experimental.1_amd64.deb
> linux-headers-3.2.0-rc7-all-amd64_3.2~rc7-1~experimental.1_amd64.deb
> linux-headers-3.2.0-rc7-amd64_3.2~rc7-1~experimental.1_amd64.deb
> linux-headers-3.2.0-rc7-common_3.2~rc7-1~experimental.1_amd64.deb
> linux-headers-3.2.0-rc7-rt-amd64_3.2~rc7-1~experimental.1_amd64.deb
> 
> what does the last one mean, rt?
> and what's the difference among those,
> 
> Thanks,
> 
> $ uname -a
> Linux debian 3.2.0-rc6-3.2-mj-lina #1 SMP Sat Dec 17 13:14:26 SGT 2011 x86_64 GNU/Linux
> 
> the one I built from kernel.org a bit heavy, took so much space. I am 
> not sure if I built from debian repository whether it will be light,

It appears that you are running a custom kernel, based on the output
of "uname -a".  In that case, none of the above headers will match your
kernel.

I suggest that you read

   http://users.wowway.com/~zlinuxman/Kernel.htm

Among other things, it will tell you how to build a headers package that
goes with the custom kernel.  But, depending on why you need, or think
you need, a headers package, you may or may not actually need the headers
package.  For example, if the only reason that you need a headers package
is to install the Nvidia proprietary drivers, and you are using the Debian
kernel module source packages for the proprietary drivers, and you use
kernel-package to produce the custom kernel, then, assuming that you do
things properly, you won't need a headers package in the first place.
See the above web page for details.  It is not short and sweet, but it is
thorough and comprehensive.

I'm also curious as to why you need, or think you need, to build a custom
kernel in the first place.

-- 
  .''`.     Stephen Powell    
 : :'  :
 `. `'`
   `-


Reply to: