!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

205 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-v64 Servers

Load older messages


SenderMessageTime
25 Sep 2025
@dramforever:matrix.orgdramforeverdo you get "unable to open an initial console" with b?20:52:41
@dramforever:matrix.orgdramforever* do you get "unable to open an initial console" with v?20:52:54
@outfoxxed:outfoxxed.meoutfoxxedno its an unrelated issue20:53:02
@outfoxxed:outfoxxed.meoutfoxxedI was only able to make it to the v panic after booting with booti20:53:13
@outfoxxed:outfoxxed.meoutfoxxedextlinux doesn't get to init20:53:19
@dramforever:matrix.orgdramforeverdo you have the full message for the v panic20:53:41
@dramforever:matrix.orgdramforeveri would like to see it20:54:00
@outfoxxed:outfoxxed.meoutfoxxednot on hand, I'd have to rebuild the world for it, but I can find it again20:54:15
@outfoxxed:outfoxxed.meoutfoxxedwait i might have a pic of it from another chat20:54:46
@dramforever:matrix.orgdramforeveryeah, it would help a lot to have more information than "panic or pid1 death"20:54:58
@outfoxxed:outfoxxed.meoutfoxxedfound it, it was pid120:57:09
@outfoxxed:outfoxxed.meoutfoxxed
[   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 ]---

20:57:13
@elvishjerricco:matrix.orgElvishJerricco joined the room.20:58:25
@outfoxxed:outfoxxed.meoutfoxxedlibkmod ig20:58:26
@dramforever:matrix.orgdramforeverthank you that's helpful20:59:09
@rosscomputerguy:matrix.orgTristan RossOh yay, my DC ROMA is shipping soon20:59:18
@rosscomputerguy:matrix.orgTristan RossIt's the DeepComputing + Framework laptop with 8 cores20:59:43
@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

Show newer messages


Back to Room ListRoom Version: 10