全球主机交流论坛

标题: Centos 6 的魔改BBR方法失效了!现在安装的内核为4.13.1-1 [打印本页]

作者: 传说的烧饼    时间: 2017-9-6 12:25
标题: Centos 6 的魔改BBR方法失效了!现在安装的内核为4.13.1-1
使用秋水的BBR一键包更新后是 4.13.1-1的内核了,使用下面的方法魔改失败了!
http://fd.vvwvv.eu.org/forum.php ... 041&pid=4745473

  1. make -C /lib/modules/$(uname -r)/build M=`pwd` modules CC=/usr/bin/gcc
  2. make: Entering directory `/usr/src/kernels/4.13.0-1.el6.elrepo.x86_64'
  3.   CC [M]  /root/tcp_tsunami.o
  4. /root/tcp_tsunami.c:67: error: field ‘cycle_mstamp’ has incomplete type
  5. /root/tcp_tsunami.c: In function ‘bbr_is_next_cycle_phase’:
  6. /root/tcp_tsunami.c:387: error: implicit declaration of function ‘skb_mstamp_us_delta’
  7. /root/tcp_tsunami.c: In function ‘bbr_reset_lt_bw_sampling_interval’:
  8. /root/tcp_tsunami.c:473: error: request for member ‘stamp_jiffies’ in something not a structure or union
  9. /root/tcp_tsunami.c: In function ‘bbr_lt_bw_sampling’:
  10. /root/tcp_tsunami.c:579: error: request for member ‘stamp_jiffies’ in something not a structure or union
  11. /root/tcp_tsunami.c: In function ‘bbr_update_min_rtt’:
  12. /root/tcp_tsunami.c:707: warning: passing argument 2 of ‘before’ makes integer from pointer without a cast
  13. ./include/net/tcp.h:299: note: expected ‘__u32’ but argument is of type ‘u32 (*)(const struct tcp_sock *)’
  14. /root/tcp_tsunami.c:712: warning: assignment makes integer from pointer without a cast
  15. /root/tcp_tsunami.c:738: warning: assignment makes integer from pointer without a cast
  16. /root/tcp_tsunami.c:745: warning: passing argument 2 of ‘before’ makes integer from pointer without a cast
  17. ./include/net/tcp.h:299: note: expected ‘__u32’ but argument is of type ‘u32 (*)(const struct tcp_sock *)’
  18. /root/tcp_tsunami.c:746: warning: assignment makes integer from pointer without a cast
  19. /root/tcp_tsunami.c: In function ‘bbr_init’:
  20. /root/tcp_tsunami.c:793: warning: assignment makes integer from pointer without a cast
  21. make[1]: *** [/root/tcp_tsunami.o] Error 1
  22. make: *** [_module_/root] Error 2
  23. make: Leaving directory `/usr/src/kernels/4.13.0-1.el6.elrepo.x86_64'
复制代码


Centos系统有没有魔改BBR一键包?
作者: qibinghua    时间: 2017-9-6 12:26
手动安装4.12.10
作者: nic2013    时间: 2017-9-6 12:32
本帖最后由 nic2013 于 2017-9-6 12:52 编辑

确实不行了,我也不知道咋办了,用 4.12的内核吧。

作者: cnlanny    时间: 2017-9-7 12:55
我也遇到这个问题了,有大佬解决这个问题吗?





欢迎光临 全球主机交流论坛 (https://fd.vvwvv.eu.org/) Powered by Discuz! X3.4