En cours Kernel tres lent à demarrer

Postez ici toutes vos demandes d’assistance.
Répondre
Berni18
Messages : 39
Enregistré le : dim. 5 juil. 2020 11:18

Kernel tres lent à demarrer

Message par Berni18 »

Bonjour,
Le temps de chargement du noyau est de plus de 10 s ! Est-ce normal ?
Quelques infos du système :

Code : Tout sélectionner

  Host: MSI-GP72-6QE Kernel: 5.15.0-101-generic x86_64 bits: 64 compiler: gcc
    v: 11.4.0 Desktop: Xfce 4.18.1 tk: Gtk 3.24.33 info: xfce4-panel, plank
    wm: xfwm 4.18.0 vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
    base: Ubuntu 22.04 jammy
systemd-analyze time

Code : Tout sélectionner

Startup finished in 10.328s (kernel) + 7.726s (userspace) = 18.054s 
graphical.target reached after 7.541s in userspace
systemd-analyze critical-chain

Code : Tout sélectionner

graphical.target @7.541s
└─multi-user.target @7.541s
  └─kerneloops.service @7.453s +21ms
    └─network-online.target @7.447s
      └─NetworkManager-wait-online.service @3.412s +4.034s
        └─NetworkManager.service @3.360s +48ms
          └─network-pre.target @3.356s
            └─ufw.service @2.872s +481ms
              └─local-fs.target @2.846s
                └─run-user-1000-gvfs.mount @7.318s
                  └─run-user-1000.mount @6.401s
                    └─swap.target @1.695s
                      └─dev-disk-by\x2duuid-f7210d9f\x2de7b9\x2d4869\x2da39e\x2dbc93ef097e96.swap @1.572s +59ms
                        └─dev-disk-by\x2duuid-f7210d9f\x2de7b9\x2d4869\x2da39e\x2dbc93ef097e96.device @1.291s
dmesg --level err

Code : Tout sélectionner

[    0.165018] DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x000000007b800000-0x000000007fffffff], contact BIOS vendor for fixes
[    0.188887] x86/cpu: SGX disabled by BIOS.
[   11.573187] snd_hda_intel 0000:01:00.1: can't change power state from D3cold to D0 (config space inaccessible)
[   11.575176] snd_hda_intel 0000:01:00.1: can't change power state from D3cold to D0 (config space inaccessible)
[   11.678913] hdaudio hdaudioC1D0: no AFG or MFG node found
[   11.680046] hdaudio hdaudioC1D1: no AFG or MFG node found
[   11.681194] hdaudio hdaudioC1D2: no AFG or MFG node found
[   11.682279] hdaudio hdaudioC1D3: no AFG or MFG node found
[   11.683350] hdaudio hdaudioC1D4: no AFG or MFG node found
[   11.684357] hdaudio hdaudioC1D5: no AFG or MFG node found
[   11.685405] hdaudio hdaudioC1D6: no AFG or MFG node found
[   11.686417] hdaudio hdaudioC1D7: no AFG or MFG node found
[   11.687409] snd_hda_intel 0000:01:00.1: no codecs initialized
sudo inxi -Fxzc0

Code : Tout sélectionner

System:
  Kernel: 5.15.0-101-generic x86_64 bits: 64 compiler: gcc v: 11.4.0
    Desktop: Xfce 4.18.1 Distro: Linux Mint 21.3 Virginia
    base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: Micro-Star product: GP72 6QE v: REV:1.0
    serial: <filter>
  Mobo: Micro-Star model: MS-1795 v: REV:0.A serial: <filter>
    UEFI-[Legacy]: American Megatrends v: E1795IMS.11D date: 01/19/2018
Battery:
  ID-1: BAT1 charge: 37.3 Wh (100.0%) condition: 37.3/42.4 Wh (88.0%)
    volts: 12.2 min: 10.8 model: MSI BIF0_9 status: Full
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse B330/M330/M331
    charge: 55% (should be ignored) status: Discharging
CPU:
  Info: quad core model: Intel Core i7-6700HQ bits: 64 type: MT MCP
    arch: Skylake-S rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 800 min/max: 800/2600 cores: 1: 800 2: 800 3: 800
    4: 800 5: 800 6: 800 7: 800 8: 800 bogomips: 41599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Micro-Star MSI driver: i915
    v: kernel bus-ID: 00:02.0
  Device-2: NVIDIA GM107M [GeForce GTX 950M] vendor: Micro-Star MSI
    driver: nvidia v: 535.161.07 bus-ID: 01:00.0
  Device-3: Acer BisonCam NB Pro type: USB driver: uvcvideo bus-ID: 1-11:5
  Display: server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting,nvidia
    unloaded: fbdev,nouveau,vesa gpu: i915 resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2)
    v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2 direct render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  Device-2: NVIDIA GM107 High Definition Audio [GeForce 940MX]
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  Sound Server-1: ALSA v: k5.15.0-101-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Wireless 3165 driver: iwlwifi v: kernel bus-ID: 02:00.0
  IF: wlp2s0 state: up mac: <filter>
  Device-2: Qualcomm Atheros Killer E2400 Gigabit Ethernet
    vendor: Micro-Star MSI driver: alx v: kernel port: d000 bus-ID: 03:00.0
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-10:4
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter>
    bt-v: 2.1 lmp-v: 4.2
Drives:
  Local Storage: total: 4.55 TiB used: 855.75 GiB (18.4%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT1000P5PSSD8 size: 931.51 GiB
    temp: 57.9 C
  ID-2: /dev/sda vendor: Crucial model: CT4000MX500SSD1 size: 3.64 TiB
Partition:
  ID-1: / size: 111.09 GiB used: 35.16 GiB (31.6%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /home size: 192.54 GiB used: 75.04 GiB (39.0%) fs: ext4
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: partition size: 24.41 GiB used: 0 KiB (0.0%)
    dev: /dev/sda4
Sensors:
  System Temperatures: cpu: 57.0 C pch: 60.0 C mobo: 27.8 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 293 Uptime: 24m Memory: 23.35 GiB used: 3.45 GiB (14.8%)
  Init: systemd runlevel: 5 Compilers: gcc: 11.4.0 Packages: 2869 Shell: Sudo
  v: 1.9.9 inxi: 3.3.13
systemd-analyze plot > boot.svg
Voir pièce jointe
https://stephanieportka.fr/media/img/boot.svg
Merci pour votre aide
Cordialement
Pc1 : MSI GP72 6QE leopard pro | Linux Mint 21.1 | Xfce | 5.15.0-xx-generic x86_64 | Intel Core i7-6700HQ | 24 GiB | NVIDIA GM107M [GeForce GTX 950M]
Pc2 : SAMSUNG Notebook NP400B5B | Linux Mint 21.1 | Xfce | 5.4.0-137-generic x86_64 | Intel Celeron CPU B840 bits: 64 | 8 GiB | Intel core processor

Avatar du membre
tyrry
modérateur
Messages : 5731
Enregistré le : mar. 21 juil. 2015 07:42
Localisation : à l'ouest

Re: Kernel tres lent à demarrer

Message par tyrry »

Slt,
déjà tu peux faire :

Code : Tout sélectionner

sudo systemctl mask NetworkManager-wait-online.service
Ensuite après un redémarrage refais un

Code : Tout sélectionner

systemd-analyze
puis

Code : Tout sélectionner

systemd-analyze blame
@+
Distro: Debian 12 Bookworm Desktop: LXDE
Kernel: 6.1.0-19-amd64 Drive: Intel Nvme 240
CPU: Ryzen 3 PRO 2200GE RAM: 16 go Graphics Card: AMD ATI Radeon Vega Series
L'experience est quelque chose que vous obtenez, juste après que vous en ayez besoin

Berni18
Messages : 39
Enregistré le : dim. 5 juil. 2020 11:18

Re: Kernel tres lent à demarrer

Message par Berni18 »

sudo systemctl mask NetworkManager-wait-online.service

Code : Tout sélectionner

Created symlink /etc/systemd/system/NetworkManager-wait-online.service → /dev/null.
Remarriage du PC
systemd-analyze

Code : Tout sélectionner

Startup finished in 9.629s (kernel) + 4.804s (userspace) = 14.433s 
graphical.target reached after 4.514s in userspace
systemd-analyze blame

Code : Tout sélectionner

1.660s systemd-udev-settle.service
1.092s mysql.service
 827ms dev-nvme0n1p2.device
 783ms vmware.service
 482ms ufw.service
 435ms blueman-mechanism.service
 347ms udisks2.service
 325ms cups.service
 314ms systemd-udev-trigger.service
 284ms tlp.service
 264ms systemd-resolved.service
 260ms vmware-USBArbitrator.service
 234ms user@1000.service
 222ms networkd-dispatcher.service
 221ms zfs-load-module.service
 220ms lm-sensors.service
 212ms upower.service
 203ms apache2.service
 180ms accounts-daemon.service
 164ms avahi-daemon.service
 162ms systemd-journal-flush.service
 161ms bluetooth.service
 161ms apparmor.service
 156ms systemd-logind.service
 149ms gpu-manager.service
 137ms ubuntu-system-adjustments.service
 135ms ssh.service
 118ms grub-common.service
 112ms ModemManager.service
 109ms lightdm.service
 107ms dev-hugepages.mount
 104ms dev-mqueue.mount
 102ms e2scrub_reap.service
 100ms sys-kernel-debug.mount
  99ms polkit.service
  98ms systemd-udevd.service
  97ms sys-kernel-tracing.mount
  91ms switcheroo-control.service
  90ms media-PHOTOS.mount
  88ms rsyslog.service
  86ms kerneloops.service
  85ms keyboard-setup.service
  83ms thermald.service
  81ms systemd-journald.service
  79ms lvm2-monitor.service
  77ms kmod-static-nodes.service
  75ms systemd-fsck@dev-disk-by\x2duuid-4bdc4735\x2d801e\x2d43fe\x2db3f1\x2d58fd832638f5.service
  74ms binfmt-support.service
  73ms networking.service
  72ms nvidia-persistenced.service
  71ms modprobe@configfs.service
  70ms modprobe@drm.service
  61ms modprobe@fuse.service
  61ms systemd-binfmt.service
  60ms wpa_supplicant.service
  56ms systemd-modules-load.service
  53ms NetworkManager.service
  53ms systemd-remount-fs.service
  52ms colord.service
  52ms media-DATAS.mount
  48ms dns-clean.service
  45ms systemd-fsck@dev-disk-by\x2duuid-22ad7dd6\x2dba60\x2d4574\x2d8856\x2d40052b24db64.service
  37ms systemd-fsck@dev-disk-by\x2duuid-91d596ea\x2dd087\x2d4b6a\x2d993b\x2ddefa74bbf3bd.service
  36ms ifupdown-pre.service
  31ms systemd-backlight@backlight:intel_backlight.service
  30ms zfs-share.service
  29ms home.mount
  28ms alsa-restore.service
  28ms systemd-tmpfiles-setup.service
  27ms nvmf-autoconnect.service
  26ms console-setup.service
  25ms plymouth-read-write.service
  24ms finalrd.service
  23ms sys-kernel-config.mount
  22ms sys-fs-fuse-connections.mount
  20ms systemd-random-seed.service
  19ms dev-disk-by\x2duuid-f7210d9f\x2de7b9\x2d4869\x2da39e\x2dbc93ef097e96.swap
  19ms openvpn.service
  19ms user-runtime-dir@1000.service
  18ms systemd-sysusers.service
  17ms systemd-sysctl.service
  17ms grub-initrd-fallback.service
  16ms systemd-update-utmp.service
  15ms proc-sys-fs-binfmt_misc.mount
  14ms systemd-user-sessions.service
  12ms modprobe@efi_pstore.service
  11ms systemd-tmpfiles-setup-dev.service
  10ms zfs-volume-wait.service
   9ms zfs-mount.service
   9ms systemd-update-utmp-runlevel.service
   7ms setvtrgb.service
   6ms plymouth-quit-wait.service
   5ms tmp.mount
   4ms casper-md5check.service
   4ms rtkit-daemon.service
  39us blk-availability.service
Pc1 : MSI GP72 6QE leopard pro | Linux Mint 21.1 | Xfce | 5.15.0-xx-generic x86_64 | Intel Core i7-6700HQ | 24 GiB | NVIDIA GM107M [GeForce GTX 950M]
Pc2 : SAMSUNG Notebook NP400B5B | Linux Mint 21.1 | Xfce | 5.4.0-137-generic x86_64 | Intel Celeron CPU B840 bits: 64 | 8 GiB | Intel core processor

Répondre