用uname -r查看当前内核版本,我的是5.13.0-30-generic
在编译的时候说这几个东西版本号最好一致,所以选择了如下内核版本
curl -SLO https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.11.4.tar.xz
curl -SLO https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.11.4.tar.sign
curl -SLO https://www.kernel.org/pub/linux/kernel/projects/rt/5.11/patch-5.11.4-rt11.patch.xz
curl -SLO https://www.kernel.org/pub/linux/kernel/projects/rt/5.11/patch-5.11.4-rt11.patch.sign