Date: Tue, 10 Jul 2018 15:25:56 -0500 From: Jason Bacon <bacon4000@gmail.com> To: Nathan Whitehorn <nwhitehorn@freebsd.org>, John Baldwin <jhb@freebsd.org>, freebsd-ppc@freebsd.org Subject: Re: QEMU Message-ID: <3eec8fcb-d208-aca8-65d8-4dc779c92d24@gmail.com> In-Reply-To: <5852aefa-c2d0-dd95-574d-14538d3a9517@gmail.com> References: <0c2e8392-0444-094c-af61-ca14d4f3038e@gmail.com> <be0fa221-027d-a4e3-cc49-57c4918e45e6@FreeBSD.org> <d21e6019-246e-089b-b220-5247c96309a5@gmail.com> <5e43417f-8797-c52f-363c-9670cd1f5947@freebsd.org> <5852aefa-c2d0-dd95-574d-14538d3a9517@gmail.com>
index | next in thread | previous in thread | raw e-mail
On 07/10/18 14:39, Jason Bacon wrote: > On 07/09/18 16:00, Nathan Whitehorn wrote: >> >> >> On 07/09/18 13:39, Jason Bacon wrote: >>> On 07/09/18 14:17, John Baldwin wrote: >>>> On 7/9/18 11:55 AM, Jason Bacon wrote: >>>>> Anyone running on qemu lately? >>>>> >>>>> I've tried following the "recipe": >>>>> https://wiki.freebsd.org/QemuRecipes >>>>> and tried using aqemu. >>>>> >>>>> 11.2-RELEASE hangs during boot from the ISO. >>>>> >>>>> 11.1 makes it to the install screen, but does not accept keyboard >>>>> input. >>>>> >>>>> Hoping to fix ppc issues in some of the ports I maintain and I don't >>>>> have any ppc hardware at the moment. >>>> It's been a while since I tried those (I put the recipes up), and IIRC >>>> I was only ever able to boot powerpc64 under qemu, never 32-bit. >>>> >>> Just noticed that the keyboard works during initial boot (I can hit >>> enter to cancel the countdown after loading the kernel), but >>> after successfully starting services and launching the installer, >>> there is no response. >>> >>> "Scanning USB" shows a USB keyboard and mouse and "no console >>> specified using screen & keyboard". >>> >>> Adding -usb and/or -device usb-kbd don't seem to help. >>> >>> How about PearPC? >>> >> >> Maybe a USB problem? If you run with -nographic with >> qemu-system-ppc64, it will work reliably. Other modes are less >> well-tested. >> -Nathan > > With -nographic, it hangs before loading the kernel: > > + qemu-system-ppc64 -nographic -cdrom > Save/FreeBSD-11.2-RELEASE-powerpc-disc1.iso -drive > 'file=freebsd-ppc.img,format=raw' -boot d > > > SLOF > ********************************************************************** > QEMU Starting > Build Date = Mar 3 2017 13:29:19 > FW Version = git-66d250ef0fd06bb8 > Press "s" to enter Open Firmware. > > Populating /vdevice methods > Populating /vdevice/vty@71000000 > Populating /vdevice/nvram@71000001 > Populating /vdevice/l-lan@71000002 > Populating /vdevice/v-scsi@71000003 > SCSI: Looking for devices > 8000000000000000 DISK : "QEMU QEMU HARDDISK 2.5+" > 8200000000000000 CD-ROM : "QEMU QEMU CD-ROM 2.5+" > Populating /pci@800000020000000 > 00 0000 (D) : 1234 1111 qemu vga > 00 0800 (D) : 1033 0194 serial bus [ usb-xhci ] > No NVRAM common partition, re-initializing... > Installing QEMU fb > > > > Scanning USB > XHCI: Initializing > USB Keyboard > USB mouse > No console specified using screen & keyboard > > > > Welcome to Open Firmware > > Copyright (c) 2004, 2011 IBM Corporation All rights reserved. > This program and the accompanying materials are made available > under the terms of the BSD License available at > http://www.opensource.org/licenses/bsd-license.php > > > Trying to load: from: /vdevice/v-scsi@71000003/disk@8200000000000000 > ... Successfully loaded > Trying to write privileged spr 25 (0x019) at 00000000008b03c4 > > > The disk image was created with > > qemu-img create -f raw $diskimage 20g > Back to the graphic run with 11.1... If I let it sit a while, I see the following I/O warning which might explain the lack of keyboard response: + qemu-system-ppc64 -cdrom Save/FreeBSD-11.1-RELEASE-powerpc-powerpc64-disc1.iso -drive 'file=freebsd-ppc.img,format=raw' -boot d Fontconfig warning: "/usr/local/etc/fonts/local.conf", line 1093: saw number, expected matrix main-loop: WARNING: I/O thread spun for 1000 iterations qemu at this point is using very little cpu: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 93292 bacon 5 24 0 458M 54864K select 1 18:27 5.88% lumina-deskt 19406 bacon 4 20 0 1185M 259M select 0 6:25 3.15% qemu-system- -- Earth is a beta site.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3eec8fcb-d208-aca8-65d8-4dc779c92d24>
