!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

199 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux https://github.com/orgs/NixOS/teams/risc-v58 Servers

Load older messages


SenderMessageTime
25 Nov 2025
@rosscomputerguy:matrix.orgTristan Ross
EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services...
[    0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'lpcpures@DFFE0000': base 0x00000000dffe0000, size 0 MiB
[    0.000000] Kernel panic - not syncing: RISC-V system with no 'timebase-frequency' in DTS
[    0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.6.18 #1-NixOS
[    0.000000] Hardware name: Deepcomputing FML13V03 (DT)
[    0.000000] Call Trace:
[    0.000000] [<ffffffff8000610e>] dump_backtrace+0x28/0x30
[    0.000000] [<ffffffff81115712>] show_stack+0x38/0x44
[    0.000000] [<ffffffff81135d9a>] dump_stack_lvl+0x44/0x5c
[    0.000000] [<ffffffff81135dca>] dump_stack+0x18/0x20
[    0.000000] [<ffffffff81115a7a>] panic+0x120/0x30e
[    0.000000] [<ffffffff812056be>] time_init+0x44/0xc8
[    0.000000] [<ffffffff812011fa>] start_kernel+0x842/0xb40
[    0.000000] ---[ end Kernel panic - not syncing: RISC-V system with no 'timebase-frequency' in DTS ]---

Strange error while booting this kernel: https://github.com/DC-DeepComputing/fml13v03_linux

06:29:34
@rosscomputerguy:matrix.orgTristan RossI might've forgot to set the device tree06:44:25
@rosscomputerguy:matrix.orgTristan RossOr the problem is I am using the older kernel branch06:44:35
@rosscomputerguy:matrix.orgTristan RossOr the problem is both of those things06:44:42
@rosscomputerguy:matrix.orgTristan RossAh yes, it was the device tree07:37:24
@rosscomputerguy:matrix.orgTristan Rossimage.png
Download image.png
07:37:52
@rosscomputerguy:matrix.orgTristan Ross
linux-riscv64-unknown-linux-gnu> ../arch/riscv/include/asm/vdso/processor.h: Assembler messages:
linux-riscv64-unknown-linux-gnu> ../arch/riscv/include/asm/vdso/processor.h:22: Error: unrecognized opcode `pause', extension `zihintpause' required
linux-riscv64-unknown-linux-gnu> make[3]: *** [../scripts/Makefile.build:243: arch/riscv/kernel/vdso/vgettimeofday.o] Error 1
linux-riscv64-unknown-linux-gnu> make[2]: *** [../arch/riscv/Makefile:140: vdso_prepare] Error 2
linux-riscv64-unknown-linux-gnu> make[1]: *** [/build/source/Makefile:234: __sub-make] Error 2
linux-riscv64-unknown-linux-gnu> make[1]: Leaving directory '/build/source/build'
linux-riscv64-unknown-linux-gnu> make: *** [Makefile:234: __sub-make] Error 2

Their newer kernel doesn't build lol

07:41:39
@steeringwheelrules:tchncs.de@steeringwheelrules:tchncs.de left the room.18:12:13
26 Nov 2025
@rosscomputerguy:matrix.orgTristan Ross
linux-riscv64-unknown-linux-gnu>   LDS     arch/riscv/kernel/vdso/vdso.lds
linux-riscv64-unknown-linux-gnu>   AS      arch/riscv/kernel/vdso/rt_sigreturn.o
linux-riscv64-unknown-linux-gnu> In file included from ../include/linux/linkage.h:5,
linux-riscv64-unknown-linux-gnu>                  from ../arch/riscv/kernel/vdso/rt_sigreturn.S:6:
linux-riscv64-unknown-linux-gnu> ../include/linux/compiler_types.h:12:24: error: missing binary operator before token "("
linux-riscv64-unknown-linux-gnu>    12 |         __has_attribute(btf_type_tag) && !defined(__BINDGEN__)
linux-riscv64-unknown-linux-gnu>       |                        ^
linux-riscv64-unknown-linux-gnu> In file included from ../include/linux/compiler_types.h:80:
linux-riscv64-unknown-linux-gnu> ../include/linux/compiler_attributes.h:91:20: error: missing binary operator before token "("
linux-riscv64-unknown-linux-gnu>    91 | #if __has_attribute(__copy__)
linux-riscv64-unknown-linux-gnu>       |                    ^
linux-riscv64-unknown-linux-gnu> ../include/linux/compiler_attributes.h:103:20: error: missing binary operator before token "("
linux-riscv64-unknown-linux-gnu>   103 | #if __has_attribute(__diagnose_as_builtin__)
linux-riscv64-unknown-linux-gnu>       |                    ^
linux-riscv64-unknown-linux-gnu> ../include/linux/compiler_attributes.h:126:20: error: missing binary operator before token "("
linux-riscv64-unknown-linux-gnu>   126 | #if __has_attribute(__designated_init__)
linux-riscv64-unknown-linux-gnu>       |                    ^

What

03:13:25
@dramforever:matrix.orgdramforever Tristan Ross: i wonder if the problem is that patchelf moves back the load address by one page 08:50:52
@dramforever:matrix.orgdramforeverso it was at 64 KiB as you can see if you just readelf the non-patchelf'd gcc from bootstrap tools08:51:20
@dramforever:matrix.orgdramforeverlmao08:56:35
@dramforever:matrix.orgdramforeverhttps://github.com/NixOS/patchelf/issues/62209:01:02
@dramforever:matrix.orgdramforeverlmao09:05:29
@dramforever:matrix.orgdramforeveri have no idea how to fix this10:51:50
@rosscomputerguy:matrix.orgTristan Ross
In reply to @dramforever:matrix.org
https://github.com/NixOS/patchelf/issues/622
Oh that's great
15:05:35
@rosscomputerguy:matrix.orgTristan RossOh great, literally everything in that branch of the kernel from DeepComputing is just broken22:33:19
4 Dec 2025
@onny:matrix.orgonny joined the room.07:01:27
@onny:matrix.orgonnyhey, i'm currently using the visionfive2 riscv sbc as my homeserver and its running perfectly fine. unfortunately cross-compiling everything takes several weeks and i couldn't find a binary cache for nixos-25.11 (stable) :(07:03:52
@onny:matrix.orgonnyshould we invest into a vserver with hydra and setup a binary cache for 25.11 stable?07:06:09
@alex:tunstall.xyzAlex

vserver

?

07:06:32
@onny:matrix.orgonnywould like to see how cache.ztier is setup 👀07:06:37
@onny:matrix.orgonnyokay maybe a root server07:06:59
5 Dec 2025
@aleksei.sidorov:matrix.orgAleksey Sidorov changed their display name from aleksei.sidorov to Sauron.08:55:26
@aleksei.sidorov:matrix.orgAleksey Sidorov changed their display name from Sauron to Aleksey Sidorov.08:55:42
@aleksei.sidorov:matrix.orgAleksey Sidorov set a profile picture.08:56:33
@hive:the-apothecary.club👉@crystallinefire:chat.solarpunk.moe changed their display name from EVA-01 to 👉@crystallinefire:chat.solarpunk.moe.17:17:55
@rosscomputerguy:matrix.orgTristan RossHey, the hardware team is actually working on a solution for caching. However, we won't be ready for a while.21:30:12
@rosscomputerguy:matrix.orgTristan RossYeah, unfortunately that's the downside of the JH7110. I recommend using something newer like an ESWIN EIC7700X.21:30:39
6 Dec 2025
@fireye.coffee:matrix.orgfireye.coffee (they/them) joined the room.22:55:58

There are no newer messages yet.


Back to Room ListRoom Version: 10