GuixSD graphical Installer hangs on connecting to wifi

  • Done
  • quality assurance status badge
Details
5 participants
  • Danny Milosavljevic
  • Jesse Gibbons
  • Ludovic Courtès
  • Tobias Geerinckx-Rice
  • Robert Smith
Owner
unassigned
Submitted by
Jesse Gibbons
Severity
important
Merged with

Debbugs page

J
J
Jesse Gibbons wrote on 24 Dec 2019 12:06
(name . bug-guix mailing list)(address . bug-guix@gnu.org)
d990d0ad446f711be1a72aad70a9086d1a5cc0e6.camel@gmail.com
I built the graphical installer locally. Here's what "guix describe"
outputs:

guix be0a613
branch: master
commit: be0a613c10f6c632b58cf19d37a8c1a5987de354


I used the following command in the guix source:

time guix system disk-image --file-system-type=ext4 --image --
size=$[16010(281+1)]MB gnu/system/install.scm

I specified the size to be as close to the size of my thumb drive as
possible without going over. I think I wanted to add my system config to the
drive after it has the installer, but later decided against it. I used
gnome-disk-utility to put the resulting image on my thumb drive.

When I boot from the drive, it goes as expected. I choose my language,
country, and time zone. I select to use the graphical installer, choose my
keyboard layout, and enter my host name. It then detects my wifi, and I
select it. This is when it hangs. A message pops up saying it is connecting
to the wifi. I expect it to give me a way to enter the wifi password and
other important information, but it doesn't. I left it alone for a good hour
with no change.

I have not yet tried the officially published graphical installer. I have
already put the ISO from the website on the thumb drive so I can see if the
wifi selection does not hang when it needs a password. Expect follow-up on
this regard later.

Thanks!

--
-Jesse
D
D
Danny Milosavljevic wrote on 26 Dec 2019 12:32
(name . Jesse Gibbons)(address . jgibbons2357@gmail.com)(address . 38735@debbugs.gnu.org)
20191226213258.4eef5838@scratchpost.org
Can you still go to another console once it hangs?

Try pressing Alt-F2 or Alt-F3 or something (once it hangs).

Then we could try to find out via "ps" and maybe via /proc and "strace" what
it's doing.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl4FGPoACgkQ5xo1VCww
uqVBtgf/ek8g8cL+kmOkq0fhr/kLdQ45XOVDlnb67aF6Xp1L7ypeFPGTvdB72oj8
Za6UsT9a4m7bE+Qa4JaJOrRjxHHssF8WNy4iKjFKqRk0awsRn0UvPjaESYsyovz5
DgWkPmY4OcU0KnIV/HY9JhNIUvQvh83k9Ng8qtEYfH1Jn1mNUQxy8NxD3dQVQ9AF
0iCo7XNXQy4CdZVScp49n8VUTjMAxJyhDP6hkACtxh5h0/m7g//58MaYnuqrmW8o
agP3u4fL5Ia/duA07z1gUX14H9Iv00Vpt3eqs6ro6jrjnESUM9sELAQHWSad82Pu
nlcKGudDmkhfMO8eNIv/IABcKYVfhw==
=i6GT
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 29 Dec 2019 08:01
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
87fth39l4q.fsf@gnu.org
Hi,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

Toggle quote (4 lines)
> Can you still go to another console once it hangs?
>
> Try pressing Alt-F2 or Alt-F3 or something (once it hangs).

Also, Alt-F12 should show system messages.

Ludo’.
J
J
Jesse Gibbons wrote on 2 Jan 2020 20:10
(address . 38735@debbugs.gnu.org)
0674ec043c1590d1f6c3eaf48aa1f48b028ff202.camel@gmail.com
On Sun, 2019-12-29 at 17:01 +0100, Ludovic Courtès wrote:
Toggle quote (12 lines)
> Hi,
>
> Danny Milosavljevic <dannym@scratchpost.org> skribis:
>
> > Can you still go to another console once it hangs?
> >
> > Try pressing Alt-F2 or Alt-F3 or something (once it hangs).
>
> Also, Alt-F12 should show system messages.
>
> Ludo’.

Sorry I took so long to respond. I installed successfully from the
official build. I finally got everything set up and don't want to re-
install everything again. I'll see if I can reproduce this issue with
an external target install drive.

-Jesse
R
R
Robert Smith wrote on 13 Apr 2020 04:07
Re: 1.1.0rc2 available for testing!
C2016B2OHCON.2UGA2TGH3ZFS@amber
Hi Ludo,

