| 25 Sep 2025 |
dramforever | oh, hmm | 20:47:11 |
outfoxxed | I've managed to boot to a full wayland environment at this point | 20:47:12 |
dramforever | ah | 20:47:20 |
dramforever | then i don't see why you think it's a miscompile? | 20:47:42 |
outfoxxed | because if i add v to the isa section we'll ge a panic or pid1 death | 20:48:13 |
outfoxxed | *isa string | 20:48:17 |
outfoxxed | Currently I have this set in nixpkgs config
gcc.arch = "rv64imafdcv_zicbom_zicbop_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_zfhmin_zkt_zba_zbb_zbc_zbs_zbkc_zvfh_zvfhmin_zvkt";
#gcc.arch = "rv64imafdc_zicbom_zicbop_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_zfhmin_zkt_zba_zbb_zbc_zbs_zbkc";
| 20:48:41 |
outfoxxed | * Currently I have this set in nixpkgs config
#gcc.arch = "rv64imafdcv_zicbom_zicbop_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_zfhmin_zkt_zba_zbb_zbc_zbs_zbkc_zvfh_zvfhmin_zvkt";
gcc.arch = "rv64imafdc_zicbom_zicbop_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_zfhmin_zkt_zba_zbb_zbc_zbs_zbkc";
| 20:48:55 |
outfoxxed | I wanted to sort the gcc flags out while the set of packages I'm compiling to test with is as small as possible | 20:49:31 |
dramforever | oh, yeah, i didn't expect seeing tweaking gcc.arch | 20:51:09 |
outfoxxed | I figured I'd iron that out first because I don't want to fix it later and spend 2 days recompiling the world | 20:51:36 |
outfoxxed | was also trying to pass -misa-spec=2.2 but withCFlags seemed to break php somehow | 20:51:58 |
outfoxxed | a lot of packages need -fPIC as well, which I've been manually overriding for each one at this point | 20:52:30 |
dramforever | do you get "unable to open an initial console" with b? | 20:52:41 |
dramforever | * do you get "unable to open an initial console" with v? | 20:52:54 |
outfoxxed | no its an unrelated issue | 20:53:02 |
outfoxxed | I was only able to make it to the v panic after booting with booti | 20:53:13 |
outfoxxed | extlinux doesn't get to init | 20:53:19 |
dramforever | do you have the full message for the v panic | 20:53:41 |
dramforever | i would like to see it | 20:54:00 |
outfoxxed | not on hand, I'd have to rebuild the world for it, but I can find it again | 20:54:15 |
outfoxxed | wait i might have a pic of it from another chat | 20:54:46 |
dramforever | yeah, it would help a lot to have more information than "panic or pid1 death" | 20:54:58 |
outfoxxed | found it, it was pid1 | 20:57:09 |
outfoxxed | [ 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 joined the room. | 20:58:25 |
outfoxxed | libkmod ig | 20:58:26 |
dramforever | thank you that's helpful | 20:59:09 |
Tristan Ross | Oh yay, my DC ROMA is shipping soon | 20:59:18 |
Tristan Ross | It's the DeepComputing + Framework laptop with 8 cores | 20:59:43 |