全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 3504|回复: 3
打印 上一主题 下一主题

Centos 6 的魔改BBR方法失效了!现在安装的内核为4.13.1-1

[复制链接]
跳转到指定楼层
1#
发表于 2017-9-6 12:25:46 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
使用秋水的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一键包?
2#
发表于 2017-9-6 12:26:52 | 只看该作者
手动安装4.12.10
3#
发表于 2017-9-6 12:32:50 | 只看该作者
本帖最后由 nic2013 于 2017-9-6 12:52 编辑

确实不行了,我也不知道咋办了,用 4.12的内核吧。
4#
发表于 2017-9-7 12:55:21 | 只看该作者
我也遇到这个问题了,有大佬解决这个问题吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-11-9 19:35 , Processed in 0.057418 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表