Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: elauriault on December 02, 2012, 12:35:42 AM

Title: missing xfrm_user.ko kernel module
Post by: elauriault on December 02, 2012, 12:35:42 AM
Hi all,

While trying to get information on ip transformation sets using "ip xfrm state" from iproute2, I got the following output :

"Cannot open netlink socket: Protocol not supported"

The problem is the missing xfrm_user.ko kernel module which is disabled in config-3.0.21-tinycore :

$ grep XFRM config-3.0.21-tinycore
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
CONFIG_XFRM_IPCOMP=y
CONFIG_INET_XFRM_TUNNEL=y
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
# CONFIG_INET_XFRM_MODE_BEET is not set
CONFIG_INET6_XFRM_TUNNEL=m
CONFIG_INET6_XFRM_MODE_TRANSPORT=m
CONFIG_INET6_XFRM_MODE_TUNNEL=m
CONFIG_INET6_XFRM_MODE_BEET=m
CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m

CONFIG_XFRM_USER should be compiled as a module in config-3.0.21-tinycore correct this issue.

While looking at this, I also noticed that while CONFIG_INET6_XFRM_MODE_BEET=m, CONFIG_INET_XFRM_MODE_BEET is not set for some reason.

Thanks,

Eric Lauriault
Title: Re: missing xfrm_user.ko kernel module
Post by: curaga on December 02, 2012, 04:55:32 AM
Marked todo for the next build.