Differences between revisions 36 and 37
Revision 36 as of 2010-11-16 19:17:23
Size: 4186
Editor: ?skizzhg
Comment:
Revision 37 as of 2011-04-05 14:59:46
Size: 4214
Editor: ?mdt
Comment:
Deletions are marked like this. Additions are marked like this.
Line 64: Line 64:
kernelnewbies.org has summaries of new features in kernels:
 * [[http://kernelnewbies.org/Linux26Changes]]
[[http://kernelnewbies.org/|kernelnewbies.org]] has summaries of new features in kernels:
 * [[http://kernelnewbies.org/LinuxChanges]]

Translation(s): English - Français - Italiano

(!) ?Discussion

Kernel > FAQ

Newer Kernel ?

Why would I install a new kernel?

It is often not necessary since the default kernel shipped with Debian handles most configurations. However, it is useful to compile a new kernel in order to:

  • Handle special hardware needs, or hardware conflicts with the pre-supplied kernels.
  • Optimize the kernel by removing useless drivers to speed up boot time (Do you really need it?)

  • Use options of the kernel which are not supported by the default kernel (see reasons).

You have two options to install a new kernel : you can install one of the precompiled kernels provided by Debian/GNU Linux or build the kernel yourself.

Installing linux image

This is explained in HowToUpgradeKernel.

Building my own kernel

If you just want to change the configuration or apply some patch, see HowToRebuildAnOfficialDebianKernelPackage.

If you want to build a kernel that is not distributed in Debian yet at all, see BuildingKernelFromUpstreamSources

Troubleshooting/Debugging

Kernel Oops

The 'oops' refers to the message printed by the Linux kernel when an unforseen condition occurs. Such incidents should be reported to the Linux kernel developers. Information on how to do so comes with the Linux kernel sources. You may consider to install the Debian package 'kerneloops' to automate the reporting (see ?Kernel/Oops).

Information

Misc FAQ

What's my current kernel?

Use the command uname(1). For example : uname -r which prints 2.6.26-1-686 (so the package name is linux-image-$(uname -r)).

Which package does it comes from?

Usually, this command will work : dpkg -p linux-image-$(uname -r).

Where is the kernel configuration file?

The kernel configuration file of Debian Official kernel are available in /boot, named after the kernel release, like /boot/config-2.6.18-6-486, or /boot/config-$(uname -r).

All the kernel configuration files, which were used to build the official Debian's binary kernel images from the linux-2.6 source package are available from http://merkel.debian.org/~jurij/.

Does Debian have /proc/config.gz?

/proc/config.gz isn't available in Debian, because the config is provided in /boot/config-*, no need for the in-memory variant (Kernel configuration CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC). See 541489

The following bash command match the current configuration file (on standard kernel):

   1 ls /boot/config-$(uname -r)
Kernel Source ?

See dpkg -l 'linux-source*' for available source packages, and KernelGit for development trees.

Kernel Headers ??

see KernelHeaders.

Patches included in the Debian Linux kernel

http://svn.debian.org/wsvn/kernel/dists/trunk/linux-2.6/debian/patches/?rev=0&sc=0

Firmware not included

see KernelFirmwareLicensing?

New features

kernelnewbies.org has summaries of new features in kernels:

See also


CategoryKernel