Re: Qoth Q3 2024 & on aarch64-gnu

2024-09-23 Thread Nathan Dehnel
I don't know a ton about ARM hardware but I have a raspberry pi and
pinephone pro that I can test things on.

Definitely don't feel pressured, that's how you burn out.



Re: 64bit support news

2024-08-26 Thread Nathan Dehnel
Congrats to everyone!



Re: gnumach "NULL undeclared" build error

2024-07-06 Thread Nathan Dehnel
pasted gnumach from the wrong file, meant to put this

(define-public gnumach
  (package
(inherit gnumach-headers)
(name "gnumach")
(version (git-version "1.8-head" "HEAD" %git-commit))
(source (git-checkout (url (string-append root "gnumach"
#|(source (origin
  (inherit (package-source gnumach-headers))
  (patches
   (append
(search-patches "gnumach-support-noide.patch")
(origin-patches (package-source gnumach-headers))|#
(arguments
 (substitute-keyword-arguments (package-arguments gnumach-headers)
   ((#:make-flags flags ''())
`(cons "CFLAGS=-fcommon" ,flags))
   ((#:configure-flags flags ''())
`(cons* "--enable-kdb" ;enable kernel debugger
"--disable-net-group"
"--disable-pcmcia-group"
"--disable-wireless-group"
   ,flags))
   ((#:phases phases '%standard-phases)
`(modify-phases %standard-phases
   (add-after 'install 'produce-image
 (lambda* (#:key outputs #:allow-other-keys)
   (let* ((out  (assoc-ref outputs "out"))
  (boot (string-append out "/boot")))
 (invoke "make" "gnumach.gz")
 (install-file "gnumach.gz" boot
(native-inputs
 (list autoconf
   automake
   (if (%current-target-system)
   (cross-mig (%current-target-system))
   mig)
   perl
   texinfo-4))
(supported-systems %hurd-systems)
    (synopsis "Microkernel of the GNU system")
(description
 "GNU Mach is the microkernel upon which a GNU Hurd system is based.")))

On Sat, Jul 6, 2024 at 2:55 AM Nathan Dehnel  wrote:
>
> Hello, I'm in the process of setting up CI for Hurd using Guix. What
> I'm doing is taking the upstream Guix package definitions and
> modifying them to build from a git checkout. I ran into this error
> trying to build gnumach. Is it being compiled wrong?
>
>
>
> phase `unpack' succeeded after 1.1 seconds
> starting phase `bootstrap'
>
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal --force
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: creating directory build-aux
> autoreconf: configure.ac: not using Libtool
> autoreconf: running:
> /gnu/store/kc995rpv3sd3n74nvhlk1968318hrz6z-autoconf-2.69/bin/autoconf
> --force
> autoreconf: running:
> /gnu/store/kc995rpv3sd3n74nvhlk1968318hrz6z-autoconf-2.69/bin/autoheader
> --force
> autoreconf: running: automake --add-missing --copy --force-missing
> configure.ac:95: installing 'build-aux/compile'
> configure.ac:53: installing 'build-aux/config.guess'
> configure.ac:53: installing 'build-aux/config.sub'
> configure.ac:33: installing 'build-aux/install-sh'
> configure.ac:33: installing 'build-aux/missing'
> Makefile.am: installing './INSTALL'
> Makefile.am: installing 'build-aux/depcomp'
> Makefile.am:32: installing 'build-aux/mdate-sh'
> doc/Makefrag.am:106: warning: user target '$(srcdir)/doc/version.texi'
> defined here ...
> Makefile.am:155:   'doc/Makefrag.am' included from here
> /gnu/store/rdhlk66jzbl42sq08i4j339cv0cnakdl-automake-1.16.5/share/automake-1.16/am/texi-vers.am:
> ... overrides Automake target '$(srcdir)/doc/version.
> texi' defined here
> Makefile.am:32: installing 'build-aux/texinfo.tex'
> parallel-tests: installing 'build-aux/test-driver'
> autoreconf: Leaving directory `.'
> phase `bootstrap' succeeded after 4.4 seconds
> starting phase `patch-usr-bin-file'
>
> phase `patch-usr-bin-file' succeeded after 0.1 seconds
> starting phase `patch-source-shebangs'
>
> patch-shebang: ./build-aux/compile: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> patch-shebang: ./build-aux/config.guess: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> patch-shebang: ./build-aux/config.sub: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> patch-shebang: ./build-aux/depcomp: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> patch-shebang: ./build-aux/install-sh: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh&#

gnumach "NULL undeclared" build error

2024-07-06 Thread Nathan Dehnel
Hello, I'm in the process of setting up CI for Hurd using Guix. What
I'm doing is taking the upstream Guix package definitions and
modifying them to build from a git checkout. I ran into this error
trying to build gnumach. Is it being compiled wrong?



phase `unpack' succeeded after 1.1 seconds
starting phase `bootstrap'

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory build-aux
autoreconf: configure.ac: not using Libtool
autoreconf: running:
/gnu/store/kc995rpv3sd3n74nvhlk1968318hrz6z-autoconf-2.69/bin/autoconf
--force
autoreconf: running:
/gnu/store/kc995rpv3sd3n74nvhlk1968318hrz6z-autoconf-2.69/bin/autoheader
--force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:95: installing 'build-aux/compile'
configure.ac:53: installing 'build-aux/config.guess'
configure.ac:53: installing 'build-aux/config.sub'
configure.ac:33: installing 'build-aux/install-sh'
configure.ac:33: installing 'build-aux/missing'
Makefile.am: installing './INSTALL'
Makefile.am: installing 'build-aux/depcomp'
Makefile.am:32: installing 'build-aux/mdate-sh'
doc/Makefrag.am:106: warning: user target '$(srcdir)/doc/version.texi'
defined here ...
Makefile.am:155:   'doc/Makefrag.am' included from here
/gnu/store/rdhlk66jzbl42sq08i4j339cv0cnakdl-automake-1.16.5/share/automake-1.16/am/texi-vers.am:
... overrides Automake target '$(srcdir)/doc/version.
texi' defined here
Makefile.am:32: installing 'build-aux/texinfo.tex'
parallel-tests: installing 'build-aux/test-driver'
autoreconf: Leaving directory `.'
phase `bootstrap' succeeded after 4.4 seconds
starting phase `patch-usr-bin-file'

phase `patch-usr-bin-file' succeeded after 0.1 seconds
starting phase `patch-source-shebangs'

patch-shebang: ./build-aux/compile: changing `/bin/sh' to
`/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
patch-shebang: ./build-aux/config.guess: changing `/bin/sh' to
`/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
patch-shebang: ./build-aux/config.sub: changing `/bin/sh' to
`/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
patch-shebang: ./build-aux/depcomp: changing `/bin/sh' to
`/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
patch-shebang: ./build-aux/install-sh: changing `/bin/sh' to
`/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
patch-shebang: ./build-aux/mdate-sh: changing `/bin/sh' to
`/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
patch-shebang: ./build-aux/missing: changing `/bin/sh' to
`/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
patch-shebang: ./build-aux/test-driver: changing `/bin/sh' to
`/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
patch-shebang: ./configure: changing `/bin/sh' to
`/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
patch-shebang: ./tests/run-qemu.sh.template: changing `/bin/sh' to
`/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
phase `patch-source-shebangs' succeeded after 1.0 seconds
starting phase `configure'

source directory:
"/tmp/guix-build-gnumach-1.8-head-HEAD.86ad1f3.drv-0/source" (relative
from build: ".")
build directory: "/tmp/guix-build-gnumach-1.8-head-HEAD.86ad1f3.drv-0/source"
configure flags:
("CONFIG_SHELL=/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/bash"
"SHELL=/gnu/store/rfl0rsh7l78fd56pmrashmn4ww
cmw35c-bash-minimal-5.1.16/bin/bash"
"--prefix=/gnu/store/v1hy500idfnmqbi7sxi4zbbas9lfpcvb-gnumach-1.8-head-HEAD.86ad1f3"
"--enable-fast-install" "--b
uild=i586-unknown-gnu" "--enable-kdb" "--disable-net-group"
"--disable-pcmcia-group" "--disable-wireless-group")
configure: WARNING: unrecognized options: --enable-fast-install
checking for a BSD-compatible install...
/gnu/store/b8iw9vy0dc9hfx0hgyvrhrhcj6im8rqy-coreutils-9.1/bin/install
-c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p...
/gnu/store/b8iw9vy0dc9hfx0hgyvrhrhcj6im8rqy-coreutils-9.1/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... i586-unknown-gnu
checking host system type... i586-unknown-gnu
checking for gawk... (cached) gawk
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
configure: WARNING: using cross tools not prefixed with host triplet
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g...

Re: Come watch a live stream coding session for the Hurd

2024-06-01 Thread Nathan Dehnel
That's interesting, thanks.



Come watch a live stream coding session for the Hurd

2024-05-31 Thread Nathan Dehnel
Please do record this because I will be unavailable. Thank you.

single file trivfs translator ideas (ignore if they already exist/too
difficult/impossible)

-very simple virtio or rump device, like the random number generator.
i think virtio works by using a special PCIe device number, so you can
run hurd in qemu with qemu passing it the device, and then maybe get
it from pci-arbiter?
-shim: placed over a file, and replaces it with a different file. like
a symlink, but allows you to overwrite a file (the overwritten file
still exists though, it's just not visible)
-pipewire sink translator
-unix pipes are implemented with translators right? someone made an
interesting proposal for linux which is "seekable pipes":
https://lkml.indiana.edu/hypermail/linux/kernel/0411.3/0739.html
normal translators are inherently seekable, right? because they have a
filesystem interface. so it seems straightforward to make a translator
that plugs 2 processes together into a pipeline, but provides a
file-like interface in the "pipe". this would greatly expand the
number of programs that could be run in a pipeline
-netcat translator



[PATCH] 2024 q1 qoth file.

2024-04-07 Thread Nathan Dehnel
I made edits to your patch.
From 7c8852217dfcee0a8623320afd3d96be7abcfb51 Mon Sep 17 00:00:00 2001
From: Nathan Dehnel <5498361+gooberpatro...@users.noreply.github.com>
Date: Sun, 7 Apr 2024 03:26:39 -0500
Subject: [PATCH] 2024-q1.mdwm

---
 news/2024-q1.mdwm | 203 
 1 file changed, 203 insertions(+)
 create mode 100644 news/2024-q1.mdwm

diff --git a/news/2024-q1.mdwm b/news/2024-q1.mdwm
new file mode 100644
index ..d52c3b9d
--- /dev/null
+++ b/news/2024-q1.mdwm
@@ -0,0 +1,203 @@
+[[!meta copyright="Copyright © 2013 Free Software Foundation, Inc."]]
+
+[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the license
+is included in the section entitled [[GNU Free Documentation
+License|/fdl]]."]]"""]]
+
+[[!meta date="2024-04-05 11:07 UTC"]]
+
+Hello!  Welcome to a new qoth.  This qoth covers new and interesting GNU/Hurd
+developments in Q1 of 2024!
+[[!if test="included()" then="""[[!toggle id=full_news
+text="Details."]][[!toggleable id=full_news text="[[!paste id=full_news]]"]]"""
+else="
+[[!paste id=full_news]]"]]
+
+[[!cut id="full_news" text="""
+
+Etienne Brateau modified console-client to use [xkbcommon instead of x11 for xkb
+extended
+support](https://lists.gnu.org/archive/html/bug-hurd/2024-03/msg00060.html),
+which improves keyboard layout coverage a lot!
+
+Flavio Cruz also worked on [porting GDB to the 64-bit
+Hurd](https://lists.gnu.org/archive/html/bug-hurd/2024-02/msg00147.html),
+implemented `setcontext/getcontext/makecontext/swapcontex ()` in
+[glibc](https://lists.gnu.org/archive/html/bug-hurd/2024-02/msg00106.html), and [implemented child process resource
+accounting](https://lists.gnu.org/archive/html/bug-hurd/2024-02/msg00098.html).
+The latter implements`getrusage(RUSAGE_CHILDREN, )` and populates child related
+data in `times()`.
+
+He fixed the [perl testsuite for the
+Hurd](https://lists.gnu.org/archive/html/bug-hurd/2024-03/msg00021.html), and he
+also posted a [RFC to enhance tracing
+utilities](https://lists.gnu.org/archive/html/bug-hurd/2024-03/msg00034.html),
+which he used to port the RPC format to 64 bit.
+
+Flavio also had a smattering of fixes
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-01/msg00219.html),
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-02/msg00091.html),
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-02/msg00151.html),
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-03/msg8.html), and
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-03/msg00068.html).
+
+Damien Zammit had some fixes including [fixing the console with APIC
+enabled](https://lists.gnu.org/archive/html/bug-hurd/2024-01/msg00277.html),
+[patching GNU Mach to support ACPI
+v2](https://lists.gnu.org/archive/html/bug-hurd/2024-01/msg00278.html), [fixing
+baud rate on com
+ports](https://lists.gnu.org/archive/html/bug-hurd/2024-01/msg00176.html),
+[porting the Hurd to some AMD
+CPUs](https://lists.gnu.org/archive/html/bug-hurd/2024-01/msg00220.html) (WIP),
+[adding HPET (high precision
+timers)](https://lists.gnu.org/archive/html/bug-hurd/2024-02/msg00039.html). He
+also worked on making `ext2fs` [use xattr by default to store
+translators](https://lists.gnu.org/archive/html/bug-hurd/2024-03/msg00012.html).
+
+Damien also worked on more SMP fixes
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-02/msg00016.html),
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-02/msg00021.html),
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-02/msg00051.html),
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-02/msg00063.html),
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-02/msg00079.html), and
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-02/msg00124.html). 
+Hurd currently boots in SMP mode on the BSP. Damien wrote a test program that lets you run a [task on the APs](https://lists.gnu.org/archive/html/bug-hurd/2024-02/msg00088.html).
+
+Sergey Bugaev [patched binutils to support the GNU/Hurd on
+AArch64](https://lists.gnu.org/archive/html/bug-hurd/2024-01/msg0.html), and
+he wrote some patches to make the Hurd easier to port
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-01/msg2.html),
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-01/msg00063.html), and
+[here](https://lists.gnu.org/archive/html/bug-hurd/2024-03/msg00100.html),
+
+Sergey also posted a fairly large [RFC patch series for his AArch64
+po

aarch64-gnu (and Happy New Year!)

2024-01-02 Thread Nathan Dehnel
Wow, huge kudos.



Hurd Christmas Party

2023-12-19 Thread Nathan Dehnel
Yeah, sure, I'll join



Re: Initial POWER9 port of GNU Mach

2023-10-19 Thread Nathan Dehnel
Do you happen to have code available for your gnumach-in-userspace
project? I'm interested in looking at it.



Recording of conversation with Kent Overstreet

2023-09-29 Thread Nathan Dehnel
https://youtu.be/bcWsrYvc5Fg
https://yewtu.be/watch?v=bcWsrYvc5Fg
lmk if you need this uploaded somewhere else in particular



Re: Using bcachefs on the Hurd

2023-09-25 Thread Nathan Dehnel
I'll try to join as well.

Has a time been chosen? What conference app will be used? Thoughts on
recording the meeting for future reference?



Debian GNU/Hurd 2023 released!

2023-06-12 Thread Nathan Dehnel
Congrats to all!



Thanks again Samuel!

2022-08-31 Thread Nathan Dehnel
Agreed!



Re: Hurd Security vulnerabilities, please upgrade!

2021-08-11 Thread Nathan Dehnel
My understanding is, Hurd is licensed GPL2 but there are plans to
relicense it to GPL3, and dropping copyright reassignment would make
that more difficult.