No network on GNU/Hurd, not even localhost

  • Open
  • quality assurance status badge
Details
2 participants
  • Akib Azmain Turja
  • Joshua Branson
Owner
unassigned
Submitted by
Akib Azmain Turja
Severity
normal
A
A
Akib Azmain Turja wrote on 8 Sep 2021 15:12
(address . akib8492@gmail.com)
87pmtjyzx5.fsf@disroot.org
I've downloaded latest QEMU image from build servers (build details:
libvirtd on my Guix System on GNU/Linux. It booted and the login shell
appeared. I logined as root without password and tried to install GNU
Hello (just to make sure everything is working). It failed due to
network problems, although my host machine was connected to the
internet. Then I tried to ping GNU server:

root@guixygnu ~# ping gnu.org

But no output appeared, not even an error message! I checked the return
status immediately:

root@guixygnu ~# echo $?
1

Then I tried ping localhost, but again it returned 1 without any output.
Then tried to see the available interfaces, but this too failed:

root@guixygnu ~# ifconfig
ifconfig: could not get list of interfaces

Then I booted again with QEMU directly with:

$ qemu-system-i386 -m 512 -snapshot -hda <path/to/image.qcow2>

Again, I face the same problem. However, this time I noticed a message
from settrans saying "settrans: /servers/socket/1: Device or resource
busy", a message saying the disk is mounted as read-only, (probably) an
error message from fsck showing it's usage, some warnings from Guile
saying "WARNING: (guile-user): imported module (guix build utils)
overrides core binding `delete'", the following messages during boot:

failed to start service: loopback
failed to start service: networking
failed to start service: ssh-daemon
failed to start service: ssh
failed to start service: sshd

Followed by an incomplete backtrace:

Backtrace:
3 (primitive-load "/gnu/store/n9glgyqlb30wjxia0zcx71x9zw9?")
In shepherd.scm:

I saw many other messages, but I didn't get the time to read and copy
it.

Then I tried to check the status of loopback service:

root@guixygnu ~# herd status loopback
error: connect: /var/run/shepherd/socket: Connection refused

Can someone help me with this issue? The QEMU image is almost unusable
without networking.

Note: all commands and their outputs are copied by hand.

--
Akib Azmain Turja

This message is signed by me with my GnuPG key. It's fingerprint is:

7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5

Get it with:

gpg --recv-keys 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5

See https://emailselfdefense.fsf.org/to learn more and protect your
emails and yourself from surveillance. Please send me encrypted
messages whenever possible.

Never send me Microsoft Office attachments, they use secret proprietary
format so I'll fail to read and trash them; send them in plain text if
possible or in formats like ODF and PDF if your document contains images
learn more.

Please don't send HTML emails, use plain text. HTML emails are usually
vulnerable, about thousand times larger than plain text and look ugly to
me. They contain may trackers, so whenever someone opens a messsage he
is tracked by third-party. See http://www.asciiribbon.orgto learn more.

() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmE4tqYACgkQVTX89U2I
YWvluQ/+OqbspR24goOlgxYa/2I3+NvvsmQFDCC/VAPcSXZalJeCwt9xkD6n4XQR
FjL4ZkAed1jaeTfvIvXFKx7FVSRFRA556TSWa0OX5ZcysT0cThrYu81+uyGhGXpJ
3/q4X81dLlP+k9R0Bs4kK5fKm0q3VrL6CwZdxmsbuiIL80vizUns/AKFJqc5ioMs
O2dWpuhJ5xX282Fp8Rf7zHAH01Vj+rCZ2+OGMjjo3pCYNxRAvhAgA2T9A5UYQrQr
BNaruRAWm4yZHxe3CSpPUskvmeB7M8rnpCVM9nWO88EvEK++ZrJ5UP9ecSzXEH8Q
D8kicwTd5zsrwFD6+aTij9sWRFi/lV08mT+nXDYa0Qlz5rMcpdRoC85djADn1oI0
7ofO+3cAOggEJros+TBvmOjrG+XdKTfPWvVOF4b2AgFle0FZGvc5E85N2maCbqtm
2wG+JYMPvcUClAD+JnV0SOchbuNlt6/nyq5i7pCjNCPG35KmNbI5jHokNmn2UVNT
HLNVPnff4Ymp7vVQlTZ+Ci16/Jgq7gHQwMRnIqdDMJMMAP6bXWxcUczyZ77Z6nsw
q1yq8/eHjsnpTQVk9keDq+jCq0Nr+QB28YNcwkeomRLYGckPKf4sxa2n+QQILDw9
xlpIDSPpq71lTvg9B4Q8yho3nWD3w061oEZSdh8sU2DC9PxXvwQ=
=7dBV
-----END PGP SIGNATURE-----

J
J
Joshua Branson wrote on 8 Sep 2021 19:26
(name . Akib Azmain Turja)(address . akib@disroot.org)
87a6knq8qm.fsf@dismail.de
Akib Azmain Turja <akib@disroot.org> writes:

Toggle quote (4 lines)
> I've downloaded latest QEMU image from build servers (build details:
> https://ci.guix.gnu.org/build/618573/details). Then I booted it with
> libvirtd on my Guix System on GNU/Linux. It booted and the login shell

Is this the same as booting it with qemu? I know I've had issues with
no internet access with the Hurd too, but I'm not a very technical user,
so it's most likely operator error.

Toggle quote (5 lines)
> Can someone help me with this issue? The QEMU image is almost unusable
> without networking.
>
> Note: all commands and their outputs are copied by hand.

I wish I had more knowledge to help you out.

--
Joshua Branson (jab in #guix)
Sent from Emacs and Gnus
"You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar
A
A
Akib Azmain Turja wrote on 9 Sep 2021 06:40
(name . Joshua Branson)(address . jbranso@dismail.de)
87tuiujr97.fsf@disroot.org
Joshua Branson <jbranso@dismail.de> writes:

Toggle quote (17 lines)
> Akib Azmain Turja <akib@disroot.org> writes:
>
>> I've downloaded latest QEMU image from build servers (build details:
>> https://ci.guix.gnu.org/build/618573/details). Then I booted it with
>> libvirtd on my Guix System on GNU/Linux. It booted and the login shell
>
> Is this the same as booting it with qemu? I know I've had issues with
> no internet access with the Hurd too, but I'm not a very technical user,
> so it's most likely operator error.
>
>> Can someone help me with this issue? The QEMU image is almost unusable
>> without networking.
>>
>> Note: all commands and their outputs are copied by hand.
>
> I wish I had more knowledge to help you out.

QEMU has the same issue, I've described that in my first message. And
Hurd has networking. It works out of the box on Debian GNU/Hurd
2019, and it's 2021.

I booted again with fresh copy of the image without the "-snapshot"
parameter, and herd was working. But there was again no network and
after reboot herd stopped working too.

--
Akib Azmain Turja

This message is signed by me with my GnuPG key. It's fingerprint is:

7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5

Get it with:

gpg --recv-keys 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5

See https://emailselfdefense.fsf.org/to learn more and protect your
emails and yourself from surveillance. Please send me encrypted
messages whenever possible.

Never send me Microsoft Office attachments, they use secret proprietary
format so I'll fail to read and trash them; send them in plain text if
possible or in formats like ODF and PDF if your document contains images
learn more.

Please don't send HTML emails, use plain text. HTML emails are usually
vulnerable, about thousand times larger than plain text and look ugly to
me. They contain may trackers, so whenever someone opens a messsage he
is tracked by third-party. See http://www.asciiribbon.orgto learn more.

() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmE5kEQACgkQVTX89U2I
YWtAgxAA6VOAxD4HsigoN+BFcoO7wxQ3c1XxCutwLNp+oqseyL62w9E+56MQMykK
fvudqcCtJNFoASMGtCRpGe5jfSyaU4MeYR+j+564qkf01JNNYGGmwFaXF99vPuQS
bMZgJBv4ZgLIZX4mhLNXFjjFR5pD9rFHCCAVWpnh2wQB4dLj8uhnoMpLfJK9GLn4
e/GvBanDNjf/XigW9CqEJf9dMmeSVi5K9VssdRdc8hOesfPuvMgf1OBff25uQoSY
i45bZrmrMSNHlrLF20/zxRgeN1JwZl7Ys5b8nfb3+Vm/JfhWXdLbzuYkYM91Fjrm
k6EJgN4fJAD7e3rLKDsOULOHVo9j/0JKqaX2TgL/3QchaYOTvu4OH/LWXqhADiww
IWQTCFgrLZ8GLzNGOZuEEwt8yF7lJ0c85AeN0zvbrqFmDdZfJiEaND2jf8DFQiLK
k14tYSAvdXHKFge1hh0HvdRhjhs93RkS7iRrKCAIUNO/N1cA8eAZpQzlgvKJAHnd
El3ZSs8KsbQeq3vCDaeUVED4fivF/zhTCaPHr3Uf3uGtgvTOct+5itwxHeBzWOs1
gNtB0BMJWV9dGWQpzygl13P42JkIhBIKJ3dI6JF+uO/iyzb7IiFOQh9Bwo2eVF92
ZBy1Q93ls0cbAFBcGrJDFcegRjVYlAyEX+swhHX3+AZFWAbw9l4=
=YTxm
-----END PGP SIGNATURE-----

?