[Solved] Long boot time LM 19

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Silvock

[Solved] Long boot time LM 19

Post by Silvock »

Hello,

Since I deleted an old LM 18.3 EFi entry, I have had a slow boot time. I already tried to load old kernel in vain.
LM 19 on usb stick is faster than my installed LM 19.

Code: Select all

silvock@silvock-TM1701:~$ systemd-analyze
Startup finished in 4.307s (firmware) + 3.007s (loader) + 37.958s (kernel) + 3.052s (userspace) = 48.326s
graphical.target reached after 3.048s in userspace

Code: Select all

silvock@silvock-TM1701:~$ systemd-analyze blame
          2.361s gpu-manager.service
          2.282s plymouth-quit-wait.service
           190ms systemd-resolved.service
           171ms systemd-journal-flush.service
           170ms systemd-logind.service
           157ms NetworkManager.service
           143ms dev-nvme0n1p2.device
           138ms systemd-timesyncd.service
           124ms ubuntu-system-adjustments.service
            98ms networkd-dispatcher.service
            85ms apparmor.service
            77ms lightdm.service
            77ms udisks2.service

Code: Select all

silvock@silvock-TM1701:~$ systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @3.048s
└─multi-user.target @3.048s
  └─getty.target @3.048s
    └─getty@tty1.service @3.048s
      └─system-getty.slice @3.048s
        └─setvtrgb.service @3.034s +13ms
          └─systemd-user-sessions.service @746ms +4ms
            └─network.target @746ms
              └─NetworkManager.service @588ms +157ms
                └─dbus.service @554ms
                  └─basic.target @551ms
                    └─paths.target @551ms
                      └─acpid.path @551ms
                        └─sysinit.target @550ms
                          └─systemd-timesyncd.service @411ms +138ms
                            └─systemd-tmpfiles-setup.service @391ms +16ms
                              └─systemd-journal-flush.service @219ms +171ms
                                └─systemd-journald.service @185ms +33ms
                                  └─systemd-journald-audit.socket @184ms

Code: Select all

silvock@silvock-TM1701:~$ dmesg
[  970.061376] i2c_hid i2c-ETD2303:00: i2c_hid_get_input: incomplete report (14/65535)
[  970.069321] i2c_hid i2c-ETD2303:00: i2c_hid_get_input: incomplete report (14/65535)
[  970.075381] i2c_hid i2c-ETD2303:00: i2c_hid_get_input: incomplete report (14/65535)
[  970.082359] i2c_hid i2c-ETD2303:00: i2c_hid_get_input: incomplete report (14/65535)
[  970.089224] i2c_hid i2c-ETD2303:00: i2c_hid_get_input: incomplete report (14/65535)
[  970.096640] i2c_hid i2c-ETD2303:00: i2c_hid_get_input: incomplete report (14/65535)
[  970.103427] i2c_hid i2c-ETD2303:00: i2c_hid_get_input: incomplete report (14/65535)
[  970.109978] i2c_hid i2c-ETD2303:00: i2c_hid_get_input: incomplete report (14/65535)
[  970.116796] i2c_hid i2c-ETD2303:00: i2c_hid_get_input: incomplete report (14/65535)
[  970.123477] i2c_hid i2c-ETD2303:00: i2c_hid_get_input: incomplete report (14/65535)
[  970.131358] i2c_hid i2c-ETD2303:00: i2c_hid_get_input: incomplete report (14/65535)
....

Code: Select all

silvock@silvock-TM1701:~$ inxi -Fxz
System:    Host: silvock-TM1701 Kernel: 4.15.0-36-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: Timi product: TM1701 serial: N/A
           Mobo: Timi model: TM1701 v: MP serial: N/A
           UEFI: INSYDE v: XMAKB5R0P0502 date: 10/13/2017
Battery    BAT0: charge: 29.8 Wh 51.0% condition: 58.4/60.0 Wh (97%)
           model: SUNWODA R15B01W status: Discharging
CPU:       Quad core Intel Core i7-8550U (-MT-MCP-) 
           arch: Kaby Lake rev.10 cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 15936
           clock speeds: max: 4000 MHz 1: 800 MHz 2: 800 MHz 3: 800 MHz
           4: 800 MHz 5: 800 MHz 6: 800 MHz 7: 800 MHz 8: 800 MHz
