SPARC issues ============ Kernel ------ - sunvdc issues inside LDOM 19095.192532] sunvdc: vdc_tx_trigger() failure, err=-11 [19095.192605] I/O error, dev vdiskc, sector 368208928 op 0x1:(WRITE) flags 0x1000 phys_seg 2 prio class 2 [19095.205681] XFS (vdiskc1): metadata I/O error in "xfs_buf_ioend+0x28c/0x600 [xfs]" at daddr 0x15f26420 len 32 error 5 [19432.043471] sunvdc: vdc_tx_trigger() failure, err=-11 [19432.043529] I/O error, dev vdiskc, sector 3732568 op 0x1:(WRITE) flags 0x1000 phys_seg 1 prio class 2 [19432.058821] sunvdc: vdc_tx_trigger() failure, err=-11 [19432.058843] I/O error, dev vdiskc, sector 3736256 op 0x1:(WRITE) flags 0x1000 phys_seg 4 prio class 2 [19432.074109] sunvdc: vdc_tx_trigger() failure, err=-11 [19432.074128] I/O error, dev vdiskc, sector 3736512 op 0x1:(WRITE) flags 0x1000 phys_seg 4 prio class 2 [19432.089425] sunvdc: vdc_tx_trigger() failure, err=-11 [19432.089443] I/O error, dev vdiskc, sector 3737024 op 0x1:(WRITE) flags 0x1000 phys_seg 1 prio class 2 [19432.100964] XFS (vdiskc1): metadata I/O error in "xfs_buf_ioend+0x28c/0x600 [xfs]" at daddr 0x38ec58 len 8 error 5 Might be fixed by reverting: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a11f6ca9aef989b56cd31ff4ee2af4fb31a172ec - copy_{to,from}_user broken on US1, US3, N1, N4, M7 - fixed by: https://lore.kernel.org/sparclinux/20250905-memcpy_series-v4-0-1ca72dda195b@mkarcher.dialup.fu-berlin.de/ - HugeTLB support broken on sun4u - fixed by: https://marc.info/?l=linux-sparc&m=175262905900358&w=2 - kernel crashes on U3 with Transparent Huge Pages enabled on U3 - can be worked around by disabling CONFIG_TRANSPARENT_HUGEPAGE - doesn't seem to be reproducible with 6.17.0-rc2?!, needs retest [ 291.401786] systemd-sysv-generator[2414]: SysV service '/etc/init.d/buildd' lacks a native systemd unit file, automatically generating a unit file for compatibility. [ 291.596706] systemd-sysv-generator[2414]: Please update package to include a native systemd unit file. [ 291.720212] systemd-sysv-generator[2414]: ⚠ This compatibility logic is deprecated, expect removal soon. ⚠ [ 294.224054] systemd-sysv-generator[2452]: SysV service '/etc/init.d/buildd' lacks a native systemd unit file, automatically generating a unit file for compatibility. [ 294.418832] systemd-sysv-generator[2452]: Please update package to include a native systemd unit file. [ 294.541992] systemd-sysv-generator[2452]: ⚠ This compatibility logic is deprecated, expect removal soon. ⚠ [ 295.679415] Unable to handle kernel NULL pointer dereference [ 295.753941] tsk->{mm,active_mm}->context = 00000000000000ab [ 295.827201] tsk->{mm,active_mm}->pgd = fff000000854c000 [ 295.895899] \|/ ____ \|/ [ 295.895899] "@'/ .. \`@" [ 295.895899] /_| \__/ |_\ [ 295.895899] \__U_/ [ 296.089209] systemd(1): Oops [#1] [ 296.132758] CPU: 0 UID: 0 PID: 1 Comm: systemd Not tainted 6.17.0-rc5+ #1 NONE [ 296.228835] TSTATE: 0000004411001604 TPC: 0000000000f82ca4 TNPC: 0000000000f82ca8 Y: 00000000 Not tainted [ 296.358084] TPC: [ 296.423382] g0: 47504c0000000000 g1: 000000010089a000 g2: fff00000020818b0 g3: fff00000001b28f0 [ 296.537752] g4: fff0000000230b00 g5: fff000023e336000 g6: fff000000026c000 g7: 0000000080000000 [ 296.652129] o0: 0000000000000001 o1: 0000000000000000 o2: 0000000000000001 o3: 000000000011c400 [ 296.766506] o4: 0000000000000000 o5: 00000000011f8800 sp: fff000000026f3d1 ret_pc: 0000000000617a18 [ 296.885455] RPC: [ 296.942759] l0: 0000000000000000 l1: 0000000000000000 l2: 0000000000000000 l3: 0000000000000000 [ 297.057224] l4: 0000000000000000 l5: 0000000000000000 l6: 0000000000000000 l7: fff0000100bff060 [ 297.171598] i0: fff00000020818b0 i1: fff00000072b6180 i2: 0000000000000098 i3: 000000000000000c [ 297.285976] i4: 0000000000000000 i5: 0000000000000000 i6: fff000000026f481 i7: 00000000007c789c [ 297.400346] I7: <__fput+0xdc/0x320> [ 297.446092] Call Trace: [ 297.478117] [<00000000007c789c>] __fput+0xdc/0x320 [ 297.541024] [<00000000007c8068>] fput_close_sync+0x28/0x80 [ 297.613079] [<00000000007c2d50>] sys_close+0x30/0x80 [ 297.678276] [<0000000000406274>] linux_sparc_syscall+0x34/0x44 [ 297.754909] Disabling lock debugging due to kernel taint [ 297.824678] Caller[00000000007c789c]: __fput+0xdc/0x320 [ 297.893301] Caller[00000000007c8068]: fput_close_sync+0x28/0x80 [ 297.971077] Caller[00000000007c2d50]: sys_close+0x30/0x80 [ 298.041985] Caller[0000000000406274]: linux_sparc_syscall+0x34/0x44 [ 298.124338] Caller[fff000010108f9e0]: 0xfff000010108f9e0 [ 298.194104] Instruction DUMP: [ 298.194108] 106fffee [ 298.232992] 952ab001 [ 298.263871] 94102001 [ 298.294752] [ 298.325633] 8e204008 [ 298.356516] cff25001 [ 298.387397] 80a04007 [ 298.418278] 12600004 [ 298.449162] 01000000 [ 298.480041] [ 298.530367] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009 [ 298.631021] Press Stop-A (L1-A) from sun keyboard or send break [ 298.631021] twice on console to return to the boot prom [ 298.777412] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009 ]--- - SPARC S7 CPU detection support missing in the kernel - fixed by: https://github.com/oracle/linux-uek/commit/01bd59051e17dc04785211350a05fd337460b86b - fixed by: https://github.com/oracle/linux-uek/commit/e3125b871798dcd831daaf70bb05ff3f005277fb - fixed by: https://github.com/oracle/linux-uek/commit/4bd843999066b23fe501ead37e94bf716d2b7c6a - fixed by: https://github.com/oracle/linux-uek/commit/700adf59a4da1900f22f2db7f87dc161768c8e26 - kernel support for seccomp incomplete - library support for seccomp missing - fixed by: https://github.com/seccomp/libseccomp/pull/471 Toolchain --------- - Golang sparc64 not merged upstream - see: https://github.com/4ad/go/ - Linux port: https://github.com/4ad/go/tree/sparc64-linux - LLVM JIT support broken - see: https://github.com/llvm/llvm-project/issues/47229 External repos with ummerged SPARC support ------------------------------------------ - ghc from gcc202 - swift from gcc202 - ldoms/ldomsmanager from Oracle Linux - kexec-tools from Oracle Linux