NVIDIA drivers make it impossible to detect the SSD's temperature

I have been using my laptop without the NVIDIA drivers for a few months now and decided to try the drivers out. Before installing them, when I ran sensors, I could see an NVMe entry, but now I no longer see it.

Now, this might be because I stopped using the mainline kernel, but I could not get NVIDIA’s DKMS module to compile with 5.7 (I was using release candidates up until a day or two ago), which is why I downgraded to Ubuntu Focal’s regular kernels.

sandy@sandys-inspiron:~$ uname --all && lspci
Linux sandys-inspiron 5.4.0-38-generic #42-Ubuntu SMP Mon Jun 8 14:14:24 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
00:00.0 Host bridge: Intel Corporation Device 8a12 (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Device 8a56 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Device 8a03 (rev 03)
00:14.0 USB controller: Intel Corporation Ice Lake-LP USB 3.1 xHCI Host Controller (rev 30)
00:14.2 RAM memory: Intel Corporation Device 34ef (rev 30)
00:15.0 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP Serial IO I2C Controller #0 (rev 30)
00:15.1 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP Serial IO I2C Controller #1 (rev 30)
00:16.0 Communication controller: Intel Corporation Management Engine Interface (rev 30)
00:17.0 SATA controller: Intel Corporation Ice Lake-LP SATA Controller [AHCI mode] (rev 30)
00:19.0 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP Serial IO I2c Controller #4 (rev 30)
00:1c.0 PCI bridge: Intel Corporation Ice Lake-LP PCI Express Root Port #5 (rev 30)
00:1d.0 PCI bridge: Intel Corporation Ice Lake-LP PCI Express Root Port #9 (rev 30)
00:1d.1 PCI bridge: Intel Corporation Device 34b1 (rev 30)
00:1d.4 PCI bridge: Intel Corporation Device 34b4 (rev 30)
00:1f.0 ISA bridge: Intel Corporation Ice Lake-LP LPC Controller (rev 30)
00:1f.3 Audio device: Intel Corporation Smart Sound Technology Audio Controller (rev 30)
00:1f.4 SMBus: Intel Corporation Ice Lake-LP SMBus Controller (rev 30)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP SPI Controller (rev 30)
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX230] (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809

Any and all ideas as to what is going on are appreciated!

Edit

Oh, and I could also read the dGPU’s temperature with sensors, but no longer can. NVIDIA’s tools can though…

Have you tried re-running sudo sensors-detect?

Yes, same result.

Hmmm, I would dig around in /sys/class then and see if you can find the temp probe in there, to make sure the proper drivers are being loaded for the ssd.

My laptop is not booting at the moment, so I can’t really give you more advice until I have a Linux system to poke around in.

Still, thank you!

Edit

Hm…

sandy@sandys-inspiron:~$ sudo ls -al /sys/class/nvme
total 0
drwxr-xr-x  2 root root 0  6月 14 21:09 .
drwxr-xr-x 74 root root 0  6月 14 20:38 ..
lrwxrwxrwx  1 root root 0  6月 14 21:09 nvme0 -> ../../devices/pci0000:00/0000:00:1d.4/0000:04:00.0/nvme/nvme0
sandy@sandys-inspiron:~$ sudo ls -al /sys/class/nvme-subsystem/
total 0
drwxr-xr-x  2 root root 0  6月 14 21:09 .
drwxr-xr-x 74 root root 0  6月 14 20:38 ..
lrwxrwxrwx  1 root root 0  6月 14 21:09 nvme-subsys0 -> ../../devices/virtual/nvme-subsystem/nvme-subsys0

By the way, I even say yes to the “mostly safe” sensors-detect prompts.

1 Like

Thats the right way to answer it.

1 Like

So… Upgrading the kernel to the latest one in the 5.6 branch allows sensors to read the NVMe probe’s output again. I didn’t rerun sensors-detect after switching to the newer kernel, which means that it was able to detect the probe, but somehow not able to read its output when running 5.4.

I can’t wait for the next version of NVIDIA’s drivers, which should have support for the 5.7 branch of the kernel.