Outils pour utilisateurs

Outils du site


informatique:installation_de_debian_sur_dell_xps_9560

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

Cliquez pour afficher ⇲

Cliquez pour masquer ⇱

#
 
# 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
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 ).

informatique/installation_de_debian_sur_dell_xps_9560.txt · Dernière modification : 2020/08/09 13:03 de 127.0.0.1