Re: [PATCH v7 06/27] x86, 64bit: early #PF handler set page table

From: H. Peter Anvin
Date: Tue Dec 18 2012 - 16:07:55 EST


On 12/18/2012 12:55 PM, Yinghai Lu wrote:
> On Tue, Dec 18, 2012 at 12:49 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>> On 12/18/2012 12:43 PM, Yinghai Lu wrote:
>
>>
>> That is putting the cart before the horse. What is the specific requirement
>> with kgdb here (I didn't see any email on that, please don't have private
>> back conversations)? Either way, however, kgdb is a tool to debug the
>> kernel... having it a barrier for proper functionality of the kernel is not
>> acceptable.
>
> did not hear back from Jason or Jan.
>
> Looks like last mail in LKML from Jason is about Oct 20
>
> looks like kgdb is want DB, BP, and PF are set at first.
>
> and just after that early_param for kgdbwait will get into to hold the kernel.
>
> then command from kgdb could dump ram etc.
>

So in that case, kgdb is broken and will need to be fixed up. That
happens all the time with debugging tools.

-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/