warnings when installing a new kernel

Bug #1893103 reported by Colin Ian King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
New
Low
Alberto Milone

Bug Description

I installed my own built kernel based directly on 5.8.0-16 with a minor CONFIG change that is not related to the bug reported below.

When I install the package I see the following warning. Can this be cleaned up as it doesn't look helpful when it reports it cannot apply the patch.

---------

Setting up linux-headers-5.8.0-16-generic (5.8.0-16.17-powersave) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.8.0-16-generic

Kernel preparation unnecessary for this kernel. Skipping...
applying patch disable_fstack-clash-protection_fcf-protection.patch...can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 2b16f2384372ff8039a38221c3eb7162dc9091d8 Mon Sep 17 00:00:00 2001
|From: Alberto Milone <email address hidden>
|Date: Mon, 7 Oct 2019 16:29:07 +0200
|Subject: [PATCH 1/1] Kbuild: disable stack-clash-protection fcf-protection
|
|This adds the extra flags only if gcc supports them.
|
|Fixes LP: #1830961
|---
| Kbuild | 3 +++
| 1 file changed, 3 insertions(+)
|
|diff --git a/Kbuild b/Kbuild
|index 1e79d0b..a35f47a 100644
|--- a/Kbuild
|+++ b/Kbuild
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
(bad exit status: 1)
Error! Application of patch disable_fstack-clash-protection_fcf-protection.patch failed.
Check /var/lib/dkms/nvidia/390.132/build/ for more information.
   ...done.
Setting up linux-modules-5.8.0-16-generic (5.8.0-16.17-powersave) ...
Setting up linux-image-unsigned-5.8.0-16-generic (5.8.0-16.17-powersave) ...
Setting up linux-modules-extra-5.8.0-16-generic (5.8.0-16.17-powersave) ...
Processing triggers for linux-image-unsigned-5.8.0-16-generic (5.8.0-16.17-powersave) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.8.0-16-generic

Kernel preparation unnecessary for this kernel. Skipping...
applying patch disable_fstack-clash-protection_fcf-protection.patch...can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 2b16f2384372ff8039a38221c3eb7162dc9091d8 Mon Sep 17 00:00:00 2001
|From: Alberto Milone <email address hidden>
|Date: Mon, 7 Oct 2019 16:29:07 +0200
|Subject: [PATCH 1/1] Kbuild: disable stack-clash-protection fcf-protection
|
|This adds the extra flags only if gcc supports them.
|
|Fixes LP: #1830961
|---
| Kbuild | 3 +++
| 1 file changed, 3 insertions(+)
|
|diff --git a/Kbuild b/Kbuild
|index 1e79d0b..a35f47a 100644
|--- a/Kbuild
|+++ b/Kbuild
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
(bad exit status: 1)
Error! Application of patch disable_fstack-clash-protection_fcf-protection.patch failed.
Check /var/lib/dkms/nvidia/390.132/build/ for more information.
   ...done.

Changed in ubuntu-kernel-tests:
importance: Undecided → Low
assignee: nobody → Alberto Milone (albertomilone)
affects: ubuntu-kernel-tests → linux
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.