WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

Re: [XenPPC] [xenppc-unstable] [ppc] some OF implementations do not take

To: Hollis Blanchard <hollisb@xxxxxxxxxx>
Subject: Re: [XenPPC] [xenppc-unstable] [ppc] some OF implementations do not take kindly to closing console ihandles.
From: Maria Butrico <butrico@xxxxxxxxxxxxx>
Date: Tue, 13 Jun 2006 16:31:33 -0400
Cc: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>, xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 13 Jun 2006 13:32:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1149871810.27453.15.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E1FoShx-0002Yx-Dv@xxxxxxxxxxxxxxxxxxxxx> <1149805850.13780.74.camel@xxxxxxxxxxxxxxxxxxxxx> <60939F99-9372-4515-ADBA-42EBE59FE5D7@xxxxxxxxxxxxxx> <1149871810.27453.15.camel@xxxxxxxxxxxxxxxxxxxxx>
Reply-to: butrico@xxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (Windows/20051201)
Unfortunately, if we close stdin we get no console output on the js20.

Hollis Blanchard wrote:
On Thu, 2006-06-08 at 19:02 -0400, Jimi Xenidis wrote:
On Jun 8, 2006, at 6:30 PM, Hollis Blanchard wrote:

On Thu, 2006-06-08 at 22:10 +0000, Xen patchbot-xenppc-unstable wrote:
[ppc] some OF implementations do not take kindly to closing console ihandles.
Not closing stdin/stdout has caused real bugs with Linux on pSeries.
I thought that was a pmac problem, but I see from linux that it is indeed a pSeries problem

Not closing stdin/stdout has caused real bugs with Linux on pSeries.
After much hair loss, it was discovered that a USB controller was DMAing
over kernel memory in very very early boot, which doesn't sound like a
problem I'd like to debug, so I don't like this patch.

Can we create a platform blacklist for this logic?
We don't have a concept of platform yet, so we are just maple and JS2x and this patch is sufficient, and tested. prom_init.c suggests that it is safe to always close stdin for these platforms so I'll put the close back in.
agreed?

Maria, is that ok with you?




_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel