WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: missing xfrm_user.ko kernel module  (Read 3686 times)

Offline elauriault

  • Newbie
  • *
  • Posts: 1
missing xfrm_user.ko kernel module
« on: December 01, 2012, 09:35:42 PM »
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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10965
Re: missing xfrm_user.ko kernel module
« Reply #1 on: December 02, 2012, 01:55:32 AM »
Marked todo for the next build.
The only barriers that can stop you are the ones you create yourself.