关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

一键安装BBR并解决重启时scsi_wait_scan not found

发布时间:2023-04-23 14:16:14
1491984010112764.jpg

centos6.5
1.安装bbr

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh
chmod +x bbr.sh
./bbr.sh

============================
2.重启后无法登入系统,VNC连接查看屏幕提示“FATAL: Module scsi_wait_scan not found”。
控制台中重启系统,重启过程中不断的尝试使用VNC连接,当连接成功且刚读秒时,按键盘的箭头↓键选择旧的内核。

旧的内核可以正常启动,登入执行:
2.1:创建force-vitio_blk-to-ensure-boot.conf

echo 'add_drivers+="virtio_blk"' >/etc/dracut.conf.d/force-vitio_blk-to-ensure-boot.conf

2.2:

cd /boot

2.3:重新编译生成initramfs,把下面代码中的两个4.10.4-1.el6.elrepo.i686替换成你升级后新内核的版本号

dracut -f /boot/initramfs-4.10.4-1.el6.elrepo.i686.img 4.10.4-1.el6.elrepo.i686

不知道自己新内核版本号的话。。。cd /lib/modules/ 看看。

2.4:重启

reboot

正常启动后,运行命令查看状态:

sysctl net.ipv4.tcp_congestion_control net.core.default_qdisc

显示….control=bbr即成功。



/template/Home/8a/PC/Static