Graphics:  Card-1: Intel UHD Graphics 620 bus-ID: 00:02.0
           Card-2: NVIDIA Device 1d12 bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting,nouveau (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.03hz
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel Sunrise Point-LP HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.15.0-36-generic
Network:   Card: Intel Wireless 8265 / 8275 driver: iwlwifi bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
Drives:    HDD Total Size: 756.2GB (5.0% used)
           ID-1: /dev/nvme0n1 model: SAMSUNG_MZVLW256HEHP size: 256.1GB
           ID-2: /dev/sda model: CT500MX500SSD4 size: 500.1GB
Partition: ID-1: / size: 234G used: 36G (16%) fs: ext4 dev: /dev/nvme0n1p2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 43.0C mobo: N/A gpu: 37.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 241 Uptime: 12 min Memory: 1384.0/15924.8MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
My partitions :
Capture du 2018-10-06 17-23-46.png
Capture du 2018-10-06 17-23-20.png
Boot-repair summary :
http://paste.ubuntu.com/p/3hgWJ9pwvc/

Can I have some help please ?

[Solution] https://askubuntu.com/questions/1013830 ... ume-device
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Long boot time LM 19

Post by catweazel »

Silvock wrote: Sun Oct 07, 2018 4:50 am

Code: Select all

silvock@silvock-TM1701:~$ dmesg
[  970.061376] i2c_hid i2c-ETD2303:00: i2c_hid_get_input: incomplete report (14/65535)
....
https://bugs.launchpad.net/ubuntu/+sour ... ug/1784152

It's a kernel bug. There's a workaround listed in the link. Post back if you need help with the fix.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Silvock

Re: Long boot time LM 19

Post by Silvock »

catweazel wrote: Sun Oct 07, 2018 4:57 am It's a kernel bug. There's a workaround listed in the link. Post back if you need help with the fix.
Is this the fix ?

I think I've found a workaround for this issue, in my case adding 'acpi_osi=' to the linux kernel parameters solved it.
I am running a Dell Inspiron 15 5577 (with latest BIOS, v1.1.0).

For a permanent solution, I changed this line at:

```/etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi="

```

and then you have to run:
```
$ sudo update-grub
```
If not, I would appreciate some help please.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Long boot time LM 19

Post by catweazel »

Silvock wrote: Sun Oct 07, 2018 5:18 am If not, I would appreciate some help please.
Yes, that's the fix.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Silvock

Re: Long boot time LM 19

Post by Silvock »

catweazel wrote: Sun Oct 07, 2018 5:25 am
Silvock wrote: Sun Oct 07, 2018 5:18 am If not, I would appreciate some help please.
Yes, that's the fix.
No flood message with dmesg but boot time doesn't change and I lose trackpad.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Long boot time LM 19

Post by catweazel »

Silvock wrote: Mon Oct 08, 2018 3:18 pm
catweazel wrote: Sun Oct 07, 2018 5:25 am
Silvock wrote: Sun Oct 07, 2018 5:18 am If not, I would appreciate some help please.
Yes, that's the fix.
No flood message with dmesg but boot time doesn't change and I lose trackpad.
Ok, with the trackpad, try this:

sudo apt install --reinstall xserver-xorg-input-synaptics

As for the slow boot, there is absolutely no indication in the output that you've provided as to what the problem might be. It could be hardware. You're going to have to inspect the logs in /var/log, possibly start with the looking at the output of dmesg to see if you can pin down a suspect.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Silvock

Re: Long boot time LM 19

Post by Silvock »

catweazel wrote: Tue Oct 09, 2018 12:28 am
Silvock wrote: Mon Oct 08, 2018 3:18 pm
catweazel wrote: Sun Oct 07, 2018 5:25 am

Yes, that's the fix.
No flood message with dmesg but boot time doesn't change and I lose trackpad.
Ok, with the trackpad, try this:

sudo apt install --reinstall xserver-xorg-input-synaptics

As for the slow boot, there is absolutely no indication in the output that you've provided as to what the problem might be. It could be hardware. You're going to have to inspect the logs in /var/log, possibly start with the looking at the output of dmesg to see if you can pin down a suspect.
I don't know what I'm looking for :?
The third line shows SSD is the problem ?

Code: Select all

[    6.526185] xor: automatically using best checksumming function   avx       
[    6.536315] Btrfs loaded, crc32c=crc32c-intel
[   37.674188] EXT4-fs (nvme0n1p2): mounted filesystem with ordered data mode. Opts: (null)
[   37.712913] random: crng init done
[   37.712913] random: 7 urandom warning(s) missed due to ratelimiting
[   37.786352] ip_tables: (C) 2000-2006 Netfilter Core Team
[   37.873016] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[   37.892261] systemd[1]: Detected architecture x86-64.
[   37.894578] systemd[1]: Set hostname to <silvock-TM1701>.
[   37.946137] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   37.946265] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   37.946391] systemd[1]: Created slice User and Session Slice.
[   37.946458] systemd[1]: Created slice System Slice.
[   37.946510] systemd[1]: Listening on Journal Socket.
[   37.946547] systemd[1]: Listening on LVM2 poll daemon socket.
[   37.946571] systemd[1]: Listening on udev Kernel Socket.
[   37.956657] EXT4-fs (nvme0n1p2): re-mounted. Opts: errors=remount-ro
[   37.958525] lp: driver loaded but no devices found
[   37.960443] ppdev: user-space parallel port driver
[   37.992706] systemd-journald[432]: Received request to flush runtime journal from PID 1
[   38.004945] Adding 2097148k swap on /swapfile.  Priority:-2 extents:6 across:2260988k SSFS
[   38.046101] acpi INT33D5:00: intel-hid: created platform device
[   38.046318] input: Intel HID events as /devices/pci0000:00/0000:00:1f.0/INT33D5:00/input/input8
[   38.080723] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[   38.080766] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   38.082308] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
[   38.087710] ucsi_acpi USBC000:00: Failed to reset PPM! Trying again..
[   38.090152] idma64 idma64.0: Found Intel integrated DMA 64-bit
[   38.091455] media: Linux media interface: v0.10
[   38.091544] ACPI Error: [_OSI] Namespace lookup failure, AE_NOT_FOUND (20170831/psargs-364)
[   38.091553] No Local Variables are initialized for Method [_STA]
[   38.091554] No Arguments are initialized for method [_STA]
[   38.091556] ACPI Error: Method parse/execution failed \_SB.PAGD._STA, AE_NOT_FOUND (20170831/psparse-550)
[   38.093101] ACPI Error: [_OSI] Namespace lookup failure, AE_NOT_FOUND (20170831/psargs-364)
[   38.093107] No Local Variables are initialized for Method [_STA]
[   38.093109] No Arguments are initialized for method [_STA]
[   38.093110] ACPI Error: Method parse/execution failed \_SB.PAGD._STA, AE_NOT_FOUND (20170831/psparse-550)
[   38.093775] intel-lpss 0000:00:15.1: enabling device (0000 -> 0002)
[   38.094028] idma64 idma64.1: Found Intel integrated DMA 64-bit
[   38.095422] ACPI Error: [_OSI] Namespace lookup failure, AE_NOT_FOUND (20170831/psargs-364)
[   38.095430] No Local Variables are initialized for Method [_STA]
[   38.095431] No Arguments are initialized for method [_STA]
[   38.095433] ACPI Error: Method parse/execution failed \_SB.PAGD._STA, AE_NOT_FOUND (20170831/psparse-550)
[   38.096928] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   38.096980] ACPI Error: [_OSI] Namespace lookup failure, AE_NOT_FOUND (20170831/psargs-364)
[   38.096988] No Local Variables are initialized for Method [_STA]
[   38.096989] No Arguments are initialized for method [_STA]
[   38.096991] ACPI Error: Method parse/execution failed \_SB.PAGD._STA, AE_NOT_FOUND (20170831/psparse-550)
[   38.097147] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   38.097372] mei_me 0000:00:16.0: enabling device (0000 -> 0002)
[   38.098531] Linux video capture interface: v2.00
[   38.101069] Bluetooth: Core ver 2.22
[   38.101081] NET: Registered protocol family 31
[   38.101082] Bluetooth: HCI device and connection manager initialized
[   38.101084] Bluetooth: HCI socket layer initialized
[   38.101086] Bluetooth: L2CAP socket layer initialized
[   38.101090] Bluetooth: SCO socket layer initialized
[   38.105343] usbcore: registered new interface driver btusb
[   38.106195] uvcvideo: Found UVC 1.00 device XiaoMi USB 2.0 Webcam (05c8:03b7)
[   38.106603] Bluetooth: hci0: Firmware revision 0.1 build 185 week 49 2017
[   38.108251] Intel(R) Wireless WiFi driver for Linux
[   38.108252] Copyright(c) 2003- 2015 Intel Corporation
[   38.113610] uvcvideo 1-6:1.0: Entity type for entity Extension 4 was not initialized!
[   38.113613] uvcvideo 1-6:1.0: Entity type for entity Extension 3 was not initialized!
[   38.113614] uvcvideo 1-6:1.0: Entity type for entity Processing 2 was not initialized!
[   38.113615] uvcvideo 1-6:1.0: Entity type for entity Camera 1 was not initialized!
[   38.113701] input: XiaoMi USB 2.0 Webcam: XiaoMi U as /devices/pci0000:00/0000:00:14.0/
Silvock

Re: Long boot time LM 19

Post by Silvock »

Do you think that a fresh install could be a solution ?
Locked

Return to “Installation & Boot”