GNU bug report logs -
#40682
Installer hangs while connecting to WiFi network
Previous Next
Reported by: SergioBG BG <sergiobgar <at> gmail.com>
Date: Fri, 17 Apr 2020 15:51:02 UTC
Severity: important
Tags: moreinfo
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40682 in the body.
You can then email your comments to 40682 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Fri, 17 Apr 2020 15:51:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
SergioBG BG <sergiobgar <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 17 Apr 2020 15:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi, the installer frozen when connect with wifi.
The driver ath9k_htc is loaded but the installer is frozen.
Does not ask for the wifi password.
Sorry for my english.
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Fri, 17 Apr 2020 20:52:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 40682 <at> debbugs.gnu.org (full text, mbox):
Hi SergioBG,
SergioBG BG <sergiobgar <at> gmail.com> skribis:
> Hi, the installer frozen when connect with wifi.
> The driver ath9k_htc is loaded but the installer is frozen.
> Does not ask for the wifi password.
Could you send a picture of the installer WiFi screen when it’s frozen?
Could you then hit ctrl-alt-f12 and take a picture of what’s printed
there?
> Sorry for my english.
No problem. If you prefer you can write in French, German, or Spanish
and someone will be able to answer you (developers speak other languages
too but these are the most common.)
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Sat, 18 Apr 2020 16:57:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 40682 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Here the screenshot of Frozen.
El vie., 17 abr. 2020 22:51, Ludovic Courtès <ludo <at> gnu.org> escribió:
> Hi SergioBG,
>
> SergioBG BG <sergiobgar <at> gmail.com> skribis:
>
> > Hi, the installer frozen when connect with wifi.
> > The driver ath9k_htc is loaded but the installer is frozen.
> > Does not ask for the wifi password.
>
> Could you send a picture of the installer WiFi screen when it’s frozen?
>
> Could you then hit ctrl-alt-f12 and take a picture of what’s printed
> there?
>
> > Sorry for my english.
>
> No problem. If you prefer you can write in French, German, or Spanish
> and someone will be able to answer you (developers speak other languages
> too but these are the most common.)
>
> Thanks,
> Ludo’.
>
[Message part 2 (text/html, inline)]
[IMG_20200418_101625.jpg (image/jpeg, attachment)]
[IMG_20200418_101810.jpg (image/jpeg, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Sat, 18 Apr 2020 21:40:02 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
---------- Forwarded message ---------
De: SergioBG BG <sergiobgar <at> gmail.com>
Date: sáb., 18 abr. 2020 a las 10:20
Subject: Re: bug#40682: frozen installer in WiFi section -guix 1.1.0
To: Ludovic Courtès <ludo <at> gnu.org>
Here the screenshot of Frozen.
El vie., 17 abr. 2020 22:51, Ludovic Courtès <ludo <at> gnu.org> escribió:
> Hi SergioBG,
>
> SergioBG BG <sergiobgar <at> gmail.com> skribis:
>
> > Hi, the installer frozen when connect with wifi.
> > The driver ath9k_htc is loaded but the installer is frozen.
> > Does not ask for the wifi password.
>
> Could you send a picture of the installer WiFi screen when it’s frozen?
>
> Could you then hit ctrl-alt-f12 and take a picture of what’s printed
> there?
>
> > Sorry for my english.
>
> No problem. If you prefer you can write in French, German, or Spanish
> and someone will be able to answer you (developers speak other languages
> too but these are the most common.)
>
> Thanks,
> Ludo’.
>
[Message part 2 (text/html, inline)]
[IMG_20200418_101625.jpg (image/jpeg, attachment)]
[IMG_20200418_101810.jpg (image/jpeg, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Sat, 18 Apr 2020 23:31:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 40682 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
SergioBG BG <sergiobgar <at> gmail.com> skribis:
> Here the screenshot of Frozen.
Thanks. Looking at the screenshot, it would seem that the installer is
stuck somewhere in ‘connman-connect-with-auth’, but it’s hard to tell
why/where.
I was able to reproduce it in ‘guix system vm’ with the patch below.
Cc: Mathieu in case they have an idea…
To be continued…
Thanks,
Ludo’.
PS: Nyacc contains libdbus bindings as an example of its FFI tooling,
perhaps we should give it a try and use it here. It could be more
robust than piping through ‘connmanctl’.
[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 0965c4d237..826f6d356d 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -322,6 +322,52 @@ the user's target storage device rather than on the RAM disk."
"Load the @code{uvesafb} kernel module with the right options.")
(default-value #t)))
+(define (simulated-wifi-shepherd-services hostapd)
+ (define config
+ (plain-file "hostapd.conf" "\
+interface=wlan1
+ssid=Test Net
+channel=1\n"))
+
+ (list (shepherd-service
+ (provision '(hostapd))
+ (requirement '(mac-sim-module unblocked-wifi))
+ (start #~(make-forkexec-constructor
+ (list #$(file-append hostapd "/sbin/hostapd")
+ #$config)
+ #:log-file "/var/log/hostapd.log"))
+ (stop #~(make-kill-destructor)))
+ (shepherd-service
+ (provision '(unblocked-wifi))
+ (requirement '(mac-sim-module))
+ (start #~(lambda _
+ (invoke #$(file-append util-linux "/sbin/rfkill")
+ "unblock" "0")
+ (invoke #$(file-append util-linux "/sbin/rfkill")
+ "unblock" "1")))
+ (one-shot? #t))
+ (shepherd-service
+ (provision '(mac-sim-module))
+ (requirement '(term-tty3))
+ (modules '((guix build utils)))
+ (start #~(lambda _
+ ;; XXX: We can't use 'load-linux-module*' here because it
+ ;; expects a flat module directory.
+ (setenv "LINUX_MODULE_DIRECTORY"
+ "/run/booted-system/kernel/lib/modules")
+ (invoke #$(file-append kmod "/bin/modprobe")
+ "mac80211_hwsim")))
+ (one-shot? #t))))
+
+(define simulated-wifi-service-type
+ (service-type
+ (name 'simulated-wifi)
+ (extensions
+ (list (service-extension shepherd-root-service-type
+ simulated-wifi-shepherd-services)))
+ (default-value hostapd)
+ (description "Run hostapd to simulate WiFi connectivity.")))
+
(define %installation-services
;; List of services of the installation system.
(let ((motd (plain-file "motd" "
@@ -366,6 +412,8 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m
;; The usual services.
(syslog-service)
+ (service simulated-wifi-service-type)
+
;; The build daemon. Register the default substitute server key(s)
;; as trusted to allow the installation process to use substitutes by
;; default.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Sun, 19 Apr 2020 09:58:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 40682 <at> debbugs.gnu.org (full text, mbox):
Hey,
I believe this is fixed by ea6594e0 on master.
This is indeed very fragile, and converting it to D-Bus would be the
right move. I will have a look to Nyacc! Writing a clean Guile-Dbus
library could also be a nice and valuable GSoC/Outreachy project.
In the meantime, could we merge your patch so that we have a hidden
simulated Wifi network available, that can be used in the installer
tests?
Thanks,
Mathieu
Severity set to 'important' from 'normal'
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 19 Apr 2020 14:30:02 GMT)
Full text and
rfc822 format available.
Changed bug title to 'Installer hangs while connecting to WiFi network' from 'frozen installer in WiFi section -guix 1.1.0'
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 19 Apr 2020 14:31:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Sun, 19 Apr 2020 22:27:02 GMT)
Full text and
rfc822 format available.
Message #27 received at 40682 <at> debbugs.gnu.org (full text, mbox):
Hi,
Mathieu Othacehe <m.othacehe <at> gmail.com> skribis:
> I believe this is fixed by ea6594e0 on master.
Good catch!
> This is indeed very fragile, and converting it to D-Bus would be the
> right move. I will have a look to Nyacc! Writing a clean Guile-Dbus
> library could also be a nice and valuable GSoC/Outreachy project.
Yes, it would be ideal to have a pure-Scheme implementation, but in the
meantime, perhaps generated bindings via Nyacc could work well enough.
> In the meantime, could we merge your patch so that we have a hidden
> simulated Wifi network available, that can be used in the installer
> tests?
I’ve now pushed it as two proper service types: ‘hostapd-service-type’
and ‘simulated-wifi-service-type’, the latter using parts of the former.
Note that currently the installer tests bypass connectivity checks
altogether, but perhaps we can still check what comes before, namely
network selection?
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Mon, 20 Apr 2020 17:21:01 GMT)
Full text and
rfc822 format available.
Message #30 received at 40682 <at> debbugs.gnu.org (full text, mbox):
Hey,
> I’ve now pushed it as two proper service types: ‘hostapd-service-type’
> and ‘simulated-wifi-service-type’, the latter using parts of the former.
>
> Note that currently the installer tests bypass connectivity checks
> altogether, but perhaps we can still check what comes before, namely
> network selection?
Yes, maybe we can skip only the connectivity check but still try to
connect to some network. I will have a look later this week.
Almost unrelated topic, it would be nice to provide an interface where
users can grab a nightly/periodic build of the installer and test the
latest fixes. We are already have "usb-image" and "iso9660-image" jobs
in Cuirass. So it could be a link allowing to download the latest
successful build or so.
Thanks,
Mathieu
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Mon, 20 Apr 2020 19:42:01 GMT)
Full text and
rfc822 format available.
Message #33 received at 40682 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
This is good idea for users.
El lun., 20 abr. 2020 a las 19:20, Mathieu Othacehe (<m.othacehe <at> gmail.com>)
escribió:
>
> Hey,
>
> > I’ve now pushed it as two proper service types: ‘hostapd-service-type’
> > and ‘simulated-wifi-service-type’, the latter using parts of the former.
> >
> > Note that currently the installer tests bypass connectivity checks
> > altogether, but perhaps we can still check what comes before, namely
> > network selection?
>
> Yes, maybe we can skip only the connectivity check but still try to
> connect to some network. I will have a look later this week.
>
> Almost unrelated topic, it would be nice to provide an interface where
> users can grab a nightly/periodic build of the installer and test the
> latest fixes. We are already have "usb-image" and "iso9660-image" jobs
> in Cuirass. So it could be a link allowing to download the latest
> successful build or so.
>
> Thanks,
>
> Mathieu
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Tue, 21 Apr 2020 14:51:02 GMT)
Full text and
rfc822 format available.
Message #36 received at 40682 <at> debbugs.gnu.org (full text, mbox):
Hi,
Mathieu Othacehe <m.othacehe <at> gmail.com> skribis:
> Almost unrelated topic, it would be nice to provide an interface where
> users can grab a nightly/periodic build of the installer and test the
> latest fixes. We are already have "usb-image" and "iso9660-image" jobs
> in Cuirass. So it could be a link allowing to download the latest
> successful build or so.
Yes, it would be nice. We’d need to allow Cuirass to somehow publish
raw files, like Hydra does.
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Mon, 11 May 2020 18:19:02 GMT)
Full text and
rfc822 format available.
Message #39 received at 40682 <at> debbugs.gnu.org (full text, mbox):
Can you tell the user to connect to the network manually instead of getting stuck at graphical wifi connection? That would allow to bypass the problem and continue with the installation.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Mon, 11 May 2020 18:50:02 GMT)
Full text and
rfc822 format available.
Message #42 received at 40682 <at> debbugs.gnu.org (full text, mbox):
What is the status of this bug?
If we have a fix, can we make a new installer image? There are people on
#guix having trouble getting online in the installer, and I think they
are hitting this issue.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Tue, 12 May 2020 08:56:01 GMT)
Full text and
rfc822 format available.
Message #45 received at 40682 <at> debbugs.gnu.org (full text, mbox):
Hey Leo,
> If we have a fix, can we make a new installer image? There are people on
> #guix having trouble getting online in the installer, and I think they
> are hitting this issue.
This bug has been fixed with ea6594e0. However, I left the ticket open
because I'm supposed to add some testing using the hostapd service Ludo
proposed.
Regarding providing a new image, I proposed a patch here[1] so that
Cuirass can host fresh installation images built upon master.
Thanks,
Mathieu
[1]: https://lists.gnu.org/archive/html/guix-patches/2020-05/msg00001.html
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Tue, 12 May 2020 09:14:02 GMT)
Full text and
rfc822 format available.
Message #48 received at 40682 <at> debbugs.gnu.org (full text, mbox):
Alternative URL: https://issues.guix.gnu.org/40993
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Sat, 08 Oct 2022 03:09:01 GMT)
Full text and
rfc822 format available.
Message #51 received at 40682 <at> debbugs.gnu.org (full text, mbox):
Hello,
Mathieu Othacehe <othacehe <at> gnu.org> writes:
> Hey Leo,
>
>> If we have a fix, can we make a new installer image? There are people on
>> #guix having trouble getting online in the installer, and I think they
>> are hitting this issue.
>
> This bug has been fixed with ea6594e0. However, I left the ticket open
> because I'm supposed to add some testing using the hostapd service Ludo
> proposed.
Are these still in your plans? Otherwise let's close this old,
high severity bug.
> Regarding providing a new image, I proposed a patch here[1] so that
> Cuirass can host fresh installation images built upon master.
This has been implemented for a while, congrats!
--
Thanks,
Maxim
Added tag(s) moreinfo.
Request was from
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 08 Oct 2022 03:09:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40682
; Package
guix
.
(Thu, 03 Nov 2022 10:05:02 GMT)
Full text and
rfc822 format available.
Message #56 received at 40682 <at> debbugs.gnu.org (full text, mbox):
Hi,
On Fri, 07 Oct 2022 at 23:07, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
>> This bug has been fixed with ea6594e0. However, I left the ticket open
>> because I'm supposed to add some testing using the hostapd service Ludo
>> proposed.
>
> Are these still in your plans? Otherwise let's close this old,
> high severity bug.
Friendly ping. :-)
Cheers,
simon
Reply sent
to
Mathieu Othacehe <othacehe <at> gnu.org>
:
You have taken responsibility.
(Thu, 03 Nov 2022 11:24:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
SergioBG BG <sergiobgar <at> gmail.com>
:
bug acknowledged by developer.
(Thu, 03 Nov 2022 11:24:02 GMT)
Full text and
rfc822 format available.
Message #61 received at 40682-done <at> debbugs.gnu.org (full text, mbox):
Hey,
>> Are these still in your plans? Otherwise let's close this old,
>> high severity bug.
>
> Friendly ping. :-)
Yeah, we didn't have other reports regarding WiFi connections, so lets
close it.
Thanks,
Mathieu
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 01 Dec 2022 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 118 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.