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 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 5A4C8C43603 for ; Fri, 20 Dec 2019 17:26:34 +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 3070E206A5 for ; Fri, 20 Dec 2019 17:26:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3070E206A5 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]:59710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiM2r-00069h-7h for qemu-devel@archiver.kernel.org; Fri, 20 Dec 2019 12:26:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33625) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiM1y-000562-9V for qemu-devel@nongnu.org; Fri, 20 Dec 2019 12:25:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiM1w-0003cH-Vn for qemu-devel@nongnu.org; Fri, 20 Dec 2019 12:25:38 -0500 Received: from indium.canonical.com ([91.189.90.7]:37814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iiM1w-0003ZS-O9 for qemu-devel@nongnu.org; Fri, 20 Dec 2019 12:25:36 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1iiM1u-0001IJ-Q4 for ; Fri, 20 Dec 2019 17:25:34 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id B9D1E2E80C7 for ; Fri, 20 Dec 2019 17:25:34 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 20 Dec 2019 17:20:27 -0000 From: ecsdn <1856834@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-Tags: powerpc ppc softmmu virtio X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: ecsdn laurent-vivier X-Launchpad-Bug-Reporter: ecsdn (ecsdn) X-Launchpad-Bug-Modifier: ecsdn (ecsdn) References: <157666458990.14847.6716769636962803095.malonedeb@wampee.canonical.com> Message-Id: <157686242759.27888.12117324708588697372.malone@chaenomeles.canonical.com> Subject: [Bug 1856834] Re: Virtio broken in qemu ppc in 4.2.0 and other versions 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="bceb5ef013b87ef7aafe0755545ceb689ca7ac60"; Instance="production-secrets-lazr.conf" X-Launchpad-Hash: 1a3eabfaf11557ad56f93adddde12f2f6dd2d173 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 1856834 <1856834@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" fyi from what I recall guest kernel was built using mpc85xx_defconfig with some additions like virtio etc. If virtio is working for you just fine using same command as mine, then perhaps its some peculiarity to do with my specific guest kernel or kernel version? (uImage is about 3.4M with equivalent vmlinux about 72M) -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1856834 Title: Virtio broken in qemu ppc in 4.2.0 and other versions Status in QEMU: New Bug description: The same qemu -M mpc... command that works on qemu-system-ppc version 2.8.0 freezes guest on bootup and shows error for qemu-system-ppc version 4.2.0release and 4.19dirtygit: qemu-system-ppc: virtio-blk failed to set guest notifier (-24), ensure -a= ccel kvm is set. qemu-system-ppc: virtio_bus_start_ioeventfd: failed. Fallback to userspac= e (slower). ends/freezes at: nbd: registered device at major 43 =C2=A0vda: I'm using -drive file=3D/home/me/rawimage.dd,if=3Dvirtio and works fine in version 2.8.0 installed with apt-get install (Ubuntu 17.04) and also with 2.8.0 official release from git/github that I compiled/built myself. But both of the newer releases fail on the same exact machine same config. I also noticed that qemu-2.8.0 was fine with mtd but the newer ones I tri= ed weren't, ie gave qemu-system-ppc: -drive if=3Dmtd: machine type does not support if=3Dmtd,= bus=3D0,unit=3D0 (but I removed -drive if=3Dmtd since wasn't using it anyway) I also tried on windows but I think virtio doesn't work on windows hosts at all? On windows host it fails the same way, even version 2.12 as well as 4.1.10... used: ./configure --prefix=3D/opt/... --enable-fdt --enable-kvm --enable-debug (basically all steps the same on same exact system same config, yet 2.8.0 works fine whether apt-get installed or built from source while the others I built, 4.19/4.2.0 or 2.12/4.1.10(win) don't.) In case newer qemu versions act weird on various kernels, I did try with = both vmlinuz-4.10.0-19-generic and vmlinuz-4.13.12-041312-generic (I didn't= compile them but I can provide config-..files. This is on Ubuntu 17.04 x86= _64 host emulating e500v2 cpm guest, ie -M mpc... GUEST kernel 2.6.32.44 wh= ich is why I can't use -M ppce500 instead..) tx =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ecs To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1856834/+subscriptions