全球主机交流论坛
标题:
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
make -C /lib/modules/$(uname -r)/build M=`pwd` modules CC=/usr/bin/gcc
make: Entering directory `/usr/src/kernels/4.13.0-1.el6.elrepo.x86_64'
CC [M] /root/tcp_tsunami.o
/root/tcp_tsunami.c:67: error: field ‘cycle_mstamp’ has incomplete type
/root/tcp_tsunami.c: In function ‘bbr_is_next_cycle_phase’:
/root/tcp_tsunami.c:387: error: implicit declaration of function ‘skb_mstamp_us_delta’
/root/tcp_tsunami.c: In function ‘bbr_reset_lt_bw_sampling_interval’:
/root/tcp_tsunami.c:473: error: request for member ‘stamp_jiffies’ in something not a structure or union
/root/tcp_tsunami.c: In function ‘bbr_lt_bw_sampling’:
/root/tcp_tsunami.c:579: error: request for member ‘stamp_jiffies’ in something not a structure or union
/root/tcp_tsunami.c: In function ‘bbr_update_min_rtt’:
/root/tcp_tsunami.c:707: warning: passing argument 2 of ‘before’ makes integer from pointer without a cast
./include/net/tcp.h:299: note: expected ‘__u32’ but argument is of type ‘u32 (*)(const struct tcp_sock *)’
/root/tcp_tsunami.c:712: warning: assignment makes integer from pointer without a cast
/root/tcp_tsunami.c:738: warning: assignment makes integer from pointer without a cast
/root/tcp_tsunami.c:745: warning: passing argument 2 of ‘before’ makes integer from pointer without a cast
./include/net/tcp.h:299: note: expected ‘__u32’ but argument is of type ‘u32 (*)(const struct tcp_sock *)’
/root/tcp_tsunami.c:746: warning: assignment makes integer from pointer without a cast
/root/tcp_tsunami.c: In function ‘bbr_init’:
/root/tcp_tsunami.c:793: warning: assignment makes integer from pointer without a cast
make[1]: *** [/root/tcp_tsunami.o] Error 1
make: *** [_module_/root] Error 2
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