升级内核5.10.1指南
Tofloor
poster avatar
mmlmonkey
deepin
2020-12-15 23:31
Author

1.deepin上编译的内核和最新firmware下载 并解压 

地址:https://rec.ustc.edu.cn/share/007d5e10-3ea6-11eb-8a84-e91e62a13f42 密码:ud0f 

两个文件 kernel.7z解压出来是三个deb包 为内核deb

linux-firmware解压出来 进入目录 sudo make install 即可

2.修改deepin-anything 

sudo dedit /usr/src/deepin-anything-0.0/vfs_utils.c

注释掉 27 28行 和51行

  • 27:// mm_segment_t old_fs = get_fs();
  • 28:// set_fs(KERNEL_DS);
  • 51:// set_fs(old_fs);

额外备注:如果安装了n卡驱动请卸载掉并用官网的455.45版本重新安装

3.到解压出来的3个deb文件夹下安装内核deb

sudo dpkg -i *.deb 

重启即可 


备注:

1.尽量不要用ubuntu那个的内核deb 编译的libc库版本不一样 会对内核模块产生意想不到影响 所以推荐自行编译内核

2.bcmwl 模型仍然不支持 如果没有博通的网卡可以卸载掉

结果如图


Reply Favorite View the author
All Replies
fslong
deepin
2020-12-15 23:50
#1

找不到该资源

Reply View the author
qinshp
deepin
2020-12-16 00:38
#2

注释掉 27 28行 和51行    是什么意思


Reply View the author
176******69
deepin
2020-12-16 01:01
#3
qinshp

注释掉 27 28行 和51行    是什么意思


在哪三行的开头打  #    ,这个符号表示注释

Reply View the author
176******69
deepin
2020-12-16 01:03
#4
fslong

找不到该资源

这个不是百度网盘  当然找不到资源了  复制到浏览器打开  在填密码

Reply View the author
mgmpk
deepin
2020-12-16 02:49
#5

升级了内核,这个版本有什么好处吗?

Reply View the author
LinuxFans
deepin
2020-12-17 03:57
#6

linux-firmware解压出来 进入目录 sudo make install 即可

进入哪个目录来make install?

命令行不熟请指点。


Reply View the author
mmlmonkey
deepin
2020-12-17 19:04
#7
LinuxFans

linux-firmware解压出来 进入目录 sudo make install 即可

进入哪个目录来make install?

命令行不熟请指点。


linux-firmware-20201118 就是这个解压出来的目录

Reply View the author
jzone315
deepin
2020-12-20 04:40
#8

楼主,我安装你的步骤成功安装了5.10.1,但是蓝牙好像不能用了,右下角找不到蓝牙图标,着怎么解决啊

Reply View the author
rekees2020
deepin
2020-12-20 04:42
#9

博通网卡可以解决---

https://build.opensuse.org/package/view_file/home:manfred-h:KMPs/broadcom-wl/broadcom-wl.linux-5.9.patch?expand=1

按这个页面上的补丁去修改/usr/src/bcmwl-6.30.223.271+bdcom/src/wl/sys下的5个文件,改完后再装5.10内核

Reply View the author
mmlmonkey
deepin
2020-12-22 21:31
#10
jzone315

楼主,我安装你的步骤成功安装了5.10.1,但是蓝牙好像不能用了,右下角找不到蓝牙图标,着怎么解决啊

啥硬件型号 这边不好看问题 因为我没这种硬件 你可以google 5.10 蓝牙信号 看看 

Reply View the author