[Others] 【2021-04-16】一行命令升级内核到5.11.15
Tofloor
poster avatar
deepin-fun
deepin
2020-02-21 23:17
Author

// 目前官方更新也较及时,先用官方内核吧,这里先暂停更新了
在终端执行:


curl --proto '=https' --tlsv1.2 -sSf https://gitee.com/2016_12_21/up_kernel/raw/master/get_kernel_zip.sh | sh

 
等待安装完成后重启电脑即可
如果新内核有什么问题,或想卸载内核,请参考52楼


========== 分割线 ==========
其它一行命令系列:

一行命令美化GTK标题栏,设置任意高度和颜色
https://bbs.deepin.org/post/197036

一行命令升级最新固件
https://bbs.deepin.org/post/200218

Reply Favorite View the author
All Replies
...12 / 14
To page
smile780905
deepin
2020-10-10 03:21
#221
https://bbs.deepin.org/post/189158
https://bbs.deepin.org/post/195559#gcc编译内核过程可能有点长,可 ...

非常感谢您!谢谢!
Reply View the author
海鸥
deepin
2020-10-10 04:30
#222
好的分享要支持
Reply View the author
deepin爱好者
deepin
2020-10-11 19:41
#223
啥时候出5.9内核啊
Reply View the author
sunshine2006
deepin
2020-10-17 18:39
#224
https://bbs.deepin.org/post/189158
会不会把系统搞崩溃啊?

成功升级,目前运行正常。
Reply View the author
deepin-fun
deepin
2020-10-18 02:15
#225
https://bbs.deepin.org/post/189158
啥时候出5.9内核啊

2020-10-17 5.9.1
Reply View the author
deepin-fun
deepin
2020-10-18 02:16
#226
https://bbs.deepin.org/post/189158
关键每次启动还要重新选择啊

