Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #72075

Re: [Question] Backporting ACPI fix to Buster kernel?

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Laurențiu Păncescu <lpancescu@gmail.com>
Newsgroups linux.debian.kernel
Subject Re: [Question] Backporting ACPI fix to Buster kernel?
Date Thu, 03 Jun 2021 20:10:02 +0200
Message-ID <ClZX4-4ss-7@gated-at.bofh.it> (permalink)
References <Ckn7s-2Up-1@gated-at.bofh.it> <ClBi1-6kJ-1@gated-at.bofh.it>
X-Mailbox-Line From debian-kernel-request@lists.debian.org Thu Jun 3 18:02:39 2021
Old-Return-Path <lpancescu@gmail.com>
X-Amavis-Spam-Status No, score=-7.08 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -5.5
X-Gm-Message-State AOAM531Aosru+7Cj3jK5GNpNCO8gRMCe1LhgcDzdc3TqPEx7bdLyilyy 1Kc5ch+bUy7BbtlkEXE6SQnUS/PXOBM=
X-Google-SMTP-Source ABdhPJyiTJehWcDauPBsKfZ2SbAbpoUBzM8BXEtZiDa1qt5LFH19ogzOyAHd9bTyz0XZFgFi1Um4cQ==
X-Received by 2002:a17:906:1dd1:: with SMTP id v17mr533283ejh.31.1622743340942; Thu, 03 Jun 2021 11:02:20 -0700 (PDT)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Language en-US
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-kernel@lists.debian.org> archive/latest/130169
List-ID <debian-kernel.lists.debian.org>
List-URL <https://lists.debian.org/debian-kernel/>
List-Archive https://lists.debian.org/msgid-search/258694fa-e209-5e04-bb4f-d4d57f28657a@gmail.com
Approved robomod@news.nic.it
Lines 52
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 3 Jun 2021 20:02:19 +0200
X-Original-Message-ID <258694fa-e209-5e04-bb4f-d4d57f28657a@gmail.com>
X-Original-References <99a41aad-18e6-5de5-825c-5ef67c2bea9b@gmail.com> <YLenx4uOTTxqXO0O@eldamar.lan>
Xref csiph.com linux.debian.kernel:72075

Show key headers only | View raw


Hi,

On 6/2/21 5:46 PM, Salvatore Bonaccorso wrote:
> In general the best way to reach that is to make sure it reaches the
> upstream 4.19.y stable branches by asking upstrema to backport the fix
> to the series. If it is applicably this is not a problem in most
> cases. As in the Debian stable release we follow upstream 4.19.y then
> the fix will be included automatically at some point.

Thanks, Salvatore. I reached out on upstream's stable mailing list, and 
Greg KH replied that the patch doesn't apply cleanly and I can backport 
it and sent the patch. So I git-cloned the stable tree and checked out 
branch linux-4.19.y, but I'm unable to compile it (without making any 
changes).

I first tried the approach described in the Debian Kernel Handbook:
$ cp /boot/config-4.19.0-16-amd64 .config
$ scripts/config --disable MODULE_SIG
$ scripts/config --disable DEBUG_INFO
$ make oldconfig
$ make clean
$ make-deb-pkg
...
make[4]: *** No rule to make target 
'debian/certs/debian-uefi-certs.pem', needed by 
'certs/x509_certificate_list'.  Stop.

I then found the instructions for compiling the kernel from the Debian 
Handbook for Buster[1], but it stops before even compiling anything:

$ cp /boot/config-4.19.0-16-amd64 .config
$ make oldconfig
$ vim .config # add CONFIG_TRUSTED_KEYS=""
$ make clean
$ make-deb-pkg LOCALVERSION=-plaur KDEB_PKGVERSION=$(make kernelversion)-1
...
dpkg-source: info: use the '3.0 (quilt)' format to have separate and 
documented changes to upstream files, see dpkg-source(1)
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -i.git -b . subprocess returned 
exit status 1
make[1]: *** [scripts/package/Makefile:75: deb-pkg] Error 1
make: *** [Makefile:1390: deb-pkg] Error 2

What is the proper way to compile the upstream 4.19.y kernel, can 
anybody help?

Thanks,
Laurențiu


[1] https://debian-handbook.info/browse/stable/sect.kernel-compilation.html

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[Question] Backporting ACPI fix to Buster kernel? Laurențiu Păncescu <lpancescu@gmail.com> - 2021-05-30 08:30 +0200
  Re: [Question] Backporting ACPI fix to Buster kernel? Georgi Naplatanov <gosho@oles.biz> - 2021-05-30 09:50 +0200
    Re: [Question] Backporting ACPI fix to Buster kernel? Laurențiu Păncescu <lpancescu@gmail.com> - 2021-05-30 20:40 +0200
  Re: [Question] Backporting ACPI fix to Buster kernel? Salvatore Bonaccorso <carnil@debian.org> - 2021-06-02 17:50 +0200
    Re: [Question] Backporting ACPI fix to Buster kernel? Laurențiu Păncescu <lpancescu@gmail.com> - 2021-06-03 20:10 +0200

csiph-web