🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #690

Re: RISC-V on qemu: notes & glitches

#690
From: Charles Curley
Date: Mon, 30 Nov 2026 21:30
77 lines
5439 bytes
On Mon, 30 Nov 2026 08:33:38 +0100
john doe <johndoe65534@mail.com> wrote:

> On 11/30/26 01:26, Charles Curley wrote:
> > Other than these problems, the result is excellent. My compliments
> > to Is there an ISO available with a more recent version of Debian
> > Installer? Maybe the testing version?
> >   
> 
> This is for the debian-boot mailing list!

Right, thanks.

> 
> > Glitches:
> > 
> > * The preseed line "d-i netcfg/hostname string riscv" failed. I got
> > the host name "debian" instead. From the log:
> >   
> 
> For amd64, I need to specify the hostname on the DHCP server in the 
> config files or D-I will default to "debian" if the client is not
> known to the server.

Hmm. The comment in the preseed file with which I started says,

# If you want to force a hostname, regardless of what either the DHCP
# server returns or what the reverse DNS entry for the IP is, uncomment
# and adjust the following line.
#d-i netcfg/hostname string somehost

It will default to "debian" if it can't get an IP address from DHCP
because it couldn't set up a network interface.

> 
> >    Other aspects of the interface (IP address, netmask, etc.) were
> >    configured correctly.
> >   
> 
> I used Systemd-resolved for DNS!

I'll look into that, but not right now.

> 
> > * 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.
> >   
> 
> Look in /var/log/installer/cdebconf to see what D-I config were 
> used/selected during installation.

I found out that I had a problem with the partitioning stuff in my
preseed file, which was likely the source of this problem. I will fix
that and try again.

> 
> > * 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?
> >   
> 
> Enabling "debug"ging or looking in /run/systemd/netif/leases.
> 

Thanks.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/
Technical Details
Message-ID: <O5h6F-fcd8-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <O4Xrj-f15g-3@gated-at.bofh.it> <O5h6F-fcd8-13@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Charles Curley <charlescurley@charlescurley.com>
Newsgroups: linux.debian.user
Subject: Re: RISC-V on qemu: notes & glitches
Date: Mon, 30 Nov 2026 22:30:01 +0100
Message-ID: <O5h6F-fcd8-11@gated-at.bofh.it>
References: <O4Xrj-f15g-3@gated-at.bofh.it> <O5h6F-fcd8-13@gated-at.bofh.it>
X-Original-To: Debian Users <debian-user@lists.debian.org>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Mon Nov 30 21:22:55 2026
Old-Return-Path: <charlescurley@charlescurley.com>
X-Amavis-Spam-Status: No, score=-0.352 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1,
 RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_MSPIKE_H2=0.001]
 autolearn=no autolearn_force=no
X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .charlescurley. - helo: .omta038.useast.a.cloudfilter. - helo-domain: .cloudfilter.)  FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -3.5
X-Authority-Analysis: v=2.4 cv=KuFN2XWN c=1 sm=1 tr=0 ts=6b0de920
 a=NgvI/wQFGgfv1u5PwVnSLQ==:117 a=NgvI/wQFGgfv1u5PwVnSLQ==:17
 a=kj9zAlcOel0A:10 a=zJRp6_cAMcgA:10 a=x5bAJOVjf1IA:10 a=UPwgjlzBAAAA:8
 a=hEh3JUyyAAAA:8 a=FyOaF3z9Acy-w_wy9FgA:9 a=CjuIK1q_8ugA:10
 a=IJG1HS28PhTFVN2WG8Av:22 a=77MlUavazzFiBdNJOaXW:22
Organization: occasionally
X-Mailer: Claws Mail 4.3.1 (GTK 3.24.49; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Antiabuse: This header was added to track abuse, please include it with any abuse report
X-Antiabuse: Primary Hostname - box5635.bluehost.com
X-Antiabuse: Original Domain - lists.debian.org
X-Antiabuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-Antiabuse: Sender Address Domain - charlescurley.com
X-Bwhitelist: no
X-Source-IP: 97.245.236.164
X-Source-L: No
X-Exim-ID: 1xY8pb-00000003vAM-1xok
X-Source-Sender: 164.sub-97-245-236.myvzw.com (peregrine.localdomain) [97.245.236.164]:51774
X-Source-Auth: charlescurley@charlescurley.com
X-Email-Count: 1
X-Org: HG=bhshared;ORG=bluehost;
X-Source-Cap: Y2hhcmxpYTM7Y2hhcmxpYTM7Ym94NTYzNS5ibHVlaG9zdC5jb20=
X-Local-Domain: yes
X-Cmae-Envelope: MS4xfHIoDfFATOO9IkKz4tybMglu2gqhNYKxGw9GRDunKoU2kdClCVHMTBLVlOqtwhsYFfHisGFGD5EDB9IIQK7UdOi0xbZBLotpQwaHUM/s0rYI+9UdHScB
 rTWoA+L/i2SbiEcTeouJiSMeHxVZ/70YZEeqgBPUPfoKtlZJL+W+KBkd0lDc9RTSqChZnAWYo+op3frdsIFvUInVmW/BR+vSE7FLmqExFzrr9mpjfXmP+YCW
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/833113
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/20261130142237.1accba5d@peregrine.localdomain
Approved: robomod@news.nic.it
Lines: 77
Sender: robomod@news.nic.it
X-Original-Date: Mon, 30 Nov 2026 14:22:37 -0700
X-Original-Message-ID: <20261130142237.1accba5d@peregrine.localdomain>
X-Original-References: <20261129172615.48d4dab3@peregrine.localdomain>
	<8f818833-9554-4194-922a-62480a7a4321@mail.com>