!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

196 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 Sep 2025
@rosscomputerguy:matrix.orgTristan RossAnd they're P550 cores so they're at least better than the JH711020:59:59
@outfoxxed:outfoxxed.meoutfoxxedthe spacemit k1 is surprisingly competent at running a desktop environment after you strap a radeon 6600 to it21:01:57
@rosscomputerguy:matrix.orgTristan RossI only have the MilkV Megrez that the HW team is going to set up lol. Other than that, there's the VF2 which is useless.21:06:26
@dramforever:matrix.orgdramforever
In reply to @outfoxxed:outfoxxed.me
[   13.859715] systemd[1]: Setting '/proc/sys/kernel/printk_devkmsg' to 'on'
[   13.867024] systemd[1]: Smack is not enabled in the kernel.
[   13.874607] systemd[1]: The early AppArmor policy cache directory /etc/apparmor/earlypolicy/8529f5a4.0 does not exist.
[   13.885519] systemd[1]: No IMA custom policy file /etc/ima/ima-policy, ignoring: No such file or directory
[   13.895299] systemd[1]: IPE support is disabled in the kernel, ignoring: No such file or directory
[   13.947164] systemd[1]: System time advanced to built-in epoch: Thu 2024-12-19 13:27:50 PST
[   13.965972] systemd[1]: Loaded 'libkmod.so.2' via dlopen()
[   13.985977] systemd[1]: Loading module: autofs4
[   13.990633] do_trap: 123 callbacks suppressed
[   13.990643] systemd[1]: unhandled signal 7 code 0x1 at 0x0000003f8144c406 in libkmod.so.2.4.1[3f81445000+15000]
[   14.005191] CPU: 3 PID: 1 Comm: systemd Not tainted 6.6.63 #1-NixOS
[   14.011514] Hardware name: Milk-V(M1) Jupiter (DT)
[   14.016340] epc : 0000003f8144c406 ra : 0000003f8144d420 sp : 0000003ffe8a83c0
[   14.023613]  gp : 0000002ae5da6800 tp : 0000003f8145cbc0 t0 : 0000000000000000
[   14.030874]  t1 : 0000003f814486dc t2 : 0000000000000000 s0 : 0000003ffe8a8620
[   14.038154]  s1 : 0000003f81342fba a0 : 000000000000004f a1 : 0000000000000020
[   14.045435]  a2 : 0000003f81342fba a3 : 0000000000000045 a4 : 0000003ffe8a83d0
[   14.052705]  a5 : 0000000000000008 a6 : 0000000000000044 a7 : 0000000000000000
[   14.059995]  s2 : 0000000000000004 s3 : 0000000020012fb8 s4 : 0000002ae5dba340
[   14.067275]  s5 : 0000000000000045 s6 : 0000002ae5dbb2d0 s7 : 0000003f814558a8
[   14.074545]  s8 : 0000003ffe8a9850 s9 : 0000003ffe8a9890 s10: 0000003ffe8a98a0
[   14.081825]  s11: 0000003f81ed4ca8 t3 : 0000003f81af8830 t4 : 0000000000000000
[   14.089094]  t5 : 0000000000000000 t6 : 0000000000000000
[   14.094450] status: 8000000200004620 badaddr: 0000003f81342fba cause: 0000000000000004
[   14.102956] Core dump to |/bin/false pipe failed
[   14.107666] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
[   14.115379] CPU: 3 PID: 1 Comm: systemd Not tainted 6.6.63 #1-NixOS
[   14.121690] Hardware name: Milk-V(M1) Jupiter (DT)
[   14.126525] Call Trace:
[   14.128966] [<ffffffff80006820>] dump_backtrace+0x1c/0x24
[   14.134430] [<ffffffff80fd721e>] show_stack+0x2c/0x38
[   14.139517] [<ffffffff80ff457a>] dump_stack_lvl+0x3c/0x54
[   14.144960] [<ffffffff80ff45a6>] dump_stack+0x14/0x1c
[   14.150054] [<ffffffff80fd745c>] panic+0x100/0x2a0
[   14.154881] [<ffffffff80021caa>] do_exit+0x7be/0x7c4
[   14.159907] [<ffffffff80021e22>] do_group_exit+0x24/0x70
[   14.165257] [<ffffffff8002e62e>] get_signal+0x72a/0x7d4
[   14.170527] [<ffffffff80004ec8>] arch_do_signal_or_restart+0x2c/0x598
[   14.177032] [<ffffffff8009af12>] exit_to_user_mode_prepare+0xfa/0x158
[   14.183530] [<ffffffff80ff53fa>] irqentry_exit_to_user_mode+0x10/0x18
[   14.190037] [<ffffffff80ff4b78>] do_trap_load_misaligned+0x2c/0xee
[   14.196286] [<ffffffff80ffe936>] ret_from_exception+0x0/0x6e
[   14.201990] SMP: stopping secondary CPUs
[   14.205953] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007 ]---

okay, this should be fixed by gcc15, afaict with -mno-vector-strict-align (which is the default)
21:06:49
@outfoxxed:outfoxxed.meoutfoxxedso overriding it should help if possible?21:07:07
@dramforever:matrix.orgdramforeveruh21:07:13
@rosscomputerguy:matrix.orgTristan RossI want to try a RISC-V + LLVM kernel21:07:13
@dramforever:matrix.orgdramforever* okay, this should be fixed by gcc15, afaict with -mvector-strict-align (which is the default)21:07:25
@dramforever:matrix.orgdramforeverthere fixed21:07:27
@dramforever:matrix.orgdramforever
In reply to @outfoxxed:outfoxxed.me
so overriding it should help if possible?
it should, yes. i would consider coming up with a test case before rebuilding the world but unfortunately i don't really know how to trigger it
21:09:01
@outfoxxed:outfoxxed.meoutfoxxedIt only takes like 1.5 hours on my machine to rebuild whats necessary to test that, so I'm fine doing that21:09:30
@outfoxxed:outfoxxed.meoutfoxxedthat would require actually overriding it which I havent been able to figure out how to do without breaking nixpkgs though21:10:00
@dramforever:matrix.orgdramforeveryeah, i don't actually know how to trigger it21:19:07
@outfoxxed:outfoxxed.meoutfoxxedtrigger what?21:19:21
@outfoxxed:outfoxxed.meoutfoxxedthe vector crash or the nixpkgs eval fail21:19:35
@dramforever:matrix.orgdramforeverthe vector misalignment21:19:42
@dramforever:matrix.orgdramforeveryeah what would be vector crash on k121:19:55
@outfoxxed:outfoxxed.meoutfoxxedit looked like it happened during kernel module loading21:20:02
@outfoxxed:outfoxxed.meoutfoxxedby systemd21:20:06
@rosscomputerguy:matrix.orgTristan RossWtf21:20:09
@dramforever:matrix.orgdramforeverthat's not really significant21:20:10
@dramforever:matrix.orgdramforeverit could be anywhere21:20:13
@outfoxxed:outfoxxed.meoutfoxxedits linux 6.6.6321:20:12
@outfoxxed:outfoxxed.meoutfoxxedI don't really know what else I can tell you21:20:25
@dramforever:matrix.orgdramforeversince you set v in gcc.arch it could happen to anything and anywhere21:20:40
@dramforever:matrix.orgdramforeverkernel module loading is just one of the first thing it does on boot21:21:54
@alex:tunstall.xyzAlex
In reply to @rosscomputerguy:matrix.org
I want to try a RISC-V + LLVM kernel
NB: this will likely take longer to build because of needing to change stdenv.
22:41:06
@rosscomputerguy:matrix.orgTristan RossIk22:41:23
@rosscomputerguy:matrix.orgTristan RossI run an LLVM kernel on my desktop22:41:31
@alex:tunstall.xyzAlex
In reply to @rosscomputerguy:matrix.org
I run an LLVM kernel on my desktop
Is there any noticeable difference?
22:42:04

Show newer messages


Back to Room ListRoom Version: 10