Vérifications matériel

Mise à jour : Debian 10.8 Buster

Sommaire

1 - Erreurs noyaux

Prendre connaissance des erreurs noyaux éventuelles

$ sudo dmesg -k -l emerg,alert,crit
$ sudo dmesg -k -l warn

2 - Erreurs journaux systemd

Prendre connaissance des erreurs systemd éventuelles

$ sudo journalctl -p err

"emerg" (0), "alert" (1), "crit" (2), "err" (3), "warning" (4), "notice" (5), "info" (6), "debug" (7)

3 - Firmware et microcodes (non libres)

$ sudo dmesg |grep microcode
$ sudo dmesg |grep firmware
$ sudo aptitude install intel-microcode
$ sudo aptitude install firmware-iwlwifi firmware-misc-nonfree
http://cdimage.debian.org/cdimage/unofficial/non-free/firmware/

par exemple, pour la version stable

$ wget http://cdimage.debian.org/cdimage/unofficial/non-free/firmware/stable/current/firmware.zip
$ unzip firmware.zip
$ sudo dpkg -i intel-microcode_3.20201118.1~deb10u1_amd64.deb firmware-iwlwifi_20190114-2_all.deb

4 - Interfaces réseau

ls -l /sys/class/net/
total 0
lrwxrwxrwx 1 root root 0 févr. 26 22:56 eno1 -> ../../devices/pci0000:00/0000:00:1f.6/net/eno1
lrwxrwxrwx 1 root root 0 févr. 26 22:56 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx 1 root root 0 févr. 26 22:56 wlp0s20f3 -> ../../devices/pci0000:00/0000:00:14.3/net/wlp0s20f3
$ sudo lspci -s 00:1f.6 -k
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (6) I219-V (rev 30)
Subsystem: Intel Corporation Ethernet Connection (6) I219-V
Kernel driver in use: e1000e
Kernel modules: e1000e

$ lspci -s 00:14.3 -k
00:14.3 Network controller: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 30)
Subsystem: Intel Corporation Cannon Point-LP CNVi [Wireless-AC]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
$ sudo dmesg |grep "firmware: " |grep -E "00:1f.6|00:14.3"
[ 11.828367] iwlwifi 0000:00:14.3: firmware: direct-loading firmware iwlwifi-9000-pu-b0-jf-b0-46.ucode
[ 11.828768] iwlwifi 0000:00:14.3: firmware: failed to load iwl-debug-yoyo.bin (-2)

Dans le cas présent, le non chargement de iwl-debug-yoyo.bin ne pose pas de problème

$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 94:c6:91:a8:8b:4b brd ff:ff:ff:ff:ff:ff
3: wlp0s20f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
link/ether 38:ba:f8:32:71:48 brd ff:ff:ff:ff:ff:ff5

5 - Affichage

$ ls -l /sys/class/graphics/
total 0
lrwxrwxrwx 1 root root 0 févr. 27 12:18 fb0 -> ../../devices/pci0000:00/0000:00:02.0/graphics/fb0
lrwxrwxrwx 1 root root 0 févr. 27 12:18 fbcon -> ../../devices/virtual/graphics/fbcon
$ lspci -s 00:02.0 -k
00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics 655 (rev 01)
Subsystem: Intel Corporation Iris Plus Graphics 655
Kernel driver in use: i915
Kernel modules: i915
$ sudo dmesg |grep "firmware: " |grep 00:02.0
[ 1.849468] i915 0000:00:02.0: firmware: direct-loading firmware i915/kbl_dmc_ver1_04.bin

6 - Carte son

$ ls -l /sys/class/sound/card*
lrwxrwxrwx 1 root root 0 févr. 27 12:18 /sys/class/sound/card0 -> ../../devices/pci0000:00/0000:00:1f.3/sound/card0
$ lspci -s 00:1f.3 -k
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30)
Subsystem: Intel Corporation Cannon Point-LP High Definition Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci
$ sudo dmesg |grep "firmware: "|grep 00:1f.3
$ alsamixer

puis sélectionner la carte son avec F6