[elrepo] Changes in kernel-lt: enable l2tp driver as module

Alan Bartlett ajb at elrepo.org
Sun Dec 22 11:38:22 EST 2013


On 22 December 2013 16:07, Alex Domoradov <alex.hha at gmail.com> wrote:
> Hello all,
>
> Is it possible to enable l2tp driver by default in kernel-lt? As for
> now it's turned off
>
> # cat /boot/config-3.10.25-1.el6.elrepo.x86_64 | grep -i l2tp
> # CONFIG_L2TP is not set
>
> But at the same time pptp is turned on
>
> [root at perflect log]# cat /boot/config-3.10.25-1.el6.elrepo.x86_64 | grep -i pptp
> CONFIG_NF_CONNTRACK_PPTP=m
> CONFIG_NF_NAT_PPTP=m
> CONFIG_PPTP=m
>
> It's very uncomfortable to build every time new kernel only for the
> one driver. As I understand all you need is to add the following 4
> lines to the config-3.10.25-$ARCH
>
> CONFIG_L2TP=m
> CONFIG_L2TP_DEBUGFS=m
> CONFIG_PPPOL2TP=m
> # CONFIG_L2TP_V3 is not set
>
> Thanks in advance


Hello Alex,

At a quick glance, it seems that your proposed configuration
adjustment is perfectly feasible.

Just one query. Do you actually make use of the relevant DEBUGFS ? It
is our normal procedure not to enable DEBUGFS throughout the
configuration, so as to minimise the physical size of the kernel.

On your behalf, I have opened an RFE in the bugtracker [1].

All being well, this configuration adjustment will be implemented with
the next update to the kernel-lt package.

Alan.

[1] http://elrepo.org/bugs/view.php?id=443


More information about the elrepo mailing list