From nobody Mon Nov 28 17:32:15 2022 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NLXbM319Pz4jRlR for ; Mon, 28 Nov 2022 17:32:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NLXbM1JKqz49SP for ; Mon, 28 Nov 2022 17:32:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669656735; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wmoPKqgLxQtzphnaGcW+hLiBXfVhxnVNHPWTT7gJpWM=; b=KFi7ClneVSyexZCnGL3gX7xD35x6NZSxtZyzDgBUdeSEStxVpznyuuz3W5z6fXe8GBWlzI P1jhFXt0vet4ov53DmgRSawI6b9Tk/4qM2f8fClSB+GAHCQ0YuGgBqqCutiwRWtxFsZA0D 5nKSpcA70lroDgwFfxLr6n/wsx0PlZIIQbn5pm5CxoC8AGLTTySoQ8QhHT7wGamIsOq/Mw a5e1bNEyi7gATlgWMHwUlOJVuzS+WGUHXsfD7fj1MAkic/A+UOhheTOxt/O7mQ3Z/dMSpu PMLS0JSYdeO446D2YTEv0EgBTwRWmrA/rm4sIpGqk8MZ5bXlJynIYFYZCpXn2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669656735; a=rsa-sha256; cv=none; b=lxELJ1zALdJ0sCfid/f8i3NQvwZaipcb12Tihnn2dLFTZif3yu8Q39UXPHVfjzohpRMzRS tWuXDdI2InK2YegwzuuM9jjBpIuhNgsbaZL0drHuXbNZFL7c89bg3VmFSqvoxYLEzIgHsn 2IIEH6UpPnslZCIPGU/1KyUNXklwxEBnxVNDfJroB3VYX7mpX2BqhXLYSltFDNW4OhmWMZ An+nOTD2ckz+bZP2xhILkS5g6O7Jj4Ybi9vvYqeqW35VYb6IH9M6ZRHv3d7xYMpmU3azK7 7+8u82ZwtO3jHBS5cf4iof/IipuKmmY+OW2zcF5LuBW4Sqlwdy64hW1/vWGifg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NLXbM0MJ0zm68 for ; Mon, 28 Nov 2022 17:32:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2ASHWEmm010531 for ; Mon, 28 Nov 2022 17:32:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ASHWEHi010530 for riscv@FreeBSD.org; Mon, 28 Nov 2022 17:32:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 268044] NUL-byte FS corruption using QCOW2 image for RISC-V Date: Mon, 28 Nov 2022 17:32:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fbb@tril.bespin.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268044 --- Comment #2 from Tril --- 6.1.0 qemu script #!/bin/sh VID=3D1 NETDRIVER=3Dvirtio-net-pci USER=3Dtril exec /home/tril/.guix-profile/bin/qemu-system-riscv64 \ -machine virt \ -nographic \ -m 2048 \ -smp 4 \ -bios /home/tril/.guix-profile/fw_jump.elf \ -kernel /home/tril/.guix-profile/libexec/u-boot \ -net tap,ifname=3Dtap${VID} \ -net nic,model=3D$NETDRIVER,macaddr=3D52:54:00:12:46:0${VID} \ -drive file=3DFreeBSD-14.0-CURRENT-riscv-riscv64.qcow2,format=3Dqcow2,if=3Dvirtio \ -boot c \ -runas $USER 5.2.0 qemu script #!/bin/sh exec qemu-system-riscv64 \ -machine virt \ -nographic \ -m 2048 \ -smp 4 \ -bios /home/tril/.guix-profile/fw_jump.elf \ -kernel /home/tril/.guix-profile/libexec/u-boot.bin \ -device virtio-net-device,netdev=3Deth0 \ -netdev user,id=3Deth0 \ -drive file=3DFreeBSD-14.0-CURRENT-riscv-riscv64.qcow2,format=3Dqcow2,if=3Dvirtio \ -cdrom FreeBSD-14.0-CURRENT-riscv-riscv64-20221123-fd5882e1f2ca-259385-disc1.iso \ -boot c The only change necessary to fix it is to change the image to the raw image with format=3Draw. --=20 You are receiving this mail because: You are the assignee for the bug.=