Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2018 08:01:40 -0700
From:      Chuck Tuffli <chuck@freebsd.org>
To:        freebsd-ppc@freebsd.org
Subject:   Re: QEMU
Message-ID:  <CAKAYmMJRt%2BTQUiqA_fSB0Mu=mnxr7FzW41-2sKjagT3L1F%2Bs-Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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
    root@releng3.nyi.freebsd.org:/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKAYmMJRt%2BTQUiqA_fSB0Mu=mnxr7FzW41-2sKjagT3L1F%2Bs-Q>