Les deux révisions précédentesRévision précédente | |
installation_de_debian_sur_dell_xps_9560 [2017/12/08 09:52] – simon | installation_de_debian_sur_dell_xps_9560 [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 |
---|
====== 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 : | |
<WRAP center round alert 60%> | |
Debootstrap error : Failed to determine the codename for the release. | |
</WRAP> | |
| |
La solution est d'ouvrir un autre tty ( CTRL + ALT + F2 ) et de monter la partition dans /cdrom/ : | |
<code bash> | |
# mount /dev/sdb1 /cdrom | |
</code> | |
| |
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 : | |
<code bash> | |
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) | |
</code> | |
| |
Avec vim, on ajoute "contrib non-free" dans les sources : | |
<code bash> | |
root@debian:/home/user# vim /etc/apt/sources.list | |
:7,$s/main/main contrib non-free/ | |
</code> | |
| |
On peut vérifier le résultat: | |
<code bash> | |
root@debian:/home/user# cat /etc/apt/sources.list | |
</code> | |
<hidden><code bash> | |
# | |
| |
# deb cdrom:[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 NETINST 20171013-13:07]/ stretch main | |
| |
#deb cdrom:[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 NETINST 20171013-13:07]/ stretch main | |
| |
deb http://ftp.be.debian.org/debian/ stretch main contrib non-free | |
deb-src http://ftp.be.debian.org/debian/ stretch main contrib non-free | |
| |
deb http://security.debian.org/debian-security stretch/updates main contrib non-free | |
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free | |
| |
# stretch-updates, previously known as 'volatile' | |
deb http://ftp.be.debian.org/debian/ stretch-updates main contrib non-free | |
deb-src http://ftp.be.debian.org/debian/ stretch-updates main contrib non-free | |
</code></hidden> | |
| |
<code bash> | |
root@debian:/home/user# apt update | |
</code> | |
| |
<code bash> | |
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 | |
</code> | |
| |
<code bash> | |
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) ... | |
</code> | |
| |
Après l'install de firmware-atheros et un redémmarage : | |
<code bash> | |
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) | |
</code> | |
| |
On peut maintenant installer ce qu'il faut pour le firmware //i915/kbl_dmc_ver1_01.bin// : | |
<code bash> | |
root@debian:/home/user# apt install firmware-misc-nonfree | |
</code> | |
| |
Après l'install de firmware-misc-nonfree et reboot : | |
<code bash> | |
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) | |
</code> | |
| |
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 ). | |