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
* Larry Finger <Larry.Finger@xxxxxxxxxxxx> [01-16-19 21:50]:
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


I do not know how to make a patch for this, or a patch period. but I did
extrace the ./NVIDIA-Linux-x86_64-390.87.run file and edit os-interface.c,
replaced "ipmi_user_t" with "struct ipmi_user *" and
changed the line to read as you suggest.

I now have kernel-default-4.20.0-1.5.x86_64 running with nvidia 390.87
driver.

since it doesn't see there will be any update in the nvidia driver for my
ancient card, the present status will suffice until another kernel API
change. and then I will again require assistance.

thankyou Larry Finger.

--
(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri
http://en.opensuse.org openSUSE Community Member facebook/ptilopteri
Registered Linux User #207535 @ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >