From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id 356CB216C7 for ; Sun, 24 Mar 2024 22:07:04 +0100 (CET) Received: from mail-vs1-f52.google.com ([209.85.217.52]) by 9front; Sun Mar 24 17:05:40 -0400 2024 Received: by mail-vs1-f52.google.com with SMTP id ada2fe7eead31-47695273c19so1619427137.3 for <9front@9front.org>; Sun, 24 Mar 2024 14:05:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711314338; x=1711919138; darn=9front.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=7DR26S1cxUn0+zH0jTJ+2DsgQXM/F0c285oLcDxRQSU=; b=Jts/OESPB/gJ907xegHSG07tnXBeOuaEAMx3GdNftAFjG2Ez60rfPhPE9CQh2Gbm1A 4P2+ldil+4MDHHA/o53EiVifHHXyggseZwlGy3Q0oWF5WytIWYBAmQjwVRJmfreefsHQ XA0sHUTZr0tuck1/AuDCRxiq3yqQPBsmxOWGBZb6dSF63p+kLT+jUN7r8vS86jBRPfjW SUxO7ONojooPnoLa9zo8KJ+5iK8S8T4rt4vwjUicWCJrFOwgNdcV3CYV0gTFYZrmbhXP BILlqATw/u9o5W3UkZfCjR2HBZwiL61BUeY0IK9DZlOwxctL1h9dUwdp1tY/MkofwJ+i sQgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711314338; x=1711919138; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7DR26S1cxUn0+zH0jTJ+2DsgQXM/F0c285oLcDxRQSU=; b=esoM21PFVSTyVZa+gKSyKdldBOMfuLba4MRdnXe8kp9wUC9G2DGmvnScWpHbr6f/9N aKYdIgSYthrveG5e6if0QDhmVztnshk2/j2y3Q5cFd+MO2IMIILTc7zU1mfxSnTBLWL4 QHlYOfq3r3Y9wFArNV5WuXNsqpdZvTESXbZ9UECAfGb30fVka0hInMJH0mBGZyUNAPHq AjZzdN2z9gbf279tdTMFJB3o+HynD/6UzNSVqbpaGJI/FgixguQ/FwshYIphm68rx8qs kqK2RFpUQrzd0xPOZVq9cJ00uAEHSdwFQ+zJga4ULXkelNGEYamwcUdLpJQYjPNW99YE c1Mg== X-Gm-Message-State: AOJu0YxuBU5+lQ2G5uORBExQfM537461rCrajJcNPo2IwkP8i4cE2Uzb hDAR3XDtvgQI71OuSBCZSwI4lZj0zT+mSguUI+ctDaQ30IKiIV/XUiED+2Mfws/3OV5tKteRMbf hXVSoojpbIfMjihKw4hpQPQAXHysYqwlaASU= X-Google-Smtp-Source: AGHT+IE4fcs25X5GqZz63t7nZrmZHlhPe5/ZFgQ3z8UedpAq4qLo7TJCGmsOIdqC8mGhxu2qtfIHDf1nwipQ8WI1GY4= X-Received: by 2002:a05:6122:e48:b0:4d8:75ca:8cbe with SMTP id bj8-20020a0561220e4800b004d875ca8cbemr2616496vkb.16.1711314337632; Sun, 24 Mar 2024 14:05:37 -0700 (PDT) MIME-Version: 1.0 References: <257affa7-de99-49eb-b41a-130566a7f60b@posixcafe.org> <2859fbcf-d2a4-4350-a0d0-fddf9c325b83@posixcafe.org> <540d0b6f-5a0d-4680-b1a9-533b8f6dd6ba@posixcafe.org> <074bf970-c82b-4603-8e75-b680161c3478@posixcafe.org> In-Reply-To: From: Pablo Tesari Date: Sun, 24 Mar 2024 18:06:24 -0300 Message-ID: To: 9front@9front.org Content-Type: multipart/alternative; boundary="000000000000319da306146e6bc1" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: open-source self-healing GPU API firewall Subject: Re: [9front] First time 9front start with qemu Reply-To: 9front@9front.org Precedence: bulk --000000000000319da306146e6bc1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Have you tried installing it yourself from the iso ? qemu-system-x86_64 -enable-kvm \ -boot d -cdrom \ -drive file=3D I think that should be enough to install it and then you can use your command to boot it from disk. Saludos Pablo On Sat, 23 Mar 2024 at 13:05, Bengt Kleberg wrote: > Greetings, > > I try to get 9front running in a x86_64 VM. From > https://9front.org/iso I have 9front-10277.amd64.qcow2. From > http://fqa.9front.org/fqa3.html#3.3.1 I created the command > > $ qemu-system-x86_64 -m 1024 \ > -net nic,model=3Dvirtio,macaddr=3D00:20:91:37:33:77 -net user \ > -device virtio-scsi-pci,id=3Dscsi \ > -drive if=3Dnone,id=3Dvd0,file=3D9front-10277.qcow2.img \ > -device scsi-hd,drive=3Dvd0 > > This will pop-up a small window with 9front where i can select > bootargs and user. Which is good. But I get an error: > bind: #i: no frame buffer > > And then rio can not open display. > > I get a (rc) shell, but would like graphics. > > How do I add a frame buffer to either 9front-10277.qcow2.img or to the > QEMU command? > > Best Wishes, > bengt > > On Wed, 20 Mar 2024 at 17:13, Jacob Moody wrote: > > > > On 3/20/24 11:00, Bengt Kleberg wrote: > > > It might be possible for me to figure out something about the arm64 > VM, but I would need to know a place to start for that. Which I do not. > > > > > > > I gave you the example qemu command for running the arm64 image > previously in this thread: > > > > > > qemu-system-aarch64 -M virt-2.12,accel=3Dhvf,gic-version=3D3 \ > > -cpu host -m 4G -smp 4 \ > > -bios u-boot.bin \ > > -drive file=3D9front.arm64.qcow2,if=3Dnone,id=3Ddisk \ > > -device virtio-blk-pci-non-transitional,drive=3Ddisk \ > > -serial stdio > > -nic user,mode=3Dvirtio-net-pci-non-transitional > > > > You will need a newish u-boot.bin for this as well, as stated earlier. > > If this is too technical for you, you can use an x86_64 VM and be fine, > but you can't have your cake and eat it too. > > > > - moody > > > > > -- > > Bengt Kleberg > > -- > > Product Development > > > --------------------------------------- enabling your networks > ------------------------------------- > > Travelping GmbH > Roentgenstra=C3=9Fe 13 > 39108 Magdeburg > Germany > > phone: +49 391 660 98560 > mail: info@travelping.com > website: https://www.travelping.com/ > > Company registration: Amtsgericht Stendal > Managing Director: Holger Winkelmann > Reg. No.: HRB 10578 > VAT ID: DE236673780 > --000000000000319da306146e6bc1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Have you tried installing it yourself from the iso ?
qemu-system-x86_64 -enable-kvm \
=C2=A0 =C2=A0 -boot d -cdrom <path= _to_iso> \
=C2=A0 =C2=A0 -drive file=3D<path_to_disk_img> =

