From 0ba3741330d05d252b9ec4e58299b233c8504b18 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Fri, 21 Jan 2011 05:33:09 +0000 Subject: README: clarify required kernel configuration Signed-off-by: Tzafrir Cohen Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=9619 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.4@9694 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- README | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README b/README index ad72d41..f7327f7 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 -- cgit v1.2.3