unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* No network on GNU/Hurd, not even localhost
@ 2021-09-08 13:12 Akib Azmain Turja
  2021-09-08 17:26 ` Joshua Branson
  0 siblings, 1 reply; 3+ messages in thread
From: Akib Azmain Turja @ 2021-09-08 13:12 UTC (permalink / raw)
  To: help-guix, bug-guix; +Cc: akib8492

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

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
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
or videos. See http://www.gnu.org/philosophy/no-word-attachments.html to
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.org to learn more.

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: No network on GNU/Hurd, not even localhost
  2021-09-08 13:12 No network on GNU/Hurd, not even localhost Akib Azmain Turja
@ 2021-09-08 17:26 ` Joshua Branson
  2021-09-09  4:40   ` Akib Azmain Turja
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Branson @ 2021-09-08 17:26 UTC (permalink / raw)
  To: Akib Azmain Turja; +Cc: help-guix, bug-guix, akib8492

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.  

-- 
Joshua Branson (jab in #guix)
Sent from Emacs and Gnus
  https://gnucode.me
  https://video.hardlimit.com/accounts/joshua_branson/video-channels
  https://propernaming.org
  "You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar
  


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: No network on GNU/Hurd, not even localhost
  2021-09-08 17:26 ` Joshua Branson
@ 2021-09-09  4:40   ` Akib Azmain Turja
  0 siblings, 0 replies; 3+ messages in thread
From: Akib Azmain Turja @ 2021-09-09  4:40 UTC (permalink / raw)
  To: Joshua Branson; +Cc: help-guix, bug-guix

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

Joshua Branson <jbranso@dismail.de> writes:

> 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
or videos. See http://www.gnu.org/philosophy/no-word-attachments.html to
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.org to learn more.

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-09  4:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-08 13:12 No network on GNU/Hurd, not even localhost Akib Azmain Turja
2021-09-08 17:26 ` Joshua Branson
2021-09-09  4:40   ` Akib Azmain Turja

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).