Manjaro (Gnome) 18.0 - random boot problems (Dell Inspiron 15-5559 and Crucial MX500 SSD)

It's random. Roughly 1 out of 6-7 times booting into the graphical desktop works. The rest of the times it's stuck after

[OK] started TLP system startup/shutdown

or it just shows a black screen after the first "page" of output of the boot process has run through. Sometimes it's a black screen with a blinking cursor

have you checked your bios to see if you can set the video card to discrete, not alot of laptops have it afaik but if you do have the option it might solve your issue rather easily.

first thing: update your bios to the latest version

For random issues, the only thing you can do is look into the logs to find the error factor.
After a failed boot and the next is success, check

journalctl -b -1 -p3
/var/log/Xorg.0.log.old  
# or other Nr(0) and check timestamps

I don't think it is because of the new SSD but just in case please check your tlp configuration and inparticular pay attention to the disc, SATA and AHCI related options. here's mine for comparison, I have an MX500 500GB in this system

+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
TLP_DEFAULT_MODE=AC
TLP_PERSISTENT_DEFAULT=0
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
CPU_SCALING_GOVERNOR_ON_AC=performance
CPU_SCALING_GOVERNOR_ON_BAT=performance
CPU_SCALING_MIN_FREQ_ON_AC=800000
CPU_SCALING_MAX_FREQ_ON_AC=2050000
CPU_SCALING_MIN_FREQ_ON_BAT=800000
CPU_SCALING_MAX_FREQ_ON_BAT=1400000
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=performance
DISK_DEVICES="sda sdb"
DISK_APM_LEVEL_ON_AC="keep keep"
DISK_APM_LEVEL_ON_BAT="keep keep"
DISK_SPINDOWN_TIMEOUT_ON_AC="0 0"
DISK_SPINDOWN_TIMEOUT_ON_BAT="0 0"
SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
SATA_LINKPWR_ON_BAT="med_power_with_dipm max_performance"
AHCI_RUNTIME_PM_TIMEOUT=15
PCIE_ASPM_ON_AC=performance
PCIE_ASPM_ON_BAT=powersave
RADEON_POWER_PROFILE_ON_AC=default
RADEON_POWER_PROFILE_ON_BAT=low
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto
WIFI_PWR_ON_AC=off
WIFI_PWR_ON_BAT=on
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_AC=0
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
RUNTIME_PM_DRIVER_BLACKLIST="amdgpu nouveau nvidia radeon pcieport"
USB_AUTOSUSPEND=0
USB_BLACKLIST_BTUSB=0
USB_BLACKLIST_PHONE=0
USB_BLACKLIST_PRINTER=1
USB_BLACKLIST_WWAN=1
RESTORE_DEVICE_STATE_ON_STARTUP=0

also if the SSD is the sole storage device in the notebook you could switch to mq-deadline as the scheduler by adding scsi_mod.use_blk_mq=1 to the GRUB_CMD_LINUX= in /etc/default/grub. then sudo update-grub

has the following results:

-- Logs begin at Mon 2018-11-19 20:17:34 CET, end at Mon 2018-11-19 20:24:34 CE>
Nov 19 20:18:25 johndoe-pc kernel: tpm_crb MSFT0101:00: [Firmware Bug]: ACPI reg>
Nov 19 20:18:25 johndoe-pc kernel: tpm_crb MSFT0101:00: [Firmware Bug]: ACPI reg>
Nov 19 20:18:30 johndoe-pc systemd-coredump[636]: Process 491 (Xorg) of user 120>
                                                 
                                                 Stack trace of thread 491:
                                                 #0  0x00007f4b7442ad7f raise (>
                                                 #1  0x00007f4b74415672 abort (>
                                                 #2  0x000055c6eb616aea OsAbort>
                                                 #3  0x000055c6eb60d55f FatalEr>
                                                 #4  0x000055c6eb61b37e n/a (Xo>
                                                 #5  0x00007f4b7442ae00 __resto>
                                                 #6  0x00007f4b7442ad7f raise (>
                                                 #7  0x00007f4b74415672 abort (>
                                                 #8  0x00007f4b74415548 __asser>
                                                 #9  0x00007f4b74423396 __asser>
                                                 #10 0x000055c6eb6c4f29 dixRegi>
                                                 #11 0x000055c6eb5e7328 xf86XVS>
                                                 #12 0x00007f4b701ac069 n/a (mo>
                                                 #13 0x000055c6eb6e629d AddGPUS>
                                                 #14 0x000055c6eb5e2e5c n/a (Xo>
                                                 #15 0x000055c6eb5c56d6 n/a (Xo>
                                                 #16 0x000055c6eb5b41f9 n/a (Xo>
