Od jakiegoś czasu - nie pamiętam, czy cokolwiek zmieniałem wtedy w systemie - mój Mint startuje bardzo długo. Wcześniej zajmowało to góra kilka sekund - od gruba do loginscreenu.
Teraz trwa to ...długo, jeśli wierzyć logom - ponad półtorej minuty.
dmesg w najbardziej podejrzanym miejscu pokazuje mi takie coś:
Co ciekawe - przy każdym rozruchu logi nieco się różnią, ale zawsze skok jest na linijkach z apparmor, dlatego podejrzewam, że problem jest gdzieś w tym. Ale nie znam sie na tym zupełnie...
Mam jeszcze to:
Kod:
# systemd-analyze
Startup finished in 202us (firmware) + 136us (loader) + 6.357s (kernel) + 1min 40.341s (userspace) = 1min 46.698s
graphical.target reached after 1min 33.852s in userspace
6.745674] EDAC amd64: Node 0: DRAM ECC disabled.
[ 6.745675] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
(Note that use of the override may cause unknown side effects.)
[ 6.793623] EDAC amd64: Node 0: DRAM ECC disabled.
[ 6.793625] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
(Note that use of the override may cause unknown side effects.)
[ 6.837587] EDAC amd64: Node 0: DRAM ECC disabled.
[ 6.837588] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
(Note that use of the override may cause unknown side effects.)
[ 6.865718] usbcore: registered new interface driver snd-usb-audio
[ 6.885721] EDAC amd64: Node 0: DRAM ECC disabled.
[ 6.885723] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
(Note that use of the override may cause unknown side effects.)
[ 25.267822] fbcon: Taking over console
[ 25.277185] radeon_dp_aux_transfer_native: 242 callbacks suppressed
[ 25.393602] Console: switching to colour frame buffer device 240x67
[ 96.023921] audit: type=1400 audit(1617308772.119:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/ntpd" pid=848 comm="apparmor_parser"
[ 96.024641] audit: type=1400 audit(1617308772.119:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oopslash" pid=850 comm="apparmor_parser"
[ 96.024680] audit: type=1400 audit(1617308772.119:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=846 comm="apparmor_parser"
[ 96.025912] audit: type=1400 audit(1617308772.123:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=853 comm="apparmor_parser"
[ 96.026798] audit: type=1400 audit(1617308772.123:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="virt-aa-helper" pid=849 comm="apparmor_parser"
[ 96.027094] audit: type=1400 audit(1617308772.123:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/tcpdump" pid=847 comm="apparmor_parser"
[ 96.029494] audit: type=1400 audit(1617308772.127:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=852 comm="apparmor_parser"
[ 96.029497] audit: type=1400 audit(1617308772.127:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cupsd" pid=852 comm="apparmor_parser"
[ 96.029500] audit: type=1400 audit(1617308772.127:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cupsd//third_party" pid=852 comm="apparmor_parser"
[ 96.030084] audit: type=1400 audit(1617308772.127:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=861 comm="apparmor_parser"
[ 96.318394] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 96.318396] Bluetooth: BNEP filters: protocol multicast
Juz sie cieszyłem, że pomogło dopisanie "noresume", ale okazało się, że po aktualizacji do nowej wersji Minta czyli z 22 na 22.1 system startuje normalnie.
Wcześniej
Kod:
systemd-analyze
pokazywał:
Startup finished in 7.102s (firmware) + 4.389s (loader) + 1.927s (kernel) + 12.985s (userspace) = 59.321s
graphical.target reached after 12.892s in userspace.
a teraz jest:
Startup finished in 6.702s (firmware) + 4.089s (loader) + 1.637s (kernel) + 12.702s (userspace) = 25.131s
graphical.target reached after 12.692s in userspace.
Bardzo ciekawi mnie co spowodowało wcześniej tak długi start. Na początku po instalacji Mint 22, system startował szybko, po kilku aktualizacjach, ale wtedy nie zwróciłem na to uwagi, zaczął uruchamiać się bardzo długo , czyli około 1min i wtedy rozpocząłem poszukiwania lecz do tego czasu nie znalazłem rozwiązania. Dopiero aktualizacja do nowego Minta 22.1 spowodowała nagłe przyspieszenie do 25s oczywiście piszę tutaj o parametrze (userspace). Teraz postaram się kontrolować to zachowanie przy starcie, może znowu jakaś aktualizacja to spowoduje, więc Timeshift będzie używany intensywnie .