Public bug reported:

Ubuntu starting with Ubuntu 25.10 was compiled for an extended RISC-V 
instruction set RVA23.
With Ubuntu until Ubuntu 24.04 we support a smaller instruction set RVA20.

9b4258e1b36b ("build-aux: use core26 as build base (#17180)") switched
the snapd snap to core26.

On RVA20 hardware this leads to crashes when upgrading the snapd snap.
It seems to lack the architecture requirement that core26 has

assumes: isa-riscv64-rva23

To avoid upgrading to the core26 releases of snapd the assumes statement
should be added.

After a failed update the old version of snapd is executed.

Ideally we would have a core24 channel for snapd.
---
ProblemType: Bug
ApportVersion: 2.28.3-0ubuntu0.1
Architecture: riscv64
CasperMD5json:
 {
   "result": "skip"
 }
DistroRelease: Ubuntu 24.04
InstallationDate: Installed on 2026-02-11 (271 days ago)
InstallationMedia: Ubuntu-Server 24.04.4 LTS "Noble Numbat" - Release riscv64 
(20260210)
NonfreeKernelModules: zfs
ProcVersionSignature: Ubuntu 7.0.0-42.42.1~24.04.1-generic 7.0.14
Snap: snapd 2.78+g11.2d60771 (latest/edge)
SnapChanges:
 ID   Status  Spawn                 Ready                 Summary
 27   Error   2026-11-09T16:18:31Z  2026-11-09T16:19:20Z  Refresh snaps 
"core22", "core24", "lxd", "snapd"
 28   Error   2026-11-09T16:21:04Z  2026-11-09T16:21:34Z  Refresh snaps 
"core22", "core24", "lxd", "snapd"
 29   Error   2026-11-09T16:30:40Z  2026-11-09T16:31:08Z  Refresh snaps 
"core22", "core24", "lxd", "snapd"
SnapSource: snapd
Tags: noble
Uname: Linux 7.0.0-42-generic riscv64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-collected noble

** Tags added: apport-collected noble

** Description changed:

  Ubuntu starting with Ubuntu 25.10 was compiled for an extended RISC-V 
instruction set RVA23.
  With Ubuntu until Ubuntu 24.04 we support a smaller instruction set RVA20.
  
  9b4258e1b36b ("build-aux: use core26 as build base (#17180)") switched
  the snapd snap to core26.
  
  On RVA20 hardware this leads to crashes when upgrading the snapd snap.
  It seems to lack the architecture requirement that core26 has
  
  assumes: isa-riscv64-rva23
  
  To avoid upgrading to the core26 releases of snapd the assumes statement
  should be added.
  
  We should also provide instructions how systems can be restored which
  are crashing now.
  
  Ideally we would have a core24 channel for snapd.
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.28.3-0ubuntu0.1
+ Architecture: riscv64
+ CasperMD5json:
+  {
+    "result": "skip"
+  }
+ DistroRelease: Ubuntu 24.04
+ InstallationDate: Installed on 2026-02-11 (271 days ago)
+ InstallationMedia: Ubuntu-Server 24.04.4 LTS "Noble Numbat" - Release riscv64 
(20260210)
+ NonfreeKernelModules: zfs
+ ProcVersionSignature: Ubuntu 7.0.0-42.42.1~24.04.1-generic 7.0.14
+ Snap: snapd 2.78+g11.2d60771 (latest/edge)
+ SnapChanges:
+  ID   Status  Spawn                 Ready                 Summary
+  27   Error   2026-11-09T16:18:31Z  2026-11-09T16:19:20Z  Refresh snaps 
"core22", "core24", "lxd", "snapd"
+  28   Error   2026-11-09T16:21:04Z  2026-11-09T16:21:34Z  Refresh snaps 
"core22", "core24", "lxd", "snapd"
+  29   Error   2026-11-09T16:30:40Z  2026-11-09T16:31:08Z  Refresh snaps 
"core22", "core24", "lxd", "snapd"
+ SnapSource: snapd
+ Tags: noble
+ Uname: Linux 7.0.0-42-generic riscv64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: N/A
+ _MarkForUpload: True

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173775

Title:
  snapd using core26 leads to riscv64 crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2173775/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to