From now on, QEMU works fine with PowerKVM. See following message log. So We request unmask qemu on ppc64le platform. Reproducible: Always Steps to Reproduce: 1. emerge app-emulation/qemu 2. The following keyword changes are necessary to proceed: (see "package.accept_keywords" in the portage(5) man page for more details) # required by qemu (argument) =app-emulation/qemu-2.6.0 ~ppc64 The following mask changes are necessary to proceed: (see "package.unmask" in the portage(5) man page for more details) # required by qemu (argument) # /usr/portage/profiles/arch/powerpc/package.mask: # Doug Goldstein <cardoe@gentoo.org> (11 Jan 2013) # Masked due to depends on bug #438780 =app-emulation/qemu-2.6.0 NOTE: The --autounmask-keep-masks option will prevent emerge from creating package.unmask or ** keyword changes. Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT). Carefully examine the list of proposed changes, paying special attention to mask or keyword changes that may expose experimental or unstable packages. 3. Actual Results: Masked by # /usr/portage/profiles/arch/powerpc/package.mask: # Doug Goldstein <cardoe@gentoo.org> (11 Jan 2013) # Masked due to depends on bug #438780 Expected Results: localhost boot # emerge --info qemu setlocale: unsupported locale setting setlocale: unsupported locale setting Portage 2.2.28 (python 3.4.3-final-0, default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian/systemd, gcc-5.3.0, glibc-2.22-r4, 4.4.6-gentoo ppc64le) ================================================================= System Settings ================================================================= System uname: Linux-4.4.6-gentoo-ppc64le-POWER8_-raw-,_altivec_supported-with-gentoo-2.2 KiB Mem: 4170688 total, 291200 free KiB Swap: 2097088 total, 2096128 free sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r1::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 5.3.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/linux-on-power/gentoo priority: -1000 ACCEPT_KEYWORDS="ppc64" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc64le-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=power8 -mtune=power8 -mabi=elfv2" CHOST="powerpc64le-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl altivec berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm ibm iconv ipv6 modules ncurses nls nptl openmp pam pcre ppc64 readline session ssl systemd tcpd udev unicode xattr zlib" ABI_PPC="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev mach64 mga nv r128 radeon dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= app-emulation/qemu-2.6.0::gentoo was built with the following: USE="aio caps curl fdt filecaps jpeg ncurses nls pin-upstream-blobs png threads uuid vhost-net vnc xattr -accessibility -alsa -bluetooth -debug -glusterfs -gnutls -gtk -gtk2 (-infiniband) -iscsi -lzo -nfs -numa -opengl -pulseaudio -python (-rbd) -sasl -sdl -sdl2 (-seccomp) (-selinux) -smartcard -snappy (-spice) -ssh -static -static-softmmu -static-user -systemtap -tci -test -usb (-usbredir) -vde -virgl -virtfs -vte (-xen) -xfs" LINGUAS="-de_DE -fr_FR -hu -it -tr -zh_CN" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="(ppc) (ppc64) -aarch64 (-alpha) (-arm) -cris -i386 -lm32 (-m68k) -microblaze -microblazeel (-mips) -mips64 -mips64el -mipsel -moxie -or32 -ppcemb -s390x -sh4 -sh4eb (-sparc) -sparc64 -tricore -unicore32 -x86_64 -xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 (-alpha) (-arm) -armeb -cris -i386 (-m68k) -microblaze -microblazeel (-mips) -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or32 (-ppc) (-ppc64) -ppc64abi32 -ppc64le -s390x -sh4 -sh4eb (-sparc) -sparc32plus -sparc64 -tilegx -unicore32 -x86_64" >>> Attempting to run pkg_info() for 'app-emulation/qemu-2.6.0' /tmp/tmpwzfawe78/portage/app-emulation/qemu-2.6.0/temp/environment: line 5961: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) Using: USE='' localhost boot # emerge --info qemu setlocale: unsupported locale setting setlocale: unsupported locale setting Portage 2.2.28 (python 3.4.3-final-0, default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian/systemd, gcc-5.3.0, glibc-2.22-r4, 4.4.6-gentoo ppc64le) ================================================================= System Settings ================================================================= System uname: Linux-4.4.6-gentoo-ppc64le-POWER8_-raw-,_altivec_supported-with-gentoo-2.2 KiB Mem: 4170688 total, 291200 free KiB Swap: 2097088 total, 2096128 free sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r1::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 5.3.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/linux-on-power/gentoo priority: -1000 ACCEPT_KEYWORDS="ppc64" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc64le-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=power8 -mtune=power8 -mabi=elfv2" CHOST="powerpc64le-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl altivec berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm ibm iconv ipv6 modules ncurses nls nptl openmp pam pcre ppc64 readline session ssl systemd tcpd udev unicode xattr zlib" ABI_PPC="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev mach64 mga nv r128 radeon dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= app-emulation/qemu-2.6.0::gentoo was built with the following: USE="aio caps curl fdt filecaps jpeg ncurses nls pin-upstream-blobs png threads uuid vhost-net vnc xattr -accessibility -alsa -bluetooth -debug -glusterfs -gnutls -gtk -gtk2 (-infiniband) -iscsi -lzo -nfs -numa -opengl -pulseaudio -python (-rbd) -sasl -sdl -sdl2 (-seccomp) (-selinux) -smartcard -snappy (-spice) -ssh -static -static-softmmu -static-user -systemtap -tci -test -usb (-usbredir) -vde -virgl -virtfs -vte (-xen) -xfs" LINGUAS="-de_DE -fr_FR -hu -it -tr -zh_CN" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="(ppc) (ppc64) -aarch64 (-alpha) (-arm) -cris -i386 -lm32 (-m68k) -microblaze -microblazeel (-mips) -mips64 -mips64el -mipsel -moxie -or32 -ppcemb -s390x -sh4 -sh4eb (-sparc) -sparc64 -tricore -unicore32 -x86_64 -xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 (-alpha) (-arm) -armeb -cris -i386 (-m68k) -microblaze -microblazeel (-mips) -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or32 (-ppc) (-ppc64) -ppc64abi32 -ppc64le -s390x -sh4 -sh4eb (-sparc) -sparc32plus -sparc64 -tilegx -unicore32 -x86_64" >>> Attempting to run pkg_info() for 'app-emulation/qemu-2.6.0' /tmp/tmpwzfawe78/portage/app-emulation/qemu-2.6.0/temp/environment: line 5961: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) Using: USE='' emerge app-emulation/qemu successfully When I added, # required by qemu (argument) =app-emulation/qemu-2.6.0 ~ppc64 to /etc/portage/package.accept_keywords and unmask # required by qemu (argument) # /usr/portage/profiles/arch/powerpc/package.mask: # Doug Goldstein <cardoe@gentoo.org> (11 Jan 2013) # Masked due to depends on bug #438780 =app-emulation/qemu-2.6.0 Then emerge app-emulation/qemu and executed: # modprobe kvm kvm_pr # qemu-system-ppc64 -enable-kvm -m 2G -kernel kernel-genkernel-powerpc-4.4.6-gentoo -initrd initramfs-genkernel-powerpc-4.4.6-gentoo -nographic -nodefaults -serial stdio SLOF ********************************************************************** QEMU Starting Build Date = Feb 23 2016 18:06:07 FW Version = git-e3d05727a074619f Press "s" to enter Open Firmware. Populating /vdevice methods Populating /vdevice/vty@71000000 Populating /vdevice/nvram@71000001 Populating /pci@800000020000000 No NVRAM common partition, re-initializing... Scanning USB Using default console: /vdevice/vty@71000000 Detected RAM kernel at 400000 (189ece4 bytes) 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 Booting from memory... OF stdout device is: /vdevice/vty@71000000 Preparing to boot Linux version 4.4.6-gentoo (root@livecd) (gcc version 5.3.0 (Gentoo 5.3.0 p1.1, pie-0.6.5) ) #1 SMP Fri Jun 17 00:54:44 2016 Detected machine type: 0000000000000101 Max number of cores passed to firmware: 2048 (NR_CPUS = 2048) Calling ibm,client-architecture-support... done command line: memory layout at init: memory_limit : 0000000000000000 (16 MB aligned) alloc_bottom : 0000000001cb0000 alloc_top : 0000000030000000 alloc_top_hi : 0000000080000000 rmo_top : 0000000030000000 ram_top : 0000000080000000 instantiating rtas at 0x000000002fff0000... done prom_hold_cpus: skipped copying OF device tree... Building dt strings... Building dt structure... Device tree strings 0x0000000003bc0000 -> 0x0000000003bc090e Device tree struct 0x0000000003bd0000 -> 0x0000000003be0000 Quiescing Open Firmware ... Booting Linux via __start() ... [ 0.000000] Using pSeries machine description [ 0.000000] Page sizes from device-tree: [ 0.000000] base_shift=12: shift=12, sllp=0x0000, avpnm=0x00000000, tlbiel=1, penc=0 [ 0.000000] base_shift=16: shift=16, sllp=0x0110, avpnm=0x00000000, tlbiel=1, penc=1 [ 0.000000] base_shift=24: shift=24, sllp=0x0100, avpnm=0x00000001, tlbiel=0, penc=0 [ 0.000000] Using 1TB segments [ 0.000000] Found initrd at 0xc000000001cb0000:0xc000000003adcdd0
the issue originally mentioned still exists -- ipxe is keyworded only on amd64/x86. we need to figure out how to handle it on other arches.
That's true. ipxe is keyworded only on amd64/x86. Seems this was fixed in qemu-2.6.0 ebuild on ppc64le. Thanks
*** Bug 586654 has been marked as a duplicate of this bug. ***
opuser@gentoo-coreos-ppc64le ~/coreos $ sudo emerge qemu Calculating dependencies... done! [ebuild N ] media-libs/libjpeg-turbo-1.5.0 USE="-java -static-libs" [ebuild N ] media-libs/libpng-1.6.21 USE="-apng (-neon) -static-libs" [ebuild N ] sys-libs/libcap-ng-0.7.7 USE="-python -static-libs" PYTHON_TARGETS="python2_7 python3_4 -python3_3" [ebuild N ] sys-apps/dtc-1.4.1 USE="-static-libs" [ebuild N ] virtual/jpeg-0-r2 USE="-static-libs" [ebuild N ] x11-misc/util-macros-1.19.0 [ebuild N ] media-fonts/font-util-1.3.1 [ebuild N ] x11-libs/pixman-0.32.8 USE="altivec (-iwmmxt) (-loongson2f) (-neon) -static-libs" [ebuild N #] app-emulation/qemu-2.6.0 USE="aio caps curl fdt filecaps jpeg ncurses nls pin-upstream-blobs png threads uuid vhost-net vnc xattr -accessibility -alsa -bluetooth -debug -glusterfs -gnutls -gtk -gtk2 (-infiniband) -iscsi -lzo -nfs -numa -opengl -pulseaudio -python (-rbd) -sasl -sdl -sdl2 (-seccomp) (-selinux) -smartcard -snappy (-spice) -ssh -static -static-softmmu -static-user -systemtap -tci {-test} -usb (-usbredir) -vde -virgl -virtfs -vte (-xen) -xfs" LINGUAS="-de_DE -fr_FR -hu -it -tr -zh_CN" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="ppc ppc64 -aarch64 -alpha -arm -cris -i386 -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -or32 -ppcemb -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -x86_64 -xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 -alpha -arm -armeb -cris -i386 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or32 -ppc -ppc64 -ppc64abi32 -ppc64le -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx -unicore32 -x86_64" The following keyword changes are necessary to proceed: (see "package.accept_keywords" in the portage(5) man page for more details) # required by qemu (argument) =app-emulation/qemu-2.6.0 ~ppc64 The following mask changes are necessary to proceed: (see "package.unmask" in the portage(5) man page for more details) # required by qemu (argument) # /usr/portage/profiles/arch/powerpc/package.mask: # Doug Goldstein <cardoe@gentoo.org> (11 Jan 2013) # Masked due to depends on bug #438780 =app-emulation/qemu-2.6.0 NOTE: The --autounmask-keep-masks option will prevent emerge from creating package.unmask or ** keyword changes. Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT). Carefully examine the list of proposed changes, paying special attention to mask or keyword changes that may expose experimental or unstable packages.
Could be closed as obsolete? app-emulation/qemu is already in tree for ~ppc/~ppc64