[CentOS] Semi-OT: hardware: NVidia proprietary driver, C7.4

Phil Perry pperry at elrepo.org
Wed Sep 27 18:46:50 UTC 2017


On 27/09/17 07:56, Sorin Srbu wrote:
>> -----Original Message-----
>> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Phil Perry
>> Sent: den 26 september 2017 21:46
>> To: centos at centos.org
>> Subject: Re: [CentOS] Semi-OT: hardware: NVidia proprietary driver, C7.4
>>
>> On 26/09/17 18:40, m.roth at 5-cent.us wrote:
>>> This is really frustrating. I've got a server with two K20c Tesla cards.
> I
>>> need to use the proprietary drivers to use the CUDA toolkit. Btw, I had
> no
>>> trouble at all with building for CentOS 7.3
>>>
>>> I have what NVidia claims is the correct driver package, a 340 series.
> It
>>> appears to build, but then fails to load. The only error I see is "no
> such
>>> device", which makes no sense to me, esp. since it says nothing whatever
>>> else.
>>>
>>> I've gone through the install log, and there are a bunch of Note:, and
>>> warnings, but the later I think are all about comparing signed and
>>> unsigned integers.
>>>
>>> And lsmod shows no nvidia drivers registered, but the logs claims that
>>> Error: Driver 'nvidia' is already registered, aborting...
>>>
>>> Anyone got any ideas?
>>>
>>>          mark
>>>
>>
>> You don't say which version of the 340 series driver you have tried.
>>
>> There was a bug with recent legacy releases that affected el7.4 kernels.
>> We (elrepo) patched the driver to fix that on rhel7.4 releases. I'm not
>> sure but it _may_ have been fixed in the 340.104 driver released last
>> week - I've not bothered building it as the changelog only mentions
>> "Improved compatibility with recent Linux kernels" which we
>> patched/fixed in our the previous release and other issues which don't
>> affect kmods on RHEL.
>>
>> So it sounds like a known issue which has already been fixed. If you
>> don't want to use our packages, maybe take a look at the patch and try
>> applying it to your build.
> 
> Tested 340.76, 340.102, 340.104 (elrepo and proprietary).
> No luck over here with a GTX260 and the 64b-drivers.
> 
> Will test some more, if still no luck, I'll just reinstall from scratch.
> 


The kmod-nvidia-340xx-340.102-4.el7_4.elrepo.x86_64.rpm driver should 
work for your card on el7.4.

All previous releases in elrepo were for el7.3 (and earlier) and are not 
compatible with the el7.4 series kernel.





More information about the CentOS mailing list