Startup too slow, using XFCE

Hi, I’m new in linux, after using Debian for a months, I tried EndeavoourOS, but the startup it’s very slow, at the moment I login I have to wait around 3 - 5 minutes to be able to work properly, I’m using a SSD btw. I don’t know what information it’s important to solve this problem, but I executed systemd-analyze blame and udiks2.service took 38.978s.

Hope you can help me.

Place the results of:
$inxi -Fxxxz
In a reply ( </> preformatted ) so that people can see what you are running.

Because this is a systemd based distro, you can also run systemd-analyze blame for clues. See:

https://www.tecmint.com/systemd-analyze-monitor-linux-bootup-performance/

Hi, thanks for your reply, here it’s the output of inxi -Fxxxz:

System:
  Kernel: 5.6.3-arch1-1 x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Xfce 4.14.2 tk: Gtk 3.24.13 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.30.0 Distro: EndeavourOS 
Machine:
  Type: Desktop System: Gigabyte product: N/A v: N/A serial: <filter> Chassis: 
  type: 3 serial: <filter> 
  Mobo: Gigabyte model: H77-DS3H v: x.x serial: <filter> 
  UEFI: American Megatrends v: F10 date: 11/14/2013 
CPU:
  Topology: Quad Core model: Intel Core i7-3770 bits: 64 type: MT MCP 
  arch: Ivy Bridge rev: 9 L2 cache: 8192 KiB 
  flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 54297 
  Speed: 1597 MHz min/max: 1600/3900 MHz Core speeds (MHz): 1: 1597 2: 1595 
  3: 1597 4: 1597 5: 1596 6: 1596 7: 1597 8: 1597 
Graphics:
  Device-1: NVIDIA GK106 [GeForce GTX 650 Ti] vendor: ZOTAC driver: nvidia 
  v: 440.82 bus ID: 01:00.0 chip ID: 10de:11c6 
  Display: x11 server: X.Org 1.20.8 driver: nvidia 
  unloaded: fbdev,modesetting,vesa alternate: nouveau,nv 
  resolution: 1920x1080~60Hz 
  Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:1e20 
  Device-2: NVIDIA GK106 HDMI Audio vendor: ZOTAC driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 chip ID: 10de:0e0b 
  Device-3: KYE Systems (Mouse Systems) type: USB driver: snd-usb-audio,uvcvideo 
  bus ID: 1-1.6:4 chip ID: 0458:708f 
  Sound Server: ALSA v: k5.6.3-arch1-1 
Network:
  Device-1: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet vendor: Gigabyte 
  driver: atl1c v: 1.0.1.1-NAPI port: d000 bus ID: 03:00.0 chip ID: 1969:1083 
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 801.12 GiB used: 5.76 GiB (0.7%) 
  ID-1: /dev/sda vendor: Samsung model: SSD 840 EVO 120GB size: 111.79 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: BB6Q scheme: MBR 
  ID-2: /dev/sdb vendor: Western Digital model: WD5000AAKS-00V1A0 
  size: 465.76 GiB speed: 3.0 Gb/s serial: <filter> rev: 1D05 scheme: GPT 
  ID-3: /dev/sdd vendor: Kingston model: SA400S37240G size: 223.57 GiB 
  speed: 3.0 Gb/s serial: <filter> rev: B1E1 scheme: GPT 
Partition:
  ID-1: / size: 109.29 GiB used: 5.39 GiB (4.9%) fs: ext4 dev: /dev/sda2 
  ID-2: /home size: 182.34 GiB used: 384.9 MiB (0.2%) fs: ext4 dev: /dev/sdb2 
  ID-3: swap-1 size: 3.73 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sdb1 
Sensors:
  System Temperatures: cpu: 27.0 C mobo: N/A gpu: nvidia temp: 32 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 23% 
Info:
  Processes: 216 Uptime: 18m Memory: 7.74 GiB used: 1.23 GiB (15.9%) 
  Init: systemd v: 245 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.16 
  running in: xfce4-terminal inxi: 3.0.38 

and systemd-analyze blame

