* Problems running Guix System initrd on an i.MX6 ARM board
@ 2022-12-13 3:40 Maxim Cournoyer
2022-12-19 23:48 ` jbranso
2022-12-21 19:38 ` Efraim Flashner
0 siblings, 2 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2022-12-13 3:40 UTC (permalink / raw)
To: help-guix
Hi Guix!
I've been trying for some time to run Guix System on an ARM board (a
TS-7970 with an i.MX6 Cortex A9 CPU). I wanted to cross-compile the
image for speed and efficiency, and stumbled upon some problems on the
way, such as https://issues.guix.gnu.org/44924, fixed on core-updates.
Then it took me some time to figure out that Guile 3.0.7 was segfaulting
when running the initrd's init script, which would cause the following
kernel panic and backtrace:
--8<---------------cut here---------------start------------->8---
[ 5.913371] ALSA device list:
[ 5.913374] #0: On-board Codec
[ 5.913376] #1: imx-hdmi-soc
[ 5.921483] sdhci-esdhc-imx 2190000.usdhc: card claims to support voltages below defined range
[ 5.938332] mmc0: new SDIO card at address 0001
[ 5.987225] mmc2: new DDR MMC card at address 0001
[ 5.998025] mmcblk2: mmc2:0001 MMC04G 3.60 GiB
[ 6.009623] mmcblk2boot0: mmc2:0001 MMC04G partition 1 16.0 MiB
[ 6.020181] mmcblk2boot1: mmc2:0001 MMC04G partition 2 16.0 MiB
[ 6.031772] mmcblk2rpmb: mmc2:0001 MMC04G partition 3 128 KiB
[ 6.957080] Freeing unused kernel memory: 1024K (80e00000 - 80f00000)
[ 6.967865] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00008b00
[ 6.967865]
[ 6.977015] CPU3: stopping
[ 6.979732] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.9.11-tsimx #1
[ 6.986174] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[ 6.992704] Backtrace:
[ 6.995189] [<80111d48>] (dump_backtrace) from [<80111f38>] (show_stack+0x18/0x1c)
[ 7.002765] r7:00000000 r6:20000193 r5:00000000 r4:80f2fecc
[ 7.008437] [<80111f20>] (show_stack) from [<8054d61c>] (dump_stack+0x80/0x9c)
[ 7.015669] [<8054d59c>] (dump_stack) from [<8010d8dc>] (handle_IPI+0xe0/0x178)
[ 7.022981] r7:00000000 r6:d80b1f18 r5:00000003 r4:80e7f034
[ 7.028648] [<8010d7fc>] (handle_IPI) from [<801014d8>] (gic_handle_irq+0x70/0x78)
[ 7.036222] r7:f4a01100 r6:80f0358c r5:f4a00100 r4:d80b1f18
[ 7.041895] [<80101468>] (gic_handle_irq) from [<80a0a34c>] (__irq_svc+0x6c/0xa8)
[ 7.049380] Exception stack(0xd80b1f18 to 0xd80b1f60)
[ 7.054434] 1f00: 00000000 00000001
[ 7.062617] 1f20: 59eaf000 dad2fec0 9fdcb41d 9f4ecbfd dad2f1a8 00000000 00000001 00000000
[ 7.070800] 1f40: 00000001 d80b1f9c d80b1f68 d80b1f68 80826350 80826374 60000113 ffffffff
[ 7.078981] r7:d80b1f4c r6:ffffffff r5:60000113 r4:80826374
[ 7.084651] [<80826284>] (cpuidle_enter_state) from [<80826488>] (cpuidle_enter+0x1c/0x20)
[ 7.092921] r10:d80b1fc0 r9:80e801a0 r8:80f030f4 r7:d80b0000 r6:00000003 r5:80f08cd4
[ 7.100752] r4:dad2f1a8
[ 7.103301] [<8082646c>] (cpuidle_enter) from [<80165ccc>] (call_cpuidle+0x3c/0x40)
[ 7.110966] [<80165c90>] (call_cpuidle) from [<80165f48>] (cpu_startup_entry+0x188/0x1a8)
[ 7.119149] [<80165dc0>] (cpu_startup_entry) from [<8010d5b8>] (secondary_start_kernel+0x134/0x164)
[ 7.128196] r7:80f8d320 r4:80f14490
[ 7.131779] [<8010d484>] (secondary_start_kernel) from [<1010156c>] (0x1010156c)
[ 7.139178] r7:80f8d320 r6:10c03c7d r5:00000051 r4:6809806a
[ 7.144839] CPU1: stopping
[ 7.147554] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.11-tsimx #1
[ 7.153996] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[ 7.160524] Backtrace:
[ 7.162999] [<80111d48>] (dump_backtrace) from [<80111f38>] (show_stack+0x18/0x1c)
[ 7.170573] r7:00000000 r6:20000193 r5:00000000 r4:80f2fecc
[ 7.176242] [<80111f20>] (show_stack) from [<8054d61c>] (dump_stack+0x80/0x9c)
[ 7.183471] [<8054d59c>] (dump_stack) from [<8010d8dc>] (handle_IPI+0xe0/0x178)
[ 7.190783] r7:00000000 r6:d80adf18 r5:00000001 r4:80e7f034
[ 7.196449] [<8010d7fc>] (handle_IPI) from [<801014d8>] (gic_handle_irq+0x70/0x78)
[ 7.204022] r7:f4a01100 r6:80f0358c r5:f4a00100 r4:d80adf18
[ 7.209689] [<80101468>] (gic_handle_irq) from [<80a0a34c>] (__irq_svc+0x6c/0xa8)
[ 7.217173] Exception stack(0xd80adf18 to 0xd80adf60)
[ 7.222227] df00: 00000000 00000001
[ 7.230410] df20: 59e93000 dad13ec0 9fdcb2cf 9f4ecbfd dad131a8 00000000 00000001 00000000
[ 7.238592] df40: 00000001 d80adf9c d80adf68 d80adf68 80826350 80826374 60000013 ffffffff
[ 7.246773] r7:d80adf4c r6:ffffffff r5:60000013 r4:80826374
[ 7.252439] [<80826284>] (cpuidle_enter_state) from [<80826488>] (cpuidle_enter+0x1c/0x20)
[ 7.260709] r10:d80adfc0 r9:80e801a0 r8:80f030f4 r7:d80ac000 r6:00000001 r5:80f08cd4
[ 7.268539] r4:dad131a8
[ 7.271082] [<8082646c>] (cpuidle_enter) from [<80165ccc>] (call_cpuidle+0x3c/0x40)
[ 7.278746] [<80165c90>] (call_cpuidle) from [<80165f48>] (cpu_startup_entry+0x188/0x1a8)
[ 7.286931] [<80165dc0>] (cpu_startup_entry) from [<8010d5b8>] (secondary_start_kernel+0x134/0x164)
[ 7.295979] r7:80f8d320 r4:80f14490
[ 7.299560] [<8010d484>] (secondary_start_kernel) from [<1010156c>] (0x1010156c)
[ 7.306959] r7:80f8d320 r6:10c03c7d r5:00000051 r4:6809806a
[ 7.312621] CPU2: stopping
[ 7.315337] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.9.11-tsimx #1
[ 7.321779] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[ 7.328306] Backtrace:
[ 7.330780] [<80111d48>] (dump_backtrace) from [<80111f38>] (show_stack+0x18/0x1c)
[ 7.338355] r7:00000000 r6:20000193 r5:00000000 r4:80f2fecc
[ 7.344024] [<80111f20>] (show_stack) from [<8054d61c>] (dump_stack+0x80/0x9c)
[ 7.351254] [<8054d59c>] (dump_stack) from [<8010d8dc>] (handle_IPI+0xe0/0x178)
[ 7.358567] r7:00000000 r6:d80aff18 r5:00000002 r4:80e7f034
[ 7.364232] [<8010d7fc>] (handle_IPI) from [<801014d8>] (gic_handle_irq+0x70/0x78)
[ 7.371806] r7:f4a01100 r6:80f0358c r5:f4a00100 r4:d80aff18
[ 7.377472] [<80101468>] (gic_handle_irq) from [<80a0a34c>] (__irq_svc+0x6c/0xa8)
[ 7.384956] Exception stack(0xd80aff18 to 0xd80aff60)
[ 7.390010] ff00: 00000000 dad24bc0
[ 7.398192] ff20: 00000001 d80ae000 9fdcb6b7 9fca06dd dad211a8 00000001 00000001 00000004
[ 7.406375] ff40: 00000001 d80aff9c d80aff28 d80aff68 8018eb00 80826374 20000013 ffffffff
[ 7.414555] r7:d80aff4c r6:ffffffff r5:20000013 r4:80826374
[ 7.420222] [<80826284>] (cpuidle_enter_state) from [<80826488>] (cpuidle_enter+0x1c/0x20)
[ 7.428493] r10:d80affc0 r9:80e801a0 r8:80f030f4 r7:d80ae000 r6:00000002 r5:80f08cd4
[ 7.436323] r4:dad211a8
[ 7.438866] [<8082646c>] (cpuidle_enter) from [<80165ccc>] (call_cpuidle+0x3c/0x40)
[ 7.446531] [<80165c90>] (call_cpuidle) from [<80165f48>] (cpu_startup_entry+0x188/0x1a8)
[ 7.454714] [<80165dc0>] (cpu_startup_entry) from [<8010d5b8>] (secondary_start_kernel+0x134/0x164)
[ 7.463761] r7:80f8d320 r4:80f14490
[ 7.467342] [<8010d484>] (secondary_start_kernel) from [<1010156c>] (0x1010156c)
[ 7.474742] r7:80f8d320 r6:10c03c7d r5:00000051 r4:6809806a
[ 7.480414] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00008b00
[ 7.480414]
--8<---------------cut here---------------end--------------->8---
I found that guile would segfault and return an exit code of 139
(perhaps ETXTBSY, per guile sources), by adding bash-static to the
initrd and invoking guile from there during the early boot.
Luckily, Guile 3.0.8 doesn't have this problem, so the following fixed
it:
--8<---------------cut here---------------start------------->8---
modified gnu/packages/make-bootstrap.scm
@@ -797,7 +797,7 @@ (define %guile-static-stripped
;; A stripped static Guile 3.0 binary, for use in initrds
;; and during bootstrap.
(make-guile-static-stripped
- (make-guile-static guile-3.0
+ (make-guile-static guile-3.0-latest
'("guile-2.2-default-utf8.patch"
"guile-3.0-linux-syscalls.patch"
"guile-3.0-relocatable.patch"))))
--8<---------------cut here---------------end--------------->8---
The initrd now runs, but it fails with the following error:
--8<---------------cut here---------------start------------->8---
[ 8.448448] ALSA device list:
[ 8.451472] #0: On-board Codec
[ 8.454768] #1: imx-hdmi-soc
[ 8.461095] Freeing unused kernel memory: 1024K (80e00000 - 80f00000)
GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread
GC Warning: Couldn't read /proc/stat
[ 8.481168] mmc0: new SDIO card at address 0001
Welcome, this is GNU's early boot Guile.
Use 'gnu.repl' for an initrd REPL.
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `record-abi-mismatch-error' with args `(abi-check "~a: record ABI mismatch; recompilation needed" (#<record-type <file-system>>) ())'.
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
GNU Guile 3.0.8
Copyright (C) 1995-2021 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)>
--8<---------------cut here---------------end--------------->8---
The .go modules appear to be correctly cross-compiled for
arm-linux-gnueabihf (they run fine on the same target using a different
OS that I can boot with).
Ideas?
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems running Guix System initrd on an i.MX6 ARM board
2022-12-13 3:40 Problems running Guix System initrd on an i.MX6 ARM board Maxim Cournoyer
@ 2022-12-19 23:48 ` jbranso
2022-12-21 19:38 ` Efraim Flashner
1 sibling, 0 replies; 4+ messages in thread
From: jbranso @ 2022-12-19 23:48 UTC (permalink / raw)
To: Maxim Cournoyer, help-guix
December 12, 2022 10:42 PM, "Maxim Cournoyer" <maxim.cournoyer@gmail.com> wrote:
> Hi Guix!
>
> I've been trying for some time to run Guix System on an ARM board (a
> TS-7970 with an i.MX6 Cortex A9 CPU). I wanted to cross-compile the
> image for speed and efficiency, and stumbled upon some problems on the
> way, such as https://issues.guix.gnu.org/44924, fixed on core-updates.
Please bear in mind that what you are trying is a little beyond my paygrade.
Is this a 32 bit or 64 bit processor? My gut feeling is that running guix
system on a 32 bit arm board is going to be very painful.
I think I recall chatting on guix-devel and someone saying that 1GB or 2GB
RAM memory is the absolute minimum. So you will run into low memory issues
too. :(
I personally have a pinephone, and I haven't tried running guix system on it.
I assume other non-free distros will work better. And I need the non-free
drivers for SMS and calling... :(
>
> Then it took me some time to figure out that Guile 3.0.7 was segfaulting
> when running the initrd's init script, which would cause the following
> kernel panic and backtrace:
>
> --8<---------------cut here---------------start------------->8---
> [ 5.913371] ALSA device list:
> [ 5.913374] #0: On-board Codec
> [ 5.913376] #1: imx-hdmi-soc
> [ 5.921483] sdhci-esdhc-imx 2190000.usdhc: card claims to support voltages below defined range
> [ 5.938332] mmc0: new SDIO card at address 0001
> [ 5.987225] mmc2: new DDR MMC card at address 0001
> [ 5.998025] mmcblk2: mmc2:0001 MMC04G 3.60 GiB
> [ 6.009623] mmcblk2boot0: mmc2:0001 MMC04G partition 1 16.0 MiB
> [ 6.020181] mmcblk2boot1: mmc2:0001 MMC04G partition 2 16.0 MiB
> [ 6.031772] mmcblk2rpmb: mmc2:0001 MMC04G partition 3 128 KiB
> [ 6.957080] Freeing unused kernel memory: 1024K (80e00000 - 80f00000)
> [ 6.967865] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00008b00
> [ 6.967865]
> [ 6.977015] CPU3: stopping
> [ 6.979732] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.9.11-tsimx #1
> [ 6.986174] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> [ 6.992704] Backtrace:
> [ 6.995189] [<80111d48>] (dump_backtrace) from [<80111f38>] (show_stack+0x18/0x1c)
> [ 7.002765] r7:00000000 r6:20000193 r5:00000000 r4:80f2fecc
> [ 7.008437] [<80111f20>] (show_stack) from [<8054d61c>] (dump_stack+0x80/0x9c)
> [ 7.015669] [<8054d59c>] (dump_stack) from [<8010d8dc>] (handle_IPI+0xe0/0x178)
> [ 7.022981] r7:00000000 r6:d80b1f18 r5:00000003 r4:80e7f034
> [ 7.028648] [<8010d7fc>] (handle_IPI) from [<801014d8>] (gic_handle_irq+0x70/0x78)
> [ 7.036222] r7:f4a01100 r6:80f0358c r5:f4a00100 r4:d80b1f18
> [ 7.041895] [<80101468>] (gic_handle_irq) from [<80a0a34c>] (__irq_svc+0x6c/0xa8)
> [ 7.049380] Exception stack(0xd80b1f18 to 0xd80b1f60)
> [ 7.054434] 1f00: 00000000 00000001
> [ 7.062617] 1f20: 59eaf000 dad2fec0 9fdcb41d 9f4ecbfd dad2f1a8 00000000 00000001 00000000
> [ 7.070800] 1f40: 00000001 d80b1f9c d80b1f68 d80b1f68 80826350 80826374 60000113 ffffffff
> [ 7.078981] r7:d80b1f4c r6:ffffffff r5:60000113 r4:80826374
> [ 7.084651] [<80826284>] (cpuidle_enter_state) from [<80826488>] (cpuidle_enter+0x1c/0x20)
> [ 7.092921] r10:d80b1fc0 r9:80e801a0 r8:80f030f4 r7:d80b0000 r6:00000003 r5:80f08cd4
> [ 7.100752] r4:dad2f1a8
> [ 7.103301] [<8082646c>] (cpuidle_enter) from [<80165ccc>] (call_cpuidle+0x3c/0x40)
> [ 7.110966] [<80165c90>] (call_cpuidle) from [<80165f48>] (cpu_startup_entry+0x188/0x1a8)
> [ 7.119149] [<80165dc0>] (cpu_startup_entry) from [<8010d5b8>] (secondary_start_kernel+0x134/0x164)
> [ 7.128196] r7:80f8d320 r4:80f14490
> [ 7.131779] [<8010d484>] (secondary_start_kernel) from [<1010156c>] (0x1010156c)
> [ 7.139178] r7:80f8d320 r6:10c03c7d r5:00000051 r4:6809806a
> [ 7.144839] CPU1: stopping
> [ 7.147554] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.11-tsimx #1
> [ 7.153996] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> [ 7.160524] Backtrace:
> [ 7.162999] [<80111d48>] (dump_backtrace) from [<80111f38>] (show_stack+0x18/0x1c)
> [ 7.170573] r7:00000000 r6:20000193 r5:00000000 r4:80f2fecc
> [ 7.176242] [<80111f20>] (show_stack) from [<8054d61c>] (dump_stack+0x80/0x9c)
> [ 7.183471] [<8054d59c>] (dump_stack) from [<8010d8dc>] (handle_IPI+0xe0/0x178)
> [ 7.190783] r7:00000000 r6:d80adf18 r5:00000001 r4:80e7f034
> [ 7.196449] [<8010d7fc>] (handle_IPI) from [<801014d8>] (gic_handle_irq+0x70/0x78)
> [ 7.204022] r7:f4a01100 r6:80f0358c r5:f4a00100 r4:d80adf18
> [ 7.209689] [<80101468>] (gic_handle_irq) from [<80a0a34c>] (__irq_svc+0x6c/0xa8)
> [ 7.217173] Exception stack(0xd80adf18 to 0xd80adf60)
> [ 7.222227] df00: 00000000 00000001
> [ 7.230410] df20: 59e93000 dad13ec0 9fdcb2cf 9f4ecbfd dad131a8 00000000 00000001 00000000
> [ 7.238592] df40: 00000001 d80adf9c d80adf68 d80adf68 80826350 80826374 60000013 ffffffff
> [ 7.246773] r7:d80adf4c r6:ffffffff r5:60000013 r4:80826374
> [ 7.252439] [<80826284>] (cpuidle_enter_state) from [<80826488>] (cpuidle_enter+0x1c/0x20)
> [ 7.260709] r10:d80adfc0 r9:80e801a0 r8:80f030f4 r7:d80ac000 r6:00000001 r5:80f08cd4
> [ 7.268539] r4:dad131a8
> [ 7.271082] [<8082646c>] (cpuidle_enter) from [<80165ccc>] (call_cpuidle+0x3c/0x40)
> [ 7.278746] [<80165c90>] (call_cpuidle) from [<80165f48>] (cpu_startup_entry+0x188/0x1a8)
> [ 7.286931] [<80165dc0>] (cpu_startup_entry) from [<8010d5b8>] (secondary_start_kernel+0x134/0x164)
> [ 7.295979] r7:80f8d320 r4:80f14490
> [ 7.299560] [<8010d484>] (secondary_start_kernel) from [<1010156c>] (0x1010156c)
> [ 7.306959] r7:80f8d320 r6:10c03c7d r5:00000051 r4:6809806a
> [ 7.312621] CPU2: stopping
> [ 7.315337] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.9.11-tsimx #1
> [ 7.321779] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> [ 7.328306] Backtrace:
> [ 7.330780] [<80111d48>] (dump_backtrace) from [<80111f38>] (show_stack+0x18/0x1c)
> [ 7.338355] r7:00000000 r6:20000193 r5:00000000 r4:80f2fecc
> [ 7.344024] [<80111f20>] (show_stack) from [<8054d61c>] (dump_stack+0x80/0x9c)
> [ 7.351254] [<8054d59c>] (dump_stack) from [<8010d8dc>] (handle_IPI+0xe0/0x178)
> [ 7.358567] r7:00000000 r6:d80aff18 r5:00000002 r4:80e7f034
> [ 7.364232] [<8010d7fc>] (handle_IPI) from [<801014d8>] (gic_handle_irq+0x70/0x78)
> [ 7.371806] r7:f4a01100 r6:80f0358c r5:f4a00100 r4:d80aff18
> [ 7.377472] [<80101468>] (gic_handle_irq) from [<80a0a34c>] (__irq_svc+0x6c/0xa8)
> [ 7.384956] Exception stack(0xd80aff18 to 0xd80aff60)
> [ 7.390010] ff00: 00000000 dad24bc0
> [ 7.398192] ff20: 00000001 d80ae000 9fdcb6b7 9fca06dd dad211a8 00000001 00000001 00000004
> [ 7.406375] ff40: 00000001 d80aff9c d80aff28 d80aff68 8018eb00 80826374 20000013 ffffffff
> [ 7.414555] r7:d80aff4c r6:ffffffff r5:20000013 r4:80826374
> [ 7.420222] [<80826284>] (cpuidle_enter_state) from [<80826488>] (cpuidle_enter+0x1c/0x20)
> [ 7.428493] r10:d80affc0 r9:80e801a0 r8:80f030f4 r7:d80ae000 r6:00000002 r5:80f08cd4
> [ 7.436323] r4:dad211a8
> [ 7.438866] [<8082646c>] (cpuidle_enter) from [<80165ccc>] (call_cpuidle+0x3c/0x40)
> [ 7.446531] [<80165c90>] (call_cpuidle) from [<80165f48>] (cpu_startup_entry+0x188/0x1a8)
> [ 7.454714] [<80165dc0>] (cpu_startup_entry) from [<8010d5b8>] (secondary_start_kernel+0x134/0x164)
> [ 7.463761] r7:80f8d320 r4:80f14490
> [ 7.467342] [<8010d484>] (secondary_start_kernel) from [<1010156c>] (0x1010156c)
> [ 7.474742] r7:80f8d320 r6:10c03c7d r5:00000051 r4:6809806a
> [ 7.480414] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00008b00
> [ 7.480414]
> --8<---------------cut here---------------end--------------->8---
>
> I found that guile would segfault and return an exit code of 139
> (perhaps ETXTBSY, per guile sources), by adding bash-static to the
> initrd and invoking guile from there during the early boot.
>
> Luckily, Guile 3.0.8 doesn't have this problem, so the following fixed
> it:
>
> --8<---------------cut here---------------start------------->8---
> modified gnu/packages/make-bootstrap.scm
> @@ -797,7 +797,7 @@ (define %guile-static-stripped
> ;; A stripped static Guile 3.0 binary, for use in initrds
> ;; and during bootstrap.
> (make-guile-static-stripped
> - (make-guile-static guile-3.0
> + (make-guile-static guile-3.0-latest
> '("guile-2.2-default-utf8.patch"
> "guile-3.0-linux-syscalls.patch"
> "guile-3.0-relocatable.patch"))))
> --8<---------------cut here---------------end--------------->8---
>
> The initrd now runs, but it fails with the following error:
>
> --8<---------------cut here---------------start------------->8---
> [ 8.448448] ALSA device list:
> [ 8.451472] #0: On-board Codec
> [ 8.454768] #1: imx-hdmi-soc
> [ 8.461095] Freeing unused kernel memory: 1024K (80e00000 - 80f00000)
> GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread
> GC Warning: Couldn't read /proc/stat
> [ 8.481168] mmc0: new SDIO card at address 0001
> Welcome, this is GNU's early boot Guile.
> Use 'gnu.repl' for an initrd REPL.
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> Throw to key `record-abi-mismatch-error' with args `(abi-check "~a: record ABI mismatch;
> recompilation needed" (#<record-type <file-system>>) ())'.
>
> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
> GNU Guile 3.0.8
> Copyright (C) 1995-2021 Free Software Foundation, Inc.
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> This program is free software, and you are welcome to redistribute it
> under certain conditions; type `,show c' for details.
>
> Enter `,help' for help.
> scheme@(guile-user)>
> --8<---------------cut here---------------end--------------->8---
>
> The .go modules appear to be correctly cross-compiled for
> arm-linux-gnueabihf (they run fine on the same target using a different
> OS that I can boot with).
>
> Ideas?
>
> --
> Thanks,
> Maxim
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems running Guix System initrd on an i.MX6 ARM board
2022-12-13 3:40 Problems running Guix System initrd on an i.MX6 ARM board Maxim Cournoyer
2022-12-19 23:48 ` jbranso
@ 2022-12-21 19:38 ` Efraim Flashner
2023-02-28 1:47 ` Maxim Cournoyer
1 sibling, 1 reply; 4+ messages in thread
From: Efraim Flashner @ 2022-12-21 19:38 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 10441 bytes --]
On Mon, Dec 12, 2022 at 10:40:50PM -0500, Maxim Cournoyer wrote:
> Hi Guix!
>
> I've been trying for some time to run Guix System on an ARM board (a
> TS-7970 with an i.MX6 Cortex A9 CPU). I wanted to cross-compile the
> image for speed and efficiency, and stumbled upon some problems on the
> way, such as https://issues.guix.gnu.org/44924, fixed on core-updates.
>
> Then it took me some time to figure out that Guile 3.0.7 was segfaulting
> when running the initrd's init script, which would cause the following
> kernel panic and backtrace:
>
> --8<---------------cut here---------------start------------->8---
> [ 5.913371] ALSA device list:
> [ 5.913374] #0: On-board Codec
> [ 5.913376] #1: imx-hdmi-soc
> [ 5.921483] sdhci-esdhc-imx 2190000.usdhc: card claims to support voltages below defined range
> [ 5.938332] mmc0: new SDIO card at address 0001
> [ 5.987225] mmc2: new DDR MMC card at address 0001
> [ 5.998025] mmcblk2: mmc2:0001 MMC04G 3.60 GiB
> [ 6.009623] mmcblk2boot0: mmc2:0001 MMC04G partition 1 16.0 MiB
> [ 6.020181] mmcblk2boot1: mmc2:0001 MMC04G partition 2 16.0 MiB
> [ 6.031772] mmcblk2rpmb: mmc2:0001 MMC04G partition 3 128 KiB
> [ 6.957080] Freeing unused kernel memory: 1024K (80e00000 - 80f00000)
> [ 6.967865] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00008b00
> [ 6.967865]
> [ 6.977015] CPU3: stopping
> [ 6.979732] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.9.11-tsimx #1
> [ 6.986174] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> [ 6.992704] Backtrace:
> [ 6.995189] [<80111d48>] (dump_backtrace) from [<80111f38>] (show_stack+0x18/0x1c)
> [ 7.002765] r7:00000000 r6:20000193 r5:00000000 r4:80f2fecc
> [ 7.008437] [<80111f20>] (show_stack) from [<8054d61c>] (dump_stack+0x80/0x9c)
> [ 7.015669] [<8054d59c>] (dump_stack) from [<8010d8dc>] (handle_IPI+0xe0/0x178)
> [ 7.022981] r7:00000000 r6:d80b1f18 r5:00000003 r4:80e7f034
> [ 7.028648] [<8010d7fc>] (handle_IPI) from [<801014d8>] (gic_handle_irq+0x70/0x78)
> [ 7.036222] r7:f4a01100 r6:80f0358c r5:f4a00100 r4:d80b1f18
> [ 7.041895] [<80101468>] (gic_handle_irq) from [<80a0a34c>] (__irq_svc+0x6c/0xa8)
> [ 7.049380] Exception stack(0xd80b1f18 to 0xd80b1f60)
> [ 7.054434] 1f00: 00000000 00000001
> [ 7.062617] 1f20: 59eaf000 dad2fec0 9fdcb41d 9f4ecbfd dad2f1a8 00000000 00000001 00000000
> [ 7.070800] 1f40: 00000001 d80b1f9c d80b1f68 d80b1f68 80826350 80826374 60000113 ffffffff
> [ 7.078981] r7:d80b1f4c r6:ffffffff r5:60000113 r4:80826374
> [ 7.084651] [<80826284>] (cpuidle_enter_state) from [<80826488>] (cpuidle_enter+0x1c/0x20)
> [ 7.092921] r10:d80b1fc0 r9:80e801a0 r8:80f030f4 r7:d80b0000 r6:00000003 r5:80f08cd4
> [ 7.100752] r4:dad2f1a8
> [ 7.103301] [<8082646c>] (cpuidle_enter) from [<80165ccc>] (call_cpuidle+0x3c/0x40)
> [ 7.110966] [<80165c90>] (call_cpuidle) from [<80165f48>] (cpu_startup_entry+0x188/0x1a8)
> [ 7.119149] [<80165dc0>] (cpu_startup_entry) from [<8010d5b8>] (secondary_start_kernel+0x134/0x164)
> [ 7.128196] r7:80f8d320 r4:80f14490
> [ 7.131779] [<8010d484>] (secondary_start_kernel) from [<1010156c>] (0x1010156c)
> [ 7.139178] r7:80f8d320 r6:10c03c7d r5:00000051 r4:6809806a
> [ 7.144839] CPU1: stopping
> [ 7.147554] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.11-tsimx #1
> [ 7.153996] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> [ 7.160524] Backtrace:
> [ 7.162999] [<80111d48>] (dump_backtrace) from [<80111f38>] (show_stack+0x18/0x1c)
> [ 7.170573] r7:00000000 r6:20000193 r5:00000000 r4:80f2fecc
> [ 7.176242] [<80111f20>] (show_stack) from [<8054d61c>] (dump_stack+0x80/0x9c)
> [ 7.183471] [<8054d59c>] (dump_stack) from [<8010d8dc>] (handle_IPI+0xe0/0x178)
> [ 7.190783] r7:00000000 r6:d80adf18 r5:00000001 r4:80e7f034
> [ 7.196449] [<8010d7fc>] (handle_IPI) from [<801014d8>] (gic_handle_irq+0x70/0x78)
> [ 7.204022] r7:f4a01100 r6:80f0358c r5:f4a00100 r4:d80adf18
> [ 7.209689] [<80101468>] (gic_handle_irq) from [<80a0a34c>] (__irq_svc+0x6c/0xa8)
> [ 7.217173] Exception stack(0xd80adf18 to 0xd80adf60)
> [ 7.222227] df00: 00000000 00000001
> [ 7.230410] df20: 59e93000 dad13ec0 9fdcb2cf 9f4ecbfd dad131a8 00000000 00000001 00000000
> [ 7.238592] df40: 00000001 d80adf9c d80adf68 d80adf68 80826350 80826374 60000013 ffffffff
> [ 7.246773] r7:d80adf4c r6:ffffffff r5:60000013 r4:80826374
> [ 7.252439] [<80826284>] (cpuidle_enter_state) from [<80826488>] (cpuidle_enter+0x1c/0x20)
> [ 7.260709] r10:d80adfc0 r9:80e801a0 r8:80f030f4 r7:d80ac000 r6:00000001 r5:80f08cd4
> [ 7.268539] r4:dad131a8
> [ 7.271082] [<8082646c>] (cpuidle_enter) from [<80165ccc>] (call_cpuidle+0x3c/0x40)
> [ 7.278746] [<80165c90>] (call_cpuidle) from [<80165f48>] (cpu_startup_entry+0x188/0x1a8)
> [ 7.286931] [<80165dc0>] (cpu_startup_entry) from [<8010d5b8>] (secondary_start_kernel+0x134/0x164)
> [ 7.295979] r7:80f8d320 r4:80f14490
> [ 7.299560] [<8010d484>] (secondary_start_kernel) from [<1010156c>] (0x1010156c)
> [ 7.306959] r7:80f8d320 r6:10c03c7d r5:00000051 r4:6809806a
> [ 7.312621] CPU2: stopping
> [ 7.315337] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.9.11-tsimx #1
> [ 7.321779] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> [ 7.328306] Backtrace:
> [ 7.330780] [<80111d48>] (dump_backtrace) from [<80111f38>] (show_stack+0x18/0x1c)
> [ 7.338355] r7:00000000 r6:20000193 r5:00000000 r4:80f2fecc
> [ 7.344024] [<80111f20>] (show_stack) from [<8054d61c>] (dump_stack+0x80/0x9c)
> [ 7.351254] [<8054d59c>] (dump_stack) from [<8010d8dc>] (handle_IPI+0xe0/0x178)
> [ 7.358567] r7:00000000 r6:d80aff18 r5:00000002 r4:80e7f034
> [ 7.364232] [<8010d7fc>] (handle_IPI) from [<801014d8>] (gic_handle_irq+0x70/0x78)
> [ 7.371806] r7:f4a01100 r6:80f0358c r5:f4a00100 r4:d80aff18
> [ 7.377472] [<80101468>] (gic_handle_irq) from [<80a0a34c>] (__irq_svc+0x6c/0xa8)
> [ 7.384956] Exception stack(0xd80aff18 to 0xd80aff60)
> [ 7.390010] ff00: 00000000 dad24bc0
> [ 7.398192] ff20: 00000001 d80ae000 9fdcb6b7 9fca06dd dad211a8 00000001 00000001 00000004
> [ 7.406375] ff40: 00000001 d80aff9c d80aff28 d80aff68 8018eb00 80826374 20000013 ffffffff
> [ 7.414555] r7:d80aff4c r6:ffffffff r5:20000013 r4:80826374
> [ 7.420222] [<80826284>] (cpuidle_enter_state) from [<80826488>] (cpuidle_enter+0x1c/0x20)
> [ 7.428493] r10:d80affc0 r9:80e801a0 r8:80f030f4 r7:d80ae000 r6:00000002 r5:80f08cd4
> [ 7.436323] r4:dad211a8
> [ 7.438866] [<8082646c>] (cpuidle_enter) from [<80165ccc>] (call_cpuidle+0x3c/0x40)
> [ 7.446531] [<80165c90>] (call_cpuidle) from [<80165f48>] (cpu_startup_entry+0x188/0x1a8)
> [ 7.454714] [<80165dc0>] (cpu_startup_entry) from [<8010d5b8>] (secondary_start_kernel+0x134/0x164)
> [ 7.463761] r7:80f8d320 r4:80f14490
> [ 7.467342] [<8010d484>] (secondary_start_kernel) from [<1010156c>] (0x1010156c)
> [ 7.474742] r7:80f8d320 r6:10c03c7d r5:00000051 r4:6809806a
> [ 7.480414] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00008b00
> [ 7.480414]
> --8<---------------cut here---------------end--------------->8---
>
> I found that guile would segfault and return an exit code of 139
> (perhaps ETXTBSY, per guile sources), by adding bash-static to the
> initrd and invoking guile from there during the early boot.
>
> Luckily, Guile 3.0.8 doesn't have this problem, so the following fixed
> it:
>
> --8<---------------cut here---------------start------------->8---
> modified gnu/packages/make-bootstrap.scm
> @@ -797,7 +797,7 @@ (define %guile-static-stripped
> ;; A stripped static Guile 3.0 binary, for use in initrds
> ;; and during bootstrap.
> (make-guile-static-stripped
> - (make-guile-static guile-3.0
> + (make-guile-static guile-3.0-latest
> '("guile-2.2-default-utf8.patch"
> "guile-3.0-linux-syscalls.patch"
> "guile-3.0-relocatable.patch"))))
> --8<---------------cut here---------------end--------------->8---
>
> The initrd now runs, but it fails with the following error:
>
> --8<---------------cut here---------------start------------->8---
> [ 8.448448] ALSA device list:
> [ 8.451472] #0: On-board Codec
> [ 8.454768] #1: imx-hdmi-soc
> [ 8.461095] Freeing unused kernel memory: 1024K (80e00000 - 80f00000)
> GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread
> GC Warning: Couldn't read /proc/stat
> [ 8.481168] mmc0: new SDIO card at address 0001
> Welcome, this is GNU's early boot Guile.
> Use 'gnu.repl' for an initrd REPL.
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> Throw to key `record-abi-mismatch-error' with args `(abi-check "~a: record ABI mismatch; recompilation needed" (#<record-type <file-system>>) ())'.
>
> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
> GNU Guile 3.0.8
> Copyright (C) 1995-2021 Free Software Foundation, Inc.
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> This program is free software, and you are welcome to redistribute it
> under certain conditions; type `,show c' for details.
>
> Enter `,help' for help.
> scheme@(guile-user)>
> --8<---------------cut here---------------end--------------->8---
>
> The .go modules appear to be correctly cross-compiled for
> arm-linux-gnueabihf (they run fine on the same target using a different
> OS that I can boot with).
>
> Ideas?
Perhaps you'll need to compile more with guile-3.0-latest. If it's not
too much I suppose you could try moving guile-3.0-latest to guile-3.0.
Otherwise I guess you'll need to find where <file-system> is being
compiled and replace that guile-3.0 with guile-3.0-latest too, and then
see where the next failure is.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems running Guix System initrd on an i.MX6 ARM board
2022-12-21 19:38 ` Efraim Flashner
@ 2023-02-28 1:47 ` Maxim Cournoyer
0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2023-02-28 1:47 UTC (permalink / raw)
To: help-guix; +Cc: Efraim Flashner, jbranso
Hello!
Efraim Flashner <efraim@flashner.co.il> writes:
> On Mon, Dec 12, 2022 at 10:40:50PM -0500, Maxim Cournoyer wrote:
>> Hi Guix!
>>
>> I've been trying for some time to run Guix System on an ARM board (a
>> TS-7970 with an i.MX6 Cortex A9 CPU). I wanted to cross-compile the
>> image for speed and efficiency, and stumbled upon some problems on the
>> way, such as https://issues.guix.gnu.org/44924, fixed on core-updates.
[...]
>> The initrd now runs, but it fails with the following error:
>>
>> --8<---------------cut here---------------start------------->8---
>> [ 8.448448] ALSA device list:
>> [ 8.451472] #0: On-board Codec
>> [ 8.454768] #1: imx-hdmi-soc
>> [ 8.461095] Freeing unused kernel memory: 1024K (80e00000 - 80f00000)
>> GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread
>> GC Warning: Couldn't read /proc/stat
>> [ 8.481168] mmc0: new SDIO card at address 0001
>> Welcome, this is GNU's early boot Guile.
>> Use 'gnu.repl' for an initrd REPL.
>>
>> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>> Throw to key `record-abi-mismatch-error' with args `(abi-check "~a: record ABI mismatch; recompilation needed" (#<record-type <file-system>>) ())'.
>>
>> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
>> GNU Guile 3.0.8
>> Copyright (C) 1995-2021 Free Software Foundation, Inc.
>>
>> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
>> This program is free software, and you are welcome to redistribute it
>> under certain conditions; type `,show c' for details.
>>
>> Enter `,help' for help.
>> scheme@(guile-user)>
>> --8<---------------cut here---------------end--------------->8---
>>
>> The .go modules appear to be correctly cross-compiled for
>> arm-linux-gnueabihf (they run fine on the same target using a different
>> OS that I can boot with).
>>
>> Ideas?
>
> Perhaps you'll need to compile more with guile-3.0-latest. If it's not
> too much I suppose you could try moving guile-3.0-latest to guile-3.0.
> Otherwise I guess you'll need to find where <file-system> is being
> compiled and replace that guile-3.0 with guile-3.0-latest too, and then
> see where the next failure is.
I've tried that on master, with the following patch applied:
--8<---------------cut here---------------start------------->8---
1 file changed, 17 insertions(+), 31 deletions(-)
gnu/packages/guile.scm | 48 +++++++++++++++++-------------------------------
modified gnu/packages/guile.scm
@@ -310,15 +310,15 @@ (define-public guile-3.0
(package
(inherit guile-2.2)
(name "guile")
- (version "3.0.7")
+ (version "3.0.9")
(source (origin
(inherit (package-source guile-2.2))
- (patches '()) ; We no longer need the patches.
+ (patches '()) ;no longer needed
(uri (string-append "mirror://gnu/guile/guile-"
version ".tar.xz"))
(sha256
(base32
- "1dwiwsrpm4f96alfnz6wibq378242z4f16vsxgy1n9r00v3qczgm"))
+ "03bm1mnfc9kkg2ls942a0js7bxrdzmcffgrgg6anwdmjfan2a9hs"))
;; Replace the snippet because the oom-test still
;; fails on some 32-bit architectures.
(snippet '(begin
@@ -334,6 +334,11 @@ (define-public guile-3.0
(delete "gmp" "libltdl")))
(arguments
(substitute-keyword-arguments (package-arguments guile-2.0)
+ ;; Guile 3.0.9 is bit-reproducible when built in parallel, thanks to
+ ;; its multi-stage build process for cross-module inlining, except when
+ ;; cross-compiling.
+ ((#:parallel-build? _ #f)
+ (not (%current-target-system)))
((#:configure-flags flags ''())
;; XXX: JIT-enabled Guile crashes in obscure ways on GNU/Hurd.
`(cons* ,@(if (hurd-target?)
@@ -365,19 +370,19 @@ (define-public guile-3.0
(lambda _
;; Upstream knows about suggested solution.
;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45214
- (substitute* "bootstrap/Makefile.in"
+ ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977223#46
+ (substitute* "stage0/Makefile.in"
(("^GUILE_OPTIMIZATIONS.*")
"GUILE_OPTIMIZATIONS = -O1 -Oresolve-primitives -Ocps\n")))))
'())
,@(if (or (target-ppc32?)
(target-riscv64?))
- `((add-after 'unpack 'skip-failing-fdes-test
- (lambda _
- ;; ERROR: ((system-error "seek" "~A" ("Bad file descriptor") (9)))
- (substitute* "test-suite/tests/ports.test"
- (("fdes not closed\"" all) (string-append all "(exit 77)")))
- #t)))
- '())))))
+ `((add-after 'unpack 'skip-failing-fdes-test
+ (lambda _
+ ;; ERROR: ((system-error "seek" "~A" ("Bad file descriptor") (9)))
+ (substitute* "test-suite/tests/ports.test"
+ (("fdes not closed\"" all) (string-append all "(exit 77)"))))))
+ '())))))
(native-search-paths
(list (search-path-specification
@@ -398,26 +403,7 @@ (define-public guile-3.0-latest
version ".tar.xz"))
(sha256
(base32
- "03bm1mnfc9kkg2ls942a0js7bxrdzmcffgrgg6anwdmjfan2a9hs"))))
- (arguments
- (substitute-keyword-arguments (package-arguments guile-3.0)
- ;; Guile 3.0.9 is bit-reproducible when built in parallel, thanks to
- ;; its multi-stage build process for cross-module inlining, except when
- ;; cross-compiling.
- ((#:parallel-build? _ #f)
- (not (%current-target-system)))
- ((#:phases phases)
- `(modify-phases ,phases
- ,@(if (target-ppc32?)
- `((replace 'adjust-bootstrap-flags
- (lambda _
- ;; Upstream knows about suggested solution.
- ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45214
- ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977223#46
- (substitute* "stage0/Makefile.in"
- (("^GUILE_OPTIMIZATIONS.*")
- "GUILE_OPTIMIZATIONS = -O1 -Oresolve-primitives -Ocps\n")))))
- '())))))))
+ "03bm1mnfc9kkg2ls942a0js7bxrdzmcffgrgg6anwdmjfan2a9hs"))))))
;;; The symbol guile-3.0/fixed should be used when guile-3.0 needs fixes
;;; (security or else) and this deprecation could be removed.
--8<---------------cut here---------------end--------------->8---
Unfortunately after rebuilding the world, the situation is unchanged:
--8<---------------cut here---------------start------------->8---
[ 2.887460] can: raw protocol
[ 2.887469] can: broadcast manager protocol
[ 2.887481] can: netlink gateway - max_hops=1
[ 2.887931] Key type dns_resolver registered
[ 2.893941] ThumbEE CPU extension supported.
[ 2.946659] Registering SWP/SWPB emulation handler
[ 2.952239] Loading compiled-in X.509 certificates
[ 2.957525] zswap: loaded using pool lzo/zbud
[ 2.970069] ata1: SATA link down (SStatus 0 SControl 300)
[ 2.975623] ahci-imx 2200000.sata: no device found, disabling link.
[ 2.981907] ahci-imx 2200000.sata: pass ahci_imx..hotplug=1 to enable hotplug
[ 3.012850] mmc1: new high speed SDHC card at address 59b4
[ 3.020229] mmcblk1: mmc1:59b4 USD 7.51 GiB
[ 3.029086] mmcblk1: p1
[ 3.366035] mmc2: new DDR MMC card at address 0001
[ 3.372617] mmcblk2: mmc2:0001 MMC04G 3.60 GiB
[ 3.383743] mmcblk2boot0: mmc2:0001 MMC04G 16.0 MiB
[ 3.391245] mmcblk2boot1: mmc2:0001 MMC04G 16.0 MiB
[ 3.398194] mmcblk2rpmb: mmc2:0001 MMC04G 128 KiB, chardev (236:0)
[ 3.601340] mxs_phy 20c9000.usbphy: Data pin can't make good contact.
[ 3.612016] imx_usb 2184200.usb: No over current polarity defined
[ 3.623526] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 3.628468] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 3.665367] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 3.672464] hub 1-0:1.0: USB hub found
[ 3.676376] hub 1-0:1.0: 1 port detected
[ 3.685422] imx_thermal 20c8000.anatop:tempmon: Extended Commercial CPU temperature grade - max:105C critical:100C passive:95C
[ 3.706165] Freeing unused kernel image (initmem) memory: 2048K
[ 3.735853] Run /init as init process
GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread
GC Warning: Couldn't read /proc/stat
[ 3.985294] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 4.186425] hub 1-1:1.0: USB hub found
[ 4.190308] hub 1-1:1.0: 4 ports detected
Welcome, this is GNU's early boot Guile.
Use 'gnu.repl' for an initrd REPL.
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `record-abi-mismatch-error' with args `(abi-check "~a: record ABI mismatch; recompilation needed" (#<record-type <file-system>>) ())'.
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
GNU Guile 3.0.9
Copyright (C) 1995-2023 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> [ 13.932250] platform regulator_wlan_vmmc: deferred probe pending
,bt
In gnu/build/linux-boot.scm:
554:14 1 (_)
In ice-9/boot-9.scm:
1685:16 0 (raise-exception _ #:continuable? _)
scheme@(guile-user)> [ 320.255299] random: crng init done
--8<---------------cut here---------------end--------------->8---
I'm out of ideas for now.
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-02-28 1:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-13 3:40 Problems running Guix System initrd on an i.MX6 ARM board Maxim Cournoyer
2022-12-19 23:48 ` jbranso
2022-12-21 19:38 ` Efraim Flashner
2023-02-28 1:47 ` Maxim Cournoyer
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).