From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Sven Köhler" <sven.koehler@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: 3.0.4 and 3.1-rc4 based dom0 won't boot with acpi=off
Date: Mon, 12 Sep 2011 11:06:06 -0400 [thread overview]
Message-ID: <20110912150606.GC15778@oracle.com> (raw)
In-Reply-To: <4E6C0473.8090905@gmail.com>
On Sun, Sep 11, 2011 at 02:44:35AM +0200, Sven Köhler wrote:
> Am 11.09.2011 02:28, schrieb Konrad Rzeszutek Wilk:
> > On Sun, Sep 11, 2011 at 12:43:18AM +0200, Sven Köhler wrote:
> >> Hi,
> >>
> >> when using acpi=off in the kernel or xen command line, the system won't
> >> boot. On real hardware, I saw a few interrupt related warnings from the
> >> usb drivers. The system then seemed to lock up when trying to do I/O via
> >> AHCI. Same in virtualbox. System won't come up.
> >
> > Not surprised. Without the ACPI we can't find parse the interrupt table,
> > so you don't get any interrupts.
>
> Thanks for explaining. Now what about the future? Will there be some
> solution for the acpi=off case?
No.
>
> I'm a bit confused, since your words don't sound like there is a way to
> boot with acpi=off. But other dom0 kernels actually boot with acpi=off.
Sure.
> So after all, some other way for setting up interrupts seems to exist.
The older kernels (XenOLinux) made it possible by copying a lot of the
generic code in its own and making it work. That is not possible with the
upstream kernel.
Well, maybe it is possible, but I am not sure if it is worth the effort.
>
> > This is result of the reboot issue you have been seeing with your box?
>
> Yes.
>
> > You might want to try some parameters on the Xen line to alter how
> > it is suppose to reboot.
> >
> > /*
> > * reboot=b[ios] | t[riple] | k[bd] | n[o] [, [w]arm | [c]old]
>
> Thanks for the list.
> I guess, both reboot=bios and reboot=b is accepted?
> BTW: "no" is missing in the list below. acpi is missing in the list
> above. And actually what's the source for list?
Xen hypervisor source. I just did a quick search for 'reboot='
> (I never find any documentation about the hypervisor options, which is
> pretty frustrating sometimes)
>
> > * warm Don't set the cold reboot flag
> > * cold Set the cold reboot flag
> > * bios Reboot by jumping through the BIOS (only for X86_32)
> > * triple Force a triple fault (init)
> > * kbd Use the keyboard controller. cold reset (default)
> > * acpi Use the RESET_REG in the FADT
> > */
>
> So in fact, xen is doing the reboot, and not the dom0 kernel, right?
Yes. Dom0 triggers it though (by invoking an hypercall that tells
Xen to reboot/shutdown the machine).
> (Some people have claimed otherwise)
>
> Could you imagine to adapt xen's reboot code to the one of linux 3.0
> (which was tweaked quite a lot for maximum compatibility)
I can imagine it.. but without any ideas of why your machine is not rebooting
it is a bit .. difficult.
You could also try on the Xen hypervisor line (Ctlr-A three times) try the 'R'
and see if it does anything.
>
>
>
> Regards,
> Sven
>
next prev parent reply other threads:[~2011-09-12 15:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-10 22:43 3.0.4 and 3.1-rc4 based dom0 won't boot with acpi=off Sven Köhler
2011-09-11 0:28 ` Konrad Rzeszutek Wilk
2011-09-11 0:44 ` Sven Köhler
2011-09-11 12:16 ` Ian Campbell
2011-09-12 10:35 ` Stefano Stabellini
2011-09-12 15:06 ` Konrad Rzeszutek Wilk [this message]
2011-09-12 21:40 ` Sven Köhler
2011-09-12 22:48 ` Ian Campbell
2011-09-18 19:27 ` Sven Köhler
2011-09-21 18:06 ` Konrad Rzeszutek Wilk
2011-09-21 19:02 ` Sven Köhler
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=20110912150606.GC15778@oracle.com \
--to=konrad.wilk@oracle.com \
--cc=sven.koehler@gmail.com \
--cc=xen-devel@lists.xensource.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).