Re: How to properly PATCH F30 kernel to resolve GPU PASSTHROUGH Header Error Code 127

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

 



On Fri, 18 Oct 2019 18:26:01 -0000
"Kot Begemot" <kbdeamon@xxxxxxxxx> wrote:

> I would like to accomplish a number of things:
> 1. apply the patch to the kenel (which I am able to do now) while
> preserving the prioprietory NVIDIA driver installation.  Is this
> possible or would I have to re-install and re-compile the drivers? 

I think if you use the akmod packages from rpmfusion, they will build
the driver module at boot if it isn't there.  I run a radeon, so I am
not familiar with this.  When I used to run nvidia, I couldn't use the
rawhide kernels because rpmfusion hadn't created the necessary files
(or maybe it was nvidia) because the kernels were development kernels.
It might be possible to use the binary blob right from nvidia, but you
would have to take care of all updating outside the package system.

> 2.
> Can you tell me what will happen with respect to kernel updates post
> installation.  Particularly as it relates to the NVIDIA drivers?  Can
> I keep running dnf updates or would I have to prevent kernel updates
> some how? 

I prevent kernel updates so that my locally compiled kernel is always
the default; the stock kernels don't have my patch in them.  The -x
option to dnf works, dnf -x kernel\* update.

> 3. After the compilation completes I find the following
> kernel-* files in /home/user0/rpmbuild/RPMS/x86_64 which is great.
> But is there any way to avoid compiling the "debug" versions?  I am
> trying "rpmbuild -ba kernel.spec" at the moment.

Edit the spec file, and turn off all the debug options; flip them from
1 to 0.  These are just below the 
%define buildid .20191008
that you should be setting so your kernel is identified as a custom
version.
e.g.
# kernel-debug
%define with_debug     %{?_without_debug:     0} %{?!_without_debug:     0}

_______________________________________________
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




[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