all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
Cc: 40572@debbugs.gnu.org
Subject: bug#40572: installer networking: Connman detects no technologies on Acer Aspire
Date: Tue, 14 Apr 2020 16:36:12 +0200	[thread overview]
Message-ID: <87o8ruw2w3.fsf@gnu.org> (raw)
In-Reply-To: <20200414120034.igkvqez4clu7rr4o@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Tue, 14 Apr 2020 14:00:34 +0200")

[-- Attachment #1: Type: text/plain, Size: 2786 bytes --]

Hi Florian,

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:

> On Tue, Apr 14, 2020 at 11:40:53AM +0200, pelzflorian (Florian Pelz) wrote:
>> On Tue, Apr 14, 2020 at 11:03:55AM +0200, Ludovic Courtès wrote:
>> > To confirm this hypothesis, we need to run “strace -t”, see below (sorry
>> > for not thinking about doing it!).  If you can try again with the patch
>> > below, that’s awesome.  Then we’ll compare the timestamps in
>> > /var/log/messages and those in the strace log.
>> 
>> Will do.  I will only send /var/log/messages and /dbus.* traces then.
>> 
>
> Logs are attached.

Woow, the first dbus-daemon process needs 20s from exec to PID file:

--8<---------------cut here---------------start------------->8---
13:46:06 execve("/gnu/store/nlb24nrrrkn2h9vflnqigcf2hx58rvyx-dbus-1.12.16/bin/dbus-daemon", ["/gnu/store/nlb24nrrrkn2h9vflnqigcf2hx58rvyx-dbus-1.12.16/bin/dbus-daemon", "--nofork", "--system", "--syslog-only"], 0x7ffc94ca62c8 /* 1 var */) = 0
[…]
13:46:14 openat(AT_FDCWD, "/gnu/store/vclzrvbxac8ipc8g1ncq5gjjj8gdvxw3-connman-1.38/etc/dbus-1/system.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
13:46:16 fstat(4, {st_mode=S_IFDIR|0555, st_size=2048, ...}) = 0
[…]
13:46:19 openat(AT_FDCWD, "/gnu/store/mw57n9nj3y20bfm9ijcbpm16gpsik6sg-polkit-0.116/etc/dbus-1/system.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
13:46:21 fstat(4, {st_mode=S_IFDIR|0555, st_size=2048, ...}) = 0
[…]
13:46:21 bind(4, {sa_family=AF_UNIX, sun_path="/var/run/dbus/system_bus_socket"}, 33) = 0
[…]
13:46:26 openat(AT_FDCWD, "/var/run/dbus/pid", O_WRONLY|O_CREAT|O_EXCL, 0644) = 5
13:46:26 fcntl(5, F_GETFL)              = 0x8001 (flags O_WRONLY|O_LARGEFILE)
13:46:26 fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
13:46:26 write(5, "212\n", 4)           = 4
13:46:26 close(5)                       = 0
--8<---------------cut here---------------end--------------->8---

Some of the openat(2) calls take no less than 2s (probably due to DVD
seek time + decompression time).

In parallel we see:

--8<---------------cut here---------------start------------->8---
Apr 14 13:46:08 localhost shepherd[1]: Service dbus-system could not be started. 
Apr 14 13:46:08 localhost shepherd[1]: Service networking depends on dbus-system. 
--8<---------------cut here---------------end--------------->8---

This happens 2s after exec, meaning that it already took 3s to go from
“start dbus” to “process forked + exec’d”.

Could you build an ISO image with the patch below on top of
bd4c345ef7ddf3542662fe0872b06393b414a3fc and confirm that it works for
you?  Run:

  ./pre-inst-env guix system disk-image \
     --file-system-type=iso9660 gnu/system/install.scm

Thanks,
Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 779 bytes --]

diff --git a/gnu/services/shepherd.scm b/gnu/services/shepherd.scm
index bad089844d..0102ac3490 100644
--- a/gnu/services/shepherd.scm
+++ b/gnu/services/shepherd.scm
@@ -298,6 +298,11 @@ and return the resulting '.go' file."
               (apply register-services
                      (map load-compiled '#$(map scm->go files)))))
 
+          ;; Booting off a DVD on a slow machine can make everything slow.
+          ;; Thus, increase the timeout compared to the default 5s in the
+          ;; Shepherd 0.7.0.  See <https://bugs.gnu.org/40572>.
+          (set! (@@ (shepherd service) %pid-file-timeout) 30)
+
           (format #t "starting services...~%")
           (for-each (lambda (service)
                       ;; In the Shepherd 0.3 the 'start' method can raise

  reply	other threads:[~2020-04-14 16:51 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-24 20:06 bug#38735: GuixSD graphical Installer hangs on connecting to wifi Jesse Gibbons
2019-12-26 20:32 ` Danny Milosavljevic
2019-12-29 16:01   ` Ludovic Courtès
2020-01-03  4:10     ` Jesse Gibbons
2020-04-12  9:19 ` 1.1.0rc2 available for testing! Ludovic Courtès
2020-04-12  9:35   ` Danny Milosavljevic
2020-04-12  9:38     ` Danny Milosavljevic
2020-04-12  9:36   ` pelzflorian (Florian Pelz)
2020-04-12 12:09   ` bug#40572: installer networking: Connman detects no technologies on Acer Aspire pelzflorian (Florian Pelz)
2020-04-12 14:24     ` Mathieu Othacehe
2020-04-12 15:14       ` pelzflorian (Florian Pelz)
2020-04-12 15:41         ` pelzflorian (Florian Pelz)
2020-04-12 16:34           ` pelzflorian (Florian Pelz)
2020-04-12 17:28             ` pelzflorian (Florian Pelz)
2020-04-12 16:52         ` Danny Milosavljevic
2020-04-12 16:56           ` Danny Milosavljevic
2020-04-12 17:09           ` pelzflorian (Florian Pelz)
2020-04-12 17:45             ` pelzflorian (Florian Pelz)
2020-04-12 18:47               ` Danny Milosavljevic
2020-04-13  7:36                 ` pelzflorian (Florian Pelz)
2020-04-13 11:20               ` Danny Milosavljevic
2020-04-13 14:13                 ` Ludovic Courtès
2020-04-12 17:37         ` Mathieu Othacehe
2020-04-12 18:43           ` pelzflorian (Florian Pelz)
     [not found]             ` <87blnvmzub.fsf@gnu.org>
2020-04-13 11:57               ` pelzflorian (Florian Pelz)
2020-04-13 13:18                 ` Ludovic Courtès
2020-04-13 15:03                   ` pelzflorian (Florian Pelz)
     [not found]                     ` <20200413155202.rjmnp4v2vnrpq3vc@pelzflorian.localdomain>
2020-04-13 17:11                       ` Ludovic Courtès
2020-04-13 18:14                         ` pelzflorian (Florian Pelz)
2020-04-13 21:56                           ` pelzflorian (Florian Pelz)
2020-04-13 22:19                             ` Ludovic Courtès
2020-04-13 22:25                             ` Ludovic Courtès
2020-04-14  0:43                               ` pelzflorian (Florian Pelz)
2020-04-14  9:03                                 ` Ludovic Courtès
2020-04-14  9:40                                   ` pelzflorian (Florian Pelz)
2020-04-14 12:00                                     ` pelzflorian (Florian Pelz)
2020-04-14 14:36                                       ` Ludovic Courtès [this message]
2020-04-14 18:40                                         ` pelzflorian (Florian Pelz)
2020-04-14 20:17                                           ` Ludovic Courtès
2020-04-14 21:30                                             ` pelzflorian (Florian Pelz)
2020-04-14 21:50                                               ` Ludovic Courtès
2020-04-14 22:49                                         ` Bengt Richter
2020-04-13 22:24                         ` pelzflorian (Florian Pelz)
2020-04-13  7:42   ` 1.1.0rc2 available for testing! pelzflorian (Florian Pelz)
2020-04-13 10:41     ` Ludovic Courtès
2020-04-13 11:54       ` Mathieu Othacehe
2020-04-13 14:44         ` Ludovic Courtès
2020-04-14 12:25         ` Maxim Cournoyer
2020-04-14 14:24           ` Mathieu Othacehe
2020-04-15  1:22             ` Maxim Cournoyer
2020-04-15 16:58             ` Ludovic Courtès
2020-04-15 17:30               ` Mathieu Othacehe
2020-04-16  8:20                 ` Ludovic Courtès
2020-04-13 11:07   ` Robert Smith
2020-04-13 13:45     ` Ludovic Courtès
2020-04-13 15:56       ` Robert Smith
2020-04-13 20:28         ` Ludovic Courtès
2020-04-13 21:42           ` Robert Smith
2020-04-13 21:42           ` bug#38735: " Robert Smith
2020-04-13 20:28         ` Ludovic Courtès
2020-04-13 15:56       ` Robert Smith
2020-04-13 13:45     ` Ludovic Courtès
2020-04-15 14:07     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-04-15 14:07     ` Tobias Geerinckx-Rice
2020-04-15 14:15       ` bug#38735: " Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-04-13 11:07   ` Robert Smith
2020-04-13 14:42   ` Compressed ISO image got bigger Ludovic Courtès
2020-04-13 14:55     ` Jonathan Brielmaier
2020-04-13 20:37       ` Ludovic Courtès
2020-04-13 21:52         ` Tobias Geerinckx-Rice
2020-04-14 10:36           ` Ludovic Courtès
2020-04-14  9:37   ` bug#40624: installer: info manual language does not adapt to locale pelzflorian (Florian Pelz)
2020-04-14 11:02     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o8ruw2w3.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=40572@debbugs.gnu.org \
    --cc=pelzflorian@pelzflorian.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.