37.245s udisks2.service                                                             >
 1.116s systemd-random-seed.service                                                 >
 1.061s user@1000.service                                                           >
  979ms systemd-logind.service                                                      >
  952ms lvm2-monitor.service                                                        >
  893ms lightdm.service                                                             >
  421ms dev-sda2.device                                                             >
  361ms upower.service                                                              >
  270ms systemd-udevd.service                                                       >
  248ms tlp.service                                                                 >
  238ms systemd-journald.service                                                    >
  211ms systemd-timesyncd.service                                                   >
  170ms systemd-fsck@dev-disk-by\x2duuid-5429853e\x2d33f3\x2d452f\x2dafba\x2da764a9a>
  102ms accounts-daemon.service                                                     >
   98ms polkit.service                                                              >
   87ms NetworkManager.service                                                      >
   70ms systemd-udev-trigger.service                                                >
   64ms systemd-journal-flush.service                                               >
   54ms modprobe@drm.service                                                        >
   50ms avahi-daemon.service                                                        >
   45ms systemd-tmpfiles-clean.service                                              >
   30ms systemd-tmpfiles-setup.service                                              >
   25ms systemd-tmpfiles-setup-dev.service                                          >
   25ms dev-disk-by\x2duuid-0a403a8b\x2d955d\x2d412a\x2d9aa4\x2dd119149b15c7.swap   >
   23ms systemd-modules-load.service                                                >
   17ms home.mount                                                                  >
   14ms systemd-sysctl.service                                                      >
   13ms dev-hugepages.mount                                                         >
   13ms dev-mqueue.mount 

And btw it’s not just slow startup, I realize that all the os is working very very slow. I checked CPU and RAM and they are between normal values.

Hello @anon93811932
Just wondering if you wiped out Debian or how you installed EndeavourOS? Maybe you could post the following.

sudo fdisk -l

cat /etc/fstab

Hi, I had debian / in a SSD, and /home and swap in a HDD, to install EndeavourOS, I deleted that partitions and create new ones.

fdisk -l:

Disk /dev/sda: 111,81 GiB, 120034123776 bytes, 234441648 sectors
Disk model: Samsung SSD 840 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7afffcc8

Device     Boot  Start       End   Sectors   Size Id Type
/dev/sda1         2048    514047    512000   250M  c W95 FAT32 (LBA)
/dev/sda2       514048 234436544 233922497 111,6G 83 Linux


Disk /dev/sdb: 465,78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDC WD5000AAKS-0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 972460C6-DF06-40AA-9057-0407A618769C

Device         Start       End   Sectors   Size Type
/dev/sdb1         34   7813119   7813086   3,7G Linux swap
/dev/sdb2    7813120 398438399 390625280 186,3G Linux filesystem
/dev/sdb3  398438400 976771071 578332672 275,8G Microsoft basic data


Disk /dev/sdd: 223,58 GiB, 240057409536 bytes, 468862128 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0FD44DF1-1B4A-447B-80B4-CFFBEB6896FE

Device       Start       End   Sectors  Size Type
/dev/sdd1     2048   1085439   1083392  529M Windows recovery environment
/dev/sdd2  1085440   1290239    204800  100M EFI System
/dev/sdd3  1290240   1323007     32768   16M Microsoft reserved
/dev/sdd4  1323008 468860927 467537920  223G Microsoft basic data

etc/fstab:

# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=C73C-8C54                            /boot/efi      vfat    umask=0077 0 2
UUID=8d1a5347-0219-4dfe-8ae1-ad8f35a4915d /              ext4    defaults,noatime,discard 0 1
UUID=0a403a8b-955d-412a-9aa4-d119149b15c7 swap           swap    defaults,noatime 0 2
UUID=5429853e-33f3-452f-afba-a764a9acff2f /home          ext4    defaults,noatime 0 2
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0

What is the /dev/sda samsung disk for? It has a fat 32 partition but it’s not EFI? and then /dev/sda2 is linux?

I see you have Windows so dual boot?

Could you also post lsblk -fm

/dev/sda2 root and and /dev/sda1 it’s boot/efi, at the moment I created partitions I marked it as boot.
/dev/sdb2 it’s /home.

NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT   SIZE OWNER GROUP MODE
sda                                                                                    111,8G root  disk  brw-rw----
├─sda1
│    vfat   FAT32       9BB7-E3FA                                                        250M root  disk  brw-rw----
└─sda2
     ext4   1.0         8d1a5347-0219-4dfe-8ae1-ad8f35a4915d   98,3G     5% /          111,6G root  disk  brw-rw----
sdb                                                                                    465,8G root  disk  brw-rw----
├─sdb1
│    swap   1           0a403a8b-955d-412a-9aa4-d119149b15c7                [SWAP]       3,7G root  disk  brw-rw----
├─sdb2
│    ext4   1.0         5429853e-33f3-452f-afba-a764a9acff2f  172,6G     0% /home      186,3G root  disk  brw-rw----
└─sdb3
     ntfs         JUEGOS
                        DC148E18148DF5B4                                               275,8G root  disk  brw-rw----
sdd                                                                                    223,6G root  disk  brw-rw----
├─sdd1
│    ntfs         Recuperación
│                       10146066146050B0                                                 529M root  disk  brw-rw----
├─sdd2
│    vfat   FAT32       9462-C499                                                        100M root  disk  brw-rw----
├─sdd3
│                                                                                         16M root  disk  brw-rw----
└─sdd4
     ntfs               464E65EE4E65D769                                                 223G root  disk  brw-rw----
sr0                                                                                     1024M root  optic brw-rw----
                                                                                   1024M root  optic brw-rw----

Just wondering why you don’t have it all on one drive? Are you dual booting with Windows?

Yes I’m dual booting, windows os it’s in sdd, endeavourOS in sda, but to avoid using too much space in their SSD, I use sdb (HDD) with half for windows, and half for endeavour.

Hi!

Whats the output of systemctl status udisks2
and do you have any output of systemctl status udisksd?

@Resiliencia and @ricklinux can you also give the output of systemctl status udisks2?

Very rare that it goes slow with an i7 …

It may be a graphics driver problem.

pacman -Qs nvidia

?

[ricklinux@eos-xfce ~]$ systemctl status udisks2
● udisks2.service - Disk Manager
     Loaded: loaded (/usr/lib/systemd/system/udisks2.service; disabled; vendor preset: disabled)
     Active: active (running) since Thu 2020-04-16 09:46:40 EDT; 1h 23min ago
       Docs: man:udisks(8)
   Main PID: 974 (udisksd)
      Tasks: 5 (limit: 9531)
     Memory: 6.7M
     CGroup: /system.slice/udisks2.service
             └─974 /usr/lib/udisks2/udisksd

Apr 16 09:46:40 eos-xfce systemd[1]: Starting Disk Manager...
Apr 16 09:46:40 eos-xfce udisksd[974]: udisks daemon version 2.8.4 starting
Apr 16 09:46:40 eos-xfce systemd[1]: Started Disk Manager.
Apr 16 09:46:40 eos-xfce udisksd[974]: Acquired the name org.freedesktop.UDisks2 on the system mess>
lines 1-14/14 (END)

Wait reboot, I’m on another distro now.

1 Like

No need then…

Whats the output of systemctl status udisks2

abr 15 16:03:28 diego-pc udisksd[1172]: udisks daemon version 2.8.4 starting 
abr 15 16:03:34 diego-pc udisksd[1172]: Error probing device: Error sending ATA command IDENTIFY PACKET DEVICE to '/dev/sr0': Unexpected sense data returned:
0000: 70 00 0b 00  00 00 00 0a  00 00 10 01  00 00 00 00    p...............
0010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................
(g-io-error-quark, 0) 
abr 15 16:04:00 diego-pc udisksd[1172]: Error probing device: Error sending ATA command IDENTIFY PACKET DEVICE to '/dev/sr0': Unexpected sense data returned:
0000: 70 00 0b 00  00 00 00 0a  00 00 10 01  00 00 00 00    p...............
0010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................
(g-io-error-quark, 0) 
abr 15 16:04:07 diego-pc systemd[1]: Started Disk Manager.
abr 15 16:04:07 diego-pc udisksd[1172]: Acquired the name org.freedesktop.UDisks2 on the system message bus
abr 15 16:04:17 diego-pc udisksd[1172]: Error probing device: Error sending ATA command IDENTIFY PACKET DEVICE to '/dev/sr0': Unexpected sense data returned.```

Houston…i see a problem. :grinning:

$ systemctl status udisks2
● udisks2.service - Disk Manager
     Loaded: loaded (/usr/lib/systemd/system/udisks2.service; disabled; vendor preset: disabled)
     Active: active (running) since Thu 2020-04-16 12:13:32 -03; 1min 10s ago
       Docs: man:udisks(8)
   Main PID: 2676 (udisksd)
      Tasks: 5 (limit: 19125)
     Memory: 7.5M
     CGroup: /system.slice/udisks2.service
             └─2676 /usr/lib/udisks2/udisksd

abr 16 12:13:30 judd-pc systemd[1]: Starting Disk Manager...
abr 16 12:13:31 judd-pc udisksd[2676]: udisks daemon version 2.8.4 starting
abr 16 12:13:32 judd-pc systemd[1]: Started Disk Manager.
abr 16 12:13:32 judd-pc udisksd[2676]: Acquired the name org.freedesktop.UDisks2 on the system message bus

1 Like

Anything inside cd-rom drive? If so can you remove it and try reboot?

local/libvdpau 1.3-1
    Nvidia VDPAU library
local/libxnvctrl 440.64-1
    NVIDIA NV-CONTROL X extension
local/nvidia 440.82-2
    NVIDIA drivers for linux
local/nvidia-installer-db 2.2-1
    Database for the script to setup nvidia drivers in EndeavourOS
local/nvidia-installer-dkms 3-2
    Script to setup nvidia drivers (dkms version) in EndeavourOS
local/nvidia-settings 440.64-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 440.82-1
    NVIDIA drivers utilities

There is nothing in the DVD drive