Page 3 sur 3

Re: Arrêt bloqué sur "Reached target shutdown"

Posté : lun. 23 avr. 2018 22:29
par JackB

Dernier message de la page précédente :

Merci tyrry pour ton aide.
J'ai suivis la procédure que tu m'a indiqué, toujours le même problème.

Puis j'ai tester à nouveau

Code : Tout sélectionner

systemctl poweroff --force
Et là l'arrêt s'est bloqué sur ces lignes (désolé pour la qualité, je ne sais pas si c'est possible de faire un capture d'écran à ce moment là ?)
Image

Re: Arrêt bloqué sur "Reached target shutdown"

Posté : mar. 24 avr. 2018 15:28
par Tux61
JackB a écrit :Je te remercie, j'ai réussi à tester le noyau 4.4.0-119
Toujours aucun résultats.
En ce qui me concerne l'utilisation de ce noyau a bien corrigé le problème qui était exactement celui que tu rencontres ! Super, merci !
Mon PC est un vieux portable TOSHIBA P200-1FC : l'installation de Mint 18.3 XFCE sur un SSD en remplacement du Windows Vista sur le disque mécanique a littéralement transformé la machine.
C'est la première fois que je rencontre un souci lié à un noyau... Après 20 ans de Linux il y a un début à tout !

Pour revenir à ton cas tu es bien sûr d'avoir booté sur le 4.4.0-119 ?

Re: Arrêt bloqué sur "Reached target shutdown"

Posté : mar. 24 avr. 2018 17:32
par JackB
Tux61 a écrit :
JackB a écrit :Je te remercie, j'ai réussi à tester le noyau 4.4.0-119
Toujours aucun résultats.
En ce qui me concerne l'utilisation de ce noyau a bien corrigé le problème qui était exactement celui que tu rencontres ! Super, merci !
Mon PC est un vieux portable TOSHIBA P200-1FC : l'installation de Mint 18.3 XFCE sur un SSD en remplacement du Windows Vista sur le disque mécanique a littéralement transformé la machine.
C'est la première fois que je rencontre un souci lié à un noyau... Après 20 ans de Linux il y a un début à tout !

Pour revenir à ton cas tu es bien sûr d'avoir booté sur le 4.4.0-119 ?
Merci pour ton retour ! Oui j'avais bien booté sur le 4.4.0-119. Peut-être en essayer un plus ancien ?

Merci cyrille pour ces commandes (même si je ne sais pas à elles correspondent :oops: ).
1

Code : Tout sélectionner

cat /etc/fstab
Donne >>

Code : Tout sélectionner

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=e5bda003-0b79-4273-8e41-8cc12aff5261 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=89c67e4e-edc0-4a6b-87f1-a451c91094f6 none            swap    sw              0       0
2 Le fichier var/log/wtmp est vide.

3

Code : Tout sélectionner

mount
Donne >>

Code : Tout sélectionner

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=481240k,nr_inodes=120310,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=101300k,mode=755)
/dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (rw,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma,release_agent=/run/cgmanager/agents/cgm-release-agent.rdma)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,release_agent=/run/cgmanager/agents/cgm-release-agent.pids)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14183)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=101300k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
4

Code : Tout sélectionner

journalctl -b -1 -e
Donne >>

Code : Tout sélectionner

Specifying boot ID has no effect, no persistent journal was found
Ce qui veut dire que la journalisation n'est pas installée ? Comment fait-on pour l'installer ?
Désolé, je débute ...

Re: Arrêt bloqué sur "Reached target shutdown"

Posté : mar. 24 avr. 2018 18:01
par arghlub
Salut,
JackB a écrit :2 Le fichier var/log/wtmp est vide.
Refais la commande :

Code : Tout sélectionner

sudo halt -w
Puis pour lire le fichier journal «/var/log/wtmp», il faut utiliser la commande «last» (le format de ce log est particulier) :

Code : Tout sélectionner

last
ou

Code : Tout sélectionner

last -f /var/log/wtmp
;)

Re: Arrêt bloqué sur "Reached target shutdown"

Posté : mar. 24 avr. 2018 19:02
par Tux61
JackB a écrit :
Tux61 a écrit :
JackB a écrit :Je te remercie, j'ai réussi à tester le noyau 4.4.0-119
Toujours aucun résultats.
En ce qui me concerne l'utilisation de ce noyau a bien corrigé le problème qui était exactement celui que tu rencontres ! Super, merci !
Mon PC est un vieux portable TOSHIBA P200-1FC : l'installation de Mint 18.3 XFCE sur un SSD en remplacement du Windows Vista sur le disque mécanique a littéralement transformé la machine.
C'est la première fois que je rencontre un souci lié à un noyau... Après 20 ans de Linux il y a un début à tout !

Pour revenir à ton cas tu es bien sûr d'avoir booté sur le 4.4.0-119 ?
Merci pour ton retour ! Oui j'avais bien booté sur le 4.4.0-119. Peut-être en essayer un plus ancien ?

...
Pour faire un test j'avais booté avec une clef USB contenant une Linux Lite (pas mal dû tout comme distribution soit dit au passage) : l'arrêt fonctionnait correctement. La version 3.8 contient un noyau 4.4.0-63.
Tu peux peut-être faire un essai ? Bon courage

Re: Arrêt bloqué sur "Reached target shutdown"

Posté : mar. 24 avr. 2018 19:11
par JackB
Alors, j'ai essayer en usb live Mint xfce 32 bit (celui installé) et Lubuntu, je n'ai plus la version sous la main.
Les deux donnent la même chose. Ok je peut essayer Linux Lite.

Voici le log /var/log/wtmp :

Code : Tout sélectionner

catherin tty7         :0               Tue Apr 24 19:01    gone - no logout
reboot   system boot  4.13.0-38-generi Tue Apr 24 19:01   still running
catherin tty7         :0               Tue Apr 24 18:12 - down   (00:01)
reboot   system boot  4.4.0-70-generic Tue Apr 24 18:12 - 18:14  (00:02)
catherin tty7         :0               Tue Apr 24 18:10 - down   (00:00)
reboot   system boot  4.13.0-38-generi Tue Apr 24 18:10 - 18:11  (00:01)
catherin tty7         :0               Tue Apr 24 17:36 - down   (00:32)
reboot   system boot  4.13.0-38-generi Tue Apr 24 17:36 - 18:08  (00:32)
catherin tty7         :0               Sat Apr 28 01:05 - down  (-3+-7:-31)
reboot   system boot  4.13.0-38-generi Sat Apr 28 01:04 - 17:33 (-3+-7:-30)
catherin tty7         :0               Tue Apr 24 00:32 - down   (05:50)
reboot   system boot  4.13.0-38-generi Tue Apr 24 00:32 - 06:23  (05:50)
catherin tty7         :0               Mon Apr 23 22:15 - 22:17  (00:02)
reboot   system boot  4.13.0-38-generi Mon Apr 23 22:15 - 06:23  (08:08)
catherin tty7         :0               Mon Apr 23 22:13 - down   (00:00)
reboot   system boot  4.13.0-38-generi Mon Apr 23 22:13 - 22:14  (00:01)
catherin tty7         :0               Tue Apr  3 21:27 - down  (20+00:44)
reboot   system boot  4.13.0-38-generi Tue Apr  3 21:26 - 22:12 (20+00:45)
catherin tty7         :0               Sun Apr 22 19:38 - crash (-18+-22:-11)
reboot   system boot  4.4.0-119-generi Sun Apr 22 19:37 - 22:12 (1+02:34)
catherin tty7         :0               Sun Apr 22 19:35 - crash  (00:01)
reboot   system boot  4.13.0-38-generi Sun Apr 22 19:35 - 22:12 (1+02:37)
catherin tty7         :0               Sun Apr 22 19:32 - crash  (00:02)
reboot   system boot  4.13.0-38-generi Sun Apr 22 19:32 - 22:12 (1+02:39)
catherin tty7         :0               Sun Apr 22 16:57 - crash  (02:34)
reboot   system boot  4.13.0-38-generi Sun Apr 22 16:56 - 22:12 (1+05:15)
catherin tty7         :0               Sun Apr 22 16:40 - down   (00:16)
reboot   system boot  4.13.0-38-generi Sun Apr 22 16:39 - 16:56  (00:16)
catherin tty7         :0               Sun Apr 22 16:36 - down   (00:02)
reboot   system boot  4.13.0-38-generi Sun Apr 22 16:35 - 16:39  (00:03)
catherin tty7         :0               Fri Apr 20 09:07 - down  (2+07:28)
reboot   system boot  4.10.0-38-generi Fri Apr 20 09:06 - 16:35 (2+07:28)
catherin tty7         :0               Fri Apr 20 06:54 - crash  (02:12)
reboot   system boot  4.10.0-38-generi Fri Apr 20 06:54 - 16:35 (2+09:41)
catherin tty7         :0               Fri Apr 20 05:24 - crash  (01:29)
reboot   system boot  4.10.0-38-generi Fri Apr 20 05:23 - 16:35 (2+11:11)
catherin tty7         :0               Fri Apr 20 05:20 - down   (00:02)
reboot   system boot  4.10.0-38-generi Fri Apr 20 05:20 - 05:23  (00:02)
catherin tty7         :0               Fri Apr 20 05:05 - 05:07  (00:02)
reboot   system boot  4.10.0-38-generi Fri Apr 20 05:05 - 05:23  (00:17)
catherin tty7         :0               Fri Apr 20 04:57 - crash  (00:07)
reboot   system boot  4.10.0-38-generi Fri Apr 20 04:57 - 05:23  (00:25)
catherin tty7         :0               Fri Apr 20 04:53 - crash  (00:04)
reboot   system boot  4.10.0-38-generi Fri Apr 20 04:52 - 05:23  (00:30)
catherin tty7         :0               Fri Apr 20 04:50 - down   (00:02)
reboot   system boot  4.10.0-38-generi Fri Apr 20 04:49 - 04:52  (00:02)
catherin tty7         :0               Thu Apr 19 19:50 - crash  (08:58)
reboot   system boot  4.10.0-38-generi Thu Apr 19 19:50 - 04:52  (09:01)
catherin tty7         :0               Thu Apr 12 00:03 - down  (7+19:06)
reboot   system boot  4.10.0-38-generi Thu Apr 12 00:03 - 19:10 (7+19:07)
catherin tty7         :0               Wed Apr 11 13:05 - down   (00:09)
reboot   system boot  4.10.0-38-generi Wed Apr 11 13:04 - 13:14  (00:09)
catherin tty7         :0               Wed Apr 11 11:48 - crash  (01:16)
reboot   system boot  4.10.0-38-generi Wed Apr 11 11:47 - 13:14  (01:26)
catherin tty7         :0               Wed Apr 11 10:59 - down   (00:03)
reboot   system boot  4.10.0-38-generi Wed Apr 11 10:58 - 11:03  (00:04)
catherin tty7         :0               Wed Apr 11 10:54 - down   (00:03)
reboot   system boot  4.10.0-38-generi Wed Apr 11 10:54 - 10:57  (00:03)
catherin tty7         :0               Wed Apr 11 10:38 - crash  (00:15)
reboot   system boot  4.10.0-38-generi Wed Apr 11 10:38 - 10:57  (00:19)
catherin tty7         :0               Wed Apr 11 07:51 - crash  (02:46)
reboot   system boot  4.10.0-38-generi Wed Apr 11 07:50 - 10:57  (03:07)
catherin tty7         :0               Wed Apr 11 07:07 - down   (00:42)
reboot   system boot  4.10.0-38-generi Wed Apr 11 07:07 - 07:50  (00:42)
catherin tty7         :0               Wed Apr 11 06:53 - down   (00:13)
reboot   system boot  4.10.0-38-generi Wed Apr 11 06:53 - 07:06  (00:13)
catherin tty7         :0               Wed Apr 11 06:45 - down   (00:06)
reboot   system boot  4.10.0-38-generi Wed Apr 11 06:44 - 06:51  (00:07)
catherin tty7         :0               Tue Apr 10 20:37 - crash  (10:07)
reboot   system boot  4.10.0-38-generi Tue Apr 10 20:37 - 06:51  (10:14)
catherin tty7         :0               Tue Apr 10 20:20 - crash  (00:16)
reboot   system boot  4.10.0-38-generi Tue Apr 10 20:19 - 06:51  (10:31)
guest-ak tty8         :1               Tue Apr 10 20:04 - down   (00:13)
catherin tty7         :0               Tue Apr 10 19:54 - down   (00:23)
reboot   system boot  4.10.0-38-generi Tue Apr 10 19:54 - 20:18  (00:24)
catherin tty7         :0               Tue Apr 10 19:49 - down   (00:03)
reboot   system boot  4.10.0-38-generi Tue Apr 10 19:49 - 19:53  (00:03)
catherin tty7         :0               Tue Apr 10 19:46 - down   (00:01)
reboot   system boot  4.10.0-38-generi Tue Apr 10 19:46 - 19:48  (00:01)
catherin tty7         :0               Tue Apr 10 18:17 - down   (00:01)
reboot   system boot  4.10.0-38-generi Tue Apr 10 18:16 - 18:19  (00:02)

