!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

197 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
24 Nov 2025
@dramforever:matrix.orgdramforeverthis is in nixos-unstable04:35:45
@rosscomputerguy:matrix.orgTristan RossOh sweet04:36:07
@rosscomputerguy:matrix.orgTristan RossI couldn't use nixpk.gs to check since 504 so I decided to give it a shot like 5 minutes ago04:36:42
@rosscomputerguy:matrix.orgTristan RossHaving to wait for a bunch of other builds04:36:50
@rosscomputerguy:matrix.orgTristan RossAt least I get to put the 512GB of RAM I have to good use04:37:01
@rosscomputerguy:matrix.orgTristan RossOh yes, that indeed is working. Thank you for fixing that.04:38:12
@dramforever:matrix.orgdramforeveri literally did nothing lol04:38:27
@rosscomputerguy:matrix.orgTristan RossOh lol, I misremembered04:38:52
@rosscomputerguy:matrix.orgTristan RossI even looked at the PR like 2 seconds ago... 🤦‍♂️04:39:08
@dramforever:matrix.orgdramforeveranyway i'm going to try ubuntu riscv64 and see04:39:36
@rosscomputerguy:matrix.orgTristan RossAlright04:39:54
@dramforever:matrix.orgdramforeverlike how on earth they're not running into the base address problem for PDEs04:40:09
@rosscomputerguy:matrix.orgTristan RossIdk, it somehow works for them lol04:41:12
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

There are no newer messages yet.


Back to Room ListRoom Version: 10