跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • Centos8编译Google BBR2出错未大佬指点
未分類
23 2 月 2020

Centos8编译Google BBR2出错未大佬指点

lsnmx 大佬有话说 : 2019-12-6 14:53:11

Centos8编译Google BBR2出错未大佬指点

INSTALL /root/rpmbuild/BUILDROOT/kernel-5.4.0_rc6-1.x86_64/usr/include
/bin/sh: rsync: command not found
make: *** Error 127
error: Bad exit status from /var/tmp/rpm-tmp.eWlsnD (%install)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.eWlsnD (%install)
make: *** Error 1
make: *** Error 2

real        108m13.659s
user        93m39.136s
sys        18m54.816s

# 安装编译相关的工具
yum groups install development -y
yum install gcc bc ncurses-devel openssl-devel elfutils-libelf-devel -y
# 获取源代码
git clone -o google-bbr -b v2alphahttps://github.com/google/bbr.git
# 进入源代码文件夹
cd bbr
# 打开编译选项菜单
make menuconfig
# 编译选项菜单 (图1)
# 按 / 键在搜索框输入 bbr2 回车 (图2)
# 根据查询结果(图3),按 数字键 2 进入 TCP_CONG_BBR2 配置页面 (图4)
# 按 空格键 启用 bbr2 内核模块 (图4)
# 按 Save 保存到 .config 文件中 (图5)
# 查看保存的配置文件中BBR配置项是否为m (CONFIG_TCP_CONG_BBR2=m)
grep -i bbr2 .config
# 禁用调试
scripts/config –disable DEBUG_INFO
# 编译内核并打包成rpm安装包
time make rpm-pkg

勇气不足 大佬有话说 : 2019-12-6 15:05:05

哎。。。基本的排错都不会就跳级玩编译内核

affyun.org 大佬有话说 : 2019-12-6 14:55:39

/bin/sh: rsync: command not found
先把rsync装了

lsnmx 大佬有话说 : 2019-12-6 15:17:50

勇气不足 大佬有话说 : 2019-12-6 15:05
哎。。。基本的排错都不会就跳级玩编译内核

:lol 自己动手丰衣足食

lsnmx 大佬有话说 : 2019-12-6 15:19:49

affyun.org 大佬有话说 : 2019-12-6 14:55
/bin/sh: rsync: command not found
先把rsync装了

谢谢大佬我再试试

lsnmx 大佬有话说 : 2019-12-9 12:52:13

affyun.org 大佬有话说 : 2019-12-6 14:55
/bin/sh: rsync: command not found
先把rsync装了

谢谢大佬,成功了
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/kernel-5.4.0_rc6-1.x86_64
Wrote: /root/rpmbuild/SRPMS/kernel-5.4.0_rc6-1.src.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/kernel-5.4.0_rc6-1.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/kernel-headers-5.4.0_rc6-1.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/kernel-devel-5.4.0_rc6-1.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mCdXCw
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd kernel-5.4.0_rc6
+ rm -rf /root/rpmbuild/BUILDROOT/kernel-5.4.0_rc6-1.x86_64
+ exit 0

real        105m41.303s
user        92m37.938s
sys        18m59.026s

seobaikewang 大佬有话说 : 2019-12-9 12:52:29

666

lsnmx 大佬有话说 : 2019-12-9 12:54:21

勇气不足 大佬有话说 : 2019-12-6 15:05
哎。。。基本的排错都不会就跳级玩编译内核

:lol 你还别笑小弟成功了
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/kernel-5.4.0_rc6-1.x86_64
Wrote: /root/rpmbuild/SRPMS/kernel-5.4.0_rc6-1.src.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/kernel-5.4.0_rc6-1.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/kernel-headers-5.4.0_rc6-1.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/kernel-devel-5.4.0_rc6-1.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mCdXCw
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd kernel-5.4.0_rc6
+ rm -rf /root/rpmbuild/BUILDROOT/kernel-5.4.0_rc6-1.x86_64
+ exit 0

real        105m41.303s
user        92m37.938s
sys        18m59.026s

llmwxt 大佬有话说 : 2019-12-9 12:56:20

lsnmx 大佬有话说 : 2019-12-9 12:54
你还别笑小弟成功了
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/B …

加油,给弄个一键脚本,给我们小白也用用

lsnmx 大佬有话说 : 2019-12-9 13:32:34

llmwxt 大佬有话说 : 2019-12-9 12:56
加油,给弄个一键脚本,给我们小白也用用

https://www.hostloc.com/thread-616040-1-1.html
大佬早搞了弄个一键脚本

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具