[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72457] [PATCH v3 00/15] Rewrite bootloader subsystem.
From: |
Sergey Trofimov |
Subject: |
[bug#72457] [PATCH v3 00/15] Rewrite bootloader subsystem. |
Date: |
Mon, 5 Aug 2024 09:00:42 +0200 |
Hi Lilah,
On Sun, 4 Aug 2024 at 22:33, Lilah Tascheter <lilah@lunabee.space> wrote:
>
> Goddamnit, alright, how's this?
Unfortunately it still doesn't work. Here is my debug session:
Error:
--8<---------------cut here---------------start------------->8---
In srfi/srfi-1.scm:
586:17 8 (map1 (#f #<<uuid> type: fat bv: #vu8(77 160 163 107)>
#<<uuid> type: dce bv: #vu8(246 188 138 216 255 26 23 84 83 48 172 24
246 188 138 216)> #<<uuid> type: fat bv: #vu8(77 160 163 107)>))
In ice-9/eval.scm:
293:34 7 (_ #(#(#(#(#(#(#<directory (gnu bootloader)
7f49dbce61e0>) #f (#f #<<uuid> type: fat bv: #vu8(77 160 163 107)>
#<<uuid> type: dce bv: #vu8(246 188 138 216 255 26 23 84 83 48 172 24
246 188 138 216)> #<<uuid> type: fat bv: #vu8(77 160 163 107)>))
#<procedure up (a)>) (#f)) (#f #f)) #<procedure offset (a)>))
191:35 6 (_ #(#(#(#(#(#(#<directory (gnu bootloader)
7f49dbce61e0>) #f (#f #<<uuid> type: fat bv: #vu8(77 160 163 107)>
#<<uuid> type: dce bv: #vu8(246 188 138 216 255 26 23 84 83 48 172 24
246 188 138 216)> #<<uuid> type: fat bv: #vu8(77 160 163 107)>))
#<procedure up (a)>) (#f)) (#f #f)) #<procedure offset (a)>))
163:9 5 (_ #(#(#(#(#(#(#<directory (gnu bootloader)
7f49dbce61e0>) #f (#f #<<uuid> type: fat bv: #vu8(77 160 163 107)>
#<<uuid> type: dce bv: #vu8(246 188 138 216 255 26 23 84 83 48 172 24
246 188 138 216)> #<<uuid> type: fat bv: #vu8(77 160 163 107)>))
#<procedure up (a)>) (#f)) (#f #f)) #<procedure offset (a)>))
In srfi/srfi-1.scm:
586:17 4 (map1 (#f))
In ice-9/eval.scm:
263:9 3 (_ #(#(#<directory (gnu bootloader) 7f49dbce61e0>) #f))
155:9 2 (_ _)
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:
In procedure struct-vtable: Wrong type argument in position 1
(expecting struct): #f
--8<---------------cut here---------------end--------------->8---
Trying to debug it in REPL:
--8<---------------cut here---------------start------------->8---
,m (gnu bootloader)
,use (gnu bootloader grub)
(bootloader-configuration->gexp
(bootloader-configuration
(bootloader grub-efi-bootloader)
(targets (list (bootloader-target (type 'esp) (path "/boot"))))) '())
--8<---------------cut here---------------end--------------->8---
List of targets passed to normalize:
--8<---------------cut here---------------start------------->8---
#<<bootloader-target> type: vendir expected?: #f path: "EFI/Guix"
offset: #<procedure offset (a)> device: #f file-system: #f label: #f
uuid: #f>
#<<bootloader-target> type: install expected?: #f path: "boot" offset:
#<procedure offset (a)> device: #f file-system: #f label: #f uuid: #f>
#<<bootloader-target> type: root expected?: #f path: "/" offset:
#<procedure offset (x)> device: #f file-system: #f label: #f uuid: #f>
#<<bootloader-target> type: esp expected?: #f path: "/boot" offset:
#<procedure feb5818 at <unknown port>:132:19 (x)> device: #f
file-system: #f label: #f uuid: #f>)
--8<---------------cut here---------------end--------------->8---
(mounts):
--8<---------------cut here---------------start------------->8---
#<<mount> devno: 21 source: "none" point: "/proc" type: "proc"
options: "rw,relatime">
#<<mount> devno: 6 source: "none" point: "/dev" type: "devtmpfs"
options: "rw,relatime">
#<<mount> devno: 22 source: "none" point: "/sys" type: "sysfs"
options: "rw,relatime">
#<<mount> devno: 2050 source: "/dev/sda2" point: "/" type: "ext4"
options: "rw,relatime">
#<<mount> devno: 2049 source: "/dev/sda1" point: "/boot" type: "vfat"
options: "rw,relatime">
#<<mount> devno: 24 source: "none" point: "/dev/pts" type: "devpts"
options: "rw,relatime">
#<<mount> devno: 8 source: "none" point: "/sys/kernel/debug" type:
"debugfs" options: "rw,relatime">
#<<mount> devno: 25 source: "tmpfs" point: "/dev/shm" type: "tmpfs"
options: "rw,nosuid,nodev,relatime">
#<<mount> devno: 26 source: "efivarfs" point:
"/sys/firmware/efi/efivars" type: "efivarfs" options: "rw,relatime">
#<<mount> devno: 2050 source: "/dev/sda2" point: "/gnu/store" type:
"ext4" options: "ro,noatime">
#<<mount> devno: 27 source: "none" point: "/run/systemd" type: "tmpfs"
options: "rw,nosuid,nodev,noexec,relatime">
#<<mount> devno: 28 source: "none" point: "/run/user" type: "tmpfs"
options: "rw,nosuid,nodev,noexec,relatime">
#<<mount> devno: 29 source: "none" point: "/sys/fs/cgroup" type:
"cgroup2" options: "rw,relatime">
#<<mount> devno: 30 source: "cgroup" point: "/sys/fs/cgroup/elogind"
type: "cgroup" options: "rw,relatime">
#<<mount> devno: 31 source: "tmpfs" point: "/run/user/1000" type:
"tmpfs" options: "rw,nosuid,nodev,relatime">
#<<mount> devno: 33 source: "portal" point: "/run/user/1000/doc" type:
"fuse.portal" options: "rw,nosuid,nodev,relatime">
--8<---------------cut here---------------end--------------->8---
(disk-partitions): ("sda" "sda1" "sda2")
labels: sda1: GNU-ESP sda2: Guix_image
uuids:
--8<---------------cut here---------------start------------->8---
(read-partition-uuid "/dev/sda2")
#vu8(246 188 138 216 255 26 23 84 83 48 172 24 246 188 138 216)
(read-partition-uuid "/dev/sda1")
#vu8(77 160 163 107)
--8<---------------cut here---------------end--------------->8---
It seems that device couldn't be guessed for the vendir target, as
(unfold-pathcat) returns a path (/boot/EFI/Guix) that is not in
(mounts).
- [bug#72457] [PATCH v3 09/15] gnu: packages: Add ukify., (continued)
- [bug#72457] [PATCH v3 09/15] gnu: packages: Add ukify., Lilah Tascheter, 2024/08/04
- [bug#72457] [PATCH v3 01/15] guix: scripts: Rewrite reinstall-bootloader to use provenance data., Lilah Tascheter, 2024/08/04
- [bug#72457] [PATCH v3 10/15] gnu: packages: Add systemd-stub., Lilah Tascheter, 2024/08/04
- [bug#72457] [PATCH v3 11/15] gnu: bootloaders: Add uki-efi-bootloader., Lilah Tascheter, 2024/08/04
- [bug#72457] [PATCH v3 14/15] gnu: tests: Update tests to new targets system., Lilah Tascheter, 2024/08/04
- [bug#72457] [PATCH v3 06/15] gnu: bootloader: Add raspberry pi bootloader., Lilah Tascheter, 2024/08/04
- [bug#72457] [PATCH v3 15/15] teams: Add bootloading team., Lilah Tascheter, 2024/08/04
- [bug#72457] [PATCH v3 04/15] gnu: Core bootloader changes., Lilah Tascheter, 2024/08/04
- [bug#72457] [PATCH v3 12/15] gnu: system: Update examples., Lilah Tascheter, 2024/08/04
- [bug#72457] [PATCH v3 13/15] doc: Update bootloader documentation., Lilah Tascheter, 2024/08/04
- [bug#72457] [PATCH v3 00/15] Rewrite bootloader subsystem.,
Sergey Trofimov <=
- [bug#72457] [PATCH v4 00/15] Rewrite bootloader subsystem., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 05/15] gnu: system: Remove useless boot parameters., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 15/15] teams: Add bootloading team., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 07/15] gnu: system: Fix bootloader crypto device recognition., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 02/15] gnu: Add bootloader target infastructure., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 14/15] gnu: tests: Update tests to new targets system., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 03/15] guix: scripts: Remove unused code., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 04/15] gnu: Core bootloader changes., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 01/15] guix: scripts: Rewrite reinstall-bootloader to use provenance data., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 09/15] gnu: packages: Add ukify., Lilah Tascheter, 2024/08/05