lkml.org 
[lkml]   [2007]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Early boot debugging via FireWire (ohci1394_dma=early)

* Bernhard Kaindl <bk@suse.de> wrote:

> Subject of this patch:
>
> This patch adds a new configuration option, which adds support for a
> new early_param which gets checked in
> arch/x86/kernel/setup_{32,64}.c:setup_arch() to decide wether
> OHCI-1394 FireWire controllers should be initialized and enabled for
> physical DMA access to allow remote debugging of early problems like
> issues ACPI or other subsystems which are executed very early.
>
> If the config option is not enabled, no code is changed, and if the
> boot paramenter is not given, no new code is executed, and independent
> of that, all new code is freed after boot, so the config option can be
> even enabled in standard, non-debug kernels.
>
> With specialized tools, it is then possible to get debugging
> information from machines which have no serial ports (notebooks) such
> as the printk buffer contents, or any data which can be referenced
> from global pointers, if it is stored below the 4GB limit and even
> memory dumps of of the physical RAM region below the 4GB limit can be
> taken without any cooperation from the CPU of the host, so the machine
> can be crashed early, it does not matter.

cool stuff! I've tentatively added your patch to x86.git (pending more
review feedback from others), but it already looks quite nice to me.

Ingo


\
 
 \ /
  Last update: 2007-12-17 14:53    [W:0.051 / U:1.596 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site