[PATCH] KDB for ppc64 - write to OF stdout instead of console

Segher Boessenkool segher at kernel.crashing.org
Fri May 21 22:52:01 EST 2004

On 19-mei-04, at 19:02, linas at austin.ibm.com wrote:
> On Wed, May 19, 2004 at 02:49:10PM +0200, Segher Boessenkool wrote:
>>> Patch inlined removes KDB's dependency on consoles completely for
>>> I/O.
>>> With this patch, we use the OF stdout for both input and output.
>> OF stdout is not necessarily the same thing as OF stdin
>> (and, in fact, very often isn't) -- please use stdin for
>> input?
> The problem was actually with output, not input.  People were seeing
> the KDB prompt on the serial console, and so they would assume they
> had input, when in fact they didn't.  And so this insane dance would
> start, "KDB is hung, @#$%^& KDB".

I didn't read the actual patch, just the description.  And that
set off some alarms here ;-)

I guess what the patch actually does is "use OF stdout for output,
and OF stdin for input", which is fine fine fine.


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc64-dev mailing list