* Re: [PATCH]Diskdump - yet another crash dump function
[not found] <20pwP-55v-5@gated-at.bofh.it>
@ 2004-05-27 13:19 ` Andi Kleen
2004-05-27 13:49 ` Christoph Hellwig
` (2 more replies)
[not found] ` <20suK-7C5-11@gated-at.bofh.it>
1 sibling, 3 replies; 10+ messages in thread
From: Andi Kleen @ 2004-05-27 13:19 UTC (permalink / raw)
To: Takao Indoh; +Cc: linux-kernel
Takao Indoh <indou.takao@soft.fujitsu.com> writes:
>
> Diskdump can be downloaded from here.
> http://sourceforge.net/projects/lkdump
> Please see readme.txt which can be downloaded from this site.
>
> Any comments?
I like the concept - it's basically netconsole for SCSI drivers
and the driver changes are surprisingly simple and clean.
But it would be better if it coexisted with LKCD so that netdump
would also work. Can't you make it a low level driver for LKCD?
-Andi
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH]Diskdump - yet another crash dump function
2004-05-27 13:19 ` [PATCH]Diskdump - yet another crash dump function Andi Kleen
@ 2004-05-27 13:49 ` Christoph Hellwig
2004-05-27 14:02 ` Takao Indoh
2004-05-27 14:45 ` Nobuhiro Tachino
2 siblings, 0 replies; 10+ messages in thread
From: Christoph Hellwig @ 2004-05-27 13:49 UTC (permalink / raw)
To: Andi Kleen; +Cc: Takao Indoh, linux-kernel
On Thu, May 27, 2004 at 03:19:44PM +0200, Andi Kleen wrote:
> Takao Indoh <indou.takao@soft.fujitsu.com> writes:
> >
> > Diskdump can be downloaded from here.
> > http://sourceforge.net/projects/lkdump
> > Please see readme.txt which can be downloaded from this site.
> >
> > Any comments?
>
> I like the concept - it's basically netconsole for SCSI drivers
> and the driver changes are surprisingly simple and clean.
>
> But it would be better if it coexisted with LKCD so that netdump
> would also work. Can't you make it a low level driver for LKCD?
LKCD is horribly bloated. IMHO it would be better to get a lean
variant of netdump + possible this diskdump in instead of integrating
it into the monster LKCD patch.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH]Diskdump - yet another crash dump function
2004-05-27 13:19 ` [PATCH]Diskdump - yet another crash dump function Andi Kleen
2004-05-27 13:49 ` Christoph Hellwig
@ 2004-05-27 14:02 ` Takao Indoh
2004-05-27 14:45 ` Nobuhiro Tachino
2 siblings, 0 replies; 10+ messages in thread
From: Takao Indoh @ 2004-05-27 14:02 UTC (permalink / raw)
To: Andi Kleen; +Cc: linux-kernel
Hi,
On Thu, 27 May 2004 15:19:44 +0200, Andi Kleen wrote:
>I like the concept - it's basically netconsole for SCSI drivers
>and the driver changes are surprisingly simple and clean.
>
>But it would be better if it coexisted with LKCD so that netdump
>would also work. Can't you make it a low level driver for LKCD?
One of the policy of diskdump is "simple structure".
LKCD has many funcitons (normal dump to disk, network dump, memdump,
...), so its structure is somewhat complex.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH]Diskdump - yet another crash dump function
2004-05-27 13:19 ` [PATCH]Diskdump - yet another crash dump function Andi Kleen
2004-05-27 13:49 ` Christoph Hellwig
2004-05-27 14:02 ` Takao Indoh
@ 2004-05-27 14:45 ` Nobuhiro Tachino
2 siblings, 0 replies; 10+ messages in thread
From: Nobuhiro Tachino @ 2004-05-27 14:45 UTC (permalink / raw)
To: Andi Kleen, tachino; +Cc: Takao Indoh, linux-kernel
Andi Kleen wrote:
> I like the concept - it's basically netconsole for SCSI drivers
> and the driver changes are surprisingly simple and clean.
>
> But it would be better if it coexisted with LKCD so that netdump
> would also work. Can't you make it a low level driver for LKCD?
Diskdump can exist with netdump without LKCD. Actually in our
system, diskdump and netdump both exist and can be selected by
module loading. When both modules are loaded, diskdump runs first
and if it detects I/O error when writing dump, it falls backs
to netdump.
---
Nobuhiro Tachino
FUJITSU LIMITED
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20suK-7C5-11@gated-at.bofh.it>]
* [PATCH]Diskdump - yet another crash dump function
@ 2004-05-27 9:33 Takao Indoh
2004-06-03 13:10 ` Pavel Machek
0 siblings, 1 reply; 10+ messages in thread
From: Takao Indoh @ 2004-05-27 9:33 UTC (permalink / raw)
To: linux-kernel
Although I know about LKCD and netdump, I'm developing yet another crash
dump, which is a polling-based disk dump as netdump do. Because it
disables any interrupts during doing dump, it can avoid lots of problems
LKCD has.
Main Feature
- Reliability
Diskdump disables interrupts, stops other cpus and writes to the
disk with polling mode. Therefore, unnecessary functions(like
interrupt handler) don't disturb dumping.
- Safety
Before writing to the disk, diskdump checks its disk partition to
confirm whether it is a really dump device. Therefore, diskdump
doesn't overwrite filesystems by mistake.
Currently, diskdump supports only scsi disk(aic7xxx/aic79xx), but, I'm
planning to support IDE disk in the near future.
Diskdump can be downloaded from here.
http://sourceforge.net/projects/lkdump
Please see readme.txt which can be downloaded from this site.
Any comments?
Best Regards,
Takao Indoh
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH]Diskdump - yet another crash dump function
2004-05-27 9:33 Takao Indoh
@ 2004-06-03 13:10 ` Pavel Machek
2004-06-04 0:44 ` Takao Indoh
0 siblings, 1 reply; 10+ messages in thread
From: Pavel Machek @ 2004-06-03 13:10 UTC (permalink / raw)
To: Takao Indoh; +Cc: linux-kernel
Hi!
> Although I know about LKCD and netdump, I'm developing yet another crash
> dump, which is a polling-based disk dump as netdump do. Because it
> disables any interrupts during doing dump, it can avoid lots of problems
> LKCD has.
>
> Main Feature
> - Reliability
> Diskdump disables interrupts, stops other cpus and writes to the
> disk with polling mode. Therefore, unnecessary functions(like
> interrupt handler) don't disturb dumping.
Hmm... with this, better design of swsusp mifht be feasible.
Pavel
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH]Diskdump - yet another crash dump function
2004-06-03 13:10 ` Pavel Machek
@ 2004-06-04 0:44 ` Takao Indoh
2004-06-04 9:33 ` Pavel Machek
0 siblings, 1 reply; 10+ messages in thread
From: Takao Indoh @ 2004-06-04 0:44 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-kernel
Hello,
On Thu, 03 Jun 2004 15:10:07 +0200, Pavel Machek wrote:
>> Although I know about LKCD and netdump, I'm developing yet another crash
>> dump, which is a polling-based disk dump as netdump do. Because it
>> disables any interrupts during doing dump, it can avoid lots of problems
>> LKCD has.
>>
>> Main Feature
>> - Reliability
>> Diskdump disables interrupts, stops other cpus and writes to the
>> disk with polling mode. Therefore, unnecessary functions(like
>> interrupt handler) don't disturb dumping.
>
>Hmm... with this, better design of swsusp mifht be feasible.
I don't know mechanism of swsusp well.
Do you mean diskdump is useful when saving system memory to the disk?
Regards,
Takao Indoh
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH]Diskdump - yet another crash dump function
2004-06-04 0:44 ` Takao Indoh
@ 2004-06-04 9:33 ` Pavel Machek
0 siblings, 0 replies; 10+ messages in thread
From: Pavel Machek @ 2004-06-04 9:33 UTC (permalink / raw)
To: Takao Indoh; +Cc: linux-kernel
Hi!
> >> Although I know about LKCD and netdump, I'm developing yet another crash
> >> dump, which is a polling-based disk dump as netdump do. Because it
> >> disables any interrupts during doing dump, it can avoid lots of problems
> >> LKCD has.
> >>
> >> Main Feature
> >> - Reliability
> >> Diskdump disables interrupts, stops other cpus and writes to the
> >> disk with polling mode. Therefore, unnecessary functions(like
> >> interrupt handler) don't disturb dumping.
> >
> >Hmm... with this, better design of swsusp mifht be feasible.
>
> I don't know mechanism of swsusp well.
> Do you mean diskdump is useful when saving system memory to the disk?
Yes. Self-contained code accessing disk would be usefull both when
saving system memory and when reading it back. (This is probably 2.8
material, through).
Pavel
--
934a471f20d6580d5aad759bf0d97ddc
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-06-04 9:33 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20pwP-55v-5@gated-at.bofh.it>
2004-05-27 13:19 ` [PATCH]Diskdump - yet another crash dump function Andi Kleen
2004-05-27 13:49 ` Christoph Hellwig
2004-05-27 14:02 ` Takao Indoh
2004-05-27 14:45 ` Nobuhiro Tachino
[not found] ` <20suK-7C5-11@gated-at.bofh.it>
[not found] ` <20tAB-5c-31@gated-at.bofh.it>
[not found] ` <20AiB-69m-17@gated-at.bofh.it>
2004-05-27 21:31 ` [3/4] " Andi Kleen
2004-05-28 7:38 ` Ingo Molnar
2004-05-27 9:33 Takao Indoh
2004-06-03 13:10 ` Pavel Machek
2004-06-04 0:44 ` Takao Indoh
2004-06-04 9:33 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox