* GNU/Hurd on real hardware
@ 2024-11-29 17:57 Gabriel Wicki
2024-11-29 18:18 ` Janneke Nieuwenhuizen
0 siblings, 1 reply; 6+ messages in thread
From: Gabriel Wicki @ 2024-11-29 17:57 UTC (permalink / raw)
To: help-guix
Hi y'all
Following the inspiration given in the recent blog post I dug out an old
ThinkPad T410 and tried my best.
Unfortunately the installer created from a recent checkout crashes with
a kernel panic. Does anybody know what commit a working installer for
GNU/Hurd can be built with?
TIA,
g
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GNU/Hurd on real hardware
2024-11-29 17:57 GNU/Hurd on real hardware Gabriel Wicki
@ 2024-11-29 18:18 ` Janneke Nieuwenhuizen
2024-11-30 11:14 ` Tanguy LE CARROUR
0 siblings, 1 reply; 6+ messages in thread
From: Janneke Nieuwenhuizen @ 2024-11-29 18:18 UTC (permalink / raw)
To: Gabriel Wicki; +Cc: help-guix
Gabriel Wicki writes:
Hello Gabriel,
> Following the inspiration given in the recent blog post I dug out an old
> ThinkPad T410 and tried my best.
That's great, thanks for trying!
> Unfortunately the installer created from a recent checkout crashes with
> a kernel panic. Does anybody know what commit a working installer for
> GNU/Hurd can be built with?
As you may have seen in <https://lists.gnu.org/archive/html/guix-devel/2024-11/msg00259.html>,
I succeeded in building a 32bit installer from commit
--8<---------------cut here---------------start------------->8---
commit cd26d76fedb7ab13ad91bd5dcfce119892b8e62e
news: Add entry for the Guix survey.
--8<---------------cut here---------------end--------------->8---
using this extra patch
--8<---------------cut here---------------start------------->8---
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 4de903c59b..35c4923627 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -521,6 +521,7 @@ (define installation-os
;; non-functional:
;; <https://lists.gnu.org/archive/html/guix-devel/2019-03/msg00441.html>.
;; Thus, blacklist it.
+ (kernel linux-libre-5.15)
(kernel-arguments '("quiet" "modprobe.blacklist=radeon,amdgpu"))
(file-systems
--8<---------------cut here---------------end--------------->8---
because with the default 6.x kernel, my X60 panics. AFAIK there is
nothing special about that commit, it's just a more recent one than
I had been using for earlier images.
Anyway, building it by doing
--8<---------------cut here---------------start------------->8---
make && ./pre-inst-env guix system image --image-type=iso9660 --system=i686-linux gnu/system/install.scm
=>
https://dezyne.org/janneke/hurd/b40rrc9031gfa9cz06kgk3jcs6xcmdah-image.iso
--8<---------------cut here---------------end--------------->8---
I was hoping this would fix it for everyone, however, Tanguy reported
that installer also panics for them. So yeah, YMMV.
Greetings and good luck!
Janneke
--
Janneke Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: GNU/Hurd on real hardware
2024-11-29 18:18 ` Janneke Nieuwenhuizen
@ 2024-11-30 11:14 ` Tanguy LE CARROUR
2024-11-30 11:20 ` Ekaitz Zarraga
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Tanguy LE CARROUR @ 2024-11-30 11:14 UTC (permalink / raw)
To: Janneke Nieuwenhuizen; +Cc: help-guix
Hi Janneke,
Quoting Janneke Nieuwenhuizen (2024-11-29 19:18:43)
> I succeeded in building a 32bit installer from commit
>
> --8<---------------cut here---------------start------------->8---
> commit cd26d76fedb7ab13ad91bd5dcfce119892b8e62e
> news: Add entry for the Guix survey.
> --8<---------------cut here---------------end--------------->8---
Lucky you! 😞
```
$ git checkout -b test_hurd cd26d76fedb7ab13ad91bd5dcfce119892b8e62e
# […]
# add `(kernel linux-libre-5.15)`
$ make -j 8; and ./pre-inst-env guix system image --image-type=iso9660 --system=i686-linux gnu/system/install.scm
make all-recursive
make[1]: Entering directory '/home/tanguy/Documents/repo/guix/master'
Making all in po/guix
make[2]: Entering directory '/home/tanguy/Documents/repo/guix/master/po/guix'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tanguy/Documents/repo/guix/master/po/guix'
Making all in po/packages
make[2]: Entering directory '/home/tanguy/Documents/repo/guix/master/po/packages'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tanguy/Documents/repo/guix/master/po/packages'
make[2]: Entering directory '/home/tanguy/Documents/repo/guix/master'
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
make[2]: Leaving directory '/home/tanguy/Documents/repo/guix/master'
make[1]: Leaving directory '/home/tanguy/Documents/repo/guix/master'
;;; compiling /home/tanguy/Documents/repo/guix/master/gnu/system/examples/bare-bones.tmpl
;;; compiled /home/tanguy/.cache/guile/ccache/3.0-LE-8-4.6/home/tanguy/Documents/repo/guix/master/gnu/system/examples/bare-bones.tmpl.go
;;; compiling /home/tanguy/Documents/repo/guix/master/gnu/system/examples/bare-bones.tmpl
;;; compiled /home/tanguy/.cache/guile/ccache/3.0-LE-8-4.6/home/tanguy/Documents/repo/guix/master/gnu/system/examples/bare-bones.tmpl.go
;;; compiling /home/tanguy/Documents/repo/guix/master/gnu/system/examples/bare-bones.tmpl
;;; compiled /home/tanguy/.cache/guile/ccache/3.0-LE-8-4.6/home/tanguy/Documents/repo/guix/master/gnu/system/examples/bare-bones.tmpl.go
Updating channel 'guix' from Git repository at '/home/tanguy/Documents/repo/guix/master/'...
Backtrace:
In guix/store.scm:
1330:8 19 (call-with-build-handler #<procedure 7f2e4de16d80 at g…> …)
2210:25 18 (run-with-store #<store-connection 256.100 7f2e4ff158c0> …)
In guix/gexp.scm:
931:13 17 (_ _)
In guix/store.scm:
2038:8 16 (_ _)
In guix/gexp.scm:
300:22 15 (_ _)
In guix/store.scm:
2038:8 14 (_ _)
In guix/gexp.scm:
300:22 13 (_ _)
In guix/store.scm:
2038:8 12 (_ _)
In guix/packages.scm:
2037:11 11 (_ _)
In guix/build-system/channel.scm:
43:2 10 (_ _)
In guix/store.scm:
2082:38 9 (_ #<store-connection 256.100 7f2e4ff158c0>)
In guix/channels.scm:
559:23 8 (latest-channel-instances #<store-connection 256.100 7…> …)
430:12 7 (latest-channel-instance #<store-connection 256.100 7f…> …)
In guix/git.scm:
353:7 6 (call-with-repository _ #<procedure 7f2e39e384e0 at gui…>)
In guix/git-authenticate.scm:
403:4 5 (authenticate-repository #<git-repository 17e6e840> _ # …)
262:20 4 (load-keyring-from-reference #<git-repository 17e6e840> _)
In git/branch.scm:
101:8 3 (_ _ _ _)
In git/bindings.scm:
77:2 2 (raise-git-error _)
In ice-9/boot-9.scm:
1685:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Git error: cannot locate remote-tracking branch 'origin/keyring'
```
`origin/keyring` exist and its last commit is f8868dd56bff0f282329a33abb62262b2fc584b6
(add Ekaitz).
The "good" news is that it doesn’t seem to be a bug related to the Hurd! 😁
Regards,
--
Tanguy
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GNU/Hurd on real hardware
2024-11-30 11:14 ` Tanguy LE CARROUR
@ 2024-11-30 11:20 ` Ekaitz Zarraga
2024-11-30 11:48 ` janneke
2024-11-30 15:00 ` Simon Tournier
2 siblings, 0 replies; 6+ messages in thread
From: Ekaitz Zarraga @ 2024-11-30 11:20 UTC (permalink / raw)
To: Tanguy LE CARROUR, Janneke Nieuwenhuizen; +Cc: help-guix
On 2024-11-30 12:14, Tanguy LE CARROUR wrote:
> `origin/keyring` exist and its last commit is f8868dd56bff0f282329a33abb62262b2fc584b6
> (add Ekaitz).
>
> The "good" news is that it doesn’t seem to be a bug related to the Hurd! 😁
Hehe
You never know...
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GNU/Hurd on real hardware
2024-11-30 11:14 ` Tanguy LE CARROUR
2024-11-30 11:20 ` Ekaitz Zarraga
@ 2024-11-30 11:48 ` janneke
2024-11-30 15:00 ` Simon Tournier
2 siblings, 0 replies; 6+ messages in thread
From: janneke @ 2024-11-30 11:48 UTC (permalink / raw)
To: Tanguy LE CARROUR; +Cc: help-guix
Tanguy LE CARROUR writes:
Hi Tanguy,
> Quoting Janneke Nieuwenhuizen (2024-11-29 19:18:43)
>> I succeeded in building a 32bit installer from commit
>>
>> --8<---------------cut here---------------start------------->8---
>> commit cd26d76fedb7ab13ad91bd5dcfce119892b8e62e
>> news: Add entry for the Guix survey.
>> --8<---------------cut here---------------end--------------->8---
>
> Lucky you! 😞
heh :)
>
> ```
> $ git checkout -b test_hurd cd26d76fedb7ab13ad91bd5dcfce119892b8e62e
> # […]
>
> # add `(kernel linux-libre-5.15)`
>
> $ make -j 8; and ./pre-inst-env guix system image --image-type=iso9660 --system=i686-linux gnu/system/install.scm
[..]
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> Git error: cannot locate remote-tracking branch 'origin/keyring'
> ```
>
> `origin/keyring` exist and its last commit is f8868dd56bff0f282329a33abb62262b2fc584b6
> (add Ekaitz).
Ow terrible, you got hit by #57229. Luckily, I found a workaround (See
<https://issues.guix.gnu.org/57229#3>): run: guix pull --url=$PWD That
authenticates the branch.
> The "good" news is that it doesn’t seem to be a bug related to the Hurd! 😁
That's right! :)
Greetings,
Janneke
--
Janneke Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GNU/Hurd on real hardware
2024-11-30 11:14 ` Tanguy LE CARROUR
2024-11-30 11:20 ` Ekaitz Zarraga
2024-11-30 11:48 ` janneke
@ 2024-11-30 15:00 ` Simon Tournier
2 siblings, 0 replies; 6+ messages in thread
From: Simon Tournier @ 2024-11-30 15:00 UTC (permalink / raw)
To: Tanguy LE CARROUR, Janneke Nieuwenhuizen; +Cc: help-guix
Hi,
On Sat, 30 Nov 2024 at 12:14, Tanguy LE CARROUR <tanguy@bioneland.org> wrote:
> Hi Janneke,
>
>
> Quoting Janneke Nieuwenhuizen (2024-11-29 19:18:43)
>> I succeeded in building a 32bit installer from commit
>>
>> --8<---------------cut here---------------start------------->8---
>> commit cd26d76fedb7ab13ad91bd5dcfce119892b8e62e
>> news: Add entry for the Guix survey.
>> --8<---------------cut here---------------end--------------->8---
>
> Lucky you! 😞
>
> ```
> $ git checkout -b test_hurd cd26d76fedb7ab13ad91bd5dcfce119892b8e62e
[...]
> Updating channel 'guix' from Git repository at '/home/tanguy/Documents/repo/guix/master/'...
> Backtrace:
> In guix/store.scm:
> 1330:8 19 (call-with-build-handler #<procedure 7f2e4de16d80 at g…> …)
> 2210:25 18 (run-with-store #<store-connection 256.100 7f2e4ff158c0> …)
> In guix/gexp.scm:
> 931:13 17 (_ _)
> In guix/store.scm:
> 2038:8 16 (_ _)
> In guix/gexp.scm:
> 300:22 15 (_ _)
> In guix/store.scm:
> 2038:8 14 (_ _)
> In guix/gexp.scm:
> 300:22 13 (_ _)
> In guix/store.scm:
> 2038:8 12 (_ _)
> In guix/packages.scm:
> 2037:11 11 (_ _)
> In guix/build-system/channel.scm:
> 43:2 10 (_ _)
> In guix/store.scm:
> 2082:38 9 (_ #<store-connection 256.100 7f2e4ff158c0>)
> In guix/channels.scm:
> 559:23 8 (latest-channel-instances #<store-connection 256.100 7…> …)
> 430:12 7 (latest-channel-instance #<store-connection 256.100 7f…> …)
> In guix/git.scm:
> 353:7 6 (call-with-repository _ #<procedure 7f2e39e384e0 at gui…>)
> In guix/git-authenticate.scm:
> 403:4 5 (authenticate-repository #<git-repository 17e6e840> _ # …)
> 262:20 4 (load-keyring-from-reference #<git-repository 17e6e840> _)
> In git/branch.scm:
> 101:8 3 (_ _ _ _)
> In git/bindings.scm:
> 77:2 2 (raise-git-error _)
> In ice-9/boot-9.scm:
> 1685:16 1 (raise-exception _ #:continuable? _)
> 1685:16 0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> Git error: cannot locate remote-tracking branch 'origin/keyring'
> ```
>
> `origin/keyring` exist and its last commit is f8868dd56bff0f282329a33abb62262b2fc584b6
> (add Ekaitz).
Weird! Hum, I think it’s mixing two things (local checkout and
~/.cache/guix/checkout/pj…) for one authentication cache, so maybe
that’s why an error pops up. I suggest to populate the authenticate
cache first (guix time-machine) and then play with Hurd. ;-)
--8<---------------cut here---------------start------------->8---
$ guix time-machine -q --commit=cd26d76fedb7ab13ad91bd5dcfce119892b8e62e -- describe
$ git checkout -b test_hurd cd26d76fedb7ab13ad91bd5dcfce119892b8e62e
$ make -j8
$ echo cross fingers…
$ ./pre-inst-env guix system image --image-type=iso9660 --system=i686-linux gnu/system/install.scm
$ echo …yeah!
--8<---------------cut here---------------end--------------->8---
This works for me… Aside I have not tweak Linux kernel.
Cheers,
simon
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-11-30 15:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-29 17:57 GNU/Hurd on real hardware Gabriel Wicki
2024-11-29 18:18 ` Janneke Nieuwenhuizen
2024-11-30 11:14 ` Tanguy LE CARROUR
2024-11-30 11:20 ` Ekaitz Zarraga
2024-11-30 11:48 ` janneke
2024-11-30 15:00 ` Simon Tournier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.