I was using a NVIDIA Titan X card on a computer and it was working fine, but when I changed the card to NVIDIA Tesla P100 the card does not show up in nvidia-smi. I updated the drivers to 375.51.
Output of lspci | grep NVIDIA
0f:00.0 VGA compatible controller: NVIDIA Corporation GF106GL [Quadro 2000] (rev a1) 0f:00.1 Audio device: NVIDIA Corporation GF106 High Definition Audio Controller (rev a1) 42:00.0 3D controller: NVIDIA Corporation Device 15f8 (rev a1)
Output of dmesg |grep NVRM
[ 22.298530] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid: [ 22.298530] NVRM: BAR1 is 0M @ 0x0 (PCI:0000:42:00.0) [ 22.298532] NVRM: The system BIOS may have misconfigured your GPU. [ 22.298565] NVRM: The NVIDIA probe routine failed for 1 device(s). [ 22.298567] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 375.51 Wed Mar 22 10:26:12 PDT 2017 (using threaded interrupts) [ 27.468189] NVRM: Your system is not currently configured to drive a VGA console [ 27.468192] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver [ 27.468193] NVRM: requires the use of a text-mode VGA console. Use of other console [ 27.468194] NVRM: drivers including, but not limited to, vesafb, may result in [ 27.468195] NVRM: corruption and stability problems, and is not supported.