Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装 BBRplus新版内核 后死机 #337

Closed
flywhc opened this issue Apr 2, 2021 · 5 comments
Closed

安装 BBRplus新版内核 后死机 #337

flywhc opened this issue Apr 2, 2021 · 5 comments

Comments

@flywhc
Copy link

flywhc commented Apr 2, 2021

在azure 创建免费的centos 7.9 VM
选 5. 安装 BBRplus新版内核 然后重启就死掉了

以前用别的一键脚本从来没死在BBR安装上。希望改进一下。

检测到 6 个其余内核,开始卸载...
开始卸载 kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64 内核...
卸载 kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64 内核卸载完成,继续...
开始卸载 kernel-tools-libs-3.10.0-1160.6.1.el7.x86_64
kernel-3.10.0-1160.6.1.el7.x86_64 内核...
grubby fatal error: unable to find a suitable template
grubby fatal error: unable to find a suitable template
卸载 kernel-tools-libs-3.10.0-1160.6.1.el7.x86_64
kernel-3.10.0-1160.6.1.el7.x86_64 内核卸载完成,继续...
开始卸载 kernel-bbrplus-headers-5.10.26-1.bbrplus.el7.x86_64
abrt-addon-kerneloops-2.1.11-60.el7.centos.x86_64
kernel-tools-3.10.0-1160.6.1.el7.x86_64 内核...
卸载 kernel-bbrplus-headers-5.10.26-1.bbrplus.el7.x86_64
abrt-addon-kerneloops-2.1.11-60.el7.centos.x86_64
kernel-tools-3.10.0-1160.6.1.el7.x86_64 内核卸载完成,继续...
开始卸载  内核...
rpm: no packages given for erase
卸载  内核卸载完成,继续...
开始卸载  内核...
rpm: no packages given for erase
卸载  内核卸载完成,继续...
开始卸载  内核...
rpm: no packages given for erase
卸载  内核卸载完成,继续...
--nodeps -e 内核卸载完毕,继续...
Generating grub configuration file ...
done
[注意] 请检查上面是否有内核信息,无内核千万别重启
[注意] rescue不是正常内核,要排除这个
[注意] 重启VPS后,请重新运行脚本开启BBRplus
需要重启VPS后,才能开启BBRplus,是否现在重启 ? [Y/n] :Y
@jiuqi9997
Copy link
Collaborator

@flywhc 依我看,你这是把bbrplus内核卸了,最后系统没内核了。

@flywhc
Copy link
Author

flywhc commented Apr 2, 2021

我选择的是 “5. 安装 BBRplus新版内核 ” 然后这个脚本卸载了我的内核?

我没有贴完全,之前的几行log是成功安装了的:

……
Running transaction
  Installing : kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64                                                                                                                                                                                                                                       1/1
  Verifying  : kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64                                                                                                                                                                                                                                       1/1

Installed:
  kernel-bbrplus.x86_64 0:5.10.26-1.bbrplus.el7

Complete!
检测到 6 个其余内核,开始卸载...

@jiuqi9997
Copy link
Collaborator

jiuqi9997 commented Apr 2, 2021

检测到 6 个其余内核,开始卸载... 
开始卸载 kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64 内核... 
卸载 kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64 内核卸载完成,继续...

确实卸了

@flywhc
Copy link
Author

flywhc commented Apr 2, 2021

检测到 6 个其余内核,开始卸载... 
开始卸载 kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64 内核... 
卸载 kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64 内核卸载完成,继续...

确实卸了

那怎么做才能让它不卸载呢?我啥都没做,就选5安装,它就把我内核卸载了?

@jinwyp
Copy link

jinwyp commented May 14, 2021

jinwyp/one_click_script#62

目前安装 linuxe 内核的脚本 除了我这个 都有问题, 可以试试我的安装内核的脚本, 完全重新写的脚本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants