From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ana7p-0005Nf-9B for qemu-devel@nongnu.org; Tue, 05 Apr 2016 19:11:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ana7k-0005J6-6i for qemu-devel@nongnu.org; Tue, 05 Apr 2016 19:11:09 -0400 Received: from e38.co.us.ibm.com ([32.97.110.159]:54042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ana7j-0005I7-Uu for qemu-devel@nongnu.org; Tue, 05 Apr 2016 19:11:04 -0400 Received: from localhost by e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 5 Apr 2016 17:11:02 -0600 Received: from b01cxnp22033.gho.pok.ibm.com (b01cxnp22033.gho.pok.ibm.com [9.57.198.23]) by d03dlp02.boulder.ibm.com (Postfix) with ESMTP id D2CD73E40030 for ; Tue, 5 Apr 2016 17:10:59 -0600 (MDT) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u35NAxpb36241508 for ; Tue, 5 Apr 2016 23:10:59 GMT Received: from d01av01.pok.ibm.com (localhost [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u35NAxbI028089 for ; Tue, 5 Apr 2016 19:10:59 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Roth References: <20160330141641.3353.24299.malonedeb@chaenomeles.canonical.com> <20160405222224.19027.87452.malone@soybean.canonical.com> In-Reply-To: <20160405222224.19027.87452.malone@soybean.canonical.com> Message-ID: <20160405231051.589.41803@loki> Date: Tue, 05 Apr 2016 18:10:51 -0500 Subject: Re: [Qemu-devel] [Bug 1563887] Re: qemu-system-ppc64 freezes on starting image on ppc64le List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 1563887 <1563887@bugs.launchpad.net>, Mike Rushton , qemu-devel@nongnu.org Quoting Mike Rushton (2016-04-05 17:22:24) > Sorry, I copied the wrong thing: > = > sudo qemu-system-ppc64 -enable-kvm -m 256 -display none -nographic -net n= ic -net user,net=3D10.0.0.0/8,host=3D10.0.0.1,hostfwd=3Dtcp::2222-:22 -mach= ine pseries -drive file=3Dxenial-server-cloudimg-ppc64el-disk1.img,if=3Dvir= tio -drive file=3Dseed.iso,if=3Dvirtio > ioctl(KVM_CREATE_VM) failed: 22 Invalid argument > failed to initialize KVM: Invalid argument Can you post the output of this from the host? cat /proc/cpuinfo | grep platform If it reports "PowerNV" then things should be working, so the error needs investigation. If it reports "pSeries", then that's not a normally supported scenario for running KVM (since your host is already running as virtualized pSeries partition running on top of the pHyp hypervisor rather than KVM). You *might* have KVM support via 'PR' mode as opposed to the normal 'HV' mode, but that's generally used to do nested virtualization on top of a KVM HV guest. To do it on top of a pHyp guest partition is probably not something that's been actively tested. I'd assume you're using PowerNV host, but you mentioned "PowerVM" earlier which is synonymous with pHyp, so it warrants confirming. > = > -- = > You received this bug notification because you are a member of qemu- > devel-ml, which is subscribed to QEMU. > https://bugs.launchpad.net/bugs/1563887 > = > Title: > qemu-system-ppc64 freezes on starting image on ppc64le > = > Status in QEMU: > New > Status in linux package in Ubuntu: > Confirmed > Status in livecd-rootfs package in Ubuntu: > New > Status in qemu package in Ubuntu: > Confirmed > = > Bug description: > qemu-system-ppc64 running on Ubuntu 16.04 beta-2 fails to start an > image as part of the certification process. This on an IBM ppc64le in > PowerVM mode running Ubuntu 16.04 beta-2 deployed by MAAS 1.9.1. There > is no error output. > = > ubuntu@alpine01:~/kvm$ qemu-system-ppc64 -m 256 -display none -nographi= c -net nic -net user,net=3D10.0.0.0/8,host=3D10.0.0.1,hostfwd=3Dtcp::2222-:= 22 -machine pseries -drive file=3Dxenial-server-cloudimg-ppc64el-disk1.img,= if=3Dvirtio -drive file=3Dseed.iso,if=3Dvirtio > WARNING: Image format was not specified for 'seed.iso' and probing gues= sed raw. > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Automatically det= ecting the format is dangerous for raw images, write operations on block 0 = will be restricted. > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Specify the 'raw'= format explicitly to remove the restrictions. > = > SLOF ******************************************************************= **** > QEMU Starting > =C2=A0Build Date =3D Jan 29 2016 18:58:37 > =C2=A0FW Version =3D buildd@ release 20151103 > =C2=A0Press "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 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0SCSI: Looking for devices > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A082000000000= 00000 CD-ROM : "QEMU QEMU CD-ROM 2.5+" > Populating /pci@800000020000000 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A000 1800 (D) : 1af4= 1001 virtio [ block ] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A000 1000 (D) : 1af4= 1001 virtio [ block ] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A000 0800 (D) : 106b= 003f serial bus [ usb-ohci ] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A000 0000 (D) : 1234= 1111 qemu vga > No NVRAM common partition, re-initializing... > Installing QEMU fb > = > Scanning USB > =C2=A0=C2=A0OHCI: initializing > =C2=A0=C2=A0=C2=A0=C2=A0USB Keyboard > =C2=A0=C2=A0=C2=A0=C2=A0USB mouse > No console specified using screen & keyboard > = > =C2=A0=C2=A0Welcome to Open Firmware > = > =C2=A0=C2=A0Copyright (c) 2004, 2011 IBM Corporation All rights reserve= d. > =C2=A0=C2=A0This program and the accompanying materials are made availa= ble > =C2=A0=C2=A0under the terms of the BSD License available at > =C2=A0=C2=A0http://www.opensource.org/licenses/bsd-license.php > = > Trying to load: from: /pci@800000020000000/scsi@3 ... > E3404: Not a bootable device! > Trying to load: from: /pci@800000020000000/scsi@2 ... Successfully l= oaded > Linux ppc64le > #31-Ubuntu SMP F > = > ProblemType: Bug > DistroRelease: Ubuntu 16.04 > Package: qemu-system-ppc 1:2.5+dfsg-5ubuntu6 > ProcVersionSignature: Ubuntu 4.4.0-16.32-generic 4.4.6 > Uname: Linux 4.4.0-16-generic ppc64le > ApportVersion: 2.20-0ubuntu3 > Architecture: ppc64el > Date: Wed Mar 30 14:10:01 2016 > KvmCmdLine: > =C2=A0COMMAND STAT EUID RUID PID PPID %CPU COMMAND > =C2=A0kvm-irqfd-clean S< 0 0 1172 2 0.0 [kvm-irqfd-clea= n] > =C2=A0qemu-nbd Ssl 0 0 13467 1 0.0 qemu-nbd -c /de= v/nbd0 xenial-server-cloudimg-ppc64el-disk1.img > =C2=A0qemu-system-ppc Sl+ 1000 1000 18973 18896 101 qemu-system-ppc= 64 -m 256 -display none -nographic -net nic -net user,net=3D10.0.0.0/8,host= =3D10.0.0.1,hostfwd=3Dtcp::2222-:22 -machine pseries -drive file=3Dxenial-s= erver-cloudimg-ppc64el-disk1.img,if=3Dvirtio -drive file=3Dseed.iso,if=3Dvi= rtio > Lsusb: Error: command ['lsusb'] failed with exit code 1: > ProcEnviron: > =C2=A0TERM=3Dxterm > =C2=A0PATH=3D(custom, no user) > =C2=A0LANG=3Den_US.UTF-8 > =C2=A0SHELL=3D/bin/bash > ProcKernelCmdLine: BOOT_IMAGE=3D/boot/vmlinux-4.4.0-16-generic root=3DU= UID=3D92d820c8-ab25-497b-9b1e-f1435992bbf3 ro > ProcLoadAvg: 1.08 0.94 0.58 2/616 19571 > ProcLocks: > =C2=A01: POSIX ADVISORY WRITE 886 00:13:381 0 EOF > =C2=A02: POSIX ADVISORY WRITE 1339 00:13:528 0 EOF > =C2=A03: FLOCK ADVISORY WRITE 1284 00:13:522 0 EOF > =C2=A04: POSIX ADVISORY WRITE 2281 00:13:563 0 EOF > =C2=A05: POSIX ADVISORY WRITE 1331 00:13:536 0 EOF > ProcSwaps: > =C2=A0Filename Type Size Used= Priority > =C2=A0/swap.img file 8388544 0 = -1 > ProcVersion: Linux version 4.4.0-16-generic (buildd@bos01-ppc64el-001) = (gcc version 5.3.1 20160320 (Ubuntu/Linaro/IBM 5.3.1-12ubuntu4) ) #32-Ubunt= u SMP Thu Mar 24 22:31:14 UTC 2016 > SourcePackage: qemu > UpgradeStatus: No upgrade log present (probably fresh install) > bootlist: > =C2=A0/pci@800000020000011/pci1014,034A@0/sas/disk@4068402c40 > =C2=A0/pci@800000020000018/ethernet@0:speed=3Dauto,duplex=3Dauto,csarch= ,000.000.000.000,,000.000.000.000,000.000.000.000,5,5,000.000.000.000,512 > =C2=A0/pci@800000020000018/ethernet@0,1:speed=3Dauto,duplex=3Dauto,csar= ch,000.000.000.000,,000.000.000.000,000.000.000.000,5,5,000.000.000.000,512 > =C2=A0/pci@800000020000018/ethernet@0,2:speed=3Dauto,duplex=3Dauto,csar= ch,000.000.000.000,,000.000.000.000,000.000.000.000,5,5,000.000.000.000,512 > =C2=A0/pci@800000020000018/ethernet@0,3:speed=3Dauto,duplex=3Dauto,csar= ch,000.000.000.000,,000.000.000.000,000.000.000.000,5,5,000.000.000.000,512 > cpu_cores: Number of cores present =3D 8 > cpu_coreson: Number of cores online =3D 8 > cpu_smt: SMT=3D8 > lscfg_vp: Error: [Errno 2] No such file or directory: 'lscfg' > lsmcode: Error: [Errno 2] No such file or directory: 'lsmcode' > = > To manage notifications about this bug go to: > https://bugs.launchpad.net/qemu/+bug/1563887/+subscriptions >=20