All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Sven Köhler" <sven.koehler@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Re: 3.0.4 and 3.1-rc4 based dom0 won't boot with acpi=off
Date: Wed, 21 Sep 2011 14:06:24 -0400	[thread overview]
Message-ID: <20110921180624.GD17357@phenom.oracle.com> (raw)
In-Reply-To: <4E764607.80703@gmail.com>

On Sun, Sep 18, 2011 at 09:27:03PM +0200, Sven Köhler wrote:
> 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?

Could be.
> 
> Would you mind changing it from 100 to 10?

Does it fix the problem with this particular board? If so, then that sounds
like we should do.
> 
> 
> 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.

Ah, could be that we just never had it implemented then.
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2011-09-21 18: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
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 [this message]
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=20110921180624.GD17357@phenom.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 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.