wtmp begins Tue Apr 10 18:16:41 2018
Le disque dur est un HDD.
Encore merci pour ton temps passé à m'aider :)

Re: Arrêt bloqué sur "Reached target shutdown"

Posté : mer. 25 avr. 2018 05:38
par tyrry
Slt ,
dsl en ce moment , compliquer par ici ;)

édite ton fstab :

Code : Tout sélectionner

sudo xed /etc/fstab
remplace le contenu par ceci :

Code : Tout sélectionner

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=e5bda003-0b79-4273-8e41-8cc12aff5261    /	     ext4	rw,errors=remount-ro,noatime     0	    1
# swap was on /dev/sda5 during installation
UUID=89c67e4e-edc0-4a6b-87f1-a451c91094f6     swap	swap	sw	0	0
redémarre et test ;)
explication : plusieurs "tite erreurs dans fstab mais surtout il te manquait l'option rw , pas le temps là mais tu trouveras des infos sur le net ;) "
@+

Re: Arrêt bloqué sur "Reached target shutdown"

Posté : mer. 25 avr. 2018 07:06
par JackB
Salut,
c'est fait ! Mais toujours pareil.

Re: Arrêt bloqué sur "Reached target shutdown"

Posté : mer. 2 mai 2018 12:32
par izd27
Bonjour @ toutes & tous,
Si mon expérience peut aider sur le sujet :
J'ai expérimenté ce problème de la non extinction du pc sur une config toute neuve montée par mes soins.
Après lecture de ce post, j'ai tenté de blacklister le module comme préconisé, sans succès...
Je suis passé à la dernière version du noyau, pas mieux...
Connaissant Linux depuis plus de 10 ans, j'ai eu peine à croire que le problème vienne uniquement du système.
Je me suis alors penché sur le paramétrage du bios de la carte mère et en modifiant divers paramètres, VICTOIRE !
Désolé de ne pouvoir vous donner plus d'indications techniques mais je n'ai plus la bécane sous la main et de toute façon, les bios sont tellement divers et variés...
Ce que je peux vous dire, c'est que je me suis attaché à modifier tout ce qui concerne les options/périphériques de sécurité et la gestion de l'énergie.
nb: Je ne sais pas si cela a de l'importance mais j'ai paramétré la carte mère en CSM et non en UEFI (dès le début).

@+ Les Z'Amis ;)