Toggle quote (2 lines)
I ran into the same issue that Jesse encountered in December, the
installer hangs when it tries to connect to wifi, and I can't escape by
pressing Alt-F2/F3/F12. In the end I just have to hold down the
power button. I've tested this with different wifi networks and it's
always the same. I tried using the console to connect to wifi, and
everything worked smoothly. The only difference from the manual was
that I had to use `rfkill unblock wifi` before I could bring the
interface up. I didn't have this issue when I first installed guix, so
I downloaded the 1.0.1 installer and as I thought the issue wasn't
there, and the wifi connection went smoothly.

I'm not sure how I can get any diagnostic information from my system, if
you have ideas I'd be happy to try them out. I tested this on my Librem
15 v4; I remember from Guix Days that a few other people have Librem
laptops, I'm curious if they can use the installer to connect to a wifi
network.

-Robert
L
L
Ludovic Courtès wrote on 13 Apr 2020 06:45
(name . Robert Smith)(address . robertsmith@posteo.net)
87k12jjy7d.fsf@gnu.org
Hello,

"Robert Smith" <robertsmith@posteo.net> skribis:

Toggle quote (6 lines)
>
> I ran into the same issue that Jesse encountered in December, the
> installer hangs when it tries to connect to wifi, and I can't escape by
> pressing Alt-F2/F3/F12.

When you’re on tty1 (the installer), you have to hit Ctrl-Alt-F12
etc. (note “Ctrl”). Is it what you tried?

Toggle quote (9 lines)
> In the end I just have to hold down the power button. I've tested this
> with different wifi networks and it's always the same. I tried using
> the console to connect to wifi, and everything worked smoothly. The
> only difference from the manual was that I had to use `rfkill unblock
> wifi` before I could bring the interface up. I didn't have this issue
> when I first installed guix, so I downloaded the 1.0.1 installer and
> as I thought the issue wasn't there, and the wifi connection went
> smoothly.

OK. It could have something to do with the issue about Connman not
starting that Florian reported.

What does /var/log/messages show? (In particular, messages from
shepherd, connmand, and dbus.)

Toggle quote (6 lines)
> I'm not sure how I can get any diagnostic information from my system, if
> you have ideas I'd be happy to try them out. I tested this on my Librem
> 15 v4; I remember from Guix Days that a few other people have Librem
> laptops, I'm curious if they can use the installer to connect to a wifi
> network.

Anyone else with a Librem laptop can give it a try? You don’t need to
run the full installation, it’s enough to go past the network setup
phase, which is early on.

Thanks for your report,
Ludo’.
R
R
Robert Smith wrote on 13 Apr 2020 08:56
(name . Ludovic Courtès)(address . ludo@gnu.org)
fc665e15cd17aebde5f03510871cdcbe@posteo.net
Toggle quote (3 lines)
> When you’re on tty1 (the installer), you have to hit Ctrl-Alt-F12
> etc. (note “Ctrl”). Is it what you tried?

...no, I forgot about that! Well at least that makes my job easier. I
attached the relevant section of the messages as an attachment, but
the key line seems to be:

Apr 13 17:18:52 localhost connman-vpnd[446]: Can't load
/gnu/store/vclzrvbxac8ipc8g1ncq5gjjj8gdvxw3-connman-1.38/lib/connman/plugins-vpn/wireguard.so:
/gnu/store/vclzrvbxac8ipc8g1ncq5gjjj8gdvxw3-connman-1.38/lib/connman/plugins-vpn/wireguard.so:
undefined symbol: __vpn_ipconfig_foreach

Toggle quote (3 lines)
> Thanks for your report,
> Ludo’.

