Re: [PATCH 1/6] i386/x86_64: Allow disabling the putstr's from compressedboot wrapper

From: H. Peter Anvin
Date: Fri May 25 2007 - 19:53:01 EST


Ben Collins wrote:
> On Fri, 2007-05-25 at 16:28 -0700, H. Peter Anvin wrote:
>> Jesse Barnes wrote:
>>> But how often do you have to debug bootloader or compressed boot code? In
>>> fact, most debug output like this isn't very useful after some initial
>>> debugging, so we usually take it out. I'm not sure why this would be any
>>> different...
>>>
>> You're asking me this?
>>
>> I get to hear all the time about some new platform -- sometimes exotic,
>> sometimes not -- breaking early boot.
>
> Truth be told, I'd much rather just remove the informational pustr's and
> leave the error ones enabled. If it's acceptable, I can just remove
> those lines, or make them only work with -DDEBUG.

The problem with that is you don't have any idea how far a boot
proceeded before a hang. That's actually a very important piece of
information.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/