From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk 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 Message-ID: <20110921180624.GD17357@phenom.oracle.com> References: <20110911002807.GA9989@oracle.com> <4E6C0473.8090905@gmail.com> <20110912150606.GC15778@oracle.com> <4E764607.80703@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <4E764607.80703@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sven =?iso-8859-1?Q?K=F6hler?= Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Sun, Sep 18, 2011 at 09:27:03PM +0200, Sven K=F6hler wrote: > Am 12.09.2011 17:06, schrieb Konrad Rzeszutek Wilk: > > On Sun, Sep 11, 2011 at 02:44:35AM +0200, Sven K=F6hler 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=3Db[ios] | t[riple] | k[bd] | n[o] [, [w]arm | [c]old] > >> > >> Thanks for the list. > >> I guess, both reboot=3Dbios and reboot=3Db 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? > >=20 > > Xen hypervisor source. I just did a quick search for 'reboot=3D' >=20 > 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: >=20 > Xen: > > for ( i =3D 0; i < 100; i++ ) > > { > > kb_wait(); > > udelay(50); > > outb(0xfe,0x64); /* pulse reset low */ > > udelay(50); > > } >=20 > Linux: > > for (i =3D 0; i < 10; i++) { > > kb_wait(); > > udelay(50); > > outb(0xfe, 0x64); /* pulse reset low = */ > > udelay(50); > > } >=20 >=20 > Summing up, both Linux 3.1 and Xen 4.1 both do the following sequence b= y > default: >=20 > ACPI, KBD, ACPI, KBD, TRIPLE, KBD, TRIPLE, KBD, ... >=20 > 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. >=20 > Would you mind changing it from 100 to 10? Does it fix the problem with this particular board? If so, then that soun= ds like we should do. >=20 >=20 > Now taking a look at Xen 3.4.2, the default reboot sequence is a bit > different. It's >=20 > ACPI, KBD, ACPI, KBD, ACPI, KBD, ACPI, KBD, .... >=20 > No triple fault reset attempts. Ah, could be that we just never had it implemented then. >=20 >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel