Gentoo Archives: gentoo-user

From: Amankwah <amankwah7@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] System hangs when poweroff with NFS mounted
Date: Sat, 01 Feb 2014 01:04:42
Message-Id: 20140201010405.GA70755@nas
In Reply to: Re: [gentoo-user] System hangs when poweroff with NFS mounted by "Canek Peláez Valdés"
1 On Fri, Jan 24, 2014 at 11:24:46AM -0600, Canek Peláez Valdés wrote:
2 > On Fri, Jan 24, 2014 at 9:45 AM, 刘洋 <amankwah7@×××××.com> wrote:
3 > > journalctl --boot=-1
4 > > -- Logs begin at Tuesday 2013-12-24 21:48:33 CST, end at Friday
5 > > 2014-01-24 22:38:38 CST. --
6 > > 1月 24 21:54:22 diamond systemd[3061]: Failed to open private bus
7 > > connection: Failed to connect to socket
8 > > /run/user/1000/dbus/user_bus_socket: No such file or directory
9 > > 1月 24 21:54:22 diamond systemd[3061]: Mounted /sys/kernel/config.
10 > > 1月 24 21:54:22 diamond systemd[3061]: Mounted /sys/fs/fuse/connections.
11 > > 1月 24 21:54:22 diamond systemd[3061]: Stopped target Bluetooth.
12 > > 1月 24 21:54:22 diamond systemd[3061]: Stopped target Sound Card.
13 > > 1月 24 21:54:22 diamond systemd[3061]: Starting Default.
14 > > 1月 24 21:54:22 diamond systemd[3061]: Reached target Default.
15 > > 1月 24 21:54:22 diamond systemd[3061]: Startup finished in 419ms.
16 > > 1月 24 21:54:31 diamond pulseaudio[3293]: [pulseaudio] pid.c: Daemon
17 > > already running.
18 > > 1月 24 21:54:31 diamond pulseaudio[3296]: [pulseaudio] pid.c: Daemon
19 > > already running.
20 > > 1月 24 21:54:31 diamond pulseaudio[3299]: [pulseaudio] pid.c: Daemon
21 > > already running.
22 > > 1月 24 21:54:31 diamond pulseaudio[3301]: [pulseaudio] pid.c: Daemon
23 > > already running.
24 > > 1月 24 21:55:01 diamond sudo[3362]: amankwah : TTY=pts/4 ;
25 > > PWD=/home/amankwah ; USER=root ; COMMAND=/bin/sh
26 > > 1月 24 22:34:32 diamond systemd[3061]: Stopping Default.
27 > > 1月 24 22:34:32 diamond systemd[3061]: Stopped target Default.
28 > > 1月 24 22:34:32 diamond systemd[3061]: Starting Shutdown.
29 > > 1月 24 22:34:32 diamond systemd[3061]: Reached target Shutdown.
30 > > 1月 24 22:34:49 diamond pulseaudio[3279]: [pulseaudio] core-util.c:
31 > > Failed to create secure directory (/run/user/1000/pulse): No such file
32 > > or directory
33 > >
34 > > These are the output of the command on my system after hangs. but why
35 > > I saw nothing about my NFS directories?
36 > >
37 > > I added the script to the path, and the system shutdown correctly, but
38 > > the time is too long, every NFS directory complained the timeout due
39 > > to and then umounted, maybe it took about 10 minutes for choosing the
40 > > shutdown under desktop to the system poweroff automatically.
41 >
42 > 10 minutes looks awfully long to me... and then I saw again your
43 > fstab. You explicitly set a timeout of 10 milliseconds; but what if
44 > there is a bug in systemd that parses 10ms (milliseconds) as 10m
45 > (minutes)?
46 >
47 > Just to try, change your fstab to set x-systemd.device-timeout=5;
48 > without a suffix, so the time specified should be in seconds.
49 >
50 It seems that takes my more than 10 minutes, too. I don't know why.
51
52 And when I saw the shutdown screen, the WPA_** process was killed before
53 the the NFS umounted. Maybe it the reason why all of the NFS filesystem
54 umount process were running after the wireless connection closed.
55
56 Maybe that's a BUG?
57
58 > Regards.
59 > --
60 > Canek Peláez Valdés
61 > Posgrado en Ciencia e Ingeniería de la Computación
62 > Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] System hangs when poweroff with NFS mounted "Canek Peláez Valdés" <caneko@×××××.com>