Mailinglist Archive: opensuse-factory (633 mails)

< Previous Next >
Re: [opensuse-factory] nvidia 390.87 build fails with kernel-default-4.20.0-1.5.x86_64
On 1/16/19 8:17 PM, Basil Chupin wrote:
On 17/1/19 8:52 am, Patrick Shanahan wrote:
cannot compile kernel module for nvidia 390.87 (last for my card) with new
kernel kernel-default-4.20.0-1.5.x86_64

sh ./NVIDIA-Linux-x86_64-390.87.run -aqs --install-libglvnd --no-drm
/var/log/nvidia-installer.log is here:
http://wahoo.no-ip.org/~paka/nvidia-installer.log

tks,


And what happens with the latest kernel 4.20.2-2? Same problem?

With out-of-kernel drivers, there are always problems with kernel API changes. The first error in your log is

tmp/selfgz4325/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/os-interface.c:1700:5: error: unknown type name ˜ipmi_user_t™
ipmi_user_t p_user; // ptr to ipmi_msghandler user structure
^~~~~~~~~~~

The change that is causing that problem is "Change ipmi_user_t to struct ipmi_user *"

You need to prepare a patch following the nVidia instructions that will change that line to

struct ipmi_user *p_user; // ptr to ipmi_msghandler user structure

Larry

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups