I tried the RISC-V 64 bit emulation on qemu, using virtual machine
manager to set up the VM and run it. I have Debian 13.8 (trixie) for
both host and guest. So far, so good. The netinst ISO I used is
debian-13.8.0-riscv64-netinst.iso, dated November 21. I used a preseed
file which is adapted from a known good preseed file that works on
testing amd64.
First, it is *slow*! The first time I tried to run a VM, I thought it
had hung up and ran "killall" to kill it. Nope, it's just slow. This is
the inevitable result of instruction-by-instruction emulation.
Second, I got a good install after several errors and retries. I hit
several glitches during the installation.
Other than these problems, the result is excellent. My compliments to
the developers.
Is there an ISO available with a more recent version of Debian
Installer? Maybe the testing version?
Glitches:
* I had problems with apt-cacher-ultra (ACU) which went away when I
bypassed it. These are likely ACU problems and I will take that up
with the author.
* The preseed line "d-i netcfg/hostname string riscv" failed. I got the
host name "debian" instead. From the log:
ro…@riscv:/var/log/installer# grep hostname *
grep: cdebconf: Is a directory
syslog:Nov 29 18:26:46 netcfg[2650]: DEBUG: Using DNS to try and obtain default hostname
syslog:Nov 29 18:26:46 netcfg[2650]: DEBUG: Getting default hostname from rDNS lookup of autoconfigured address 192.168.128.6
syslog:Nov 29 18:26:46 netcfg[2650]: DEBUG: Getting default hostname from rDNS lookup of autoconfigured address fe80::5054:ff:fe59:4d3a
syslog:Nov 29 18:33:44 debootstrap: Selecting previously unselected package hostname.
syslog:Nov 29 18:33:44 debootstrap: Preparing to unpack .../hostname_3.25_riscv64.deb ...
syslog:Nov 29 18:33:44 debootstrap: Unpacking hostname (3.25) ...
syslog:Nov 29 18:34:09 debootstrap: Setting up hostname (3.25) ...
ro…@riscv:/var/log/installer#
When I installed systemd-networkd, it reported
riscv systemd-networkd[976]: Could not set hostname: Access denied
The domain name isn't in /etc/hosts.
Other aspects of the interface (IP address, netmask, etc.) were
configured correctly.
* I used the preseed file to automate partitioning. On the AMD64 VMs, I
get an EFI partition without having to specify it. On the RISC-V
machine, I did not get the EFI partition, and d-i refused to go any
further. I had to fall back to manual partitioning, and used the
guided partioning.
* My usual method of detecting my DNS domain name, dnsdomainname,
returns an empty string.
Is there any place I can examine what systemd-networkd got from the
DHCP server?
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/