NapoRen
Posts: 5
Joined: Mon Mar 05, 2018 5:24 pm

[SOLVED] Boot time take more than 90 seconds

Tue Mar 06, 2018 7:27 pm

Hi,
I've seen a lot of topics that discuss about this problem but it seems that it's always different. For my part I have Solus installed in dual boot with Windows 10 on the same physical drive in legacy mode. I followed the general troubleshooting for more than 90s boot time and here are the results :

sudo journalctl -b : well i have 1439 lines of text so... I don't really know what's important... So i'll put anything not normal...

Code: Select all

mars 06 19:36:33 solus kernel: random: fast init done
mars 06 19:36:33 solus kernel: pmd_set_huge: Cannot satisfy [mem 0xf8000000-0xf8200000] with a huge-page mapping due to MTRR override.
mars 06 19:36:33 solus kernel: ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
mars 06 19:36:33 solus systemd-sysctl[214]: Couldn't write 'fq_codel' to 'net/core/default_qdisc', ignoring: No such file or directory
mars 06 19:36:33 solus kernel: scsi 0:0:0:0: Direct-Access     ATA      WDC WD10EZEX-00R 0A80 PQ: 0 ANSI: 5
mars 06 19:36:33 solus kernel: sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
mars 06 19:36:33 solus kernel: sd 0:0:0:0: [sda] 4096-byte physical blocks
mars 06 19:36:33 solus kernel: sd 0:0:0:0: [sda] Write Protect is off
mars 06 19:36:33 solus kernel: sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
mars 06 19:36:33 solus kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
mars 06 19:36:33 solus kernel: usb 1-1: new high-speed USB device number 2 using ehci-pci
mars 06 19:36:33 solus kernel: usb 2-1: new high-speed USB device number 2 using ehci-pci
mars 06 19:36:33 solus kernel:  sda: sda1 sda2 sda3 sda4
mars 06 19:36:33 solus kernel: sd 0:0:0:0: [sda] Attached SCSI disk
mars 06 19:38:03 solus systemd[1]: dev-disk-by\x2duuid.device: Job dev-disk-by\x2duuid.device/start timed out.
mars 06 19:38:03 solus systemd[1]: Timed out waiting for device dev-disk-by\x2duuid.device.
mars 06 19:38:03 solus systemd[1]: Dependency failed for Resume from hibernation using device /dev/disk/by-uuid.
mars 06 19:38:03 solus systemd[1]: systemd-hibernate-resume@dev-disk-by\x2duuid.service: Job systemd-hibernate-resume@dev-disk-by\x2duuid.service/start failed with result 'dependency'.
mars 06 19:38:03 solus systemd[1]: dev-disk-by\x2duuid.device: Job dev-disk-by\x2duuid.device/start failed with result 'timeout'.
mars 06 18:38:05 jackdual systemd-sysctl[430]: Couldn't write 'fq_codel' to 'net/core/default_qdisc', ignoring: No such file or directory
mars 06 18:38:07 jackdual kernel: ACPI Warning: SystemIO range 0x0000000000001828-0x000000000000182F conflicts with OpRegion 0x0000000000001800-0x000000000000187F (\PMIO) (20170831/utaddress-247)
mars 06 18:38:07 jackdual kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
mars 06 18:38:07 jackdual kernel: ACPI Warning: SystemIO range 0x0000000000001C40-0x0000000000001C4F conflicts with OpRegion 0x0000000000001C00-0x0000000000001FFF (\GPR) (20170831/utaddress-247)
mars 06 18:38:07 jackdual kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
mars 06 18:38:07 jackdual kernel: ACPI Warning: SystemIO range 0x0000000000001C30-0x0000000000001C3F conflicts with OpRegion 0x0000000000001C00-0x0000000000001C3F (\GPRL) (20170831/utaddress-247)
mars 06 18:38:07 jackdual kernel: ACPI Warning: SystemIO range 0x0000000000001C30-0x0000000000001C3F conflicts with OpRegion 0x0000000000001C00-0x0000000000001FFF (\GPR) (20170831/utaddress-247)
mars 06 18:38:07 jackdual kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
mars 06 18:38:07 jackdual kernel: ACPI Warning: SystemIO range 0x0000000000001C00-0x0000000000001C2F conflicts with OpRegion 0x0000000000001C00-0x0000000000001C3F (\GPRL) (20170831/utaddress-247)
mars 06 18:38:07 jackdual kernel: ACPI Warning: SystemIO range 0x0000000000001C00-0x0000000000001C2F conflicts with OpRegion 0x0000000000001C00-0x0000000000001FFF (\GPR) (20170831/utaddress-247)
mars 06 18:38:07 jackdual kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
mars 06 18:38:07 jackdual kernel: lpc_ich: Resource conflict(s) found affecting gpio_ich
mars 06 18:38:07 jackdual kernel: (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
mars 06 18:38:09 jackdual systemd[1]: tmp.mount: Directory /tmp to mount over is not empty, mounting anyway.
mars 06 18:38:09 jackdual kernel: nvidia_modeset: loading out-of-tree module taints kernel.
mars 06 18:38:09 jackdual kernel: nvidia_modeset: module license 'NVIDIA' taints kernel.
mars 06 18:38:09 jackdual kernel: Disabling lock debugging due to kernel taint
mars 06 18:38:09 jackdual kernel: nvidia_modeset: Unknown symbol nv_kthread_q_flush (err 0)
mars 06 18:38:09 jackdual kernel: nvidia_modeset: Unknown symbol nvidia_register_module (err 0)
mars 06 18:38:09 jackdual kernel: nvidia_modeset: Unknown symbol nv_kthread_q_schedule_q_item (err 0)
mars 06 18:38:09 jackdual kernel: nvidia_modeset: Unknown symbol nvidia_get_rm_ops (err 0)
mars 06 18:38:09 jackdual kernel: nvidia_modeset: Unknown symbol nv_kthread_q_item_init (err 0)
mars 06 18:38:09 jackdual kernel: nvidia_modeset: Unknown symbol nv_kthread_q_stop (err 0)
mars 06 18:38:09 jackdual kernel: nvidia_modeset: Unknown symbol nvidia_unregister_module (err 0)
mars 06 18:38:09 jackdual kernel: nvidia_modeset: Unknown symbol nv_kthread_q_init (err 0)
mars 06 18:38:10 jackdual auditd[514]: Init complete, auditd 2.8.1 listening for events (startup state enable)
mars 06 18:38:10 jackdual audispd[516]: No plugins found, exiting
mars 06 18:40:02 jackdual lightdm[658]: gkr-pam: couldn't unlock the login keyring.
mars 06 18:40:33 jackdual pulseaudio[923]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the mes>
I really don't know what the half of this means, hope someone get it...

systemd-analyze :

Code: Select all

Startup finished in 657ms (kernel) + 1min 30.857s (initrd) + 10.587s (userspace) = 1min 42.103s
/etc/fstab :

Code: Select all

# /etc/fstab: static file system information.
#
# <fs>      <mountpoint> <type> <opts>      <dump/pass>

# /dev/ROOT   /            ext3    noatime        0 1
# /dev/SWAP   none         swap    sw             0 0
# /dev/fd0    /mnt/floppy  auto    noauto         0 0
none        /proc        proc    nosuid,noexec  0 0
none        /dev/shm     tmpfs   defaults       0 0
/dev/sda2	swap	swap	sw	0	0
# /dev/sda3 at time of installation
UUID=c245f670-b43b-4c72-9e69-bbcde2939c78	/	ext4	rw,relatime,errors=remount-ro	0	1

Code: Select all

BOOT_IMAGE=/boot/com.solus-project.current.4.15.7-60 root=UUID=c245f670-b43b-4c72-9e69-bbcde2939c78 quiet loglevel=3 splash systemd.show_status=false rw radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 resume=UUID=
ls -l /dev/disk/by-uuid/*

Code: Select all

lrwxrwxrwx 1 root root 10  6 mars  18:38 /dev/disk/by-uuid/0A42192042191255 -> ../../sda4
lrwxrwxrwx 1 root root 10  6 mars  18:38 /dev/disk/by-uuid/A8A0F95DA0F93284 -> ../../sda1
lrwxrwxrwx 1 root root 10  6 mars  18:38 /dev/disk/by-uuid/c245f670-b43b-4c72-9e69-bbcde2939c78 -> ../../sda3
So the UUID is correct, I think it's dev-disk-by\x2duuid.device: Job dev-disk-by\x2duuid.device/start timed out. which is the problem, but i don't know what it could possibly be...
Last edited by NapoRen on Thu Mar 08, 2018 8:46 am, edited 1 time in total.

acesabe
Posts: 11
Joined: Fri Feb 09, 2018 8:23 pm

Re: Boot time take more than 90 seconds

Wed Mar 07, 2018 12:34 am

Your problem is most likely due to failure to find swap during boot (I've had this after booting to other OS on dual boot setup), this article outlines the basic details of what to check:
https://solus-project.com/articles/trou ... -mount-90s

From what you posted regarding your by-uuid disks, there is no /dev/sda2 listed but you have it configured in your /etc/fstab file. Check your disk partition setup in the Disks app and make sure your swap is configured and note it's uuid and it is set to mount on boot (click the swap part of the disk in the Disks app then hit the cogs icon and Edit Mount Options). This should alter your /etc/fstab so check that after any changes.

Make sure your kernel boot command line has the correct uuid for resume also

cat /proc/cmdline

Edit this file to correct:

cat /etc/kernel/cmdline.d/10_resume.conf


Other useful checks:

cat /proc/swaps

inxi -uo (inxi --help will list all available info query flags for more infos)

NapoRen
Posts: 5
Joined: Mon Mar 05, 2018 5:24 pm

Re: Boot time take more than 90 seconds

Wed Mar 07, 2018 6:05 pm

Thank you for the quick reply, but :
At first my swap partition didn't have an UUID... so I remake it with makeswap, and now I have :
cat /proc/cmdline

Code: Select all

BOOT_IMAGE=/boot/com.solus-project.current.4.15.7-60 root=UUID=c245f670-b43b-4c72-9e69-bbcde2939c78 quiet loglevel=3 splash systemd.show_status=false rw radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 resume=UUID=
That show no resume UUID, which is I think the problem, but
cat /etc/kernel/cmdline.d/*

Code: Select all

resume=UUID=cbf04fe1-8ba6-480c-a154-477385307996
The UUID is set and
inxi -uo

Code: Select all

artition: ID-1: / size: 179G used: 58G (34%) fs: ext4 dev: /dev/sda3
           uuid: c245f670-b43b-4c72-9e69-bbcde2939c78
           ID-2: swap-1 size: 8.59GB used: 0.00GB (0%)
           fs: swap dev: /dev/sda2 uuid: cbf04fe1-8ba6-480c-a154-477385307996
It's the one of the swap partition mount on /dev/sda2
How is that even possible ?

NapoRen
Posts: 5
Joined: Mon Mar 05, 2018 5:24 pm

Re: Boot time take more than 90 seconds

Thu Mar 08, 2018 8:45 am

Ok, it works now, I just had to do sudo clr-boot-manager update for the changes to be definitive. Thanks for your help.

Return to “Other Questions”