全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: cx9208
打印 上一主题 下一主题

bbr 原版/魔改/plus+锐速 四合一脚本

  [复制链接]
1#
发表于 2018-12-28 21:18:17 | 显示全部楼层
本帖最后由 a1328788808 于 2018-12-28 21:26 编辑

用你的github上的脚本,先安headers 再安image,会有报错。debian8 x64

13行
  1. root@ip-172-26-10-35:~# dpkg -i linux-headers-4.14.90.deb
  2. Selecting previously unselected package linux-headers-4.14.90.
  3. (Reading database ... 35998 files and directories currently installed.)
  4. Preparing to unpack linux-headers-4.14.90.deb ...
  5. Unpacking linux-headers-4.14.90 (4.14.90-1) ...
  6. Setting up linux-headers-4.14.90 (4.14.90-1) ...
  7. root@ip-172-26-10-35:~# dpkg -i linux-image-4.14.90.deb
  8. Selecting previously unselected package linux-image-4.14.90.
  9. (Reading database ... 60508 files and directories currently installed.)
  10. Preparing to unpack linux-image-4.14.90.deb ...
  11. Unpacking linux-image-4.14.90 (4.14.90-1) ...
  12. Setting up linux-image-4.14.90 (4.14.90-1) ...
  13. Error! Bad return status for module build on kernel: 4.14.90 (x86_64)
  14. Consult /var/lib/dkms/amzn-drivers-ena-linux/1.1.3/build/make.log for more information.
  15. Error! Bad return status for module build on kernel: 4.14.90 (x86_64)
  16. Consult /var/lib/dkms/ixgbevf/3.2.2/build/make.log for more information.
  17. update-initramfs: Generating /boot/initrd.img-4.14.90
复制代码
2#
发表于 2018-12-28 23:14:50 | 显示全部楼层
本帖最后由 a1328788808 于 2018-12-28 23:31 编辑
cx9208 发表于 2018-12-28 22:57
/var/lib/dkms/amzn-drivers-ena-linux/1.1.3/build/make.log for more information.
/var/lib/dkms/ixgb ...


刚又试了几台小鸡,系统默认有其他headers的,都会报错。没有其他headers的不会报错。
好像是让安libelf-dev, libelf-devel or elfutils-libelf-devel ,试了下安了以后还是会报错。
虽然会报错,但是image倒是能安装成功。
3#
发表于 2018-12-29 00:04:41 | 显示全部楼层
本帖最后由 a1328788808 于 2018-12-29 00:16 编辑
cx9208 发表于 2018-12-28 22:57
/var/lib/dkms/amzn-drivers-ena-linux/1.1.3/build/make.log for more information.
/var/lib/dkms/ixgb ...


这两个是debian8 x64的。
/var/lib/dkms/amzn-drivers-ena-linux/1.1.3/build/make.log

DKMS make.log for amzn-drivers-ena-linux-1.1.3 for kernel 4.14.90 (x86_64)
Fri Dec 28 22:23:36 CST 2018
make: Entering directory '/var/lib/dkms/amzn-drivers-ena-linux/1.1.3/build/kernel/linux/ena'
make -C /lib/modules/4.14.90/build M=/var/lib/dkms/amzn-drivers-ena-linux/1.1.3/build/kernel/linux/ena modules
make[1]: Entering directory '/usr/src/linux-headers-4.14.90'
Makefile:958: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel".  Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.14.90'                  Makefile:19: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/var/lib/dkms/amzn-drivers-ena-linux/1.1.3/build/kernel/linux/ena'



/var/lib/dkms/ixgbevf/3.2.2/build/make.log

DKMS make.log for ixgbevf-3.2.2 for kernel 4.14.90 (x86_64)
Fri Dec 28 22:23:36 CST 2018
make[1]: Entering directory '/usr/src/linux-headers-4.14.90'
Makefile:958: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel".  Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.14.90'
Makefile:71: recipe for target 'default' failed
make: *** [default] Error 2
4#
发表于 2018-12-29 00:17:05 | 显示全部楼层
这个是ubuntu16 x64的

  1. root@vps:~/bbrplus# dpkg -i linux-headers-4.14.90.deb
  2. (Reading database ... 99177 files and directories currently installed.)
  3. Preparing to unpack linux-headers-4.14.90.deb ...
  4. Unpacking linux-headers-4.14.90 (4.14.90-1) over (4.14.90-1) ...
  5. Setting up linux-headers-4.14.90 (4.14.90-1) ...
  6. root@vps:~/bbrplus# dpkg -i linux-image-4.14.90.deb
  7. (Reading database ... 99177 files and directories currently installed.)
  8. Preparing to unpack linux-image-4.14.90.deb ...
  9. Unpacking linux-image-4.14.90 (4.14.90-1) over (4.14.90-1) ...
  10. Setting up linux-image-4.14.90 (4.14.90-1) ...
  11. update-initramfs: Generating /boot/initrd.img-4.14.90
  12. cryptsetup: WARNING: failed to detect canonical device of /dev/vda1
  13. cryptsetup: WARNING: could not determine root device from /etc/fstab
  14. W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
  15. Searching for GRUB installation directory ... found: /boot/grub
  16. Searching for default file ... found: /boot/grub/default
  17. Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
  18. Searching for splash image ... none found, skipping ...
  19. Found kernel: /boot/vmlinuz-4.14.90
  20. Found kernel: /boot/vmlinuz-4.4.0-116-generic
  21. Found kernel: /boot/vmlinuz-4.14.90
  22. Found kernel: /boot/vmlinuz-4.4.0-116-generic
  23. Updating /boot/grub/menu.lst ... done

  24. Generating grub configuration file ...
  25. Found linux image: /boot/vmlinuz-4.14.90
  26. Found initrd image: /boot/initrd.img-4.14.90
  27. Found linux image: /boot/vmlinuz-4.4.0-116-generic
  28. Found initrd image: /boot/initrd.img-4.4.0-116-generic
  29. done
复制代码
5#
发表于 2018-12-29 00:40:30 来自手机 | 显示全部楼层
cx9208 发表于 2018-12-29 00:29
这个在用脚本前apt-get install libelf-dev就可以了,我查了下只是两个厂商驱动,使用没问题的话可以不管 ...

刚专门开了台新机器,又试了一下,还是一样的错误提示。
6#
发表于 2018-12-29 12:56:51 来自手机 | 显示全部楼层
cx9208 发表于 2018-12-29 09:12
你是什么idc?我vultr新开的debian8安装内核没有任何问题……

用aws试的。
7#
发表于 2019-1-13 00:43:35 来自手机 | 显示全部楼层
lanxuejd 发表于 2019-1-13 00:01
大佬,请教下,装了bbrplus以后,再装vmware或virtualbox之类的,提示找不到 4.14.90的header
github,Linu ...

脚本更新了。把之前的脚本删了,重新下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-14 21:12 , Processed in 0.077046 second(s), 6 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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