Ubuntu 18.04.1 setup crashes on ACER Nitro AN515-42 laptop with AMD Ryzen 5 2400U processor

Bug #1786241 reported by Roman Kuznyetsov
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Got new notebook ACER Nitro AN515-42 with AMD Ryzen 5 2400U processor and Radeon Vega 8 Mobile Gfx.
Original OS on SSD is Linpus Lite.
uname -a# Linux 4.2.01p_mmc #5 SMP i686 athlon i386 GNU/Linux
Linpus is running in text mode only.
GRUB parameters are : kernel /boot/vmlinuz ro root= nolapic_timer loglevel=0 acpi_osi=Linux pcie_aspm=off acpi=copy_dsdt pci=nocrs irqpoll quiet
I've decided to install UBUNTU MATE 18.04 on laptop.
Image ubuntu-mate-18.04-desktop-amd64.iso had been downloaded and installed on flash drive with rufus.
Laptop doesn't have a CD/DVD drive.
Secure boot was switched off in BIOS and boot from flash drive was selected.
I've selected UBUNTU try option in GRUB to test on my laptop.
Boot of kernel fails with many similar messages on screen about "soft lockup - CPU#4 stuck for 23s".
UBUNTU Mate install option had produced same error.
I've installed Windows 10 trial to test the laptop - it is working good.
I've downloaded BIOS update utility, which is for Windows 10 only, from ACER and I'd updated BIOS from v1.05 to v.1.08. No changes in Windows.
The UBUNTU MATE setup still is making same errors.
I've tested ubuntu-mate-16.04-desktop-amd64.iso and ubuntu-mate-18.04.1-desktop-amd64.iso with same errors.
I've search WEB and found working solution for me with GRUB startup option "rcu_nocbs=0-7" cause my AMD got 4 cores/ 8 threads.
Second error during installation is related to ACER BIOS ACPI. UBUNTU startup fails again.
GRUB boot option acpi=off didn't work.
GRUB boot options from original Linpus above didn't work.
Found in WEB working solution for me with GRUB startup option ivrs_ioapic[4]=00:14.0 ivrs_ioapic[5]=00:00.2
I've managed to install UBUNTU MATE 18.04.1 on my laptop.
I've managed to install proprietary AMD driver 18.20 for Vega video chipset.
GRUB boot options are "ro rcu_nocbs=0-7 ivrs_ioapic[4]=00:14.0 ivrs_ioapic[5]=00:00.2 quiet splash vt.handoff=1".
UBUNTU MAte is running but still is getting some errors and X freeze some time - I will make extra bug report.
I'm reporting from my new laptop.
Copy of LOG files are attached.
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: romkuz 1576 F.... pulseaudio
 /dev/snd/controlC0: romkuz 1576 F.... pulseaudio
CurrentDesktop: MATE
DistroRelease: Ubuntu 18.04
HibernationDevice: RESUME=UUID=28e39be2-4c03-4cef-b100-37b42b56620b
InstallationDate: Installed on 2018-08-07 (1 days ago)
InstallationMedia: Ubuntu-MATE 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
MachineType: Acer Nitro AN515-42
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-30-generic root=UUID=d40acc90-785a-4efc-8b97-8060f5cad8c0 ro rcu_nocbs=0-7 ivrs_ioapic[4]=00:14.0 ivrs_ioapic[5]=00:00.2 quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 4.15.0-30.32-generic 4.15.18
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-30-generic N/A
 linux-backports-modules-4.15.0-30-generic N/A
 linux-firmware 1.173.1
Tags: bionic
Uname: Linux 4.15.0-30-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip fax lpadmin netdev plugdev sambashare scanner sudo video
_MarkForUpload: True
dmi.bios.date: 05/23/2018
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.08
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: Freed_RRS
dmi.board.vendor: RR
dmi.board.version: V1.08
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.08
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.08:bd05/23/2018:svnAcer:pnNitroAN515-42:pvrV1.08:rvnRR:rnFreed_RRS:rvrV1.08:cvnAcer:ct10:cvrV1.08:
dmi.product.family: Acer Nitro 5
dmi.product.name: Nitro AN515-42
dmi.product.version: V1.08
dmi.sys.vendor: Acer

Revision history for this message
Roman Kuznyetsov (romkuz) wrote :
tags: added: bionic kernel-bug
tags: added: amd64
summary: - Ubuntu 18.04 setup crashes on ACER Nitro AN515-42 laptop with AMD Ryzen
- 5 2400U processor
+ Ubuntu 18.04.1 setup crashes on ACER Nitro AN515-42 laptop with AMD
+ Ryzen 5 2400U processor
description: updated
description: updated
Paul White (paulw2u)
affects: ubuntu → linux (Ubuntu)
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1786241

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Roman Kuznyetsov (romkuz) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Roman Kuznyetsov (romkuz) wrote : CRDA.txt

apport information

Revision history for this message
Roman Kuznyetsov (romkuz) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Roman Kuznyetsov (romkuz) wrote : IwConfig.txt

apport information

Revision history for this message
Roman Kuznyetsov (romkuz) wrote : Lspci.txt

apport information

Revision history for this message
Roman Kuznyetsov (romkuz) wrote : Lsusb.txt

apport information

Revision history for this message
Roman Kuznyetsov (romkuz) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Roman Kuznyetsov (romkuz) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Roman Kuznyetsov (romkuz) wrote : ProcEnviron.txt

apport information

Revision history for this message
Roman Kuznyetsov (romkuz) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Roman Kuznyetsov (romkuz) wrote : ProcModules.txt

apport information

Revision history for this message
Roman Kuznyetsov (romkuz) wrote : PulseList.txt

apport information

Revision history for this message
Roman Kuznyetsov (romkuz) wrote : RfKill.txt

apport information

Revision history for this message
Roman Kuznyetsov (romkuz) wrote : UdevDb.txt

apport information

Revision history for this message
Roman Kuznyetsov (romkuz) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
assignee: nobody → Roman Kuznyetsov (romkuz)
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.18 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18-rc8

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Roman Kuznyetsov (romkuz) wrote :

Testing of mainline kernel
romkuz@Nitro-5:~/Downloads$ ls -l linux-*
-rw-rw-r-- 1 romkuz romkuz 10323364 сер 9 21:29 linux-headers-4.18.0-041800rc8_4.18.0-041800rc8.201808052031_all.deb
-rw-rw-r-- 1 romkuz romkuz 1120436 сер 9 21:29 linux-headers-4.18.0-041800rc8-generic_4.18.0-041800rc8.201808052031_amd64.deb
-rw-rw-r-- 1 romkuz romkuz 8155044 сер 9 21:30 linux-image-unsigned-4.18.0-041800rc8-generic_4.18.0-041800rc8.201808052031_amd64.deb
-rw-rw-r-- 1 romkuz romkuz 44991028 сер 9 21:30 linux-modules-4.18.0-041800rc8-generic_4.18.0-041800rc8.201808052031_amd64.deb

Kernel had been downloaded and tested.
RAdeon Vega proprietary driver had been uninstalled https://www2.ati.com/drivers/linux/ubuntu/18.04/amdgpu-pro-18.20-606296.tar.xz
Kernel was installed and tested.
Kernel failed to boot without extra parameters in GRUB.
First issue had been resolved and second issue with ACPI is in force.
Kernel boots successfully with GRUB parameters ivrs_ioapic[4]=00:14.0 ivrs_ioapic[5]=00:00.2
See dmesg log attached.

tags: added: apport-collectedkernel-bug-exists-upstream
removed: apport-collected
tags: added: apport-collected kernel-bug-exists-upstream
removed: apport-collectedkernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Roman Kuznyetsov (romkuz) wrote :

Good day, All.
New bug report had been sent to Acer Support with request to fix ACPI in BIOS # 180810-001559
I hope to get a reaction from ACER Support:(

QUOTE
Dear All,
Good day!
This message is addressed to BIOS programmers of Acer laptops.
New Linux Kernel is not booting with default parameters due to error in Acer Laptop ACPI BIOS of my ACER Nitro AN515-42.
Latest BIOS installed v.1.08 didn't fix the problem.

To make linux boot possible I've been forced to make extra boot parameters to GRUB
ivrs_ioapic[4]=00:14.0 ivrs_ioapic[5]=00:00.2
And still there are some error messages in gmesg log- See attached.
I hope this file will help to identify error in your BIOS and fix it with new BIOS patch to laptop.
Thanks in advance.
With best regards=
Roman
UNQUOTE

Changed in linux (Ubuntu):
assignee: Roman Kuznyetsov (romkuz) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.