Re: Differences between Fedora-built kernel and self-built kernel on Fedora?

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

 



On Thu, Sep 5, 2024 at 5:16 AM Richard W.M. Jones <rjones@xxxxxxxxxx> wrote:
>
> This is a bit of a weird one ...
>
> Attempting to reproduce and fix this bug:
>
>   https://bugzilla.kernel.org/show_bug.cgi?id=219166
>
> which involves booting a qemu VM with the kernel and observing a
> fairly rare, but reproducible hang, I'm able to reproduce this
> reasonably often if I boot the Fedora-built (ie. Koji) kernel.
>
> However when I copy /boot/config-6.11.<blah> to .config in the kernel
> git tree, 'make olddefconfig', build and install it locally, then run
> the test, it never seems to reproduce.  Same config, and I'm even
> using the same upstream git tag.
>
> I'm building it on Fedora Rawhide (same as Koji), so GCC and the rest
> of the toolchain should be very close.
>
> My question is, what are other differences between the Fedora-built
> kernel and a locally built kernel apart from config (the same),
> version (the same), and toolchain (nearly the same)?

Outside of the patches, there shouldn't really be many.  Secure boot
signatures should be the only difference assuming you are still
building an rpm.  If you are just doing native builds out of the git
tree for local builds, stripping and such is also a bit different.

> Fedora has a downstream patch set called 'patch-6.11-redhat.patch'.
> It's not clear where this comes from, but I don't think it touches any
> code that should affect my test.

That patch comes from kernel-ark and if you look in the srpm or
dist-git, it will actually have a file called Patchlist.changelog
which includes commit hashes, the oneline, and a gitlab link to each
individual patch contained in there.  Of note, The rawhide kernel
contains more patches than stable Fedora kernels as I strip out all of
the RHEL specific patches when I branch for stable Fedora.

> Other ideas welcome here as I'm out of ideas right now ...

Do local mock builds show the same rate of failure? Wondering if this
is a difference in what we are doing with rpm magic, something from a
patch, or something else.

Justin

> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> nbdkit - Flexible, fast NBD server with plugins
> https://gitlab.com/nbdkit/nbdkit
>
> --
> _______________________________________________
> 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, report it: https://pagure.io/fedora-infrastructure/new_issue
-- 
_______________________________________________
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, report it: https://pagure.io/fedora-infrastructure/new_issue




[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