Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #86106

Bug#1098661: linux: fails to boot on VisionFive 2: Unhandled exception: Store/AMO access fault

From Aurelien Jarno <aurel32@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1098661: linux: fails to boot on VisionFive 2: Unhandled exception: Store/AMO access fault
Date 2025-02-23 22:50 +0100
Message-ID <Kjs1j-1sJz-1@gated-at.bofh.it> (permalink)
References (2 earlier) <Kjr5f-1s8W-9@gated-at.bofh.it> <KjroB-1svi-3@gated-at.bofh.it> <KjrHX-1sBT-3@gated-at.bofh.it> <KiVyq-17Th-11@gated-at.bofh.it> <KjrHX-1sBT-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On 2025-02-23 22:24, Bastian Blank wrote:
> On Sun, Feb 23, 2025 at 10:07:33PM +0100, Aurelien Jarno wrote:
> > On 2025-02-23 21:45, Bastian Blank wrote:
> > > On Sat, Feb 22, 2025 at 11:59:38AM +0100, Aurelien Jarno wrote:
> > > > Starting with version 6.13.3-1~exp1, the riscv64 kernel is shipped as a
> > > > EFI binary with the payload compressed with zstd (using the EFI_ZBOOT
> > > > config option). In addition to breaking non-EFI systems, this change
> > > > simply prevents the kernel to boot on a VisionFive 2 board:
> > > Please re-assign to the bootloader package.
> > I disagree. The bootloader is u-boot and while it might be fixable at
> > this level, debian should be bootable on the original firmware.
> 
> It needs to be fixed nevertheless.  What do you mean with "original
> firmware"?  What is this setup anyway?

The setup is:
- Vision Five 2 board: https://www.starfivetech.com/en/site/boards
- Using U-Boot as the firmware
- Booting is done through grub (grub-efi-riscv64 package)
- Installed with debian-installer

> > BTW, you never explained the reason for your changes. It only brings
> > smaller kernel nothing more. And a working kernel is better than a
> > smaller kernel that does not work.
> 
> Smaller images, so often faster load times. 

Smaller image is nice, but not mandatory. Other architectures also use
uncompressed kernel.

> Feature parity between
> architectures.  

Feature parity, do you mean only with arm64 and loong64? EFI_ZBOOT is
not enabled on other architectures.

> Fullfils the interface (U)EFI and works fine in edk2.

Just like the kernel before your change.

> As I currently try to assemble a list of all the interfaces the kernel
> fullfils:  How would you define this?  Running this in u-boot is not
> (U)EFI, but something more strict, or there is a bug in the kernel
> decompressor.

The uncompressed kernel is a perfectly valid EFI binary that can be run
under U-Boot with either Distro Boot and Grub or with the loadefi
command. It can also be run under EDK2 either directly or also through
Grub.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1098661: linux: fails to boot on VisionFive 2: Unhandled exception: Store/AMO access fault Aurelien Jarno <aurel32@debian.org> - 2025-02-22 12:10 +0100
  Bug#1098661: linux: fails to boot on VisionFive 2: Unhandled exception: Store/AMO access fault Bastian Blank <waldi@debian.org> - 2025-02-23 22:30 +0100
    Bug#1098661: linux: fails to boot on VisionFive 2: Unhandled exception: Store/AMO access fault Aurelien Jarno <aurel32@debian.org> - 2025-02-23 22:50 +0100
      Bug#1098661: linux: fails to boot on VisionFive 2: Unhandled exception: Store/AMO access fault Bastian Blank <waldi@debian.org> - 2025-02-24 20:30 +0100
  Bug#1098661: linux: fails to boot on VisionFive 2: Unhandled exception: Store/AMO access fault Bastian Blank <waldi@debian.org> - 2025-02-24 22:40 +0100
  Bug#1098661: linux: fails to boot on VisionFive 2: Unhandled exception: Store/AMO access fault "Diederik de Haas" <didi.debian@cknow.org> - 2025-02-26 13:20 +0100
  Processed: Re: Bug#1098661: linux: fails to boot on VisionFive 2:  Unhandled exception: Store/AMO access fault "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-26 21:50 +0100
  Bug#1098661: linux: fails to boot on VisionFive 2: Unhandled exception: Store/AMO access fault Bastian Blank <waldi@debian.org> - 2025-02-26 21:50 +0100
  Bug#1098661: fixed in linux 6.13.5-1~exp1 Salvatore Bonaccorso <carnil@debian.org> - 2025-02-28 21:20 +0100

csiph-web