Package: debian-installer
Severity: normal
Tags: d-i

Hi folks,

I tried to test d-i trixie alpha 1 release and latest weekly build (2025/02/17)
[1] on RISC-V hardware but it's not working for me. I'm using a VisualFive 2 
v1.3b board, booting from a SD card.

I'm not sure if I'm missing something obvious in the documentation but after
grub boots and tries to load the Linux kernel it fails with a trap, see full
error at the end.

I also didn't find anything related to RISC-V on the errata [2].

It crashes with the same error if I let the board boot through u-boot autoboot
or if I interrupt it and gave the following commands:


fatload mmc 1:2 ${kernel_addr_r} efi/boot/bootriscv64.efi
fatload mmc 1:2 ${fdt_addr_r} 
dtb/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
bootefi ${kernel_addr_r} ${fdt_addr_r}

As reference, I could install debian on a qemu VM virt board using the installer
without issues and I can also install and run OpenBSD current on that VF2 board.

Is this an issue on my end or did anyone could install trixie on VF2?
I know you can run Debian on this board already but I wanted to check if the
installer is also supported.

I'm happy to troubleshoot or provide more info if required.

Thanks,
Miguel.


1. https://www.debian.org/devel/debian-installer/errata
2. https://cdimage.debian.org/cdimage/weekly-builds/riscv64/iso-cd/




EFI stub: Booting Linux Kernel...
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Using DTB from configuration table
clk u5_dw_i2c_clk_core already disabled
clk u5_dw_i2c_clk_apb already disabled
sbi_trap_error: hart0: trap handler failed (error -2)
sbi_trap_error: hart0: mcause=0x0000000000000005 mtval=0x0000000040048060
sbi_trap_error: hart0: mepc=0x0000000040004cac mstatus=0x0000000200001800
sbi_trap_error: hart0: ra=0x0000000040009ee2 sp=0x0000000040047f10
sbi_trap_error: hart0: gp=0x0000000000000000 tp=0x0000000040048000
sbi_trap_error: hart0: s0=0x0000000040047f20 s1=0x0000000040048000
sbi_trap_error: hart0: a0=0x0000000040048060 a1=0x0000000000000002
sbi_trap_error: hart0: a2=0x0000000000000000 a3=0x0000000000000019
sbi_trap_error: hart0: a4=0x0000000000000001 a5=0x0000000040048060
sbi_trap_error: hart0: a6=0x00000000400480a8 a7=0x0000000000000004
sbi_trap_error: hart0: s2=0x00000000400241a8 s3=0x0000000000000000
sbi_trap_error: hart0: s4=0x0000000000000000 s5=0x0000000040029000
sbi_trap_error: hart0: s6=0x0000000040029020 s7=0x0000000000000000
sbi_trap_error: hart0: s8=0x000000000000001c s9=0x0000000040035ab0
sbi_trap_error: hart0: s10=0x0000000000000000 s11=0x0000000000000000
sbi_trap_error: hart0: t0=0x0000000000000000 t1=0x0000000000000000
sbi_trap_error: hart0: t2=0x0000000000000000 t3=0x0000000000002000
sbi_trap_error: hart0: t4=0x0000000000000000 t5=0x0000000000000000
sbi_trap_error: hart0: t6=0x0000000000000000


-- System Information:
Debian Release: 12.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-31-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at http://miguel.cc/key.
"Faith means not wanting to know what is true." -- Nietzsche

Reply via email to