From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVbiF-0005yM-VK for qemu-devel@nongnu.org; Thu, 03 Apr 2014 03:05:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVbiE-0000Pa-I1 for qemu-devel@nongnu.org; Thu, 03 Apr 2014 03:05:23 -0400 Received: from mail-ob0-x229.google.com ([2607:f8b0:4003:c01::229]:60963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVbiE-0000Ov-5T for qemu-devel@nongnu.org; Thu, 03 Apr 2014 03:05:22 -0400 Received: by mail-ob0-f169.google.com with SMTP id va2so1519509obc.0 for ; Thu, 03 Apr 2014 00:05:21 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <533C31FA.2010203@suse.de> Date: Thu, 3 Apr 2014 12:35:21 +0530 Message-ID: From: Sai Prajeeth Content-Type: multipart/alternative; boundary=047d7b414e2842b3ec04f61e06b2 Subject: Re: [Qemu-devel] ATA timeouts on Solaris/OpenIndiana/Opensolaris List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ben Taylor Cc: =?ISO-8859-1?Q?Andreas_F=E4rber?= , qemu-devel@nongnu.org --047d7b414e2842b3ec04f61e06b2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Andreas script worked for me. Thank you. But i seem to be running into an issue with when i set multiple cores. (-smp cores=3D4). Multiple CPUs works fine (-smp 4) During boot i get these messages: NOTICE: System detected 4 cpus, but only 1 cpu(s) were enabled during boot NOTICE: Use "boot-ncpus" parameter to enable more CPU(s).See eeprom(1M) I tried eeprom but to no avail.. It seems there is an issue in the BIOS. Have any of you encountered such an issue before? On Wed, Apr 2, 2014 at 10:23 PM, Ben Taylor wro= te: > > > > On Wed, Apr 2, 2014 at 11:51 AM, Andreas F=E4rber wrot= e: > >> Hi, >> >> Am 02.04.2014 09:32, schrieb Sai Prajeeth: >> > I am booting an OpenIndiana image on qemu by using the -smp 4 option. = I >> > seem to be running into this known >> > bug http://docs.oracle.com/cd/E19253-01/820-5245/ggmsj/index.html >> > >> > Can someone tell me how can i go about doing workaround 2 on qemu?? >> >> Here's my script for running OpenIndiana using AHCI (SATA): >> >> qemu-system-x86_64 -enable-kvm -smp cores=3D1,threads=3D1,sockets=3D1 -m= 2G \ >> -netdev user -device e1000,macaddr=3D... \ >> -device ahci,id=3Dahci \ >> -device ide-drive,bus=3Dahci.0,drive=3Dahcihd \ >> -drive file=3D/.../openindiana-151a.img,format=3Draw,if=3Dnone,id=3Dahc= ihd \ >> >> Note that live migration doesn't work with AHCI ATM. > > > If you could start qemu with both ata and ahci, add a new lun to the ahci > controller, and use beadm to migrate to the achi disk, then disconnect th= e > ata disk/controller and bump the cores back to 4. > > I think that workaround 1 is not technically correct. however, you'd nee= d > a really good understanding of Solaris/opensolaris/OI to force the system > to reenumerate the device path from a failsafe boot. But this is not for > the faint of heart. > > If it's a new install (ie, not much customization/data), why not just > start a new QEMU instance that uses the ahci controller? > > Ben > > > Ben > > --047d7b414e2842b3ec04f61e06b2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Andreas script worked for me. Thank you.
But i seem to= be running into an issue with =A0when i set multiple cores. (-smp cores=3D= 4). Multiple CPUs works fine (-smp 4)
During boot i get these mes= sages:

NOTICE: System detected 4 cpus, but only 1 cpu(s) =A0we= re enabled during boot
NOTICE: Use "boot-ncpus" paramet= er =A0to enable more CPU(s).See eeprom(1M)

I tried= eeprom but to no avail.. It seems there is an issue in the BIOS. Have any = of you encountered such an issue before?


On Wed, Apr 2= , 2014 at 10:23 PM, Ben Taylor <bentaylor.solx86@gmail.com>= ; wrote:



On Wed, Apr 2, 2014 = at 11:51 AM, Andreas F=E4rber <afaerber@suse.de> wrote:
Hi,

Am 02.04.2014 09:32, schrieb Sai Prajeeth:
> I am booting an OpenIndiana image on qemu by using the -smp 4 opt= ion. I
> seem to be running into this known
> bug http://docs.oracle.com/cd/E19253-01/820-5245/ggms= j/index.html
>
> Can someone tell me how can i go about doing workaround 2 on qemu??
Here's my script for running OpenIndiana using AHCI (SATA):

qemu-system-x86_64 -enable-kvm -smp cores=3D1,threads=3D1,sockets=3D1 -m 2G= \
=A0-netdev user -device e1000,macaddr=3D... \
=A0-device ahci,id=3Dahci \
=A0-device ide-drive,bus=3Dahci.0,drive=3Dahcihd \
=A0-drive file=3D/.../openindiana-151a.img,format=3Draw,if=3Dnone,id=3Dahci= hd \

Note that live migration doesn't work with AHCI ATM.
<= br>
If you could start qemu with both ata and ahci, add a n= ew lun to the ahci controller, and use beadm to migrate to the achi disk, t= hen disconnect the ata disk/controller and bump the cores back to 4.

I think that workaround 1 is not technically correct. =A0however, you&#= 39;d need a really good understanding of Solaris/opensolaris/OI to force th= e system to reenumerate the device path from a failsafe boot. =A0But this i= s not for the faint of heart.

If it's a new install (ie, not much customization/data), why not ju= st start a new QEMU instance that uses the ahci controller?

Ben


Ben=A0


--047d7b414e2842b3ec04f61e06b2--