Long +++ boot time 2min 23.425s (firmware issue)

I’ve change battery…

systemd-analyze
Startup finished in 1min 16.136s (firmware) + 430ms (loader) + 2.713s (kernel) + 1.489s (initrd) + 1min 2.655s (userspace) = 2min 23.425s
graphical.target reached after 5.473s in userspace.

systemd-analyze blame
2.903s dev-rfkill.device
2.901s sys-devices-virtual-misc-rfkill.device
2.389s sys-devices-platform-serial8250-serial8250:0-serial8250:0.16-tty-ttyS16.device
2.389s dev-ttyS16.device
2.360s dev-disk-by\x2dpartlabel-EFI.device
2.360s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart1.device
2.360s dev-disk-by\x2did-ata\x2dKINGSTON_SA400S37120G_50026B778512368F\x2dpart1.device
2.360s dev-disk-by\x2ddiskseq-1\x2dpart1.device
2.360s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart1.device
2.360s dev-disk-by\x2did-wwn\x2d0x50026b778512368f\x2dpart1.device
2.360s dev-disk-by\x2dpartuuid-266c431a\x2d348a\x2d4b4a\x2d99f1\x2d1c01fddd6cb4.device
2.360s dev-disk-by\x2duuid-B955\x2d6B73.device
2.360s dev-sda1.device
2.360s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device
2.357s dev-ttyS30.device
2.357s sys-devices-platform-serial8250-serial8250:0-serial8250:0.30-tty-ttyS30.device
2.352s sys-devices-platform-serial8250-serial8250:0-serial8250:0.6-tty-ttyS6.device
2.352s dev-ttyS6.device
2.351s sys-devices-platform-serial8250-serial8250:0-serial8250:0.1-tty-ttyS1.device
2.351s dev-ttyS1.device
2.351s sys-devices-platform-serial8250-serial8250:0-serial8250:0.26-tty-ttyS26.device
2.351s dev-ttyS26.device
2.349s dev-disk-by\x2duuid-27720631\x2d2806\x2d40c6\x2d9c4e\x2d2a5ed70bce41.device
2.349s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart2.device
2.348s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart2.device
2.348s dev-disk-by\x2ddiskseq-1\x2dpart2.device
2.348s dev-disk-by\x2dpartlabel-endeavouros.device
2.348s dev-sda2.device
2.348s dev-disk-by\x2did-wwn\x2d0x50026b778512368f\x2dpart2.device
2.348s dev-disk-by\x2dpartuuid-86d1eb3e\x2d4257\x2d472b\x2dbd3a\x2db161571f95cc.device
2.348s dev-disk-by\x2did-ata\x2dKINGSTON_SA400S37120G_50026B778512368F\x2dpart2.device
2.348s dev-disk-by\x2dlabel-endeavouros.device
2.348s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device
2.340s dev-ttyS24.device
2.340s sys-devices-platform-serial8250-serial8250:0-serial8250:0.24-tty-ttyS24.device
2.339s dev-ttyS11.device
2.339s sys-devices-platform-serial8250-serial8250:0-serial8250:0.11-tty-ttyS11.device
2.337s sys-devices-platform-serial8250-serial8250:0-serial8250:0.17-tty-ttyS17.device
2.337s dev-ttyS17.device
2.337s dev-disk-by\x2did-ata\x2dKINGSTON_SA400S37120G_50026B778512368F.device
2.337s dev-disk-by\x2ddiskseq-1.device
2.337s dev-sda.device
2.337s dev-disk-by\x2did-wwn\x2d0x50026b778512368f.device
2.337s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda.device
2.337s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.device
2.337s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0.device
2.333s dev-ttyS13.device
2.333s sys-devices-platform-serial8250-serial8250:0-serial8250:0.13-tty-ttyS13.device
2.329s dev-ttyS23.device
2.329s sys-devices-platform-serial8250-serial8250:0-serial8250:0.23-tty-ttyS23.device
2.328s dev-ttyS15.device
2.328s sys-devices-platform-serial8250-serial8250:0-serial8250:0.15-tty-ttyS15.device
2.321s dev-ttyS0.device
2.321s sys-devices-platform-serial8250-serial8250:0-serial8250:0.0-tty-ttyS0.device
2.318s sys-devices-platform-serial8250-serial8250:0-serial8250:0.8-tty-ttyS8.device
2.318s dev-ttyS8.device
2.316s sys-devices-platform-serial8250-serial8250:0-serial8250:0.31-tty-ttyS31.device
2.316s dev-ttyS31.device
2.315s sys-devices-platform-serial8250-serial8250:0-serial8250:0.19-tty-ttyS19.device
2.315s dev-ttyS19.device
2.315s dev-ttyS18.device
2.315s sys-devices-platform-serial8250-serial8250:0-serial8250:0.18-tty-ttyS18.device
2.314s dev-ttyS20.device
2.313s sys-devices-platform-serial8250-serial8250:0-serial8250:0.20-tty-ttyS20.device
2.312s sys-devices-platform-serial8250-serial8250:0-serial8250:0.10-tty-ttyS10.device
2.312s dev-ttyS10.device
2.312s dev-ttyS22.device
2.312s sys-devices-platform-serial8250-serial8250:0-serial8250:0.22-tty-ttyS22.device
2.303s sys-devices-platform-serial8250-serial8250:0-serial8250:0.14-tty-ttyS14.device
2.303s dev-ttyS14.device
2.302s sys-devices-platform-serial8250-serial8250:0-serial8250:0.28-tty-ttyS28.device
2.302s dev-ttyS28.device
2.301s sys-devices-platform-serial8250-serial8250:0-serial8250:0.9-tty-ttyS9.device
2.301s dev-ttyS9.device
2.297s dev-ttyS25.device
2.297s sys-devices-platform-serial8250-serial8250:0-serial8250:0.25-tty-ttyS25.device
2.296s dev-ttyS4.device
2.296s sys-devices-platform-serial8250-serial8250:0-serial8250:0.4-tty-ttyS4.device
2.296s sys-devices-platform-serial8250-serial8250:0-serial8250:0.21-tty-ttyS21.device
2.296s dev-ttyS21.device
2.294s sys-devices-platform-serial8250-serial8250:0-serial8250:0.12-tty-ttyS12.device
2.294s dev-ttyS12.device
2.293s dev-ttyS3.device
2.293s sys-devices-platform-serial8250-serial8250:0-serial8250:0.3-tty-ttyS3.device
2.292s sys-module-fuse.device
2.291s dev-ttyS2.device
2.291s sys-devices-platform-serial8250-serial8250:0-serial8250:0.2-tty-ttyS2.device
2.286s sys-devices-platform-serial8250-serial8250:0-serial8250:0.27-tty-ttyS27.device
2.286s dev-ttyS27.device
2.283s sys-module-configfs.device
2.277s dev-ttyS29.device
2.277s sys-devices-platform-serial8250-serial8250:0-serial8250:0.29-tty-ttyS29.device
2.269s sys-devices-platform-serial8250-serial8250:0-serial8250:0.5-tty-ttyS5.device
2.269s dev-ttyS5.device
2.264s sys-devices-platform-serial8250-serial8250:0-serial8250:0.7-tty-ttyS7.device
2.264s dev-ttyS7.device
1.998s NetworkManager.service
1.853s sys-devices-pci0000:00-0000:00:1c.2-0000:02:00.0-net-wlan0.device
1.853s sys-subsystem-net-devices-wlan0.device
1.386s avahi-daemon.service
1.312s dracut-shutdown.service
1.228s power-profiles-daemon.service
893ms initrd-switch-root.service
680ms dbus-broker.service
349ms systemd-tmpfiles-setup.service
319ms upower.service
319ms ldconfig.service
310ms polkit.service
288ms systemd-udev-trigger.service
285ms user@1000.service
241ms systemd-timesyncd.service
237ms systemd-logind.service
229ms systemd-journal-flush.service
197ms systemd-update-utmp.service
173ms systemd-journal-catalog-update.service
168ms systemd-journald.service
163ms systemd-tmpfiles-setup-dev-early.service
138ms udisks2.service
104ms systemd-boot-random-seed.service
103ms systemd-udevd.service
96ms systemd-fsck@dev-disk-by\x2duuid-B955\x2d6B73.service
92ms dracut-cmdline.service
85ms sys-kernel-tracing.mount
84ms lvm2-monitor.service
84ms dev-hugepages.mount
83ms sys-kernel-debug.mount
83ms dev-mqueue.mount
82ms kmod-static-nodes.service
75ms modprobe@drm.service
67ms systemd-vconsole-setup.service
57ms systemd-modules-load.service
57ms systemd-sysusers.service
55ms systemd-random-seed.service
54ms systemd-remount-fs.service
53ms initrd-cleanup.service
52ms wpa_supplicant.service
51ms systemd-backlight@backlight:intel_backlight.service
48ms efi.mount
47ms systemd-userdbd.service
44ms systemd-sysctl.service
43ms systemd-update-done.service
43ms modprobe@dm_mod.service
42ms systemd-fsck-root.service
39ms systemd-tmpfiles-setup-dev.service
32ms modprobe@loop.service
31ms alsa-restore.service
28ms sys-fs-fuse-connections.mount
28ms initrd-parse-etc.service
22ms systemd-rfkill.service
17ms user-runtime-dir@1000.service
13ms initrd-udevadm-cleanup-db.service
12ms rtkit-daemon.service
12ms modprobe@fuse.service
11ms modprobe@configfs.service
7ms systemd-user-sessions.service
6ms tmp.mount

