我尝试安装Ubuntu实时内核,但我有一个(我认为)补丁的问题。当我运行sudo make install时,我遇到了以下问题
depmod: ERROR: could not open directory /lib/modules/4.14.71-rt44: No such file or directory
在/lib/modules/中,我只有4.15.0-29-generic 4.15.0-36-generic。要安装实时内核,我们需要linux-4.14.71.tar.xz and patch-4.14.71-rt44.patch.xz (参见)。问题是如何将patch-4.14.
我用Debian设置了一个盒子:
# cat /etc/debian_version
9.13
# uname -a
Linux orange 4.9.0-15-amd64 #1 SMP Debian 4.9.258-1 (2021-03-08) x86_64 GNU/Linux
现在,我正在尝试安装CUDA,但是我得到了一个错误:
-> Performing PREEMPT_RT check.
ERROR: The PREEMPT_RT sanity check failed:
The kernel you are installing for is a PREEMPT_RT ke
好吧,我重新启动了我的电脑,有些不一样.我的Wifi连接面板不见了!好像我再也没有无线适配了!
📷
奇怪的是使用lshw确实能检测到适配器..。
➜ lshw -C network
WARNING: you should run this program as super-user.
*-network UNCLAIMED
description: Network controller
product: BCM4352 802.11ac Wireless Network Adapter
我想通过重放Linux内核的提交来故意地对文件系统进行碎片化。首先,我使用git-format-patch创建补丁。
# in the existing Linux source code repo cloned from web
git format-patch --root origin
然后,将补丁与git-am合并
# in the new repo init with `git init`, and apply the patches one by one
git am path/to/the/patch
它一开始运行良好,但很快就在0226-PATCH-consolidate-ti
我想知道,这里有什么问题?
这是2.6.38的linux修补程序。我把它改名了。这个补丁是gz.Thus,我正在使用zcat。这就是我看到的?
[joshis1@shreyas linux-2.6-lttng]$ zcat patch-2.6.38.2-lttng-0.248.tar.gz
-p1贴片
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
------------------
我正在添加新的补丁,gstreamer插件-坏。
我使用下面的命令创建修补程序。
git diff A B > 0040-forenex-victor.patch
然后我把它移到source/meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad
之后,我在source/meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.10.%.bbappe