一半君的总结纸

听话只听一半君

Thinkpad T450S CentOS 7 kernel 升级备忘录 3.10.0-327.28.3 到 3.10.0-514.2.2

从 3.10.0-327.28.3 到 3.10.0-514.2.2

目前repo里有的

$ repoquery kernel --show-duplicates
kernel-0:3.10.0-514.el7.x86_64
kernel-0:3.10.0-514.el7.x86_64
kernel-0:3.10.0-514.2.2.el7.x86_64
kernel-0:3.10.0-514.2.2.el7.x86_64

升级后发现没有wifi,插网线也不行,虽然能访问局域网,而且输入很卡顿

dmesg | grep -i wifi

有如下错误提示

iwlwifi no suitable firmware found

于是查看

$ repoquery iwl7265-firmware --show-duplicates
iwl7265-firmware-0:22.0.7.0-43.el7.noarch
iwl7265-firmware-0:22.0.7.0-49.el7.noarch

而系统中安装的是-43旧版,重启选旧版内核进系统,升级此package到49后,再重启选新版内核,进入桌面后网卡工作正常

此外还发现konsole输入卡顿,之前是在firefox里开ibus就卡顿,现在firefox不卡了,结果其他地方都卡了…
查看kernel的changelog

rpm -q --changelog kernel-3.10.0-514.2.2.el7 | less

如果没装kernel的时候,就想知道changelog是什么,可以自己去下载kernel的rpm,在http://mirror.centos.org/centos/7/updates/x86_64/Packages/
然后

rpm -qp --changelog <rpm-name> | less

不知道为啥会卡顿,冒着必死的决心运行了yum update, 没想到似乎没事,不过依旧卡顿,只好回到旧版内核

yum remove kernel-3.10.0-514.2.2.el7

顺手升级一下显卡驱动,发现不升级内核能安装的最高版是 kmod-nvidia-367.44-1, 症状依旧,maya 2105 / 2017 用bumblebee开不了,2016正常,顺便更新了下自动安装脚本,从elrepo-archives里装,这样可选的版本多一些

有更新的,但是都要升内核

kmod-nvidia-0:367.57-1.el7.elrepo.x86_64
kmod-nvidia-0:367.57-1.el7.elrepo.x86_64
kmod-nvidia-0:367.57-2.el7.elrepo.x86_64
kmod-nvidia-0:367.57-2.el7.elrepo.x86_64
kmod-nvidia-0:375.20-1.el7.elrepo.x86_64
kmod-nvidia-0:375.20-1.el7.elrepo.x86_64

连接:
https://github.com/oglops/bumblebee-update

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: