Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#7176 closed defect (fixed)

lack of CONFIG_XFRM in kernel options

Reported by: michal.banat@… Owned by: developers
Priority: high Milestone: Backfire 10.03.1
Component: kernel Version: Backfire 10.03
Keywords: Cc:

Description

loading ipsec and ipsec4 kernel modules fails on 10.03 build http://downloads.openwrt.org/backfire/10.03/ar71xx/openwrt-ar71xx-wrt160nl-squashfs.bin

Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_count_enc_supported
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_state_alloc
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_state_walk_done
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_find_acq
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_policy_byid
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_state_lookup
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_state_add
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_policy_alloc
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_calg_get_byid
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_policy_bysel_ctx
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_count_auth_supported
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_state_destroy
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_ealg_get_byname
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_policy_destroy
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_policy_walk_init
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_unregister_km
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_state_flush
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_state_walk_init
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_alloc_spi
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_aalg_get_byname
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_register_km
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol km_state_notify
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_aalg_get_byid
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_policy_walk_done
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_ealg_get_byid
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_policy_flush
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_ealg_get_byidx
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_cfg_mutex
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_policy_walk
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol km_policy_notify
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_state_update
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_policy_insert
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_init_state
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_calg_get_byname
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_find_acq_byseq
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_probe_algs
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_state_delete
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_state_walk
Apr 16 11:31:29 OpenWrt user.warn kernel: af_key: Unknown symbol xfrm_aalg_get_byidx
Apr 16 11:31:29 OpenWrt daemon.err ipsec_setup: Using NETKEY(XFRM) stack
Apr 16 11:31:30 OpenWrt user.warn kernel: ipcomp: Unknown symbol ipcomp_input
Apr 16 11:31:30 OpenWrt user.warn kernel: ipcomp: Unknown symbol xfrm_state_alloc
Apr 16 11:31:30 OpenWrt user.warn kernel: ipcomp: Unknown symbol xfrm_state_lookup
Apr 16 11:31:30 OpenWrt user.warn kernel: ipcomp: Unknown symbol xfrm4_rcv
Apr 16 11:31:30 OpenWrt user.warn kernel: ipcomp: Unknown symbol
xfrm_state_destroy
Apr 16 11:31:30 OpenWrt user.warn kernel: ipcomp: Unknown symbol ipcomp_destroy
Apr 16 11:31:30 OpenWrt user.warn kernel: ipcomp: Unknown symbol ipcomp_output
Apr 16 11:31:30 OpenWrt user.warn kernel: ipcomp: Unknown symbol xfrm_register_type
Apr 16 11:31:30 OpenWrt user.warn kernel: ipcomp: Unknown symbol xfrm_state_insert
Apr 16 11:31:30 OpenWrt user.warn kernel: ipcomp: Unknown symbol ipcomp_init_state
Apr 16 11:31:30 OpenWrt user.warn kernel: ipcomp: Unknown symbol xfrm_unregister_type
Apr 16 11:31:30 OpenWrt user.warn kernel: ipcomp: Unknown symbol xfrm_init_state
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm4_mode_transport: Unknown symbol xfrm_unregister_mode
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm4_mode_transport: Unknown symbol xfrm_register_mode
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm4_mode_tunnel: Unknown symbol xfrm4_prepare_output
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm4_mode_tunnel: Unknown symbol xfrm_unregister_mode
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm4_mode_tunnel: Unknown symbol xfrm_prepare_input
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm4_mode_tunnel: Unknown symbol xfrm_register_mode
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm4_tunnel: Unknown symbol xfrm_register_type
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm4_tunnel: Unknown symbol xfrm_unregister_type
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm4_tunnel: Unknown symbol xfrm4_rcv_encap
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm4_mode_beet: Unknown symbol xfrm4_prepare_output
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm4_mode_beet: Unknown symbol xfrm_unregister_mode
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm4_mode_beet: Unknown symbol xfrm_prepare_input
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm4_mode_beet: Unknown symbol xfrm_register_mode
Apr 16 11:31:30 OpenWrt user.warn kernel: esp4: Unknown symbol xfrm_state_lookup
Apr 16 11:31:30 OpenWrt user.warn kernel: esp4: Unknown symbol xfrm4_rcv
Apr 16 11:31:30 OpenWrt user.warn kernel: esp4: Unknown symbol km_new_mapping
Apr 16 11:31:30 OpenWrt user.warn kernel: esp4: Unknown symbol xfrm_state_destroy
Apr 16 11:31:30 OpenWrt user.warn kernel: esp4: Unknown symbol xfrm_output_resume
Apr 16 11:31:30 OpenWrt user.warn kernel: esp4: Unknown symbol xfrm_register_type
Apr 16 11:31:30 OpenWrt user.warn kernel: esp4: Unknown symbol xfrm_aalg_get_byname
Apr 16 11:31:30 OpenWrt user.warn kernel: esp4: Unknown symbol xfrm_input_resume
Apr 16 11:31:30 OpenWrt user.warn kernel: esp4: Unknown symbol pskb_put
Apr 16 11:31:30 OpenWrt user.warn kernel: esp4: Unknown symbol xfrm_unregister_type
Apr 16 11:31:30 OpenWrt user.warn kernel: ah4: Unknown symbol xfrm_state_lookup
Apr 16 11:31:30 OpenWrt user.warn kernel: ah4: Unknown symbol xfrm4_rcv
Apr 16 11:31:30 OpenWrt user.warn kernel: ah4: Unknown symbol
xfrm_state_destroy
Apr 16 11:31:30 OpenWrt user.warn kernel: ah4: Unknown symbol xfrm_register_type
Apr 16 11:31:30 OpenWrt user.warn kernel: ah4: Unknown symbol xfrm_aalg_get_byname
Apr 16 11:31:30 OpenWrt user.warn kernel: ah4: Unknown symbol skb_icv_walk
Apr 16 11:31:30 OpenWrt user.warn kernel: ah4: Unknown symbol xfrm_unregister_type
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_spd_getinfo
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_state_alloc
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_state_walk_done
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_find_acq
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_policy_byid
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_state_lookup
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_state_add
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_policy_alloc
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_policy_bysel_ctx
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_state_destroy
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_aead_get_byname
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_get_acqseq
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_ealg_get_byname
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_policy_destroy
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_policy_walk_init
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_unregister_km
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_state_flush
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_state_walk_init
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol km_policy_expired
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_alloc_spi
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_aalg_get_byname
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol km_query
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_register_km
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol km_state_notify
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol
xfrm_state_delete
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_policy_walk_done
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_sad_getinfo
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_policy_flush
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_policy_delete
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_cfg_mutex
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol km_state_expired
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_policy_walk
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_state_lookup_byaddr
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol km_policy_notify
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_state_update
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_policy_insert
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_init_state
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_calg_get_byname
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_find_acq_byseq
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_state_delete
Apr 16 11:31:30 OpenWrt user.warn kernel: xfrm_user: Unknown symbol xfrm_state_walk
Apr 16 11:31:30 OpenWrt user.warn kernel: twofish: Unknown symbol twofish_setkey
Apr 16 11:31:31 OpenWrt authpriv.err ipsecplutorun: Starting Pluto subsystem...
Apr 16 11:31:31 OpenWrt daemon.err ipsec_setup: ...Openswan IPsec started
Apr 16 11:31:31 OpenWrt daemon.err ipsec_setup: insmod: can't insert 'af_key': unknown symbol in module, or unknown parameter
Apr 16 11:31:31 OpenWrt daemon.err ipsec_setup: Starting Openswan IPsec 2.6.24...
Apr 16 11:31:31 OpenWrt daemon.err ipsec_setup: pfkey_open: Address family not supported by protocol
Apr 16 11:31:31 OpenWrt daemon.err ipsec_setup: pfkey_open: Address family not supported by protocol
Apr 16 11:31:32 OpenWrt user.warn syslog: adjusting ipsec.d to /etc/ipsec.d
Apr 16 11:31:32 OpenWrt daemon.err ipsec
plutorun: adjusting ipsec.d to /etc/ipsec.d
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1260]: Setting NAT-Traversal port-4500 floating to off
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1260]: port floating activation criteria nat_t=0/port_float=1
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1260]: NAT-Traversal support [disabled]
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1260]: using /dev/urandom as source of random entropy
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1260]: ike_alg_register_enc(): Activating OAKLEY_TWOFISH_CBC_SSH: Ok (ret=0)
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1260]: ike_alg_register_enc(): Activating OAKLEY_TWOFISH_CBC: Ok (ret=0)
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1260]: ike_alg_register_enc(): Activating OAKLEY_SERPENT_CBC: Ok (ret=0)
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1260]: ike_alg_register_enc(): Activating OAKLEY_AES_CBC: Ok (ret=0)
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1260]: ike_alg_register_enc(): Activating OAKLEY_BLOWFISH_CBC: Ok (ret=0)
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1260]: ike_alg_register_hash(): Activating OAKLEY_SHA2_512: Ok (ret=0)
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1260]: ike_alg_register_hash(): Activating OAKLEY_SHA2_256: Ok (ret=0)
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1277]: using /dev/urandom as source of random entropy
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1260]: Using Linux 2.6 IPsec interface code on 2.6.32.10 (experimental code)
Apr 16 11:31:32 OpenWrt authpriv.err pluto[1260]: FATAL ERROR: Failed to bind bcast socket in init_netlink() - Perhaps kernel was not compiled with CONFIG_XFRM. Errno 2: No such file or directory
Apr 16 11:31:32 OpenWrt authpriv.warn pluto[1277]: pluto_crypto_helper: helper (0) is normal exiting
Apr 16 11:31:32 OpenWrt daemon.err ipsecplutorun: whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")
Apr 16 11:31:32 OpenWrt daemon.err ipsec
plutorun: !pluto failure!: exited with error status 1

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by nico

  • Resolution set to fixed
  • Status changed from new to closed

Auto-loading of kmod-ipsec, kmod-ipsec4 & kmod-ipsec6 kernel modules is missing in 10.03 final. It was fixed in [20903] and will be available in 10.03.1.

comment:2 Changed 8 years ago by mkloeckner@…

I flashed the current trunk after reading this because I had the same error on 10.03, but this problem still occurs. (using r21813)

There is a S30-ipsec in /etc/modules.d, but trying to load af_key, xfrm_ipcomp, xfrm_user still gives the listed errors above. Seems like a module is still missing being loaded, but I don't know which.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.