From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B6A6C47404 for ; Fri, 11 Oct 2019 15:50:20 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CDA802089F for ; Fri, 11 Oct 2019 15:50:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CDA802089F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bugs.launchpad.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:52470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIxBL-0006bd-14 for qemu-devel@archiver.kernel.org; Fri, 11 Oct 2019 11:50:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59654) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIx2B-0007yh-OZ for qemu-devel@nongnu.org; Fri, 11 Oct 2019 11:40:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIx2A-00024J-9y for qemu-devel@nongnu.org; Fri, 11 Oct 2019 11:40:51 -0400 Received: from indium.canonical.com ([91.189.90.7]:46776) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIx2A-000245-49 for qemu-devel@nongnu.org; Fri, 11 Oct 2019 11:40:50 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1iIx28-0008RD-AF for ; Fri, 11 Oct 2019 15:40:48 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 4AEC22E80C7 for ; Fri, 11 Oct 2019 15:40:48 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 11 Oct 2019 15:33:03 -0000 From: Claus Paetow <1847793@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: c-paetow X-Launchpad-Bug-Reporter: Claus Paetow (c-paetow) X-Launchpad-Bug-Modifier: Claus Paetow (c-paetow) Message-Id: <157080798335.681.12255731732435282400.malonedeb@chaenomeles.canonical.com> Subject: [Bug 1847793] [NEW] qemu 4.1.0 - Corrupt guest filesystem after new vm install X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="af2eefe214bd95389a09b7c956720881bab16807"; Instance="production-secrets-lazr.conf" X-Launchpad-Hash: faa06465553220f8c717dbf88145c294450537a6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 91.189.90.7 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1847793 <1847793@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Public bug reported: When I install a new vm with qemu 4.1.0 all the guest filesystems are corrupt. The first boot from the install dvd iso is ok and the installer work fine. But the guest system hangs after the installer finishes and I reboot the guest. I can see the grub boot menue but the system cannot load the initramfs. Testet with: - RedHat Enterprise Linux 7.5, 7.6 and 7.7 (RedHat uses xfs for the /boot a= nd / partition) Guided install with the graphical installer, no lvm selected. - Debian Stable/Buster (Debian uses ext4 for / and /home partition) Guidet install with the graphical installer and default options. Used commandline to create the vm disk image: qemu-img create -f qcow2 /volumes/disk2-part2/vmdisks/vmtest10-1.qcow2 20G Used qemu commandline for vm installation: #!/bin/sh # vmtest10 Installation # /usr/bin/qemu-system-x86_64 -cpu SandyBridge-IBRS \ -soundhw hda \ -M q35 \ -k de \ -vga qxl \ -machine accel=3Dkvm \ -m 4096 \ -display gtk \ -drive file=3D/volumes/disk2-part2/images/debian-10.0.0-amd64-DVD-1.iso= ,if=3Dide,media=3Dcdrom \ -drive file=3D/volumes/disk2-part2/images/vmtest10-1.qcow2,if=3Dvirtio,= media=3Ddisk,cache=3Dwriteback \ -boot once=3Dd,menu=3Doff \ -device virtio-net-pci,mac=3D52:54:00:2c:02:6c,netdev=3Dvlan0 \ -netdev bridge,br=3Dbr0,id=3Dvlan0 \ -rtc base=3Dlocaltime \ -name "vmtest10" \ -usb -device usb-tablet \ -spice disable-ticketing \ -device virtio-serial-pci \ -device virtserialport,chardev=3Dspicechannel0,name=3Dcom.redhat.spice.= 0 \ -chardev spicevmc,id=3Dspicechannel0,name=3Dvdagent $* Host OS: Archlinux (last updated at 10.10.2019) Linux testing 5.3.5-arch1-1-ARCH #1 SMP PREEMPT Mon Oct 7 19:03:08 UTC 2019= x86_64 GNU/Linux No libvirt in use. With qemu 4.0.0 it works fine without any errors. ** Affects: qemu Importance: Undecided Status: New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1847793 Title: qemu 4.1.0 - Corrupt guest filesystem after new vm install Status in QEMU: New Bug description: When I install a new vm with qemu 4.1.0 all the guest filesystems are corrupt. The first boot from the install dvd iso is ok and the installer work fine. But the guest system hangs after the installer finishes and I reboot the guest. I can see the grub boot menue but the system cannot load the initramfs. Testet with: - RedHat Enterprise Linux 7.5, 7.6 and 7.7 (RedHat uses xfs for the /boot= and / partition) Guided install with the graphical installer, no lvm selected. - Debian Stable/Buster (Debian uses ext4 for / and /home partition) Guidet install with the graphical installer and default options. Used commandline to create the vm disk image: qemu-img create -f qcow2 /volumes/disk2-part2/vmdisks/vmtest10-1.qcow2 20G Used qemu commandline for vm installation: #!/bin/sh # vmtest10 Installation # /usr/bin/qemu-system-x86_64 -cpu SandyBridge-IBRS \ -soundhw hda \ -M q35 \ -k de \ -vga qxl \ -machine accel=3Dkvm \ -m 4096 \ -display gtk \ -drive file=3D/volumes/disk2-part2/images/debian-10.0.0-amd64-DVD-1.i= so,if=3Dide,media=3Dcdrom \ -drive file=3D/volumes/disk2-part2/images/vmtest10-1.qcow2,if=3Dvirti= o,media=3Ddisk,cache=3Dwriteback \ -boot once=3Dd,menu=3Doff \ -device virtio-net-pci,mac=3D52:54:00:2c:02:6c,netdev=3Dvlan0 \ -netdev bridge,br=3Dbr0,id=3Dvlan0 \ -rtc base=3Dlocaltime \ -name "vmtest10" \ -usb -device usb-tablet \ -spice disable-ticketing \ -device virtio-serial-pci \ -device virtserialport,chardev=3Dspicechannel0,name=3Dcom.redhat.spic= e.0 \ -chardev spicevmc,id=3Dspicechannel0,name=3Dvdagent $* Host OS: Archlinux (last updated at 10.10.2019) Linux testing 5.3.5-arch1-1-ARCH #1 SMP PREEMPT Mon Oct 7 19:03:08 UTC 20= 19 x86_64 GNU/Linux No libvirt in use. = With qemu 4.0.0 it works fine without any errors. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1847793/+subscriptions