bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guix] netdde setup confusion


From: Janneke Nieuwenhuizen
Subject: [Guix] netdde setup confusion
Date: Fri, 26 May 2023 19:19:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi!

I'm trying to get netdde to work in Guix without much success.

The good news: I have built gnumach without networking and netdde, and
when using the Guix-built gnumach and netdde.static binaries on debian,
everything works fine.  Using Debian's gnumach and netdde.static
binaries on Guix produces the same failure as in...

The bad news: I cannot get it to work in Guix, so there must be
something wrong with how we setup translators/networking.

Here is what I've added for netdde and what Guix looks like:

--8<---------------cut here---------------start------------->8---
# showtrans /dev/eth0
/hurd/devnode --master-device=/dev/net eth0
# showtrans /dev/net
/hurd/symlink /dev/netdde
# showtrans /dev/netdde
/hurd/netdee
# showtrans /servers/socket/2
<nothing>
--8<---------------cut here---------------end--------------->8---

Then, networking is started doing

--8<---------------cut here---------------start------------->8---
# settrans --active --create --keep-active /servers/socket/2 /hurd/pfinet \
 --ipv6=/servers/socket/26 --interface=eth0 --address=10.0.2.15 \
 --netmask=255.255.255.0 --gateway=10.0.2.2
--8<---------------cut here---------------end--------------->8---

which gives

--8<---------------cut here---------------start------------->8---
/hurd/pfinet: file_name_lookup eth0: No such file or directory
/hurd/pfinet: device_open(eth0): (os/device) no such device
settrans: .../hurd/pfinet: Translator died
failed to start service 'networking'
--8<---------------cut here---------------end--------------->8---

I have looked at Debian's ifupdown and inetutils packages to find how
Debian does this, but could not find it.  So it could just be we're
doing something wrong in a silly way...

I've also tried setting a passive translator on /servers/socket/2 first
(it seems to me this is what's Debian doing?):

--8<---------------cut here---------------start------------->8---
# showtrans /servers/socket/2
/hurd/pfinet --ipv6=/servers/socket/26 inet
--8<---------------cut here---------------end--------------->8---

and then upon starting networking, this gives

--8<---------------cut here---------------start------------->8---
/hurd/pfinet: /servers/socket/26: Device or resource busy
--8<---------------cut here---------------end--------------->8---

Again, any ideas or insights highly appreciated!

Greetings,
Janneke

Guix tree: https://gitlab.com/janneke/guix/-/tree/wip-hurd32

-- 
Janneke Nieuwenhuizen <janneke@gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | AvatarĀ® https://AvatarAcademy.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]