From owner-freebsd-ppc@freebsd.org Sat Jul 21 18:06:57 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4EF991052269 for ; Sat, 21 Jul 2018 18:06:57 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D065372559 for ; Sat, 21 Jul 2018 18:06:56 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: by mail-it0-x22e.google.com with SMTP id s7-v6so18818013itb.4 for ; Sat, 21 Jul 2018 11:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=DRqBpWmERIzrdp6MTTPnwouunvPrVAoPmxo5OfyqZHY=; b=SKz+ARacUdvpNVX32O763Dk+WhxCaCkUi0hvapCdDrQph9ABodYLYjPi/g7hhuw1gd CYrpabEUS9aDuyTwb77OE8C5Mn+BywOATfECEw1MJbd2hVcXk2blDf5f6+R1fzmZGbdi iiJVvDQ7Byyp2Eb+okK4s7dnJ/q44mIvk9d55sPr/70WG2gZgo0qB+4q/U/BE83Z2joY yJtOYvubN5sWVwFkGvSgIBHetp/t3sujDqWl4RuJfTZJAdIDYwBSLpVcuza5STU1OSWX wdsaSznIk2U1G1qS+YgiTZmw431n6uocBVr9Zxc8KLcRiAnNkUO+7nVk8S4bDdF2NnlY 66tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=DRqBpWmERIzrdp6MTTPnwouunvPrVAoPmxo5OfyqZHY=; b=CQ0ID5l2ymLAsiIY/FgMfHVUxZ8/SYE2sqw4tJiTPqQqXgDkUiqsPJ22yvy1Imw4dM PKLL18dTsuo5RqWrlndloYWzw+VUdk/R5UZEXXA9MdDkgflMe2VImXzih06A+ucPcRZ4 aRZRNj2TEOX390cOyw4bSYxkrbNZP4MI+3DCaXZ4uywOEPpnYEOr6QQsmWU5JU+xpyUu Ht3pRZeitfT+bx1ZGZpWK7Mb4DKBbhWX/k4TsSgShV8kfCOdyWhuATG0Iz7pqX8UhHlD ShrOEIoz7d76etfvx3bLwxvEsj9OQeSP96CUHMiMiPNRESsiNbyvuFVo8KcxFj8Hubw7 Pong== X-Gm-Message-State: AOUpUlHOZtkZA624RIoOsgBQpJ5Hc1z6DIGPe9uVPInVNgJDc/ilh9+h ekdzlQ5ohxVI7GrubDCueB8= X-Google-Smtp-Source: AAOMgpeZUgwiRW9H4C+3WwmfirL7rdKc14dAF7TOViaAadDnMRIDS25k8npzB5pystHd77E/uFr4Wg== X-Received: by 2002:a24:c246:: with SMTP id i67-v6mr6005287itg.45.1532196415750; Sat, 21 Jul 2018 11:06:55 -0700 (PDT) Received: from cray.acadix.biz ([2605:a000:bc45:5f00:223:24ff:fe37:c4d7]) by smtp.gmail.com with ESMTPSA id z81-v6sm2656518itf.0.2018.07.21.11.06.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Jul 2018 11:06:54 -0700 (PDT) Subject: Re: QEMU From: Jason Bacon To: Chuck Tuffli Cc: freebsd-ppc@freebsd.org, Muhammad Moinur Rahman References: <5f291124-612f-6d10-5012-a8701b1cf49e@gmail.com> <5302f073-b51b-c92f-ada2-f7123d27fa3d@gmail.com> Message-ID: <8213518b-14a5-aac2-bcbb-529e49c4f044@gmail.com> Date: Sat, 21 Jul 2018 13:06:53 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 18:06:57 -0000 On 7/19/18 4:32 PM, Jason Bacon wrote: > On 07/19/18 14:09, Chuck Tuffli wrote: >> On Thu, Jul 12, 2018 at 8:09 AM, Jason Bacon >> wrote: >>> FYI, I get the exact same behavior under qemu 2.8.1 on Debian. >>> >>> So now we have similar symptoms in qemu 2.8.1, 2.9, and 2.12.50 on >>> FreeBSD >>> and Linux hosts. >> FWIW, on an Ubuntu 14.04 system with qemu-system-ppc64 version 2.0.0, >> the ppc64 snapshot ISO of 12.0, the OS appears to install correctly >> and subsequently boots correctly. >> >> --chuck > That's worth a lot, actually. > > The 12.0 snapshot also works on my FreeBSD 11.1 host with the stock > qemu package.  Both keyboard and mouse input are processed. > > Interestingly, though, while 12.0 works, it seems to be a lot slower > than 11.1 under qemu.  Below are times to get to the install screen.  > ( I just close the qemu window as soon as it reaches that point, where > 11.1 won't accept keyboard input. ) > > FreeBSD cray.acadix  bacon ~ 999: time qemu-ppc install > freebsd-ppc.img > FreeBSD-12.0-CURRENT-powerpc-powerpc64-20180709-r336134-disc1.iso > + [ ! -e freebsd-ppc.img ] > + qemu-system-ppc64 -cdrom > FreeBSD-12.0-CURRENT-powerpc-powerpc64-20180709-r336134-disc1.iso > -drive 'file=freebsd-ppc.img,format=raw' -boot d > 217.327u 3.455s 4:21.41 84.4%    9628+6292k 94+2io 476pf+0w > > > FreeBSD cray.acadix  bacon ~ 1000: time qemu-ppc install > freebsd-ppc.img Save/FreeBSD-11.1-RELEASE-powerpc-powerpc64-disc1.iso > + [ ! -e freebsd-ppc.img ] > + qemu-system-ppc64 -cdrom > Save/FreeBSD-11.1-RELEASE-powerpc-powerpc64-disc1.iso -drive > 'file=freebsd-ppc.img,format=raw' -boot d > 123.001u 1.748s 2:47.05 74.6%    9643+6302k 556+3io 0pf+0w > > Maybe these data will provide some clues to the ppc base developers... > I'm getting "lock order reversal" errors followed by stack traces when running portsnap.  Bleeding-edge 12.0 issue? -- Earth is a beta site.