lines 1-23...skipping...
-- Logs begin at Mon 2018-11-19 20:17:34 CET, end at Mon 2018-11-19 20:24:34 CET. --
Nov 19 20:18:25 johndoe-pc kernel: tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x200] vs fed40080 f80
Nov 19 20:18:25 johndoe-pc kernel: tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x200] vs fed40080 f80
Nov 19 20:18:30 johndoe-pc systemd-coredump[636]: Process 491 (Xorg) of user 120 dumped core.
                                                 
                                                 Stack trace of thread 491:
                                                 #0  0x00007f4b7442ad7f raise (libc.so.6)
                                                 #1  0x00007f4b74415672 abort (libc.so.6)
                                                 #2  0x000055c6eb616aea OsAbort (Xorg)
                                                 #3  0x000055c6eb60d55f FatalError (Xorg)
                                                 #4  0x000055c6eb61b37e n/a (Xorg)
                                                 #5  0x00007f4b7442ae00 __restore_rt (libc.so.6)
                                                 #6  0x00007f4b7442ad7f raise (libc.so.6)
                                                 #7  0x00007f4b74415672 abort (libc.so.6)
                                                 #8  0x00007f4b74415548 __assert_fail_base.cold.0 (libc.so.6)
                                                 #9  0x00007f4b74423396 __assert_fail (libc.so.6)
                                                 #10 0x000055c6eb6c4f29 dixRegisterPrivateKey (Xorg)
                                                 #11 0x000055c6eb5e7328 xf86XVScreenInit (Xorg)
                                                 #12 0x00007f4b701ac069 n/a (modesetting_drv.so)
                                                 #13 0x000055c6eb6e629d AddGPUScreen (Xorg)
                                                 #14 0x000055c6eb5e2e5c n/a (Xorg)
                                                 #15 0x000055c6eb5c56d6 n/a (Xorg)
                                                 #16 0x000055c6eb5b41f9 n/a (Xorg)
                                                 #17 0x000055c6eb5b4662 n/a (Xorg)
                                                 #18 0x000055c6eb614881 n/a (Xorg)
                                                 #19 0x000055c6eb61f3a0 WaitForSomething (Xorg)
                                                 #20 0x000055c6eb5a189b n/a (Xorg)
                                                 #21 0x00007f4b74417223 __libc_start_main (libc.so.6)
                                                 #22 0x000055c6eb5a230e _start (Xorg)
                                                 
                                                 Stack trace of thread 624:
                                                 #0  0x00007f4b73268afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007f4b6fb24b5c n/a (radeonsi_dri.so)
                                                 #2  0x00007f4b6fb24898 n/a (radeonsi_dri.so)
                                                 #3  0x00007f4b73262a9d start_thread (libpthread.so.0)
                                                 #4  0x00007f4b744eeb23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 587:
                                                 #0  0x00007f4b73268afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007f4b70e41020 n/a (intel_drv.so)
                                                 #2  0x00007f4b73262a9d start_thread (libpthread.so.0)
                                                 #3  0x00007f4b744eeb23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 633:
                                                 #0  0x00007f4b73268afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007f4b6fb24b5c n/a (radeonsi_dri.so)
                                                 #2  0x00007f4b6fb24898 n/a (radeonsi_dri.so)
                                                 #3  0x00007f4b73262a9d start_thread (libpthread.so.0)
                                                 #4  0x00007f4b744eeb23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 630:
                                                 #0  0x00007f4b73268afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007f4b6fb24b5c n/a (radeonsi_dri.so)
                                                 #2  0x00007f4b6fb24898 n/a (radeonsi_dri.so)
                                                 #3  0x00007f4b73262a9d start_thread (libpthread.so.0)
                                                 #4  0x00007f4b744eeb23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 627:
                                                 #0  0x00007f4b73268afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007f4b6fb24b5c n/a (radeonsi_dri.so)
                                                 #2  0x00007f4b6fb24898 n/a (radeonsi_dri.so)
                                                 #3  0x00007f4b73262a9d start_thread (libpthread.so.0)
                                                 #4  0x00007f4b744eeb23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 628:
                                                 #0  0x00007f4b73268afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007f4b6fb24b5c n/a (radeonsi_dri.so)
                                                 #2  0x00007f4b6fb24898 n/a (radeonsi_dri.so)
                                                 #3  0x00007f4b73262a9d start_thread (libpthread.so.0)
                                                 #4  0x00007f4b744eeb23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 620:
                                                 #0  0x00007f4b73268afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007f4b4f8231ac n/a (i965_dri.so)
                                                 #2  0x00007f4b4f822ee8 n/a (i965_dri.so)
                                                 #3  0x00007f4b73262a9d start_thread (libpthread.so.0)
                                                 #4  0x00007f4b744eeb23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 625:
                                                 #0  0x00007f4b73268afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007f4b6fb24b5c n/a (radeonsi_dri.so)
                                                 #2  0x00007f4b6fb24898 n/a (radeonsi_dri.so)
                                                 #3  0x00007f4b73262a9d start_thread (libpthread.so.0)
                                                 #4  0x00007f4b744eeb23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 626:
                                                 #0  0x00007f4b73268afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007f4b6fb24b5c n/a (radeonsi_dri.so)
                                                 #2  0x00007f4b6fb24898 n/a (radeonsi_dri.so)
                                                 #3  0x00007f4b73262a9d start_thread (libpthread.so.0)
                                                 #4  0x00007f4b744eeb23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 629:
                                                 #0  0x00007f4b73268afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007f4b6fb24b5c n/a (radeonsi_dri.so)
                                                 #2  0x00007f4b6fb24898 n/a (radeonsi_dri.so)
                                                 #3  0x00007f4b73262a9d start_thread (libpthread.so.0)
                                                 #4  0x00007f4b744eeb23 __clone (libc.so.6)
