當(dāng)前位置:博客首頁>>分享經(jīng)驗 >> 閱讀正文

一鍵安裝BBR并解決重啟時scsi_wait_scan not found

作者: 鄭曉 分類: 分享經(jīng)驗 發(fā)布于: 2018-02-09 17:32 瀏覽:7,728 評論(2)


centos6.5
1.安裝bbr

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

============================
2.重啟后無法登入系統(tǒng),VNC連接查看屏幕提示“FATAL: Module scsi_wait_scan not found”。
控制臺中重啟系統(tǒng),重啟過程中不斷的嘗試使用VNC連接,當(dāng)連接成功且剛讀秒時,按鍵盤的箭頭↓鍵選擇舊的內(nèi)核。

舊的內(nèi)核可以正常啟動,登入執(zhí)行:
2.1:創(chuàng)建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替換成你升級后新內(nèi)核的版本號

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

不知道自己新內(nèi)核版本號的話。。。cd /lib/modules/ 看看。

2.4:重啟

reboot

正常啟動后,運行命令查看狀態(tài):

sysctl net.ipv4.tcp_congestion_control net.core.default_qdisc

顯示….control=bbr即成功。

? ? ? ?

本文采用知識共享署名-非商業(yè)性使用 3.0 中國大陸許可協(xié)議進(jìn)行許可,轉(zhuǎn)載時請注明出處及相應(yīng)鏈接。

本文永久鏈接: http://www.yjfs.org.cn/bbr-scsi_wait_scan-not-found.html

一鍵安裝BBR并解決重啟時scsi_wait_scan not found:目前有2 條留言

用戶評論頭像 martin發(fā)表于 2019年12月12日 21:41[回復(fù)]

do exactly what you wrote fix my problem on virmach vps. thanks.

用戶評論頭像 東陽發(fā)表于 2018年04月16日 19:05[回復(fù)]

好文章,學(xué)習(xí)了

發(fā)表評論

change vcode