From 5f952783bf671507596aa184131f44a1ac6c4fe4 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Thu, 6 Jan 2011 16:55:29 +0000 Subject: [PATCH] README: clarify required kernel configuration Signed-off-by: Tzafrir Cohen git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9619 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- README | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README b/README index 5cc3b80..b71616a 100644 --- a/README +++ b/README @@ -87,9 +87,9 @@ Kernel Source / "Headers" - If you use a kernel from your distribution you will typically have a package with all the files required to build a kernel modules for your kernel image. - * On Debian Etch and Ubuntu this is + * On Debian and Ubuntu this is +++ linux-headers-`uname -r` +++ - * On Fedora, RHEL and compatibles (e.g. CentOS) and in SUSE this is + * On Fedora, RHEL and compatibles (e.g. CentOS) and SUSE this is the kernel-devel package. Or if you run kernel-smp or kernel-xen, you need kernel-smp-devel or kernel-xen-devel, respectively. * In some distributions (e.g.: in RHEL/CentOS, Fedora, Ubuntu) the @@ -106,6 +106,19 @@ Kernel Source / "Headers" make KSRC=/home/tzafrir/kernels/linus +Kernel Configuration +^^^^^^^^^^^^^^^^^^^^ +If you build a custom kernel, note the following configuration items: + +- CONFIG_CRC_CCITT must be enabled ('y' or 'm'). On 2.6 kernels this can + be selected These can be selected from the "Library Routines" submenu + during kernel configuration via "make menuconfig". +- DAHDI will work if you disable module unloading. But you may need + extra reboots. +- DAHDI needs the BKL (Big Kernel Lock). This may be annoying in + >=2.6.37 kernels. Make sure you enable CONFIG_BKL on those kernels. + + Installing to a Subtree ~~~~~~~~~~~~~~~~~~~~~~~ The following may be useful when testing the package or when preparing a