Date: Tue, 10 Jul 2018 14:39:45 -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: <5852aefa-c2d0-dd95-574d-14538d3a9517@gmail.com> In-Reply-To: <5e43417f-8797-c52f-363c-9670cd1f5947@freebsd.org> 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>
index | next in thread | previous in thread | raw e-mail
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 -- Earth is a beta site.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5852aefa-c2d0-dd95-574d-14538d3a9517>
