NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Upgrading from 10.0 to 10.1





El 2/10/25 a las 16:07, Martin Husemann escribió:
On Thu, Oct 02, 2025 at 04:03:33PM +0200, Ramiro Aceves wrote:
There is no "kernel" set alone, I only see "Kernel modules" set.

Must be a riscv sysinst bug, I'll check...
Most architectures offer different kernels and there are sets for them.

Martin

Hi Martin,

I see that I have this script for booting the qemu VM as the following instructions:

https://wiki.netbsd.org/ports/qemu_riscv/

netbsd-raspa4$ cat arranca-riscv.sh
#!/bin/sh

qemu-system-riscv64 \
      -M virt \
      -m 2g \
      -kernel netbsd-GENERIC64 \
      -drive if=none,file=riscv64.img,id=hd0,format=raw \
      -device virtio-blk-device,drive=hd0 \
      -device virtio-rng-device \
      -netdev type=user,id=net0 \
      -device virtio-net-device,netdev=net0,mac=00:11:22:33:44:55 \
      -append "root=dk1" \
      -nographic \
      -no-reboot

I believe that the VM uses netbsd-GENERIC file on the raspberrypi4 host instead of the /netbsd file on the risvc64 guest?:

netbsd-raspa4$ ls -l netbsd-GENERIC64
-rw-r--r--  1 ramiro  users  8985200 Jul 28 13:19 netbsd-GENERIC64

So I should manually update that file on the host, I think.

Ramiro.


Home | Main Index | Thread Index | Old Index