Re: QEMU
Jason Bacon <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ppc |
|---|---|
| Message-ID | <[email protected]> |
And one more grain of evidence... On a boot that makes it as far as the FreeBSD installer, if I hold down a key, qemu CPU usage seems to go up from about 2% to about 3%. It appears that at least qemu is not frozen and is processing keyboard input. I suspect this might provide a clue for someone who knows the internals. I also attached a picture of where the 11.1 install gets stuck. On 07/12/18 10:09, 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. > > Seems to point toward an issue between the FreeBSD guest and qemu > keyboard interface. > > I'd love to see this fixed so port maintainers like me have an easy > way to fix ppc-specific issues. > Straight emulation like this is probably too sluggish for many uses, > but it's more than > adequate for testing port builds on decent host hardware. > > Cheers, > > JB > > On 07/11/18 13:14, Jason Bacon wrote: >> >> I just heard back from the qemu maintainer. He's going to upgrade >> qemu to the latest release and try booting >> FreeBSD-ppc. >> >> On 07/11/18 10:01, Chuck Tuffli wrote: >>> I'm seeing similar failures trying to run the ppc64 images under qemu. >>> For me, the boot seemingly hangs here (full log [1]): >>> Booting [/boot/kernel/kernel]... >>> Kernel entry at 0x1024e0 ... >>> KDB: debugger backends: ddb >>> KDB: current backend: ddb >>> Copyright (c) 1992-2018 The FreeBSD Project. >>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, >>> 1994 >>> The Regents of the University of California. All rights >>> reserved. >>> FreeBSD is a registered trademark of The FreeBSD Foundation. >>> FreeBSD 12.0-CURRENT #0 r336134: Mon Jul 9 18:14:23 UTC 2018 >>> [email protected]:/usr/obj/usr/src/powerpc.powerpc64/sys/GENERIC64 >>> >>> powerpc >>> gcc version 4.2.1 20070831 patched [FreeBSD] >>> WARNING: WITNESS option enabled, expect reduced performance. >>> WARNING: Running on a broken hypervisor that does not support >>> mandatory H_CLEAR_MOD and H_CLEAR_REF hypercalls. Performance will be >>> suboptimal. >>> VT: init without driver. >>> cpu0: IBM POWER8 revision 2.0, 1000.00 MHz >>> cpu0: Features >>> dc007182<PPC32,PPC64,ALTIVEC,FPU,MMU,SMT,ISNOOP,ARCH205,ARCH206,VSX,TRUELE> >>> cpu0: Features2 ef000000<ARCH207,HTM,DSCR,ISEL,TAR,VCRYPTO,HTMNOSC> >>> real memory = 6396997632 (6100 MB) >>> avail memory = 6158659584 (5873 MB) >>> ... >>> cpu0: <Open Firmware CPU> on cpulist0 >>> rtas0: <Run-Time Abstraction Services> on ofwbus0 >>> rtas0: registered as a time-of-day clock, resolution 0.002000s >>> Timecounter "timebase" frequency 512000000 Hz quality 0 >>> Event timer "decrementer" frequency 512000000 Hz quality 1000 >>> Timecounters tick every 1.000 msec >>> >>> >>> This is running qemu 2.12.50 from git with the following command line: >>> >>> ppc64-softmmu/qemu-system-ppc64 -m 6G \ >>> -drive >>> file=/usr/home/ctuffli/vms/bsdppc/freebsd-12.qcow2,format=qcow2 \ >>> -drive >>> id=swap,file=/usr/home/ctuffli/vms/bsd/swap.raw,format=raw \ >>> -drive >>> media=cdrom,file=/usr/home/ctuffli/vms/bsdppc/FreeBSD-12.0-CURRENT-powerpc-powerpc64-20180709-r336134-bootonly.iso,readonly >>> \ >>> -drive >>> id=n0,if=none,file=/usr/home/ctuffli/vms/ogt/ns0.img,format=raw \ >>> -device nvme,drive=n0,serial=bada55 \ >>> -netdev >>> tap,id=tap1,br=bridge0,script=/usr/home/ctuffli/dev/qemu.git/qemu-ifup,downscript=/usr/home/ctuffli/dev/qemu.git/qemu-ifdown >>> \ >>> -device e1000,netdev=tap1 \ >>> -nographic -vga none -mem-prealloc -boot d >>> >>> Any thoughts? TIA >>> >>> --chuck >>> >>> [1] https://pastebin.com/iscPCSCi >>> _______________________________________________ >>> [email protected] mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc >>> To unsubscribe, send any mail to "[email protected]" >> >> > > -- Earth is a beta site. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ppc To unsubscribe, send any mail to "[email protected]"