From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an838-0006C5-3J for qemu-devel@nongnu.org; Mon, 04 Apr 2016 13:12:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1an834-0000th-QT for qemu-devel@nongnu.org; Mon, 04 Apr 2016 13:12:26 -0400 Received: from e35.co.us.ibm.com ([32.97.110.153]:47553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an834-0000tS-I4 for qemu-devel@nongnu.org; Mon, 04 Apr 2016 13:12:22 -0400 Received: from localhost by e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 4 Apr 2016 11:12:18 -0600 Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id B784E1FF0023 for ; Mon, 4 Apr 2016 11:00:24 -0600 (MDT) Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u34HCGS235455002 for ; Mon, 4 Apr 2016 10:12:16 -0700 Received: from d03av03.boulder.ibm.com (localhost [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u34HCFS2011845 for ; Mon, 4 Apr 2016 11:12:15 -0600 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> <20160404144929.547.94601.malone@wampee.canonical.com> In-Reply-To: <20160404144929.547.94601.malone@wampee.canonical.com> Message-ID: <20160404171203.589.58378@loki> Date: Mon, 04 Apr 2016 12:12:03 -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-04 09:49:29) > ubuntu@alpine01:~$ ppc64_cpu --info > Core 0: 0* 1* 2* 3* 4* 5* 6* 7* = > Core 1: 8* 9* 10* 11* 12* 13* 14* 15* = > Core 2: 16* 17* 18* 19* 20* 21* 22* 23* = > Core 3: 24* 25* 26* 27* 28* 29* 30* 31* = > Core 4: 32* 33* 34* 35* 36* 37* 38* 39* = > Core 5: 40* 41* 42* 43* 44* 45* 46* 47* = > Core 6: 48* 49* 50* 51* 52* 53* 54* 55* = > Core 7: 56* 57* 58* 59* 60* 61* 62* 63* = > ubuntu@alpine01:~$ ppc64_cpu --smt off > SMT=3D8 > ubuntu@alpine01:~$ ppc64_cpu --info > Core 0: 0* 1* 2* 3* 4* 5* 6* 7* = > Core 1: 8* 9* 10* 11* 12* 13* 14* 15* = > Core 2: 16* 17* 18* 19* 20* 21* 22* 23* = > Core 3: 24* 25* 26* 27* 28* 29* 30* 31* = > Core 4: 32* 33* 34* 35* 36* 37* 38* 39* = > Core 5: 40* 41* 42* 43* 44* 45* 46* 47* = > Core 6: 48* 49* 50* 51* 52* 53* 54* 55* = > Core 7: 56* 57* 58* 59* 60* 61* 62* 63* = Yah, this is not right. I think the command you need is actually: ppc64_cpu --smt=3D1 I don't know if this is the root cause, but I would not expect things to work in general without SMT=3D1 > = > Still freezing at the same point: > = > Trying to load: from: disk ... Successfully loaded > * finddevice /memory grub workaround * > * finddevice /memory grub workaround * > * finddevice /memory grub workaround * > Linux ppc64le > #31-Ubuntu SMP F > = > = > This is running on an LPAR in PowerNV mode. > = > -- = > 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 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