选择一次,进入原来没问题的内核, 把有问题这个卸载。 下次进就不用选了
Reply View the author
deepin爱好者
deepin
2020-10-18 04:46
#227
已经升级到楼主的5.9了(deepin的精髓就在于折腾
Reply View the author
sunshine2006
deepin
2020-10-18 06:24
#228
谢谢楼主,我的电脑已经成功升级到5.9.1了
Reply View the author
sunshine2006
deepin
2020-10-18 06:47
#229
安装5.9.1以后,出现以下问题:1、浩辰CAD运行不了了;2、wps文字运行不了,wps表格、演示、PDF均可正常运行;3、窗口出现闪烁。
Reply View the author
海鸥
deepin
2020-10-18 15:22
#230
好分享要支持。
Reply View the author
sunshine2006
deepin
2020-10-19 00:14
#231
https://bbs.deepin.org/post/189158
https://bbs.deepin.org/post/195559#gcc编译内核过程可能有点长,可 ...

Reply View the author
mardou
deepin
2020-10-19 03:17
#232
刚才把内核升级到了5.9.1,重启后发现占用内存资源少了,原来占用近50%,现在只占用35%不到。
Reply View the author
edson1967
deepin
2020-10-19 09:24
#233
Hello Deepin team

Every time I tried to update the Deepin V20 Kernel there were some errors, as follows:

  1. curl --proto '= https' --tlsv1.2 -sSf https://gitee.com/2016_12_21/up_kernel/raw/master/get_kernel_zip.sh | sh
  2. --2020-10-18 14: 03: 26-- http://qhh5o4lfk.hn-bkt.clouddn.com/5.9.1.zip
  3. Solving qhh5o4lfk.hn-bkt.clouddn.com (qhh5o4lfk.hn-bkt.clouddn.com) ... 101.89.124.229, 101.227.25.244, 180.163.121.243, ...
  4. Connecting to qhh5o4lfk.hn-bkt.clouddn.com (qhh5o4lfk.hn-bkt.clouddn.com) | 101.89.124.229 |: 80 ... connected.
  5. The HTTP request was sent, waiting for a response ... 200 OK
  6. Size: 77722376 (74M) [application / zip]
  7. Saving in: “5.9.1.zip”

  8. 5.9.1.zip 100% [==================================>] 74.12M 133KB / s in 10m 7s

  9. 2020-10-18 14:13:39 (125 KB / s) - “5.9.1.zip” saved [77722376/77722376]

  10. Archive: 5.9.1.zip
  11.    creating: 5.9.1 /
  12. extracting: 5.9.1 / linux-headers-5.9.1-050901-generic_5.9.1-050901.202010170731_amd64.deb
  13. extracting: 5.9.1 / linux-headers-5.9.1-050901_5.9.1-050901.202010170731_all.deb
  14. extracting: 5.9.1 / linux-image-unsigned-5.9.1-050901-generic_5.9.1-050901.202010170731_amd64.deb
  15. extracting: 5.9.1 / linux-modules-5.9.1-050901-generic_5.9.1-050901.202010170731_amd64.deb
  16. [sudo] password for edson:
  17. Selecting previously unselected package linux-headers-5.9.1-050901-generic.
  18. (Reading database ... 234448 files and directories currently installed.)
  19. Preparing to unpack linux-headers-5.9.1-050901-generic_5.9.1-050901.202010170731_amd64.deb ...
  20. Unzipping linux-headers-5.9.1-050901-generic (5.9.1-050901.202010170731) ...
  21. Selecting previously unselected package linux-headers-5.9.1-050901.
  22. Preparing to unpack linux-headers-5.9.1-050901_5.9.1-050901.202010170731_all.deb ...
  23. Unzipping linux-headers-5.9.1-050901 (5.9.1-050901.202010170731) ...
  24. Selecting previously unselected package linux-image-unsigned-5.9.1-050901-generic.
  25. Preparing to unpack linux-image-unsigned-5.9.1-050901-generic_5.9.1-050901.202010170731_amd64.deb ...
  26. Unzipping linux-image-unsigned-5.9.1-050901-generic (5.9.1-050901.202010170731) ...
  27. Selecting previously unselected package linux-modules-5.9.1-050901-generic.
  28. Preparing to unpack linux-modules-5.9.1-050901-generic_5.9.1-050901.202010170731_amd64.deb ...
  29. Unzipping linux-modules-5.9.1-050901-generic (5.9.1-050901.202010170731) ...
  30. Configuring linux-headers-5.9.1-050901 (5.9.1-050901.202010170731) ...
  31. Configuring linux-modules-5.9.1-050901-generic (5.9.1-050901.202010170731) ...
  32. Configuring linux-headers-5.9.1-050901-generic (5.9.1-050901.202010170731) ...
  33. /etc/kernel/header_postinst.d/dkms:
  34. [b]Error! Bad return status for module build on kernel: 5.9.1-050901-generic (x86_64)[/b]
  35. Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more information.
  36. Job for systemd-modules-load.service failed because the control process exited with error code.
  37. See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.
  38. Job for systemd-modules-load.service failed because the control process exited with error code.
  39. See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.
  40. Configuring linux-image-unsigned-5.9.1-050901-generic (5.9.1-050901.202010170731) ...
  41. I: / vmlinuz is now a symlink to boot / vmlinuz-5.9.1-050901-generic
  42. I: /initrd.img is now a symlink to boot / initrd.img-5.9.1-050901-generic
  43. Processing triggers for linux-image-unsigned-5.9.1-050901-generic (5.9.1-050901.202010170731) ...
  44. /etc/kernel/postinst.d/dkms:
  45. [b]Error! Bad return status for module build on kernel: 5.9.1-050901-generic (x86_64)[/b]
  46. Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more information.
  47. /etc/kernel/postinst.d/initramfs-tools:
  48. update-initramfs: Generating /boot/initrd.img-5.9.1-050901-generic
  49. W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125b-2.fw for module r8169
  50. cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
  51.     nor crypto modules. If that's on purpose, you may want to uninstall the
  52.     'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
  53.     integration and avoid this warning.
  54. W: Possible missing firmware /lib/firmware/i915/rkl_dmc_ver2_01.bin for module i915
  55. I: The initramfs will attempt to resume from / dev / sda2
  56. I: (UUID = d25d9370-ead8-4075-9797-0e19bd5a9e18)
  57. I: Set the RESUME variable to override this.
  58. /etc/kernel/postinst.d/reconfigure-dde-daemon:
  59. fix systemd / logind config
  60. /etc/kernel/postinst.d/zz-update-grub:
  61. Generating grub configuration file ...
  62. Theme found: /boot/grub/themes/deepin/theme.txt
  63. Found background image: /boot/grub/themes/deepin/background.jpg
  64. Linux image found: /boot/vmlinuz-5.9.1-050901-generic
  65. Found initrd image: /boot/initrd.img-5.9.1-050901-generic
  66. Linux image found: /boot/vmlinuz-5.4.50-amd64-desktop
  67. Found initrd image: /boot/initrd.img-5.4.50-amd64-desktop
  68.   / dev / sdd: open failed: Media not found
  69.   / dev / sde: open failed: Media not found
  70.   / dev / sdf: open failed: Media not found
  71.   / dev / sdg: open failed: Media not found
  72. ArcoLinux (rolling) found in / dev / sdb1
  73. Arch Linux (rolling) found in / dev / sdb2
  74. Found Ubuntu 20.04.1 LTS (20.04) in / dev / sdb4
  75. Found Windows 10 in / dev / sdc1
  76. concluded
  77. The installation is complete!
Copy the Code
Reply View the author
edson1967
deepin
2020-10-19 11:50
#234
Hello Deepin team

After updating Kernel 5.91, Deepin V20 restarts and works normally, apparently.
So far I haven't seen any applications that were having problems with this New Kernel, but using the command (sudo journalctl -p 3 -xb) the error messages are as follows:

  1. sudo journalctl -p 3 -xb
  2. [sudo] senha para edson:
  3. -- Logs begin at Sun 2020-10-18 09:39:14 -03, end at Sun 2020-10-18 17:38:21 -03. --
  4. out 18 17:37:52 edson-pc6540br kernel: register_kretprobes failed, returned -22
  5. out 18 17:37:52 edson-pc6540br kernel: Error: Driver 'pcspkr' is already registered, aborting...
  6. out 18 17:37:52 edson-pc6540br kernel: register_kretprobes failed, returned -22
  7. out 18 17:37:52 edson-pc6540br kernel: register_kretprobes failed, returned -22
  8. out 18 17:37:52 edson-pc6540br kernel: usb 1-1.6: 3:1: cannot get freq at ep 0x84
  9. out 18 17:37:52 edson-pc6540br kernel: register_kretprobes failed, returned -22
  10. out 18 17:37:35 edson-pc6540br systemd-modules-load[334]: Failed to insert module 'vfs_monitor': Inv
  11. out 18 17:37:35 edson-pc6540br systemd[1]: Failed to start Load Kernel Modules.
  12. -- Subject: A unidade systemd-modules-load.service falhou
  13. -- Defined-By: systemd
  14. -- Support: https://www.debian.org/support
  15. --
  16. -- A unidade systemd-modules-load.service falhou.
  17. --
  18. -- O resultado é failed.
  19. out 18 17:37:42 edson-pc6540br systemd-modules-load[468]: Failed to insert module 'vfs_monitor': Inv
  20. out 18 17:37:42 edson-pc6540br systemd[1]: Failed to start Load Kernel Modules.
  21. -- Subject: A unidade systemd-modules-load.service falhou
  22. -- Defined-By: systemd
  23. -- Support: https://www.debian.org/support
Copy the Code









Reply View the author
heer2019
deepin
2020-10-20 21:19
#235
升级后无线网络没有了不知道怎么回事
Reply View the author
SamLukeYes
deepin
2020-10-20 23:09
#236
本帖最后由 samlukeyes123 于 2020-10-20 15:14 编辑
https://bbs.deepin.org/post/189158
Hello Deepin team

Every time I tried to update the Deepin V20 Kernel there were some errors, as fol ...

This kernel updating script is not supported by Deepin, but only installs the latest kernel provided by Ubuntu (as its README describes). Currently, Deepin only maintains a 5.4 kernel for community edition, while the 5.7 kernel provided as an alternative doesn't seemed to be maintained any more. If you want to try the latest kernel on Deepin, this might be a better choice: https://app4deepin.com/repository/
BTW, directly executing a script from the Internet can be dangerous. It is better to check the script before executing it.
Reply View the author
rekees2020
deepin
2020-10-21 00:57
#237
5.9以上内核和博通的无线网卡驱动不兼容,用不成WiFi
Reply View the author
deepin-fun
deepin
2020-10-30 21:26
#238

2020-10-30 5.9.2

新论坛显示设计有问题,不怎么好用

Reply View the author
sunshine2006
deepin
2020-11-03 03:55
#239

上次折磨5.9.1直到重新安装,今天有开始折腾5.9.2

Reply View the author
deepin-fun
deepin
2020-11-07 23:52
#240

2020-11-07 5.9.6

以后更新只改标题,非大版本不再顶帖。按需自取。

Reply View the author
...12 / 14
To page