lines 49-98/98 (END)

Have you tried a more LTS kernel or older kernel to see if this fixes your problem? Looks like X11 is crashing but in Random crash situation it could always be hardware related too and actually more likely.

Clean fans, check all connection, cords etc....

OK, so I googled the error line

ACPI region does not cover the entire command/response buffer

and found out it seems to be a Dell BIOS bug concerning TPM: https://forums.linuxmint.com/viewtopic.php?t=263918

I then updated the BIOS to the most recent version (1.5.2). Now the output of journalctl -b -1 -p3 is this:

-- Logs begin at Mon 2018-11-19 20:17:34 CET, end at Mon 2018-11-19 21:05:21 CET. --
Nov 19 20:57:13 johndoe-pc kernel: sd 2:0:0:0: [sdb] No Caching mode page found
Nov 19 20:57:13 johndoe-pc kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through
Nov 19 20:57:18 johndoe-pc systemd-coredump[655]: Process 511 (Xorg) of user 120 dumped core.
                                                 
                                                 Stack trace of thread 511:
                                                 #0  0x00007fbb5afa2d7f raise (libc.so.6)
                                                 #1  0x00007fbb5af8d672 abort (libc.so.6)
                                                 #2  0x0000555e84186aea OsAbort (Xorg)
                                                 #3  0x0000555e8417d55f FatalError (Xorg)
                                                 #4  0x0000555e8418b37e n/a (Xorg)
                                                 #5  0x00007fbb5afa2e00 __restore_rt (libc.so.6)
                                                 #6  0x00007fbb5afa2d7f raise (libc.so.6)
                                                 #7  0x00007fbb5af8d672 abort (libc.so.6)
                                                 #8  0x00007fbb5af8d548 __assert_fail_base.cold.0 (libc.so.6)
                                                 #9  0x00007fbb5af9b396 __assert_fail (libc.so.6)
                                                 #10 0x0000555e84234f29 dixRegisterPrivateKey (Xorg)
                                                 #11 0x0000555e84157328 xf86XVScreenInit (Xorg)
                                                 #12 0x00007fbb5710e069 n/a (modesetting_drv.so)
                                                 #13 0x0000555e8425629d AddGPUScreen (Xorg)
                                                 #14 0x0000555e84152e5c n/a (Xorg)
                                                 #15 0x0000555e841356d6 n/a (Xorg)
                                                 #16 0x0000555e841241f9 n/a (Xorg)
                                                 #17 0x0000555e84124662 n/a (Xorg)
                                                 #18 0x0000555e84184881 n/a (Xorg)
                                                 #19 0x0000555e8418f3a0 WaitForSomething (Xorg)
                                                 #20 0x0000555e8411189b n/a (Xorg)
                                                 #21 0x00007fbb5af8f223 __libc_start_main (libc.so.6)
                                                 #22 0x0000555e8411230e _start (Xorg)
                                                 
                                                 Stack trace of thread 593:
                                                 #0  0x00007fbb59de0afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007fbb57ba5020 n/a (intel_drv.so)
                                                 #2  0x00007fbb59ddaa9d start_thread (libpthread.so.0)
                                                 #3  0x00007fbb5b066b23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 648:
                                                 #0  0x00007fbb59de0afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007fbb56a86cdc n/a (radeonsi_dri.so)
                                                 #2  0x00007fbb56a86a18 n/a (radeonsi_dri.so)
                                                 #3  0x00007fbb59ddaa9d start_thread (libpthread.so.0)
                                                 #4  0x00007fbb5b066b23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 650:
                                                 #0  0x00007fbb59de0afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007fbb56a86cdc n/a (radeonsi_dri.so)
                                                 #2  0x00007fbb56a86a18 n/a (radeonsi_dri.so)
                                                 #3  0x00007fbb59ddaa9d start_thread (libpthread.so.0)
                                                 #4  0x00007fbb5b066b23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 637:
                                                 #0  0x00007fbb59de0afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007fbb3f02119c n/a (i965_dri.so)
                                                 #2  0x00007fbb3f020ed8 n/a (i965_dri.so)
                                                 #3  0x00007fbb59ddaa9d start_thread (libpthread.so.0)
                                                 #4  0x00007fbb5b066b23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 646:
                                                 #0  0x00007fbb59de0afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007fbb56a86cdc n/a (radeonsi_dri.so)
                                                 #2  0x00007fbb56a86a18 n/a (radeonsi_dri.so)
                                                 #3  0x00007fbb59ddaa9d start_thread (libpthread.so.0)
                                                 #4  0x00007fbb5b066b23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 653:
                                                 #0  0x00007fbb59de0afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007fbb56a86cdc n/a (radeonsi_dri.so)
                                                 #2  0x00007fbb56a86a18 n/a (radeonsi_dri.so)
                                                 #3  0x00007fbb59ddaa9d start_thread (libpthread.so.0)
                                                 #4  0x00007fbb5b066b23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 651:
                                                 #0  0x00007fbb59de0afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007fbb56a86cdc n/a (radeonsi_dri.so)
                                                 #2  0x00007fbb56a86a18 n/a (radeonsi_dri.so)
                                                 #3  0x00007fbb59ddaa9d start_thread (libpthread.so.0)
                                                 #4  0x00007fbb5b066b23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 647:
                                                 #0  0x00007fbb59de0afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007fbb56a86cdc n/a (radeonsi_dri.so)
                                                 #2  0x00007fbb56a86a18 n/a (radeonsi_dri.so)
                                                 #3  0x00007fbb59ddaa9d start_thread (libpthread.so.0)
                                                 #4  0x00007fbb5b066b23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 649:
                                                 #0  0x00007fbb59de0afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007fbb56a86cdc n/a (radeonsi_dri.so)
                                                 #2  0x00007fbb56a86a18 n/a (radeonsi_dri.so)
                                                 #3  0x00007fbb59ddaa9d start_thread (libpthread.so.0)
                                                 #4  0x00007fbb5b066b23 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 652:
                                                 #0  0x00007fbb59de0afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007fbb56a86cdc n/a (radeonsi_dri.so)
                                                 #2  0x00007fbb56a86a18 n/a (radeonsi_dri.so)
                                                 #3  0x00007fbb59ddaa9d start_thread (libpthread.so.0)
                                                 #4  0x00007fbb5b066b23 __clone (libc.so.6)

I'm now going to check if things work out

EDIT: surprisingly it didn't work :slight_smile:

--> radeon drivers Xorg are Ko in this case
have you made full update ? ( sudo pacman -Syyyu )

2 Likes

Yes but is it really a concern?

  1. This is a known Dell BIOS bug. It's up to Dell to sort it out with an updated ....... the end conclusion.

. I don't think it should be a concern because the error is saying "Hey! The BIOS said X but I calculated Y".

Well I gave it a shot, it didn't work, so it's not a concern ;:slight_smile:

1 Like

do you still get the same error after updating bios?

also have you done a full update as @stephane suggested?

And maybe some kernels don't work so good with amd drivers and x11.

Yes, still the same error, yes, did a full update.

I also tried to install Manjaro 17.1.1 - in that case it's even worse, the bootup process stops right at the beginning. After the grub menu the output is

starting version 239
/dev/sda2: clean 338208/6406144 files, 1969965/25600000 blocks

and then there's just a black screen

Yes, unfortunately there is no such option

It works fine with the exact same kernel and driver combination on the old HDD

So its a uuid thing then, timing???
Do you have the right early modules in mkinitconfig.
There is a file that controls that, let me see.

I tried this, but to no avail

If you mean you have just replaced the drive and the problem happens only on the new drive, then .. it seems the new drive has a problem (the simple conclusion..). Being a setting problem, it could be a minor problem, not crashing the system IMHO. Also the randomness points to a Hardware problem probability..

if you moved drives around you may want to check that your drive UUID's are correct in fstab.

cat /etc/fstab will show your current fstab

then use gparted or other partition manager to check the actual UUID and make sure they match for each drive

With Ubuntu 18.04 it works perfectly fine, so I think it's improbable that it is a hardware issue. And once it has booted into the graphical desktop everything works fine too

Forum kindly sponsored by