Can you share the output from systemd-analyze critical-chain

Thanks a lot ; here it is :

systemd-analyze critical-chain
The time when unit became active or started is printed after the “@” character.
The time the unit took to start is printed after the “+” character.

graphical.target @5.473s
└─sddm.service @5.471s
└─systemd-user-sessions.service @5.447s +7ms
└─network.target @5.430s
└─wpa_supplicant.service @5.375s +52ms
└─basic.target @3.357s
└─dbus-broker.service @2.669s +680ms
└─dbus.socket @2.629s
└─sysinit.target @2.601s
└─systemd-vconsole-setup.service @4.862s +67ms
└─systemd-journald.socket
└─system.slice
└─-.slice

It looks like you are hitting the graphical target in 5 seconds which is pretty reasonable.

As for the minute you are spending in firmware, that is the actual time your BIOS/firmware is taking.

Are there any messages on the screen during the that time? Changing your battery may have reset your BIOS settings. Did you have fast boot enabled before but not now?

During startup only black screen (+ Lenovo logo) ; after 1mn+ the boot sequence starts with : x86/cpu vmx (outside txt) disabled by bios
I searched for fast boot in bios but didnt find (lenovo flex 2-15 from 2014)

Please consider editing your post and format the pasted terminal output.

Highlight the text and press Ctrl-E to format. This would enhance readability enormously. Thanks!

1 Like

Done

Thanks! But not quite right if you permit me to be nitpicking. :blush:

To get a formatted text within a rolling box which is suited for long terminal outputs:

For quoting chunks of “normal” text:

You can post output of inxi -b to show us your BIOS version.

But keep digging in BIOS. 90% it reset after battery change as Dalto mentioned.

Possible solutions:

  • boot order - make sure you have only hard disk there, no trying to boot form network, CD and USB stuff
  • something to do with fast boot / self test / self diagnose - maybe full test turned on, instead of short one
  • check if there is an option to show more info there - anything which says “post mesage” and “show/dispaly more”
  • hard disk mode - is it IDE / AHCI ? Maybe it switched to older / slower mode?
1 Like

Hello and thanks ! Sorry for the late reply.
Here is the output of inxi -b :

System:
  Host: lenovo Kernel: 6.9.4-zen1-1-zen arch: x86_64 bits: 64                                                                                                           
  Desktop: LXQt v: 2.0.1 Distro: EndeavourOS                                                                                                                            
Machine:                                                                                                                                                                
  Type: Laptop System: LENOVO product: 20405 v: Lenovo Flex 2-15                                                                                                        
    serial: <superuser required>                                                                                                                                        
  Mobo: LENOVO model: Lenovo Flex 2-15 v: 31900058 Std                                                                                                                  
    serial: <superuser required> UEFI: LENOVO v: A0CN26WW date: 05/21/2014                                                                                              
Battery:                                                                                                                                                                
  ID-1: BAT0 charge: 6.7 Wh (27.2%) condition: 24.6/30.1 Wh (81.7%) volts: 6.9                                                                                          
    min: 7.2                                                                                                                                                            
CPU:                                                                                                                                                                    
  Info: dual core Intel Core i3-4010U [MT MCP] speed (MHz): avg: 799                                                                                                    
    min/max: 800/1700                                                                                                                                                   
Graphics:                                                                                                                                                               
  Device-1: Intel Haswell-ULT Integrated Graphics driver: i915 v: kernel                                                                                                
  Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT                                                                                                             
    620M/625M/630M/720M] driver: nouveau v: kernel                                                                                                                      
  Device-3: Syntek Lenovo EasyCamera driver: uvcvideo type: USB                                                                                                         
  Display: x11 server: X.Org v: 21.1.13 driver: X: loaded: modesetting                                                                                                  
    dri: crocus,nouveau gpu: i915 resolution: 1366x768~60Hz                                                                                                             
  API: OpenGL v: 4.6 compat-v: 4.3 vendor: intel mesa v: 24.1.1-arch1.1                                                                                                 
    renderer: Mesa Intel HD Graphics 4400 (HSW GT2)                                                                                                                     
Network:                                                                                                                                                                
  Device-1: Broadcom BCM43142 802.11b/g/n driver: wl                                                                                                                    
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet                                                                                                 
    driver: r8169                                                                                                                                                       
Drives:                                                                                                                                                                 
  Local Storage: total: 111.79 GiB used: 43.36 GiB (38.8%)                                                                                                              
Info:                                                                                                                                                                   
  Memory: total: 8 GiB available: 7.67 GiB used: 1.09 GiB (14.2%)                                                                                                       
  Processes: 188 Uptime: 2m Shell: Bash inxi: 3.3.34

I’ll try bios paths tomorrow
Best regards

Good luck! BTW. There is BIOS update for your MB

1 Like

:face_with_raised_eyebrow: :thinking:
1- You’re right, there is a BIOS update (thanks :+1:)
2- I donwload it
3- I installed WINE
4- I installed in C:
5- I went to that folder and execute each .EXE (and .BAT)
6- I check if the update was applied : inxi -b | answer : no
7- reboot the machine
8- :scream: startup as fast as months ago !!!
9- I check if the update was applied since the reboot : inxi -b | answer : no
10 - happy but scratch my head !!

Thanks a lot vaudou guru :grin:

This was a bit of an incorrect approach as you verified.

Something that should work for this purpose is: https://www.hirensbootcd.org/

I have used it to successfully to update the UEFI firmware of a Lenovo machine.

Your Mileage May Vary!

1 Like

Hiren’s is very handy for this type of thing :+1:.

1 Like

I was unaware of this. Thanks for sharing. I’ve bookmarked for future reference.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.