Received: from eggs.gnu.org ([2001:4830:134:3::10]:49845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnHFE-0002Bt-Lv for qemu-devel@nongnu.org; Thu, 13 Jun 2013 19:47:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnHFD-0004sw-HN for qemu-devel@nongnu.org; Thu, 13 Jun 2013 19:47:56 -0400 Received: from mail-qa0-x22c.google.com ([2607:f8b0:400d:c00::22c]:64784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnHFD-0004so-D7 for qemu-devel@nongnu.org; Thu, 13 Jun 2013 19:47:55 -0400 Received: by mail-qa0-f44.google.com with SMTP id j8so1447709qah.17 for ; Thu, 13 Jun 2013 16:47:54 -0700 (PDT) Date: Thu, 13 Jun 2013 19:47:52 -0400 From: Kevin O'Connor Message-ID: <20130613234752.GA14585@morn.localdomain> References: <51B979E6.1030504@msgid.tls.msk.ru> <51BA2C56.80106@msgid.tls.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51BA2C56.80106@msgid.tls.msk.ru> Subject: Re: [Qemu-devel] [SeaBIOS] solaris x86 in qemu? [bisected] List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: seabios , qemu-devel On Fri, Jun 14, 2013 at 12:32:22AM +0400, Michael Tokarev wrote: > 13.06.2013 11:51, Michael Tokarev wrote: > > Hello. > > > > In order to verify some build issues on solaris, I tried to install > > sol10 x86 in a kvm vm. But unfortunately it does not work: after the > > grub prompt and choosing "Solaris 10 x86" boot entry, the kernel > > gets loaded (there's a row of dots displayed during that), next, > > the following message gets displayed: > > > > SunOS Release 5.10 Version Generic_147148-26 64-bit > > Copyright (c) 1983, 2013 Oracle and/or its affiliates. All rights reserved. > > > > and the guest stays there for a long time, spinning up 100% of its CPU, > > and nothing more happens. > > > > The same happens when run with or without kvm (ie, tcg and kvm behaves > > the same way). > > > > When run in kvm, kvm_stats shows just a few exits (about 600/sec) and > > nothing more than that. > > > > I think that supporting solaris as _guest_ OS is an important goal > > for qemu/kvm (as opposed to _host_). > > I tried to bisect this. It turns out that solaris x86 does not boot in > qemu/kvm for quite long time already, namely, starting from this commit: > > > commit 6b034aa138716a515c88f7894940d5d0aff2f3ed > Author: Gerd Hoffmann > Date: Tue Apr 17 10:51:41 2012 +0200 > > seabios: update to 1.7.0 > > Update roms/seabios and pc-bios/bios.bin to the 1.7.0 release. > Most noticable new feature is virtio-scsi support. > > Signed-off-by: Gerd Hoffmann > > > So I went on and tried to bisect seabios (previous version in qemu > was 1.6.3.2, and it worked). > > So seabios bisection with qemu-1.1 points to this commit: > > commit 9d3d7cb4b163d3fbcba64a01c4fa42eb6bc53128 > Author: Kevin O'Connor > Date: Wed Sep 21 21:19:51 2011 -0400 > > Move code from PCI hotplug DSDT macros to methods. > > Simplify the hotplug code by moving the bulk of the logic out of the > macros and into static method definitions. This also reduces the ACPI > DSDT code size. > > Signed-off-by: Kevin O'Connor > Can you try with the latest seabios release (v1.7.2.2)? There have been other changes to the dsdt that may have corrected your issue. -Kevin