Can't install driver 361.62 on CentOS 7.2

I am installing the driver included in Cuda 8.0 RC but it always got the following error:

ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most frequently when this kernel module was built against the wrong or          
         improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such
         as rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s),
         or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver release.                                        
       
         Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more 
         information.

Any idea about this?

The errors in log:

Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more information.
-> Kernel module load error: No such device
-> Kernel messages:
[ 1255.880729]  crc_t10dif crct10dif_generic i915 mxm_wmi i2c_algo_bit drm_kms_helper ahci crct10dif_pclmul crct10dif_common libahci drm crc32c_intel libata r8169 serio_raw mii i2c_core wmi video [last unloaded: nvidia]
[ 1255.880739] CPU: 6 PID: 9496 Comm: nvidia-installe Tainted: P           OE  ------------   3.10.0-327.el7.x86_64 #1
[ 1255.880740] Hardware name: MSI MS-7850/Z97 PC Mate(MS-7850), BIOS V4.10 08/11/2015
[ 1255.880741]  ffff880820b5fc48 000000002ba9f912 ffff880820b5fc00 ffffffff816351f1
[ 1255.880743]  ffff880820b5fc38 ffffffff8107b200 ffffffffa0db2d28 ffff8808229a8000
[ 1255.880745]  ffffffffa0db2db0 ffffffffa0db2cc0 ffffffffa0db2da8 ffff880820b5fca0
[ 1255.880747] Call Trace:
[ 1255.880751]  [<ffffffff816351f1>] dump_stack+0x19/0x1b
[ 1255.880754]  [<ffffffff8107b200>] warn_slowpath_common+0x70/0xb0
[ 1255.880756]  [<ffffffff8107b29c>] warn_slowpath_fmt+0x5c/0x80
[ 1255.880758]  [<ffffffff8162ec81>] ? printk+0x77/0x8e
[ 1255.880760]  [<ffffffff813f6fca>] driver_unregister+0x4a/0x50
[ 1255.880763]  [<ffffffff813277bc>] pci_unregister_driver+0x2c/0x90
[ 1255.880794]  [<ffffffffa0725ca5>] ebridge_exit+0x15/0x20 [nvidia]
[ 1255.880821]  [<ffffffffa10cd6d6>] nvidia_init_module+0x61f/0x693 [nvidia]
[ 1255.880824]  [<ffffffffa10cd000>] ? 0xffffffffa10ccfff
[ 1255.880851]  [<ffffffffa10cd086>] nvidia_frontend_init_module+0x86/0xb7 [nvidia]
[ 1255.880853]  [<ffffffff810020e8>] do_one_initcall+0xb8/0x230
[ 1255.880856]  [<ffffffff810ed4ae>] load_module+0x134e/0x1b50
[ 1255.880858]  [<ffffffff81316880>] ? ddebug_proc_write+0xf0/0xf0
[ 1255.880860]  [<ffffffff810e9743>] ? copy_module_from_fd.isra.42+0x53/0x150
[ 1255.880862]  [<ffffffff810ede66>] SyS_finit_module+0xa6/0xd0
[ 1255.880865]  [<ffffffff81645909>] system_call_fastpath+0x16/0x1b
[ 1255.880867] ---[ end trace 29c5d047d24bd805 ]---
[ 1255.880962] NVRM: NVIDIA init module failed!
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

Then I updated BIOS of my main board and now the errors are:

Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more information.
-> Kernel module load error: No such device
-> Kernel messages:
[   25.460966] [drm] [nvidia-drm] [GPU ID 0x00000100] Unloading driver
[   25.464100] nvidia-modeset: Unloading
[   25.467102] nvidia-nvlink: Unregistered the Nvlink Core, major device number 248
[   49.918964] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
[   49.918978] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:1b80)
NVRM: installed in this system is not supported by the 361.62
NVRM: NVIDIA Linux driver release.  Please see 'Appendix
NVRM: A - Supported NVIDIA GPU Products' in this release's
NVRM: README, available on the Linux driver download page
NVRM: at www.nvidia.com.
[   49.918997] nvidia: probe of 0000:01:00.0 failed with error -1
[   49.919027] vgaarb: device changed decodes: PCI:0000:02:00.0,olddecodes=none,decodes=none:owns=none
[   49.919037] NVRM: The NVIDIA GPU 0000:02:00.0 (PCI ID: 10de:1b80)
NVRM: installed in this system is not supported by the 361.62
NVRM: NVIDIA Linux driver release.  Please see 'Appendix
NVRM: A - Supported NVIDIA GPU Products' in this release's
NVRM: README, available on the Linux driver download page
NVRM: at www.nvidia.com.
[   49.919056] nvidia: probe of 0000:02:00.0 failed with error -1
[   49.919074] nvidia-nvlink: Nvlink Core is being initialized, major device number 248
[   49.919321] NVRM: The NVIDIA probe routine failed for 2 device(s).
[   49.919321] NVRM: None of the NVIDIA graphics adapters were initialized!
[   49.919322] [drm] Module unloaded
[   49.919323] nvidia-nvlink: Unregistered the Nvlink Core, major device number 248
[   49.919374] NVRM: NVIDIA init module failed!
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

You’re one of the lucky ones, apparently.

This:

10de:1b80

corresponds to a GP104 device, so I guess you must have gotten yourself a shiny new GTX1080 before they ran out. (Did you get two of them? Lucky you. I’m envious.)

Assuming that is the case, on the CUDA 8 RC downloads page:

https://developer.nvidia.com/cuda-release-candidate-download

you should take note of this published statement:

“GeForce GTX 1080 Developers must re-install the latest driver from www.nvidia.com/drivers after installing any of these CUDA Toolkits.”

So this is expected behavior when you are installing the CUDA 8 RC toolkit: the driver that is part of the CUDA 8 RC toolkit is not the correct one for GTX1080. Please go to www.nvidia.com, select driver downloads, and find the driver installer for your GTX1080

@txbob, yes I just downloaded the latest drivers and now it’s not a problem. Thank you for your reply~