Re: QEMU

Chuck Tuffli <[email protected]>
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <CAKAYmMJRt+TQUiqA_fSB0Mu=mnxr7FzW41-2sKjagT3L1F+s-Q@mail.gmail.com>
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]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.