I think that should be enough to install it a= nd then you can use your command to boot it from disk.

=
Saludos
Pablo


<= br>
On Sat,= 23 Mar 2024 at 13:05, Bengt Kleberg <bengt.kleberg@travelping.com> wrote:
Greetings,

I try to get 9front running in a x86_64 VM. From
htt= ps://9front.org/iso I have 9front-10277.amd64.qcow2. From
http://fqa.9front.org/fqa3.html#3.3.1 I created the command=

$ qemu-system-x86_64 -m 1024 \
-net nic,model=3Dvirtio,macaddr=3D00:20:91:37:33:77 -net user \
-device virtio-scsi-pci,id=3Dscsi \
-drive if=3Dnone,id=3Dvd0,file=3D9front-10277.qcow2.img \
-device scsi-hd,drive=3Dvd0

This will pop-up a small window with 9front where i can select
bootargs and user. Which is good. But I get an error:
bind: #i: no frame buffer

And then rio can not open display.

I get a (rc) shell, but would like graphics.

How do I add a frame buffer to either 9front-10277.qcow2.img or to the
QEMU command?

Best Wishes,
bengt

On Wed, 20 Mar 2024 at 17:13, Jacob Moody <moody@posixcafe.org> wrote:
>
> On 3/20/24 11:00, Bengt Kleberg wrote:
> > It might be possible for me to figure out something about the arm= 64 VM, but I would need to know a place to start for that. Which I do not.<= br> > >
>
> I gave you the example qemu command for running the arm64 image previo= usly in this thread:
>
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0qemu-system-aarch64 -M virt-2.12,acce= l=3Dhvf,gic-version=3D3 \
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-cpu host= -m 4G -smp 4 \
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-bios u-b= oot.bin \
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-drive fi= le=3D9front.arm64.qcow2,if=3Dnone,id=3Ddisk \
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-device v= irtio-blk-pci-non-transitional,drive=3Ddisk \
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-serial s= tdio
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-nic user= ,mode=3Dvirtio-net-pci-non-transitional
>
> You will need a newish u-boot.bin for this as well, as stated earlier.=
> If this is too technical for you, you can use an x86_64 VM and be fine= , but you can't have your cake and eat it too.
>
> - moody
>


--

Bengt Kleberg

--

Product Development


--------------------------------------- enabling your networks
-------------------------------------

Travelping GmbH
Roentgenstra=C3=9Fe 13
39108 Magdeburg
Germany

phone: +49 391 660 98560
mail: info@travelp= ing.com
website: https://www.travelping.com/

Company registration: Amtsgericht Stendal
Managing Director: Holger Winkelmann
Reg. No.: HRB 10578
VAT ID: DE236673780
--000000000000319da306146e6bc1--