From owner-freebsd-ppc@freebsd.org Tue Jun 7 16:11:02 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9511B6E0EA for ; Tue, 7 Jun 2016 16:11:02 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from d.mail.sonic.net (d.mail.sonic.net [64.142.111.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9FB871E16 for ; Tue, 7 Jun 2016 16:11:02 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from zeppelin.tachypleus.net (184-23-18-234.dsl.dynamic.fusionbroadband.com [184.23.18.234]) (authenticated bits=0) by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id u57GB0x1006082 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Tue, 7 Jun 2016 09:11:00 -0700 Subject: Re: IBM KVM on P8 saga: FreeBSD-11.0-ALPHA1-powerpc-powerpc64-20160528-r300895 won't boot To: freebsd-ppc@freebsd.org References: <3r9Zbp6spTz1cXL0@baobab.bilink.it> <3rJNSk16Hjz1cXKx@baobab.bilink.it> <254582a5-efe3-4ec9-785f-b158b350ec95@freebsd.org> <3rJpbK0kp5z1cXL0@baobab.bilink.it> <3fc108e2-d56a-baa2-dae1-54e0704fe789@freebsd.org> <3rPGPK21Fyz1cXKx@baobab.bilink.it> From: Nathan Whitehorn Message-ID: <8826c4e2-0115-fee0-7aef-776b9548b0e4@freebsd.org> Date: Tue, 7 Jun 2016 09:11:00 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <3rPGPK21Fyz1cXKx@baobab.bilink.it> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVboYcycUJz3xKGh24ZF+0DoPltETw94Dek0c1qgo2yxzHFiawLDjwB1JX6VUyrN8gC1dsrBtHMyotphrr+zrGiT2U5L+eevmm8= X-Sonic-ID: C;SJL3bMos5hGacrsdzAjavA== M;nE04bcos5hGacrsdzAjavA== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2016 16:11:03 -0000 You may need to run ppc64_cpu --smt=off on the KVM host first. I can reproduce hangs in late boot without the threads option and am working on it. It would be great if you could file a PR. -Nathan On 06/07/16 08:55, Luciano Mannucci wrote: > On Thu, 2 Jun 2016 13:45:07 -0700 > Nathan Whitehorn wrote: > >> Interesting. Can you tell me what happens if you add -threads 8 to the >> QEMU command line to expose all the threads? > Yes. > It says: > > Error starting domain: internal error: process exited while connecting to monitor: qemu-system-ppc64: -threads: invalid option > > Details: > > Error starting domain: internal error: process exited while connecting to > monitor: qemu-system-ppc64: -threads: invalid option > > > Traceback (most recent call last): > File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper > callback(asyncjob, *args, **kwargs) > File "/usr/share/virt-manager/virtManager/asyncjob.py", line 125, in tmpcb > callback(*args, **kwargs) > File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 83, in newfn > ret = fn(self, *args, **kwargs) > File "/usr/share/virt-manager/virtManager/domain.py", line 1437, in startup > self._backend.create() > File "/usr/local/lib/python2.7/site-packages/libvirt.py", line 1035, in create > if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) > libvirtError: internal error: process exited while connecting to monitor: qemu-system-ppc64: -threads: invalid option > > I've added: > > > > > > to the xml domain. > > Luciano.