找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
楼主: cx9208

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

  [复制链接]

5

主题

300

回帖

683

积分

高级会员

积分
683
发表于 2018-12-25 09:57:01 | 显示全部楼层
mark一下,晚点安装
回复

使用道具 举报

8

主题

1255

回帖

2580

积分

金牌会员

积分
2580
发表于 2018-12-25 09:42:00 | 显示全部楼层
本帖最后由 a1328788808 于 2018-12-28 21:26 编辑

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

13行
[ol]
  • root@ip-172-26-10-35:~# dpkg -i linux-headers-4.14.90.deb
  • Selecting previously unselected package linux-headers-4.14.90.
  • (Reading database ... 35998 files and directories currently installed.)
  • Preparing to unpack linux-headers-4.14.90.deb ...
  • Unpacking linux-headers-4.14.90 (4.14.90-1) ...
  • Setting up linux-headers-4.14.90 (4.14.90-1) ...
  • root@ip-172-26-10-35:~# dpkg -i linux-image-4.14.90.deb
  • Selecting previously unselected package linux-image-4.14.90.
  • (Reading database ... 60508 files and directories currently installed.)
  • Preparing to unpack linux-image-4.14.90.deb ...
  • Unpacking linux-image-4.14.90 (4.14.90-1) ...
  • Setting up linux-image-4.14.90 (4.14.90-1) ...
  • Error! Bad return status for module build on kernel: 4.14.90 (x86_64)
  • Consult /var/lib/dkms/amzn-drivers-ena-linux/1.1.3/build/make.log for more information.
  • Error! Bad return status for module build on kernel: 4.14.90 (x86_64)
  • Consult /var/lib/dkms/ixgbevf/3.2.2/build/make.log for more information.
  • update-initramfs: Generating /boot/initrd.img-4.14.90[/ol]复制代码
  • 回复

    使用道具 举报

    5

    主题

    32

    回帖

    91

    积分

    注册会员

    积分
    91
     楼主| 发表于 2018-12-25 10:10:00 | 显示全部楼层

    a1328788808 发表于 2018-12-28 21:18

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

    13行

    /var/lib/dkms/amzn-drivers-ena-linux/1.1.3/build/make.log for more information.
    /var/lib/dkms/ixgbevf/3.2.2/build/make.log for more information.
    这两个log看下make哪里错了
    回复

    使用道具 举报

    8

    主题

    1255

    回帖

    2580

    积分

    金牌会员

    积分
    2580
    发表于 2018-12-25 09:57:00 | 显示全部楼层
    本帖最后由 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倒是能安装成功。
    回复

    使用道具 举报

    5

    主题

    32

    回帖

    91

    积分

    注册会员

    积分
    91
     楼主| 发表于 2018-12-25 10:13:44 | 显示全部楼层
    本帖最后由 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这个是ubuntu16 x64的

    [ol]
  • root@vps:~/bbrplus# dpkg -i linux-headers-4.14.90.deb
  • (Reading database ... 99177 files and directories currently installed.)
  • Preparing to unpack linux-headers-4.14.90.deb ...
  • Unpacking linux-headers-4.14.90 (4.14.90-1) over (4.14.90-1) ...
  • Setting up linux-headers-4.14.90 (4.14.90-1) ...
  • root@vps:~/bbrplus# dpkg -i linux-image-4.14.90.deb
  • (Reading database ... 99177 files and directories currently installed.)
  • Preparing to unpack linux-image-4.14.90.deb ...
  • Unpacking linux-image-4.14.90 (4.14.90-1) over (4.14.90-1) ...
  • Setting up linux-image-4.14.90 (4.14.90-1) ...
  • update-initramfs: Generating /boot/initrd.img-4.14.90
  • cryptsetup: WARNING: failed to detect canonical device of /dev/vda1
  • cryptsetup: WARNING: could not determine root device from /etc/fstab
  • W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
  • Searching for GRUB installation directory ... found: /boot/grub
  • Searching for default file ... found: /boot/grub/default
  • Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
  • Searching for splash image ... none found, skipping ...
  • Found kernel: /boot/vmlinuz-4.14.90
  • Found kernel: /boot/vmlinuz-4.4.0-116-generic
  • Found kernel: /boot/vmlinuz-4.14.90
  • Found kernel: /boot/vmlinuz-4.4.0-116-generic
  • Updating /boot/grub/menu.lst ... done
  • Generating grub configuration file ...
  • Found linux image: /boot/vmlinuz-4.14.90
  • Found initrd image: /boot/initrd.img-4.14.90
  • Found linux image: /boot/vmlinuz-4.4.0-116-generic
  • Found initrd image: /boot/initrd.img-4.4.0-116-generic
  • done[/ol]复制代码
  • 回复

    使用道具 举报

    8

    主题

    1255

    回帖

    2580

    积分

    金牌会员

    积分
    2580
    发表于 2018-12-25 08:25:00 | 显示全部楼层

    a1328788808 发表于 2018-12-29 00:04

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

    这个在用脚本前apt-get install libelf-dev就可以了,我查了下只是两个厂商驱动,使用没问题的话可以不管
    回复

    使用道具 举报

    7

    主题

    151

    回帖

    357

    积分

    中级会员

    积分
    357
    发表于 2018-12-25 10:14:00 | 显示全部楼层
    "

    刚专门开了台新机器,又试了一下,还是一样的错误提示。
    回复

    使用道具 举报

    5

    主题

    32

    回帖

    91

    积分

    注册会员

    积分
    91
     楼主| 发表于 2018-12-25 10:28:48 | 显示全部楼层
    谢谢大佬,收藏了
    回复

    使用道具 举报

    5

    主题

    32

    回帖

    91

    积分

    注册会员

    积分
    91
     楼主| 发表于 2018-12-25 10:33:01 | 显示全部楼层

    a1328788808 发表于 2018-12-29 00:40

    刚专门开了台新机器,又试了一下,还是一样的错误提示。

    这样吗,因为我在安装wireguard的时候也出现了一样的错误,但在安装了那个之后就好了。那我再研究下,解决了告诉你
    回复

    使用道具 举报

    4

    主题

    191

    回帖

    414

    积分

    中级会员

    积分
    414
    发表于 2018-12-25 10:34:05 | 显示全部楼层

    a1328788808 发表于 2018-12-29 00:40

    刚专门开了台新机器,又试了一下,还是一样的错误提示。

    你是什么idc?我vultr新开的debian8安装内核没有任何问题……
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|Discuz! X

    GMT+8, 2025-4-28 10:15 , Processed in 0.018867 second(s), 3 queries , Gzip On, Redis On.

    Powered by Discuz! X3.5

    © 2001-2024 Discuz! Team.

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