[démarrage] Temps de démarrage >90s (Résolu)

Questions et astuces concernant l'installation et la configuration d'archlinux
Répondre
Omisviden
newbie
Messages : 7
Inscription : sam. 03 oct. 2020, 20:20

[démarrage] Temps de démarrage >90s (Résolu)

Message par Omisviden »

Bonjour, j'ai installé Arch il y a quelques mois et j'en suis très content, mais un problème persiste. Comme dit dans le titre, je mets toujours plus d'une minute à démarrer alors que j'utilise un PC portable récent avec un SSD et une installation qui devrait être bien configurée. Comment améliorer ces temps de démarrages anormalement lents?

Merci d'avance! :D

Mon fstab:

Code : Tout sélectionner

# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda5
UUID=b3f27734-65e7-4e82-89eb-0937c895aaf2	/         	ext4      	rw,relatime	0 1

# /dev/sda7
UUID=EF06-F2E8      	/efi      	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro	0 2

# /dev/sda8
UUID=2cb10b0d-4dec-42fb-be4b-bdf60b8a63f4 	none      	swap      	defaults  	0 0
Les dernières lignes de mon dmesg:

Code : Tout sélectionner

[    3.811542] fbcon: amdgpudrmfb (fb0) is primary device
[    3.825610] Console: switching to colour frame buffer device 240x67
[    3.846030] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    3.847074] amdgpu 0000:04:00.0: fb0: amdgpudrmfb frame buffer device
[    3.869531] amdgpu 0000:04:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[    3.869536] amdgpu 0000:04:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[    3.869539] amdgpu 0000:04:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[    3.869541] amdgpu 0000:04:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[    3.869543] amdgpu 0000:04:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[    3.869545] amdgpu 0000:04:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[    3.869548] amdgpu 0000:04:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[    3.869553] amdgpu 0000:04:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[    3.869555] amdgpu 0000:04:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[    3.869558] amdgpu 0000:04:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[    3.869560] amdgpu 0000:04:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
[    3.869563] amdgpu 0000:04:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
[    3.869566] amdgpu 0000:04:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
[    3.869568] amdgpu 0000:04:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
[    3.869571] amdgpu 0000:04:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
[    3.871116] nvidia-nvlink: Nvlink Core is being initialized, major device number 235
[    3.871859] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[    3.871988] amdgpu 0000:04:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none
[    3.899884] [drm] Initialized amdgpu 3.38.0 20150101 for 0000:04:00.0 on minor 0
[    3.962671] Generic FE-GE Realtek PHY r8169-300:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-300:00, irq=IGNORE)
[    3.989502] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  455.23.04  Sun Sep 13 23:47:18 UTC 2020
[    4.037118] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  455.23.04  Sun Sep 13 23:36:51 UTC 2020
[    4.044687] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    4.044689] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[    4.106044] r8169 0000:03:00.0 enp3s0: Link is Down
[   24.263690] wlp2s0: authenticate with f0:51:36:41:57:e2
[   24.299086] wlp2s0: send auth to f0:51:36:41:57:e2 (try 1/3)
[   24.301661] wlp2s0: authenticated
[   24.302617] wlp2s0: associate with f0:51:36:41:57:e2 (try 1/3)
[   24.322626] wlp2s0: RX AssocResp from f0:51:36:41:57:e2 (capab=0x411 status=0 aid=6)
[   24.325100] wlp2s0: associated
[   24.353253] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[  114.947205] fuse: init (API version 7.31)
Dernière modification par Omisviden le dim. 04 oct. 2020, 09:20, modifié 1 fois.
benjarobin
Maître du Kyudo
Messages : 16075
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [démarrage] Temps de démarrage >90s

Message par benjarobin »

Bonjour,
Peux tu donner la sortie (en root) de :

Code : Tout sélectionner

systemd-analyze blame
systemd-analyze plot > plot.svg
systemctl --failed --all
systemctl
journalctl -b
Le fichier plot.svg ne doit surtout pas être partagé via un site de partage d'image, tu peux/dois utiliser autre chose (pastebin fonctionne comme c'est du texte)
Zsh | KDE | PC fixe : core i7, carte nvidia | Portable : Asus ul80vt
Titre d'un sujet : [Thème] Sujet (état)
Avatar de l’utilisateur
Kristen
Elfe
Messages : 688
Inscription : ven. 14 oct. 2011, 10:24
Localisation : Finistère France

Re: [démarrage] Temps de démarrage >90s

Message par Kristen »

Si je peux me permettre, il y a une faute de frappe, c'est

Code : Tout sélectionner

systemd-analyze blame
systemd-analyze plot > plot.svg
Depuis le 14 octobre 2011 sur archlinux avec actuellement KDE Plasma sur :
PC fixe i5 - CG GeForce GTX 750 Ti - Mémoire 12 Go - SSD128 Go - DD1000 Go
et
PC portable : Lenovo ThinkPad T520i
Manjaro KDE Plasma sur Lenovo Ideapad S130-14IGM
Omisviden
newbie
Messages : 7
Inscription : sam. 03 oct. 2020, 20:20

Re: [démarrage] Temps de démarrage >90s

Message par Omisviden »

Bonsoir! Merci pour la réponse rapide.
Dans l'ordre:

systemd-analyze blame:

Code : Tout sélectionner

1.271s systemd-random-seed.service                                              
1.018s upower.service                                                           
 783ms systemd-logind.service                                                   
 669ms lvm2-monitor.service                                                     
 559ms dev-sda5.device                                                          
 432ms systemd-timesyncd.service                                                
 338ms systemd-udevd.service                                                    
 310ms systemd-journald.service                                                 
 198ms user@1000.service                                                        
 162ms systemd-journal-flush.service                                            
 134ms efi.mount                                                                
 131ms accounts-daemon.service                                                  
 110ms polkit.service                                                           
  72ms systemd-udev-trigger.service                                             
  70ms udisks2.service                                                          
  57ms systemd-tmpfiles-clean.service                                           
  55ms dev-disk-by\x2duuid-2cb10b0d\x2d4dec\x2d42fb\x2dbe4b\x2dbdf60b8a63f4.swap
  54ms systemd-fsck@dev-disk-by\x2duuid-EF06\x2dF2E8.service                    
  53ms NetworkManager.service                                                   
  24ms systemd-tmpfiles-setup.service                                           
  21ms colord.service                                                           
  20ms systemd-binfmt.service                                                   
  19ms systemd-tmpfiles-setup-dev.service                                       
  19ms systemd-modules-load.service                                             
  18ms wpa_supplicant.service                                                   
  13ms dev-hugepages.mount                                                      
  13ms user-runtime-dir@1000.service                                            
  13ms dev-mqueue.mount                                                         
  12ms sys-kernel-debug.mount                                                   
  12ms systemd-backlight@backlight:amdgpu_bl0.service                           
  11ms systemd-user-sessions.service                                            
  11ms systemd-remount-fs.service                                               
  11ms sys-kernel-tracing.mount                                                 
  10ms kmod-static-nodes.service                                                
  10ms systemd-rfkill.service                                                   
  10ms systemd-update-utmp.service                                              
  10ms systemd-backlight@backlight:acpi_video0.service                          
   9ms systemd-sysctl.service                                                   
   5ms sys-fs-fuse-connections.mount                                            
   4ms rtkit-daemon.service                                                     
   3ms tmp.mount                                                                
   3ms proc-sys-fs-binfmt_misc.mount                                            
   2ms sys-kernel-config.mount                                                  
systemd-analyze plot est ici.


systemctl --failed --all:

Code : Tout sélectionner

  UNIT                                            LOAD   ACTIVE SUB    DESCRIPTION                                                   
● systemd-backlight@backlight:acpi_video0.service loaded failed failed Load/Save Screen Backlight Brightness of backlight:acpi_video0

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed.
To show all installed unit files use 'systemctl list-unit-files'.
systemctl:

Code : Tout sélectionner

  UNIT                                                                                                     LOAD   ACTIVE SUB       DESCRIPTION                                                                              
  proc-sys-fs-binfmt_misc.automount                                                                        loaded active running   Arbitrary Executable File Formats File System Automount Point                            
  sys-devices-pci0000:00-0000:00:01.3-0000:02:00.0-net-wlp2s0.device                                       loaded active plugged   QCA9377 802.11ac Wireless Network Adapter                                                
  sys-devices-pci0000:00-0000:00:01.4-0000:03:00.0-net-enp3s0.device                                       loaded active plugged   RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller                                
  sys-devices-pci0000:00-0000:00:08.1-0000:04:00.0-backlight-amdgpu_bl0.device                             loaded active plugged   /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/backlight/amdgpu_bl0                   
  sys-devices-pci0000:00-0000:00:08.1-0000:04:00.1-sound-card0.device                                      loaded active plugged   Raven/Raven2/Fenghuang HDMI/DP Audio Controller                                          
  sys-devices-pci0000:00-0000:00:08.1-0000:04:00.4-usb3-3\x2d2-3\x2d2.1-3\x2d2.1:1.0-bluetooth-hci0.device loaded active plugged   /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2/3-2.1/3-2.1:1.0/bluetooth/hci0
  sys-devices-pci0000:00-0000:00:08.1-0000:04:00.6-sound-card1.device                                      loaded active plugged   Family 17h (Models 10h-1fh) HD Audio Controller                                          
  sys-devices-pci0000:00-0000:00:08.2-0000:05:00.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device    loaded active plugged   SanDisk_SD9SN8W256G1002 SYSTEM                                                           
  sys-devices-pci0000:00-0000:00:08.2-0000:05:00.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device    loaded active plugged   SanDisk_SD9SN8W256G1002 Microsoft\x20reserved\x20partition                               
  sys-devices-pci0000:00-0000:00:08.2-0000:05:00.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda3.device    loaded active plugged   SanDisk_SD9SN8W256G1002 OS                                                               
  sys-devices-pci0000:00-0000:00:08.2-0000:05:00.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda4.device    loaded active plugged   SanDisk_SD9SN8W256G1002 DATA                                                             
  sys-devices-pci0000:00-0000:00:08.2-0000:05:00.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda5.device    loaded active plugged   SanDisk_SD9SN8W256G1002 5                                                                
  sys-devices-pci0000:00-0000:00:08.2-0000:05:00.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda6.device    loaded active plugged   SanDisk_SD9SN8W256G1002 6                                                                
  sys-devices-pci0000:00-0000:00:08.2-0000:05:00.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda7.device    loaded active plugged   SanDisk_SD9SN8W256G1002 7                                                                
  sys-devices-pci0000:00-0000:00:08.2-0000:05:00.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda8.device    loaded active plugged   SanDisk_SD9SN8W256G1002 RECOVERY                                                         
  sys-devices-pci0000:00-0000:00:08.2-0000:05:00.0-ata1-host0-target0:0:0-0:0:0:0-block-sda.device         loaded active plugged   SanDisk_SD9SN8W256G1002                                                                  
  sys-devices-platform-serial8250-tty-ttyS0.device                                                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS0                                               
  sys-devices-platform-serial8250-tty-ttyS1.device                                                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS1                                               
  sys-devices-platform-serial8250-tty-ttyS2.device                                                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS2                                               
  sys-devices-platform-serial8250-tty-ttyS3.device                                                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS3                                               
  sys-devices-virtual-misc-rfkill.device                                                                   loaded active plugged   /sys/devices/virtual/misc/rfkill                                                         
  sys-module-configfs.device                                                                               loaded active plugged   /sys/module/configfs                                                                     
  sys-module-fuse.device                                                                                   loaded active plugged   /sys/module/fuse                                                                         
  sys-subsystem-bluetooth-devices-hci0.device                                                              loaded active plugged   /sys/subsystem/bluetooth/devices/hci0                                                    
  sys-subsystem-net-devices-enp3s0.device                                                                  loaded active plugged   RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller                                
  sys-subsystem-net-devices-wlp2s0.device                                                                  loaded active plugged   QCA9377 802.11ac Wireless Network Adapter                                                
  -.mount                                                                                                  loaded active mounted   Root Mount                                                                               
  dev-hugepages.mount                                                                                      loaded active mounted   Huge Pages File System                                                                   
  dev-mqueue.mount                                                                                         loaded active mounted   POSIX Message Queue File System                                                          
  efi.mount                                                                                                loaded active mounted   /efi                                                                                     
  proc-sys-fs-binfmt_misc.mount                                                                            loaded active mounted   Arbitrary Executable File Formats File System                                            
  run-user-1000-doc.mount                                                                                  loaded active mounted   /run/user/1000/doc                                                                       
  run-user-1000-gvfs.mount                                                                                 loaded active mounted   /run/user/1000/gvfs                                                                      
  run-user-1000.mount                                                                                      loaded active mounted   /run/user/1000                                                                           
  sys-fs-fuse-connections.mount                                                                            loaded active mounted   FUSE Control File System                                                                 
  sys-kernel-config.mount                                                                                  loaded active mounted   Kernel Configuration File System                                                         
  sys-kernel-debug.mount                                                                                   loaded active mounted   Kernel Debug File System                                                                 
  sys-kernel-tracing.mount                                                                                 loaded active mounted   Kernel Trace File System                                                                 
  tmp.mount                                                                                                loaded active mounted   Temporary Directory (/tmp)                                                               
  systemd-ask-password-console.path                                                                        loaded active waiting   Dispatch Password Requests to Console Directory Watch                                    
  systemd-ask-password-wall.path                                                                           loaded active waiting   Forward Password Requests to Wall Directory Watch                                        
  init.scope                                                                                               loaded active running   System and Service Manager                                                               
  session-1.scope                                                                                          loaded active running   Session 1 of user omi                                                                    
  accounts-daemon.service                                                                                  loaded active running   Accounts Service                                                                         
  colord.service                                                                                           loaded active running   Manage, Install and Generate Color Profiles                                              
  dbus.service                                                                                             loaded active running   D-Bus System Message Bus                                                                 
  getty@tty1.service                                                                                       loaded active running   Getty on tty1                                                                            
  kmod-static-nodes.service                                                                                loaded active exited    Create list of static device nodes for the current kernel                                
  lvm2-lvmetad.service                                                                                     loaded active running   LVM2 metadata daemon                                                                     
  lvm2-monitor.service                                                                                     loaded active exited    Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling            
  NetworkManager.service                                                                                   loaded active running   Network Manager                                                                          
  polkit.service                                                                                           loaded active running   Authorization Manager                                                                    
  rtkit-daemon.service                                                                                     loaded active running   RealtimeKit Scheduling Policy Service                                                    
● systemd-backlight@backlight:acpi_video0.service                                                          loaded failed failed    Load/Save Screen Backlight Brightness of backlight:acpi_video0                           
  systemd-backlight@backlight:amdgpu_bl0.service                                                           loaded active exited    Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0                            
  systemd-binfmt.service                                                                                   loaded active exited    Set Up Additional Binary Formats                                                         
  systemd-fsck@dev-disk-by\x2duuid-EF06\x2dF2E8.service                                                    loaded active exited    File System Check on /dev/disk/by-uuid/EF06-F2E8                                         
  systemd-hostnamed.service                                                                                loaded active running   Hostname Service                                                                         
  systemd-journal-flush.service                                                                            loaded active exited    Flush Journal to Persistent Storage                                                      
  systemd-journald.service                                                                                 loaded active running   Journal Service                                                                          
  systemd-logind.service                                                                                   loaded active running   User Login Management                                                                    
  systemd-modules-load.service                                                                             loaded active exited    Load Kernel Modules                                                                      
  systemd-random-seed.service                                                                              loaded active exited    Load/Save Random Seed                                                                    
  systemd-remount-fs.service                                                                               loaded active exited    Remount Root and Kernel File Systems                                                     
  systemd-sysctl.service                                                                                   loaded active exited    Apply Kernel Variables                                                                   
  systemd-timesyncd.service                                                                                loaded active running   Network Time Synchronization                                                             
  systemd-tmpfiles-setup-dev.service                                                                       loaded active exited    Create Static Device Nodes in /dev                                                       
  systemd-tmpfiles-setup.service                                                                           loaded active exited    Create Volatile Files and Directories                                                    
  systemd-udev-trigger.service                                                                             loaded active exited    Coldplug All udev Devices                                                                
  systemd-udevd.service                                                                                    loaded active running   Rule-based Manager for Device Events and Files                                           
  systemd-update-utmp.service                                                                              loaded active exited    Update UTMP about System Boot/Shutdown                                                   
  systemd-user-sessions.service                                                                            loaded active exited    Permit User Sessions                                                                     
  udisks2.service                                                                                          loaded active running   Disk Manager                                                                             
  upower.service                                                                                           loaded active running   Daemon for power management                                                              
  user-runtime-dir@1000.service                                                                            loaded active exited    User Runtime Directory /run/user/1000                                                    
  user@1000.service                                                                                        loaded active running   User Manager for UID 1000                                                                
  wpa_supplicant.service                                                                                   loaded active running   WPA supplicant                                                                           
  -.slice                                                                                                  loaded active active    Root Slice                                                                               
  system-getty.slice                                                                                       loaded active active    system-getty.slice                                                                       
  system-modprobe.slice                                                                                    loaded active active    system-modprobe.slice                                                                    
  system-netctl.slice                                                                                      loaded active active    system-netctl.slice                                                                      
  system-systemd\x2dbacklight.slice                                                                        loaded active active    system-systemd\x2dbacklight.slice                                                        
  system-systemd\x2dfsck.slice                                                                             loaded active active    system-systemd\x2dfsck.slice                                                             
  system.slice                                                                                             loaded active active    System Slice                                                                             
  user-1000.slice                                                                                          loaded active active    User Slice of UID 1000                                                                   
  user.slice                                                                                               loaded active active    User and Session Slice                                                                   
  dbus.socket                                                                                              loaded active running   D-Bus System Message Bus Socket                                                          
  dm-event.socket                                                                                          loaded active listening Device-mapper event daemon FIFOs                                                         
  lvm2-lvmetad.socket                                                                                      loaded active running   LVM2 metadata daemon socket                                                              
  lvm2-lvmpolld.socket                                                                                     loaded active listening LVM2 poll daemon socket                                                                  
  systemd-coredump.socket                                                                                  loaded active listening Process Core Dump Socket                                                                 
  systemd-journald-dev-log.socket                                                                          loaded active running   Journal Socket (/dev/log)                                                                
  systemd-journald.socket                                                                                  loaded active running   Journal Socket                                                                           
  systemd-rfkill.socket                                                                                    loaded active listening Load/Save RF Kill Switch Status /dev/rfkill Watch                                        
  systemd-udevd-control.socket                                                                             loaded active running   udev Control Socket                                                                      
  systemd-udevd-kernel.socket                                                                              loaded active running   udev Kernel Socket                                                                       
  dev-disk-by\x2duuid-2cb10b0d\x2d4dec\x2d42fb\x2dbe4b\x2dbdf60b8a63f4.swap                                loaded active active    /dev/disk/by-uuid/2cb10b0d-4dec-42fb-be4b-bdf60b8a63f4                                   
  basic.target                                                                                             loaded active active    Basic System                                                                             
  bluetooth.target                                                                                         loaded active active    Bluetooth                                                                                
  cryptsetup.target                                                                                        loaded active active    Local Encrypted Volumes                                                                  
  getty.target                                                                                             loaded active active    Login Prompts                                                                            
  graphical.target                                                                                         loaded active active    Graphical Interface                                                                      
  local-fs-pre.target                                                                                      loaded active active    Local File Systems (Pre)                                                                 
  local-fs.target                                                                                          loaded active active    Local File Systems                                                                       
  multi-user.target                                                                                        loaded active active    Multi-User System                                                                        
  network.target                                                                                           loaded active active    Network                                                                                  
  nss-user-lookup.target                                                                                   loaded active active    User and Group Name Lookups                                                              
  paths.target                                                                                             loaded active active    Paths                                                                                    
  remote-fs.target                                                                                         loaded active active    Remote File Systems                                                                      
  slices.target                                                                                            loaded active active    Slices                                                                                   
  sockets.target                                                                                           loaded active active    Sockets                                                                                  
  sound.target                                                                                             loaded active active    Sound Card                                                                               
  swap.target                                                                                              loaded active active    Swap                                                                                     
  sysinit.target                                                                                           loaded active active    System Initialization                                                                    
  time-set.target                                                                                          loaded active active    System Time Set                                                                          
  time-sync.target                                                                                         loaded active active    System Time Synchronized                                                                 
  timers.target                                                                                            loaded active active    Timers                                                                                   
  man-db.timer                                                                                             loaded active waiting   Daily man-db regeneration                                                                
  shadow.timer                                                                                             loaded active waiting   Daily verification of password and group files                                           
  systemd-tmpfiles-clean.timer                                                                             loaded active waiting   Daily Cleanup of Temporary Directories                                                   

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

120 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
journalctl -b fait dépasser la limite de caractères à ma réponse, je l'ai mis dans un autre pastebin.

Je reste à disposition si besoin d'infos supplémentaires :D
benjarobin
Maître du Kyudo
Messages : 16075
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [démarrage] Temps de démarrage >90s

Message par benjarobin »

Kristen a écrit :
sam. 03 oct. 2020, 20:55
Si je peux me permettre, il y a une faute de frappe
Merci beaucoup, corrigé :-)
J'ai trouvé en gros la cause (quelqu'un référence wlan0), maintenant il faut trouver qui est le coupable.
Peux tu donner la sortie (en root) de :

Code : Tout sélectionner

grep -r wlan0 /etc /run
find /etc/systemd/system
# Ou mieux (mais il faut avoir installé la commande tree), la sortie de :
tree /etc/systemd/system
Zsh | KDE | PC fixe : core i7, carte nvidia | Portable : Asus ul80vt
Titre d'un sujet : [Thème] Sujet (état)
Omisviden
newbie
Messages : 7
Inscription : sam. 03 oct. 2020, 20:20

Re: [démarrage] Temps de démarrage >90s

Message par Omisviden »

Super, je te mets ça là:

Code : Tout sélectionner

/etc/systemd/system
├── dbus-org.freedesktop.nm-dispatcher.service -> /usr/lib/systemd/system/NetworkManager-dispatcher.service
├── dbus-org.freedesktop.timesync1.service -> /usr/lib/systemd/system/systemd-timesyncd.service
├── getty.target.wants
│   └── getty@tty1.service -> /usr/lib/systemd/system/getty@.service
├── graphical.target.wants
│   └── upower.service -> /usr/lib/systemd/system/upower.service
├── multi-user.target.wants
│   ├── netctl@oui.service -> /usr/lib/systemd/system/netctl@.service
│   ├── netctl@smartcampus.service -> /usr/lib/systemd/system/netctl@.service
│   ├── NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service
│   └── remote-fs.target -> /usr/lib/systemd/system/remote-fs.target
├── netctl@oui.service.d
│   └── profile.conf
├── netctl@smartcampus.service.d
│   └── profile.conf
├── network-online.target.wants
│   └── NetworkManager-wait-online.service -> /usr/lib/systemd/system/NetworkManager-wait-online.service
├── sysinit.target.wants
│   └── systemd-timesyncd.service -> /usr/lib/systemd/system/systemd-timesyncd.service
└── systemd-journald-audit.socket -> /dev/null

7 directories, 13 files
benjarobin
Maître du Kyudo
Messages : 16075
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [démarrage] Temps de démarrage >90s

Message par benjarobin »

Et la sortie du grep ? wlan0 est forcément référencé dans un fichier de configuration

Tu ne devrais pas utiliser 2 services réseaux en même temps !
Je te conseille network manager, et de supprimer/désactiver netctl, ou l'inverse si tu préfères.
Zsh | KDE | PC fixe : core i7, carte nvidia | Portable : Asus ul80vt
Titre d'un sujet : [Thème] Sujet (état)
Omisviden
newbie
Messages : 7
Inscription : sam. 03 oct. 2020, 20:20

Re: [démarrage] Temps de démarrage >90s

Message par Omisviden »

Tu ne devrais pas utiliser 2 services réseaux en même temps !
Oups, je ne sais pas trop ce qui a pu se passer pendant l'installation :?
Je vais me débarrasser de netctl, merci pour le conseil!

Voilà le grep:

Code : Tout sélectionner

/etc/netctl/smartcampus:Interface=wlan0
/etc/netctl/examples/wireless-wpa-static:Interface=wlan0
/etc/netctl/examples/wireless-wpa-config:Interface=wlan0
/etc/netctl/examples/wireless-wep:Interface=wlan0
/etc/netctl/examples/wireless-wpa-configsection:Interface=wlan0
/etc/netctl/examples/wireless-wpa:Interface=wlan0
/etc/netctl/examples/wireless-open:Interface=wlan0
/etc/systemd/system/netctl@smartcampus.service.d/profile.conf:BindsTo=sys-subsystem-net-devices-wlan0.device
/etc/systemd/system/netctl@smartcampus.service.d/profile.conf:After=sys-subsystem-net-devices-wlan0.device
/etc/systemd/system/netctl@oui.service.d/profile.conf:BindsTo=sys-subsystem-net-devices-wlan0.device
/etc/systemd/system/netctl@oui.service.d/profile.conf:After=sys-subsystem-net-devices-wlan0.device
Et le find:

Code : Tout sélectionner

/etc/systemd/system
/etc/systemd/system/network-online.target.wants
/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service
/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
/etc/systemd/system/sysinit.target.wants
/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
/etc/systemd/system/systemd-journald-audit.socket
/etc/systemd/system/netctl@smartcampus.service.d
/etc/systemd/system/netctl@smartcampus.service.d/profile.conf
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/netctl@oui.service
/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/etc/systemd/system/multi-user.target.wants/netctl@smartcampus.service
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/system/graphical.target.wants
/etc/systemd/system/graphical.target.wants/upower.service
/etc/systemd/system/netctl@oui.service.d
/etc/systemd/system/netctl@oui.service.d/profile.conf
/etc/systemd/system/dbus-org.freedesktop.timesync1.service
/etc/systemd/system/getty.target.wants
/etc/systemd/system/getty.target.wants/getty@tty1.service
Omisviden
newbie
Messages : 7
Inscription : sam. 03 oct. 2020, 20:20

Re: [démarrage] Temps de démarrage >90s (Résolu)

Message par Omisviden »

C'est tout bon, supprimer netctl et conserver networkmanager a fait passer mon temps de démarrage de 110s à quasi instantané.
Encore merci! :)
benjarobin
Maître du Kyudo
Messages : 16075
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [démarrage] Temps de démarrage >90s (Résolu)

Message par benjarobin »

Si ce n'est pas fait, tu dois aussi faire le ménage :

Code : Tout sélectionner

rm -rf /etc/systemd/system/netctl* /etc/netctl/ /etc/systemd/system/multi-user.target.wants/netctl*
Ce qui est sûr c'est que c'est toi qui a ajouté smartcampus, et oui...
Zsh | KDE | PC fixe : core i7, carte nvidia | Portable : Asus ul80vt
Titre d'un sujet : [Thème] Sujet (état)
Répondre