Table des matières
Installation de Debian sur un Dell XPS 9560
Debootstrap error
Quand on arrive dans la partie “Install the base system” de l'installation Debian, on se retrouve face à cette erreur :
Debootstrap error : Failed to determine the codename for the release.
La solution est d'ouvrir un autre tty ( CTRL + ALT + F2 ) et de monter la partition dans /cdrom/ :
# mount /dev/sdb1 /cdrom
Ensuite, on peut retourner à l'installation ( CTRL + ALT + F5 ) et continuer.
Source: http://forums.debian.net/viewtopic.php?t=110803#p540837
Firmware manquants
À la fin de l'installation, il manque différents firmwares :
root@debian:/home/user# dmesg | grep "firmware: failed" [ 14.642452] bluetooth hci0: firmware: failed to load qca/rampatch_usb_00000302.bin (-2) [ 14.678328] i915 0000:00:02.0: firmware: failed to load i915/kbl_dmc_ver1_01.bin (-2) [ 14.987831] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:02:00.0.bin (-2) [ 14.987844] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/cal-pci-0000:02:00.0.bin (-2) [ 14.987853] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/QCA6174/hw3.0/firmware-5.bin (-2) [ 14.987866] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/QCA6174/hw3.0/firmware-4.bin (-2) [ 14.987876] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/QCA6174/hw3.0/firmware-3.bin (-2) [ 14.987889] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/QCA6174/hw3.0/firmware-2.bin (-2)
Avec vim, on ajoute “contrib non-free” dans les sources :
root@debian:/home/user# vim /etc/apt/sources.list :7,$s/main/main contrib non-free/
On peut vérifier le résultat:
root@debian:/home/user# cat /etc/apt/sources.list
root@debian:/home/user# apt update
root@debian:/home/user# apt search ath10k Sorting... Done Full Text Search... Done firmware-atheros/stable 20161130-3 all Binary firmware for Atheros wireless cards
root@debian:/home/user# apt install firmware-atheros Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: firmware-atheros 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 3,132 kB of archives. After this operation, 8,240 kB of additional disk space will be used. Get:1 http://ftp.be.debian.org/debian stretch/non-free amd64 firmware-atheros all 20161130-3 [3,132 kB] Fetched 3,132 kB in 0s (3,632 kB/s) Selecting previously unselected package firmware-atheros. (Reading database ... 131845 files and directories currently installed.) Preparing to unpack .../firmware-atheros_20161130-3_all.deb ... Unpacking firmware-atheros (20161130-3) ... Setting up firmware-atheros (20161130-3) ...
Après l'install de firmware-atheros et un redémmarage :
root@debian:/home/user# dmesg | grep "firmware: failed" [ 14.505574] i915 0000:00:02.0: firmware: failed to load i915/kbl_dmc_ver1_01.bin (-2) [ 14.797316] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:02:00.0.bin (-2) [ 14.797334] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/cal-pci-0000:02:00.0.bin (-2) [ 14.798027] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/QCA6174/hw3.0/firmware-5.bin (-2)
On peut maintenant installer ce qu'il faut pour le firmware i915/kbl_dmc_ver1_01.bin :
root@debian:/home/user# apt install firmware-misc-nonfree
Après l'install de firmware-misc-nonfree et reboot :
root@debian:/home/user# dmesg | grep "firmware: failed" [ 15.611639] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:02:00.0.bin (-2) [ 15.611648] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/cal-pci-0000:02:00.0.bin (-2) [ 15.611951] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/QCA6174/hw3.0/firmware-5.bin (-2)
Les firmwares ath10k/pre-cal-pci-0000:02:00.0.bin et ath10k/cal-pci-0000:02:00.0.bin sont apparemment optionnels ( voir https://unix.stackexchange.com/questions/405009/what-is-the-purpose-of-ath10k-pre-cal-pci-and-ath10k-cal-pci ).