2002-10-10 20:34:56

by Matt D. Robinson

[permalink] [raw]
Subject: [PATCH] 2.5.41: lkcd (8/8): dump driver and build files

This is the complete set of dump drivers for creating crash dumps
during panic/exception situations in the Linux kernel. It can be
built as a module or as a built-in with the kernel.

drivers/Makefile | 1
drivers/dump/Makefile | 30
drivers/dump/dump_base.c | 1867 +++++++++++++++++++++++++++++++++++++++++++ drivers/dump/dump_blockdev.c | 411 +++++++++
drivers/dump/dump_gzip.c | 129 ++
drivers/dump/dump_i386.c | 315 +++++++
drivers/dump/dump_rle.c | 176 ++++
include/asm-i386/dump.h | 94 ++
include/linux/dump.h | 440 ++++++++++
9 files changed, 3463 insertions(+)

This is included as a gzip'd attachment, as the size is too
big for vger, apparently.

--Matt


Attachments:
dump.patch.gz (26.32 kB)
compressed dump.patch, LKCD driver files

2002-10-15 16:17:25

by Mark Haverkamp

[permalink] [raw]
Subject: Re: [PATCH] 2.5.41: lkcd (8/8): dump driver and build files

On Thu, 2002-10-10 at 13:48, Matt D. Robinson wrote:
> This is the complete set of dump drivers for creating crash dumps
> during panic/exception situations in the Linux kernel. It can be
> built as a module or as a built-in with the kernel.
>
> drivers/Makefile | 1
> drivers/dump/Makefile | 30
> drivers/dump/dump_base.c | 1867 +++++++++++++++++++++++++++++++++++++++++++ drivers/dump/dump_blockdev.c | 411 +++++++++
> drivers/dump/dump_gzip.c | 129 ++
> drivers/dump/dump_i386.c | 315 +++++++
> drivers/dump/dump_rle.c | 176 ++++
> include/asm-i386/dump.h | 94 ++
> include/linux/dump.h | 440 ++++++++++
> 9 files changed, 3463 insertions(+)
>
> This is included as a gzip'd attachment, as the size is too
> big for vger, apparently.
>
> --Matt


Shouldn't the module exit functions in dump_base.c be marked with __exit
rather than __init?

2002-10-15 20:50:49

by Matt D. Robinson

[permalink] [raw]
Subject: Re: [PATCH] 2.5.41: lkcd (8/8): dump driver and build files

On 15 Oct 2002, Mark Haverkamp wrote:
|>On Thu, 2002-10-10 at 13:48, Matt D. Robinson wrote:
|>Shouldn't the module exit functions in dump_base.c be marked with __exit
|>rather than __init?

Already corrected, thanks. :) The 2.5.42 patch will have the changes.

--Matt