Days ago I had to install Debian Buster (10) on a Dell Inspiron 5575 Ryzen 5 laptop which originally comes with Windows 10 Home. After finding some mistakes, I will narrate the solutions I found along the way.
Basic parameters as purchased:
- AMD Ryzen 5 2500U with Vega 8 graphics
- 15.6” – 1920×1080
- 1Tb HDD 5400rpm
- Backlit keyboard
- Windows 10 Home
Steps:
- Run the Windows initialization thing – takes about an hour, did all the updates and reboots,
- Updated BIOS (Inspiron_5575_1.3.2.exe – from here)
Really important don’t shutdown the laptop during the process, wait the laptop reboot automatically
- Using other Linux laptop and dd command I made a bootable USB drive with Debian Buster, plug into the Dell. Here the explanation
- Installed the Debian, be careful here not to erase your windows if you want to keep it
- During the installation process I need to add some non-free drivers if you like all works fine after the installation. I download in an USB stick and connect to the laptop
Here the list
- firmware-atheros_0.43_all.deb
- firmware-atheros_20190114-2_all.deb
- firmware-atheros_20190114-2~bpo9+1_all.deb
- firmware-atheros_20190717-2_all.deb
- firmware-atheros_20190717-2~bpo10+1_all.deb
- firmware-iwlwifi_0.36+wheezy.1_all.deb
- firmware-iwlwifi_0.43_all.deb
- firmware-linux-nonfree_0.36+wheezy.1_all.deb
- firmware-linux-nonfree_0.43_all.deb
- firmware-realtek_0.43_all.deb
For some reason the graphical environment don’t works automatically and i need
install KDE manually after that
sudo apt install kde-full sddm
Now, after the installation i get some warnings on the boot process
PCI Bus error
[ 104.373877] pcieport 0000:00:03.1: PCIe Bus Error:
severity=Corrected, type=Data Link Layer, (Transmitter ID)
[ 104.373881] pcieport 0000:00:03.1: device [1022:1453] error
status/mask=00001000/00006000
[ 104.373886] pcieport 0000:00:03.1: [12] Replay Timer Timeout
I found the solution here
Add the parameter, pci=nomsi on the file /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi"
And reboot.
If does not work then try, pci=noaer on the file /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=noaer"
For me works the first option, GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash pci=nomsi”
In my case works with the first option, them I don’t try the second way.
After edit the file you need to save the changes like this:
sudo update-grub
sudo reboot
IOMMU issues
AMD-VI: Unable to write to IOMMU perf counter.
I found the solution here:
Add the parameter, iommu=soft on the file /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="open splash iommu=soft"
If you have also the error with the PCI Bus the line will be look like this
GRUB_CMDLINE_LINUX_DEFAULT="open splash pci=noaer iommu=soft"
Network card issues
Finally i have an issue with the network card getting this error
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details
In this case if you are using the network wire you need wonder which card are you using
ip address
in my case i get
2: enp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 54:bf:64:4d:68:c9 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 80:2b:f9:65:d2:ff brd ff:ff:ff:ff:ff:ff
then replace in /etc/network/interfaces or /etc/network/interfaces.d/setup
eth0 with enp1s0 or whet you get when you run ip address
if you are not using the network wire you should comment or erase this lines
auto eth0
iface eth0 inet dhcp
will be look like this
#auto eth0
#iface eth0 inet dhcp
after this I work on the laptop with out issues