From owner-freebsd-arm@freebsd.org Mon Oct 8 20:08:01 2018 Return-Path: Delivered-To: freebsd-arm@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 B2BBE10CA290 for ; Mon, 8 Oct 2018 20:08:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-22.consmr.mail.ne1.yahoo.com (sonic302-22.consmr.mail.ne1.yahoo.com [66.163.186.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E8077B488 for ; Mon, 8 Oct 2018 20:08:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Hny7hHEVM1mAOq72Q7RFJW42yzBLbwFZ1Q_2hf5T3tjXZC73hwAnKGkUCEsGGna f_Uz7K324Oie6srH4vyF.u53h2Vrs36HC6KhcQ5vxuInxO2EH6Jyl3r9DZMFezkUHzhMfzD7FW14 nr_JSlAHag7gDAFfKYt.a0R9Gw2t64y6IuDxP4oQ8kKPGsoIKOVM__2ArX4qoGTxnDixdhuMawIT W1HtnESCgHnkPVFQfItMviZWNt0o1FajcNTWz0mRiLgpgA374Nyk9tIx_Ce94ClvJHmNQDjV2PKj Xky2rN_x7qd4BeDm39odwh37OQV1X6go4jCVvTI3hEV7XZwaLF0_MbHMvBOL_4YvUXviEA43Vbke D5pePentWZpPvQMasfRq7R25gq4NBNv_tijKiJyb8yaEQHpiMjJUNSuvTBLC4A76Ymlm4sRdQ9.k iQais_IQBE9MhJhWuNXIevE41vZsFcRR4vtqHRco7lUeYh3EJqnJhWLGicRKUjwDpldW0XSQQ3l9 W0gjhRKF87LCEkhJfXGhoBt6POeVABFkdvCOEeoJLBj4cb7neMOg7NjSsPmtVKQt6MPcDL2QeyA1 dtilLbQJbkS1X8y3fJCEzUlzg4Lv21D_sU0sH6wi4gGrjTIFvg9BfKEguozxQE5nMiLbOT2w82hL 0WwYQXASRK.06O6FQZTuNH1Fg5q9FtGNWgiu3kMfnYNe93SIO.wLXEiaBqF5zRXAsKWJgzYstjTw AY.YCY3fWtJlUXKNd8dawzMnwDoUC7D5pfsQhSMC.1f2SclHGIbAzbEKvEUGQrvo05utURgJPskU GkibJAUO86vDpigVCse3.pp9X3mmwthpao.YvOWF5RGNc_ejmZUuf0vMnY2GqdMWK_1qysQCfb5K 64g8C3.iwWgGarUwJkZdmp.O0.m3Z1Nf5XcCf54cJ8BaHA3mxv09I_wwG4NQNCS.fs3zTv6x4fkg M2ZlCqI4Wd4raU.QtVxsLyXdlBSthMI_ldWNEoYBUnOE7Xr0GsLgHLiDnSc2HydiVIaNxOCBFXnX lqGYpkrxSIb5lHYwz_Q9asm.xq3yauklJHFOzm7slvuVCw1OHNIRYlmQ7w8x5 Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Mon, 8 Oct 2018 20:08:00 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.101]) ([76.115.7.162]) by smtp421.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 03cd4e519368431d82cc43d37f40842e; Mon, 08 Oct 2018 20:07:55 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: FYI: I finally got FreeBSD 12 booted under qemu/kvm with general Ethernet access (on a MACCHIATObin running linux) From: Mark Millard In-Reply-To: <1539026814.3199.2@smtp.migadu.com> Date: Mon, 8 Oct 2018 13:07:54 -0700 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <89370727-44EB-40AD-A8B7-4D3AA823BB8A@yahoo.com> References: <1539024068.3199.1@smtp.migadu.com> <6D5D6E6E-CD6D-4DD7-ABBB-FB9D46FA1D84@yahoo.com> <1539026814.3199.2@smtp.migadu.com> To: Greg V X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2018 20:08:01 -0000 On 2018-Oct-8, at 12:26 PM, Greg V = wrote: > On Mon, Oct 8, 2018 at 10:14 PM, Mark Millard = wrote: >> On 2018-Oct-8, at 11:41 AM, Greg V = wrote: >>> On Sun, Oct 7, 2018 at 10:14 PM, Mark Millard via freebsd-arm = wrote: >>>> Unfortunately, like every past attempt at such where I used >>>> -cpu host, -smp, and -enable-kvm on a few Linux-booted systems >>>> where I've tried such, processes are subject to occasional, random >>>> illegal instruction and segmentation fault program crashes. (The >>>> host linux has no such problems.) True even before getting Ethernet >>>> access working in FreeBSD. >>> Hmmmm, I never saw any program crashes on Scaleway's KVM VPS = (ThunderX hardware), but I have awfully slow storage performance. >>> How fast is the disk on your KVM setup? >> I've only booted linux via a microsd card so far, >> a Class A1 SanDisk Ultra. I've not planned on >> putting linux on the fast media that I hope >> to put FreeBSD on and boot from someday. As >> stands, I do not have spare fast media for the >> MACCHIATObin. >=20 > Surely QEMU/KVM supports booting from bare metal hard disks (not = files), so you could put FreeBSD on the disk you want to eventually boot = directly from, and initially try it under KVM. I actually had a setup = where I would boot the same FreeBSD disk on my desktop both directly on = metal and under Hyper-V :) I do that under Hyper-V (Windows 10 Pro) and directly. But linux/qemu/kvm is effectively new to me and everything is exploratory. I may get there. > But anyway, I think you'd notice the difference even on microSD. > The performance on the VPS is *that* bad. >=20 At some point I may be I can run something like: iozone -a -a0 -a1 -a2 -e -I for you and supply some of the output (from a run that does not crash first). The -e and -I tend to avoid measuring oeprations that have not (yet) gone to the storage media or are just in cache. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)