[packaging] dduc明天就开了,发一个6.18.2内核庆祝下
Tofloor
poster avatar
fslong
deepin
2025-12-26 14:39
Author

更新内容

  1. 这个内核使用zen内核6.18.2编译
  2. 6.18据说内存性能提升不少
  3. 推荐配合我的cpu调度控制食用更香cpu-scheduler.zip

风险提示

  • 该内核属于个人魔改内核,而且比较新,可能会有不兼容或者其他奇怪的事情。
  • 除非你真的明白是在做什么并且有能力解决一些问题,否则请不要尝试。
  • apt命令不熟悉,不会安装和卸载包的就别试了。
  • apt命令不熟悉,不会安装和卸载包的就别试了。
  • apt命令不熟悉,不会安装和卸载包的就别试了。

已知问题

  1. 闭源驱动或者虚拟机安装会有问题,因为dkms没适配。
  2. 因为配置文件是基于deepin的,其他发行版如果卡在开机界面,请安装deepin的固件 linux-firmwarehttps://community-packages.deepin.com/deepin/beige/pool/main/l/linux-firmware/

下载地址

Reply Favorite View the author
All Replies
wlly-lzh
deepin
2025-12-26 15:43
#1

沙发

Reply View the author
晚秋(lateautumn)
Moderator
2025-12-26 15:53
#2

用龙架构电脑为主力电脑了,不能追新了applaud

Reply View the author
linux小白
deepin
2025-12-26 17:20
#3

我安装了你的内核,为什么我的lightdm崩溃了,我应该怎么办

Reply View the author
linux小白
deepin
2025-12-26 17:20
#4

网上教程说让我重新安装lightdm,我应该怎么安装?

Reply View the author
fslong
deepin
2025-12-26 21:45
#5
linux小白

我安装了你的内核,为什么我的lightdm崩溃了,我应该怎么办

不至于吧,我的就是lightdm,没崩溃呀。

你现在能进tty是吧,直接装个sddm试试看呢:sudo apt install sddm

Reply View the author
zed7th
deepin
2026-01-19 10:38
#6

请问大佬我在 deepin 25 下安装内核编译失败如何解决,查看日志应该是 gcc 版本的问题:

➜  devops sudo tail -n 150 /var/lib/dkms/deepin-anything/0.0/build/make.log
DKMS (dkms-3.2.0) make.log for deepin-anything/0.0 for kernel 6.18.2-zen-dppve+ (x86_64)
2026年 01月 15日 星期四 19:05:29 CST

Building module(s)
# command: make -j20 KERNELRELEASE=6.18.2-zen-dppve+ -C /lib/modules/6.18.2-zen-dppve+/build KBUILD_EXTMOD=/var/lib/dkms/deepin-anything/0.0/build modules
make: 进入目录“/usr/src/linux-headers-6.18.2-zen-dppve+”
make[1]: 进入目录“/var/lib/dkms/deepin-anything/0.0/build”
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (Debian 14.2.0-19) 14.2.0
  You are using:           gcc (Deepin 12.3.0-17deepin15) 12.3.0
  CC [M]  arg_extractor.o
  CC [M]  event_merge.o
  CC [M]  event.o
  CC [M]  module.o
  CC [M]  vfs_kretprobes.o
  CC [M]  vfs_fsnotify.o
  CC [M]  vfs_genl.o
  CC [M]  vfs_sysfs.o
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
  CC [M]  vfs_trace_process.o
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:arg_extractor.o] 错误 1
make[3]: *** 正在等待未完成的任务....
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:event_merge.o] 错误 1
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:event.o] 错误 1
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:vfs_fsnotify.o] 错误 1
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:vfs_kretprobes.o] 错误 1
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:module.o] 错误 1
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:vfs_genl.o] 错误 1
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:vfs_sysfs.o] 错误 1
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:vfs_trace_process.o] 错误 1
make[2]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/Makefile:2008:.] 错误 2
make[1]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/Makefile:248:__sub-make] 错误 2
make[1]: 离开目录“/var/lib/dkms/deepin-anything/0.0/build”
make: *** [Makefile:248:__sub-make] 错误 2
make: 离开目录“/usr/src/linux-headers-6.18.2-zen-dppve+”

# exit code: 2
# elapsed time: 00:00:01
---------------------------------------------------------------
Reply View the author