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 ./ -aqs --install-libglvnd --no-drm
/var/log/nvidia-installer.log is here:


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

error: unknown type name ˜ipmi_user_t™
ipmi_user_t p_user; // ptr to ipmi_msghandler user

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 ./ 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

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 openSUSE Community Member facebook/ptilopteri
Registered Linux User #207535 @
Photos: paka @ IRCnet freenode
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >