Chinaunix

标题: 关于ipsec NETKEY 移植问题(内核版本:2.6.18) [打印本页]

作者: PicoDavid    时间: 2009-07-06 16:48
标题: 关于ipsec NETKEY 移植问题(内核版本:2.6.18)
请教各位:
本人在将Linux 内核对ipsec的支持模块(也就是NETKEY)移植到ARM上的时候,遇到了如下的问题:
在交叉编译的时候,如下的module 已经在make menuconfig已经选中:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
Networking  --->
  Networking options  --->
    Transformation user configuration interface
    PF_KEY sockets
    TCP/IP networking
      IP: advanced router
      IP: policy routing
      IP: AH transformation
      IP: ESP transformation
      IP: IPComp transformation
      IP: IPsec transport mode
      IP: IPsec tunnel mode
      IP: IPsec BEET mode (experimental)
    The IPv6 protocol
      IPv6: AH transformation
      IPv6: ESP transformation
      IPv6: IPComp transformation
      IPv6: IPsec transport mode
      IPv6: IPsec tunnel mode
      IPv6: IPsec BEET mode
      IPv6: Multiple Routing Tables  
    Network packet filtering framework (Netfilter)  --->
      Core Netfilter Configuration
      IPsec "policy" match support
Cryptographic API
   Select algorithms you want to use...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
并且在生成的system.map中能够查到如下的symbol: skb_cow_data, pskb_put, skb_to_sgvec。
但是到了arm板上,却没法insmod esp4.ko, 提示的错误就是这些symbol未知。 我在arm上查看了/proc/kallsyms,的确没有这些symbol。
(这些symbol在net/xfrm_algo.c定义)

各位是否遇到过这个问题,请不吝赐教,谢谢!
作者: PicoDavid    时间: 2009-07-06 17:26
标题: 回复 #1 PicoDavid 的帖子
坛子里高手快来瞅瞅阿
作者: PicoDavid    时间: 2009-07-07 11:50
难道大家没遇到过这个问题吗?
作者: 月是夜的明    时间: 2015-09-23 09:08
楼主,你的问题解决了没有啊,,,求助  我也遇到问题了




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2