From owner-freebsd-stable@freebsd.org Sun Sep 25 09:55:35 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5392EBE6596 for ; Sun, 25 Sep 2016 09:55:35 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-57.reflexion.net [208.70.210.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 091901C99 for ; Sun, 25 Sep 2016 09:55:34 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 20353 invoked from network); 25 Sep 2016 09:56:18 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 25 Sep 2016 09:56:18 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.00.0) with SMTP; Sun, 25 Sep 2016 05:55:32 -0400 (EDT) Received: (qmail 28027 invoked from network); 25 Sep 2016 09:55:32 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 25 Sep 2016 09:55:32 -0000 Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id 48356EC8A8B; Sun, 25 Sep 2016 02:55:26 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Just FYI: FreeBSD-11.0-RELEASE-arm64-aarch64.raw under qemu on odroid-c2 Ubuntu 16.04.1 LTS Message-Id: <27466846-3031-47C7-82FE-808FCE920E69@dsl-only.net> Date: Sun, 25 Sep 2016 02:55:25 -0700 To: FreeBSD-STABLE Mailing List , freebsd-arm Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Sep 2016 09:55:35 -0000 This is just an FYI about my attempt to use = FreeBSD-11.0-RELEASE-arm64-aarch64.raw under Ubuntu's qemu on an = odroid-c2. (This is my first ever use of qemu. I've no clue about how = well the qemu for this context works --or how well for any other = context.) Context of use of FreeBSD 11.0-RELEASE: > Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 3.14.79-83 aarch64) . . . > root@odroid64:~# uname -ap > Linux odroid64 3.14.79-83 #1 SMP PREEMPT Thu Sep 22 13:47:47 BRT 2016 = aarch64 aarch64 aarch64 GNU/Linux > qemu-system-aarch64 -m 1024M -enable-kvm -cpu host -M virt \ > -bios QEMU_EFI.fd -nographic \ > -drive = format=3Draw,if=3Dnone,file=3DFreeBSD-11.0-RELEASE-arm64-aarch64.raw,id=3D= hd0 \ > -device virtio-blk-device,drive=3Dhd0 \ > -device virtio-net-device,netdev=3Dnet0 \ > -netdev user,id=3Dnet0 \ > -smp cpus=3D4 Note the "-nographic". The QEMU_EFI.fd is from: = https://releases.linaro.org/components/kernel/uefi-linaro/15.12/release/qe= mu64/QEMU_EFI.fd > # freebsd-version -ku; uname -apKU > 11.0-RELEASE > 11.0-RELEASE > FreeBSD odroidc2FBSD 11.0-RELEASE FreeBSD 11.0-RELEASE #0 r306211: Fri = Sep 23 11:42:02 UTC 2016 = root@releng2.nyi.freebsd.org:/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = arm64 aarch64 1100122 1100122 Issue #0: "random" illegal instruction faults in FreeBSD use Example *.core file names for an occasional "illegal instruction" (other = times the same command works fine): cron.core fsck_ufs.core ifconfig.core login.core ntpd.core route.core sh.core shutdown.core top.core vi.core All these programs usually/frequently work fine. Some programs tend to not leave .core files and cause me to have to log = in again when they get the illegal instruction fault. ps is a command = that has had this happen. Issue #1: command input/output stops For both the serial console and an ssh into Ubuntu from which I start up = qemu for FreeBSD. . . Special keys, such as up-arrow for command line recall, stop the = input/output for typing commands and such. It is ignoring what is typed = (not just not displaying it). I end up having to kill the = qemu-system-aarch64 process from Ubuntu or use "Control-a x". Sometimes = "Control-a x" does not work. Sometimes pasting text into the window cause such input/output hangups = in FreeBSD use. Usually qemu's "Control-A x" sequence will quit qemu. So usually there = must be some amount of processing of what is typed but at some stage the = text is otherwise being ignored. (I normally kill qemu-system-aarch64 = from another Ubuntu command shell.) Other point(s): I've not managed to get FreeBSD qemu to even ping a numeric address ("No = route to host"). But this may be just my current ignorance of how things = are supposed to be configured, both in Ubuntu and in FreeBSD and on the = command line options to qemu-system-aarch64. I've not put much effort = into figuring such out given the more basic problems above. (The = environment the attempt was done from is dhcp based.) =3D=3D=3D Mark Millard markmi at dsl-only.net