From: "Sven Köhler" <sven.koehler@gmail.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.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: Sun, 18 Sep 2011 21:27:03 +0200 [thread overview]
Message-ID: <4E764607.80703@gmail.com> (raw)
In-Reply-To: <20110912150606.GC15778@oracle.com>
Am 12.09.2011 17:06, schrieb Konrad Rzeszutek Wilk:
> On Sun, Sep 11, 2011 at 02:44:35AM +0200, Sven Köhler wrote:
>> Am 11.09.2011 02:28, schrieb Konrad Rzeszutek Wilk:
>>> 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 checked the sources of Linux 3.1rc4 and he xen hypervisor (4.1.1).
The code for reboot is almost the same. One tiny difference is that the
code of xen sets the reset flag of the kbd controller 100 times, while
Linux does that only 10 times:
Xen:
> for ( i = 0; i < 100; i++ )
> {
> kb_wait();
> udelay(50);
> outb(0xfe,0x64); /* pulse reset low */
> udelay(50);
> }
Linux:
> for (i = 0; i < 10; i++) {
> kb_wait();
> udelay(50);
> outb(0xfe, 0x64); /* pulse reset low */
> udelay(50);
> }
Summing up, both Linux 3.1 and Xen 4.1 both do the following sequence by
default:
ACPI, KBD, ACPI, KBD, TRIPLE, KBD, TRIPLE, KBD, ...
While each KBD stands for 10 (Linux) or 100 (Xen) times setting the kbd
controller reset flag. I wonder why Xen does the kbd controller reset a
hundred times. Maybe it's a left over from xen 3.x?
Would you mind changing it from 100 to 10?
Now taking a look at Xen 3.4.2, the default reboot sequence is a bit
different. It's
ACPI, KBD, ACPI, KBD, ACPI, KBD, ACPI, KBD, ....
No triple fault reset attempts.
next prev parent reply other threads:[~2011-09-18 19:27 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
2011-09-12 21:40 ` Sven Köhler
2011-09-12 22:48 ` Ian Campbell
2011-09-18 19:27 ` Sven Köhler [this message]
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=4E764607.80703@gmail.com \
--to=sven.koehler@gmail.com \
--cc=konrad.wilk@oracle.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).