No problem!
-Robert
Apr 13 17:18:34 localhost installer[402]: running step 'network'
Apr 13 17:18:34 localhost installer[402]: running step 'select-technology'
Apr 13 17:18:34 localhost installer[402]: running step 'power-technology'
Apr 13 17:18:34 localhost connmand[363]: wlp1s0 {update} flags 36931 <UP,RUNNING>
Apr 13 17:18:34 localhost connmand[363]: wlp1s0 {newlink} index 2 address 18:CF:5E:F4:06:75 mtu 1500
Apr 13 17:18:34 localhost connmand[363]: wlp1s0 {newlink} index 2 operstate 0 <UNKNOWN>
Apr 13 17:18:34 localhost connmand[363]: wlp1s0 {update} flags 36867 <UP>
Apr 13 17:18:34 localhost connmand[363]: wlp1s0 {newlink} index 2 address 18:CF:5E:F4:06:75 mtu 1500
Apr 13 17:18:34 localhost connmand[363]: wlp1s0 {newlink} index 2 operstate 2 <DOWN>
Apr 13 17:18:34 localhost connmand[363]: wlp1s0 {newlink} index 2 address 18:CF:5E:F4:06:75 mtu 1500
Apr 13 17:18:34 localhost connmand[363]: wlp1s0 {newlink} index 2 operstate 2 <DOWN>
Apr 13 17:18:34 localhost wpa_supplicant[362]: WPS: Converting push_button to virtual_push_button for WPS 2.0 compliance
Apr 13 17:18:35 localhost installer[402]: running step 'connect-service'
Apr 13 17:18:52 localhost dbus-daemon[357]: [system] Activating service name='net.connman.vpn' requested by ':1.17' (uid=0 pid=444 comm="connmanctl ") (using servicehelper)
Apr 13 17:18:52 localhost dbus-daemon[357]: [system] Successfully activated service 'net.connman.vpn'
Apr 13 17:18:52 localhost connman-vpnd[446]: Connection Manager VPN daemon version 1.38
Apr 13 17:18:52 localhost connman-vpnd[446]: Can't load /gnu/store/vclzrvbxac8ipc8g1ncq5gjjj8gdvxw3-connman-1.38/lib/connman/plugins-vpn/wireguard.so: /gnu/store/vclzrvbxac8ipc8g1ncq5gjjj8gdvxw3-connman-1.38/lib/connman/plugins-vpn/wireguard.so: undefined symbol: __vpn_ipconfig_foreach
Apr 13 17:18:52 localhost connman-vpnd[446]: lo {newlink} index 1 operstate 0 <UNKNOWN>
Apr 13 17:18:52 localhost connman-vpnd[446]: wlp1s0 {create} index 2 type 1 <ETHER>
Apr 13 17:18:52 localhost connman-vpnd[446]: wlp1s0 {update} flags 36867 <UP>
Apr 13 17:18:52 localhost connman-vpnd[446]: wlp1s0 {newlink} index 2 address 18:CF:5E:F4:06:75 mtu 1500
Apr 13 17:18:52 localhost connman-vpnd[446]: wlp1s0 {newlink} index 2 operstate 2 <DOWN>
L
L
Ludovic Courtès wrote on 13 Apr 2020 13:28
(name . Robert Smith)(address . robertsmith@posteo.net)
87y2qz3zc9.fsf@gnu.org
Hi Robert,

Robert Smith <robertsmith@posteo.net> skribis:

Toggle quote (5 lines)
> Apr 13 17:18:52 localhost connman-vpnd[446]: Can't load
> /gnu/store/vclzrvbxac8ipc8g1ncq5gjjj8gdvxw3-connman-1.38/lib/connman/plugins-vpn/wireguard.so:
> /gnu/store/vclzrvbxac8ipc8g1ncq5gjjj8gdvxw3-connman-1.38/lib/connman/plugins-vpn/wireguard.so:
> undefined symbol: __vpn_ipconfig_foreach

I would think this one is harmless, but /var/log/messages shows that the
installer doesn’t go beyond the ‘connect-service’ step, is that correct?

Thanks,
Ludo’.
R
R
Robert Smith wrote on 13 Apr 2020 14:42
(name . Ludovic Courtès)(address . ludo@gnu.org)
C20EO8VYBPF3.U38TTZEMDYN8@amber
Toggle quote (3 lines)
> I would think this one is harmless, but /var/log/messages shows that the
> installer doesn’t go beyond the ‘connect-service’ step, is that correct?

That's correct, it freezes on the "Connecting to the network" message.
There's no output in /var/log/messages after the lines that I attached.
T
T
Tobias Geerinckx-Rice wrote on 15 Apr 2020 07:07
(address . guix-devel@gnu.org)(address . 38735@debbugs.gnu.org)
87d088267k.fsf@nckx
Robert,

Robert Smith 写道:
Toggle quote (6 lines)
> I ran into the same issue that Jesse encountered in December,
> the
> installer hangs when it tries to connect to wifi, and I can't
> escape by
> pressing Alt-F2/F3/F12.

You need to press C-M-Fn to escape the kmscon, M- on its own won't
do.

Toggle quote (14 lines)
> In the end I just have to hold down the
> power button. I've tested this with different wifi networks and
> it's
> always the same. I tried using the console to connect to wifi,
> and
> everything worked smoothly. The only difference from the manual
> was
> that I had to use `rfkill unblock wifi` before I could bring the
> interface up. I didn't have this issue when I first installed
> guix, so
> I downloaded the 1.0.1 installer and as I thought the issue
> wasn't
> there, and the wifi connection went smoothly.

I've run into this as well; there's an ugly patch of mine floating
around that explicitly calls ‘rfkill’ on the interface even though
Connman claims to do so automatically.

I'll dig up the 2-card machine that can reproduce this.

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl6XFQ8ACgkQ2Imw8BjF
STyPuQ//TyLK+5c9L8V9N3oTaLSxbmOsiL58rmY0I2S/gUaIIns+0HFoDUtBVv8z
YfY3CQhejnNum0ckCbScKUp8ujpvMMeFwxZh4QHlFT9mH5o0MS9ClA64io8nej0V
xtkII19IgCNwaGTRnXM/ThvpcMKu+4op6eniEzbv862sxc8X+IiZMtH1U2tCIj86
MN3NXpoh+gZGlVSX+UzU0mUKxmYNZ3yV5vjD4gNBmnnvMpiow+m8qohJsgcK7Lwq
uyc/JwWO7hOuBXPnLPL8Rl44PsQNR06FYgXmKlijRG14iGoUe4SCQ89AhI4YXItW
H3b8aAJt+JrSYMXCmf/EQqosjKIpQAIZwTAAmVJKR75J55K5CQOqA2PZhFPuQMPR
UvV9PkK4PyYMYiZDTHFgCSIOhglQmWSvUNDAWmd6m9dQEFdidz1cvtVr+jw6RQ9M
ZHCHcqKiwF0VevL97j0HRxSGg/POep5Veomd0cDY0NIi2vrksGoYKAOtClhc1UaA
n+GQAFnixKQQEDRSmpXRz2KUJCOhJ2xuvtBC9a63PE3DNaM/BN6eTsx9gKEpuXEk
Sbmrnt7y4xPtUy2sQhEQ/+SeLmHTcsHROBXDbD2aTUPXXT6YB8V1C5vntYF1Cot6
eyW18swGkYHA049l/dVrSHLPlP15omhP9PjQ1uS9qT8/f1mJe5o=
=/VS/
-----END PGP SIGNATURE-----

T
T
Tobias Geerinckx-Rice wrote on 15 Apr 2020 07:15
(address . guix-devel@gnu.org)(address . 38735@debbugs.gnu.org)
87blns25tx.fsf@nckx
Tobias Geerinckx-Rice 写道:
Toggle quote (11 lines)
> Robert Smith 写道:
>> I ran into the same issue that Jesse encountered in December,
>> the
>> installer hangs when it tries to connect to wifi, and I can't
>> escape
>> by
>> pressing Alt-F2/F3/F12.
>
> You need to press C-M-Fn to escape the kmscon, M- on its own
> won't do.

Ugh. A new (=old) subthread magically appeared after I sent this.
Ignore this stale advice. :-)

In better (=worse) news, I can also reproduce the hang, not just
the rfkill issue…

To be continued,

T G-R
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl6XFvoACgkQ2Imw8BjF
STzYZA/8DpVhxxjwA94tgnsc/V8qej2XrfvBI+NYcrDmZE5LQ2FhcMkwTPZrb/7Y
wlbG5MyCT+Wtl6A4X1oTqMVcelaYMB3cMgpQ9U1LUHPid+cHLaQX+edlqPVWraNA
U+4InLP/gjfqTNtGY5J2DASuZdLwJd7o7m3d9MM/bzxRw6o+Tq5JggcGXjbOe4WP
MW86Ct3+00m1tSQpiNGLjAYMzurPCTerNPm/kdsgImltU5kNYHBGh02RRuJxv64M
YWaijd0ImolNfjx0OVlitTqzTminCziP6xuxR84DnfJtlPcQ8C+smYBBVWXxHMgZ
zAkQ7kBQO2LQd+VpmGC7rrpqGPK0wtbm/WoVGVuZVW+tLafBxFDU35PEzlg0nxVK
7eXhrJQfrFVsWcBQSXryXjSTxZ3uSxww/Eh4N5s++Y++SPtoiTvxKCA5BB9fAC4L
YPkxbFQikBWyi+7+2pk8rv6vriYQQZK9lJxXaVI0d7JM6u0GN4xI+tN95zsBUzvh
1VtuSLMxqAsY2jiVKvAAiA2QwbX6kITXm4G9ftM/epirpk0IAXXDfYYgZA3Mgyd6
4SZ7SNCS1swGD85Fcq0iYXiDC7MI0lGUScKrQEbgitObfE0TKcV/yEUTUZ/xwKnJ
6D7Vyp/+5/7xqRtYWPPmtiyawJZiZ5J9V7p/Dtw1/xvaYNqvozw=
=dlxU
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 22 Apr 2020 08:31
control message for bug #38735
(address . control@debbugs.gnu.org)
877dy7wn9g.fsf@gnu.org
merge 38735 40583
quit
L
L
Ludovic Courtès wrote on 22 Apr 2020 08:31
(address . control@debbugs.gnu.org)
875zdrwn8d.fsf@gnu.org
severity 38735 important
quit
L
L
Ludovic Courtès wrote on 22 Apr 2020 08:31
(address . control@debbugs.gnu.org)
874ktbwn83.fsf@gnu.org
tags 38735 fixed
close 38735
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 38735@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 38735
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch