All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Kevin O'Connor <kevin@koconnor.net>
Cc: seabios <seabios@seabios.org>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [SeaBIOS]  solaris x86 in qemu? [bisected]
Date: Sun, 16 Jun 2013 14:07:39 +0400	[thread overview]
Message-ID: <51BD8E6B.4060802@msgid.tls.msk.ru> (raw)
In-Reply-To: <20130613234752.GA14585@morn.localdomain>

14.06.2013 03:47, Kevin O'Connor wrote:
> 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 <kraxel@redhat.com>
>>  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 <kraxel@redhat.com>
>>
>>
>> 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 <kevin@koconnor.net>
>>  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 <kevin@koconnor.net>
>>
> 
> 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.

So, with the knowlege that current 1.7.2.2 does not change this, can we
guess what's going on there?  I don't really know solaris kernel internals
(is the source available to start with?), but maybe this particular commit
may give some hint?

Thanks!

/mjt

  parent reply	other threads:[~2013-06-16 10:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-13  7:51 [Qemu-devel] solaris x86 in qemu? Michael Tokarev
2013-06-13 20:32 ` [Qemu-devel] solaris x86 in qemu? [bisected] Michael Tokarev
2013-06-13 23:47   ` [Qemu-devel] [SeaBIOS] " Kevin O'Connor
2013-06-14  6:10     ` Michael Tokarev
2013-06-14 12:36       ` Gerd Hoffmann
2013-06-14 14:14         ` Michael Tokarev
2013-06-15  1:40           ` Kevin O'Connor
2013-06-17  6:13           ` Gerd Hoffmann
2013-06-16 10:07     ` Michael Tokarev [this message]
2013-06-16 15:30       ` Kevin O'Connor
2013-06-17  7:40         ` Laszlo Ersek
2013-06-13 21:44 ` [Qemu-devel] solaris x86 in qemu? Brad Smith
2013-06-14  5:42   ` Michael Tokarev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51BD8E6B.4060802@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=kevin@koconnor.net \
    --cc=qemu-devel@nongnu.org \
    --cc=seabios@seabios.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.