Re: depmod exits with error needs unknown symbol when I build kernel with upstream patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 5, 2021 at 12:18 PM Mikhail Gavrilov
<mikhail.v.gavrilov@xxxxxxxxx> wrote:
>
> Hi!
> Usually for testing upstream patches I could easily include patch to spec file.
>
> For example:
> %if !%{nopatches}
>
> Patch1: patch-%{patchversion}-redhat.patch
> + Patch2: nct6775.diff
> %endif
>
> %if !%{nopatches}
>
> ApplyOptionalPatch patch-%{patchversion}-redhat.patch
> + ApplyOptionalPatch nct6775.diff
> %endif
>
> But today I ran into an error for the first time:
>
> + echo 'Depmod failure'
> + cat depmod.out
> Depmod failure
> depmod: WARNING: /builddir/build/BUILDROOT/kernel-5.15.6-200.fc35.x86_64/./lib/modules/5.15.6-200.fc35.x86_64+debug/kernel/drivers/hwmon/nct6775.ko needs unknown symbol wmi_evaluate_method
> + exit 1
>

This makes sense because you are changing that module and need to add
it to filter-modules.sh.fedora
Just append nct6775 to the singlemods= line.

Justin

> I don’t know how to fix it.
>
> Full build log is here: https://pastebin.com/T3bLWFEd
> Here is topic with patch: https://bugzilla.kernel.org/show_bug.cgi?id=204807
> _______________________________________________
> kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux