Bios bug?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
Simomir
Level 1
Level 1
Posts: 18
Joined: Wed Jul 31, 2019 12:51 pm

Bios bug?

Post by Simomir » Tue Aug 27, 2019 12:33 pm

Recently I've upgraded to Mint 19.2 and to kernel 5.2.9. Did decent amount of installing/removing packages to check what's what. Then used BleachBit to wipe leftovers and such. Past few days I've noticed longer boot timings. Moreover during the boot itself there were writings popping for a split second. I managed to record most of them. Here they are:

Code: Select all

[   1.326093] tpm_crb MSFT0101:00: can't request region for resourses .......
[   1.521562] Couldn't get size 0x800000000000000e
[   1.521584] MODSIGN: Couldn't get UEFI db list
[   1.522589] Couldn't get size: 0x800000000000000e
[   1.523594] Couldn't get size: 0x800000000000000e
[   1.643792] ACPI BIOS Error (bug): Could not resolve symbol [^^...................................0509/psargs-330)
[   1.643880] ACPI Error: Aborting method \_SB.PCI0.VGA.LCDD._BCM........................ND) (20190509/psparse-529)
[   1.643932] ACPI Error: Evaluating _BCM failed (20190509/video-.......................................
My current boot timings are as follows:

Code: Select all

Startup finished in 6.453s (firmware) + 5.172s (loader) + 5.344s (kernel) + 53.582s (userspace) = 1min 10.552s
graphical.target reached after 23.143s in userspace
The thing that's out of the ordinary is userspace which was around 25 second before these things started popping each time I boot the laptop in the morning. Another thing - if I restart the laptop userspace time drops to 25 second as it should be.

May be there are other problems(caused by these errors) lurking around that I haven't noticed as of yet.

Any advice./tip/solution is greatly appreciated.

User avatar
Pjotr
Level 21
Level 21
Posts: 13756
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Bios bug?

Post by Pjotr » Tue Aug 27, 2019 12:45 pm

1. Don't ever use software wrecking ball BleachBit:
https://easylinuxtipsproject.blogspot.c ... s.html#ID4
(item 4)

2. Please generate an overview of your system like this:
- Launch a terminal window (this is how to launch a terminal window);
- make the terminal window full screen, to avoid chopped lines;
- Copy/paste this command into the terminal:

Code: Select all

inxi -Fxz
(if you type: the letter F is a capital letter)

Press Enter.

Copy/paste the output in your next message.

Do the same with the following four commands:

Code: Select all

rfkill list all

Code: Select all

iwconfig

Code: Select all

lsusb

Code: Select all

lspci
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Simomir
Level 1
Level 1
Posts: 18
Joined: Wed Jul 31, 2019 12:51 pm

Re: Bios bug?

Post by Simomir » Tue Aug 27, 2019 1:00 pm

inxi -Fxz output:

Code: Select all

System:    Host: simeon-X555QG Kernel: 5.2.9-050209-generic x86_64 bits: 64 compiler: gcc v: 9.2.0 Desktop: Cinnamon 4.2.3 
           Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: ASUSTeK product: X555QG v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: X555QG v: 1.0 serial: <filter> UEFI: American Megatrends v: X555QG.320 date: 09/08/2017 
Battery:   ID-1: BAT0 charge: 36.8 Wh condition: 37.3/37.3 Wh (100%) model: ASUSTeK X555-50 status: Not charging 
CPU:       Topology: Quad Core model: AMD A12-9720P RADEON R7 12 COMPUTE CORES 4C+8G bits: 64 type: MCP arch: Excavator rev: 1 
           L2 cache: 1024 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 21559 
           Speed: 1543 MHz min/max: 1400/2700 MHz Core speeds (MHz): 1: 1779 2: 1616 3: 1383 4: 1397 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] vendor: ASUSTeK Carrizo driver: amdgpu 
           v: kernel bus ID: 00:01.0 
           Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 M520] vendor: ASUSTeK driver: radeon 
           v: kernel bus ID: 03:00.0 
           Display: x11 server: X.Org 1.19.6 driver: ati,radeon unloaded: amdgpu,fbdev,modesetting,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD Radeon R7 Graphics (CARRIZO DRM 3.32.0 5.2.9-050209-generic LLVM 8.0.0) v: 4.5 Mesa 19.0.8 
           direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Kabini HDMI/DP Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 00:01.1 
           Device-2: Advanced Micro Devices [AMD] Family 15h Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 00:09.2 
           Sound Server: ALSA v: k5.2.9-050209-generic 
Network:   Device-1: Realtek RTL8821AE 802.11ac PCIe Wireless Network Adapter vendor: AzureWave driver: rtl8821ae v: kernel 
           port: e000 bus ID: 01:00.0 
           IF: wlp1s0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: d000 
           bus ID: 02:00.0 
           IF: enp2s0 state: down mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 77.10 GiB (8.3%) 
           ID-1: /dev/sda vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB 
Partition: ID-1: / size: 91.17 GiB used: 16.72 GiB (18.3%) fs: ext4 dev: /dev/sda1 
           ID-2: /home size: 820.23 GiB used: 30.19 GiB (3.7%) fs: ext4 dev: /dev/sda3 
           ID-3: swap-1 size: 4.00 GiB used: 780 KiB (0.0%) fs: swap dev: /dev/sda4 
Sensors:   System Temperatures: cpu: 52.5 C mobo: N/A 
           Fan Speeds (RPM): cpu: 2900 
           GPU: device: amdgpu temp: 52 C device: radeon temp: 40 C 
Info:      Processes: 230 Uptime: 1h 25m Memory: 6.82 GiB used: 2.94 GiB (43.2%) Init: systemd runlevel: 5 Compilers: 
           gcc: 7.4.0 Shell: bash v: 4.4.20 inxi: 3.0.32
rfkill list alloutput:

Code: Select all

0: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
iwconfig output:

Code: Select all

lo        no wireless extensions.

enp2s0    no wireless extensions.

wlp1s0    IEEE 802.11  ESSID:"Winterwolf_5G"  
          Mode:Managed  Frequency:5.24 GHz  Access Point: C4:6E:1F:81:14:49   
          Bit Rate=433.3 Mb/s   Tx-Power=17 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:on
          Link Quality=60/70  Signal level=-50 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:168   Missed beacon:
lsusb output:

Code: Select all

Bus 001 Device 004: ID 0bda:57de Realtek Semiconductor Corp. 
Bus 001 Device 003: ID 13d3:3414 IMC Networks 
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 18f8:0f97  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lspci output:

Code: Select all

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] (rev c8)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1578
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157d
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 49)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4a)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 5
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 M520] (rev 83)

User avatar
Pjotr
Level 21
Level 21
Posts: 13756
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Bios bug?

Post by Pjotr » Tue Aug 27, 2019 5:11 pm

Try an officially supported kernel instead of your current mainline kernel.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Simomir
Level 1
Level 1
Posts: 18
Joined: Wed Jul 31, 2019 12:51 pm

Re: Bios bug?

Post by Simomir » Sun Sep 01, 2019 5:39 am

I am trying out different kernels to see if it helps. So far it doesn't. May be I need to flash the bios with newer version if there is one.

User avatar
zcot
Level 5
Level 5
Posts: 565
Joined: Wed Oct 19, 2016 6:08 pm

Re: Bios bug?

Post by zcot » Mon Sep 02, 2019 12:06 am

are you booting with nomodeset?

Pjotr, the -r switch didn't show up in inxi, do you think there's anything there?

are you getting correct driver support with command dkms status when using the wild west kernels? each driver support should be listed for the current kernel or it means the driver module wasn't built correctly against that kernel.

The writings that pop up during boot are all listed in a chronological list after boot with the command dmesg.

User avatar
Pjotr
Level 21
Level 21
Posts: 13756
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Bios bug?

Post by Pjotr » Mon Sep 02, 2019 8:33 am

Maybe we're looking in the wrong direction. After all, it's user space that creates the biggest delay.... Do you have automatic login enabled? If so, what applets / desklets / extensions did you install in your Cinnamon (if any)?
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
zcot
Level 5
Level 5
Posts: 565
Joined: Wed Oct 19, 2016 6:08 pm

Re: Bios bug?

Post by zcot » Mon Sep 02, 2019 9:56 am

Pjotr wrote:
Mon Sep 02, 2019 8:33 am
Maybe we're looking in the wrong direction. After all, it's user space that creates the biggest delay.... Do you have automatic login enabled? If so, what applets / desklets / extensions did you install in your Cinnamon (if any)?
Right, 25 secs + a 30 timeout delay is about the current timing. So is there a 30 second timeout? But even 25 to start with seems like a lot.

User avatar
Larry78723
Level 7
Level 7
Posts: 1561
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Bios bug?

Post by Larry78723 » Mon Sep 02, 2019 11:45 am

Maybe a problem with a missing swap listed in fstab? Can bleachbit delete an empty swap partition or swap file?
Image

Simomir
Level 1
Level 1
Posts: 18
Joined: Wed Jul 31, 2019 12:51 pm

Re: Bios bug?

Post by Simomir » Tue Sep 03, 2019 1:29 pm

zcot wrote:
Mon Sep 02, 2019 12:06 am
are you booting with nomodeset?

Pjotr, the -r switch didn't show up in inxi, do you think there's anything there?

are you getting correct driver support with command dkms status when using the wild west kernels? each driver support should be listed for the current kernel or it means the driver module wasn't built correctly against that kernel.

The writings that pop up during boot are all listed in a chronological list after boot with the command dmesg.
I am not sure about the driver stuff. Probably there's a problem. i got all the writings from the boot but its too long to post in code quotes here so i made a pastebin link.

https://pastebin.com/bZExhxuK
Last edited by Simomir on Tue Sep 03, 2019 1:33 pm, edited 1 time in total.

Simomir
Level 1
Level 1
Posts: 18
Joined: Wed Jul 31, 2019 12:51 pm

Re: Bios bug?

Post by Simomir » Tue Sep 03, 2019 1:30 pm

Pjotr wrote:
Mon Sep 02, 2019 8:33 am
Maybe we're looking in the wrong direction. After all, it's user space that creates the biggest delay.... Do you have automatic login enabled? If so, what applets / desklets / extensions did you install in your Cinnamon (if any)?
No auto login. About applets - skype, redshift, blutooth. Think thats all that starts right from the start.

Simomir
Level 1
Level 1
Posts: 18
Joined: Wed Jul 31, 2019 12:51 pm

Re: Bios bug?

Post by Simomir » Tue Sep 03, 2019 1:33 pm

Larry78723 wrote:
Mon Sep 02, 2019 11:45 am
Maybe a problem with a missing swap listed in fstab? Can bleachbit delete an empty swap partition or swap file?
I had a swap file problem in the begining. When i got the laptop it got Endless OS. I wiped it and installed Mint. After that there were (dont know how) 2 swap partitions one of which was encrypted. I got separate topic here for this. fstab reference was changed to use the unencrypted swap.

User avatar
zcot
Level 5
Level 5
Posts: 565
Joined: Wed Oct 19, 2016 6:08 pm

Re: Bios bug?

Post by zcot » Tue Sep 03, 2019 2:37 pm

so not booting with nomodeset I see.

4.5 seconds: [ 23.247272] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 so if you don't use that it's a candidate to disable.
21.5 seconds hanging on looking for encryption key that does not exist: 8631ed61e06747f8 (is that the encrypted unused swap that is not in use?)

There's a number of issues early on with acpi so changing a bios setting or adding a kernel parameter would help that go more smoothly.
and searching that error: Aborting method \_SB.PCI0.VGA.LCDD._BCM leads to solutions with nomodeset or custom driver mode parameters.

The dual gpu makes it tricky.

boot temporarily with these parameters at least as a test and check the dmesg output: nomodeset noapic noacpi nosplash irqpoll

gm10
Level 19
Level 19
Posts: 9800
Joined: Thu Jun 21, 2018 5:11 pm

Re: Bios bug?

Post by gm10 » Tue Sep 03, 2019 3:33 pm

Pjotr wrote:
Mon Sep 02, 2019 8:33 am
it's user space that creates the biggest delay....
Those aren't technically delays, those are just the timings until all the startups were finished. For example, if you have Update Manager's maintenance service enabled - as is the default on the 19.2 OP upgraded to - then when that runs that number gets added to the user space timing. That one only runs once a week. There are several other services that run only once a day. So naturally your "user space" times will be wildly different depending on when you boot. This keeps getting misunderstood in every single thread that systemd-analyze comes up in unfortunately...

Regarding the ACPI errors: Flash a new UEFI version and/or use a different kernel and/or just ignore them.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

Simomir
Level 1
Level 1
Posts: 18
Joined: Wed Jul 31, 2019 12:51 pm

Re: Bios bug?

Post by Simomir » Sun Sep 15, 2019 4:47 am

Sorry for the late update. I flashed the bios to the latest I found on the asus web site. Still the same. Got new update on the 4.15 kernel. Gonna try it and see if it helps.

Post Reply

Return to “Installation & Boot”