lkcd
[Top] [All Lists]

RE: Which first? config or save

To: "Tony Dziedzic" <Tony.Dziedzic@xxxxxxxxxxxx>
Subject: RE: Which first? config or save
From: "James Washer" <washer@xxxxxxxxxx>
Date: Wed, 24 Oct 2001 07:47:26 -0700
Cc: <lkcd@xxxxxxxxxxx>
Importance: Normal
Sender: owner-lkcd@xxxxxxxxxxx
The config_lkcd function in /sbin/lkcd checks to make sure things are sane,
then it sets the panic_timeout, and finally calls /sbin/lkcd_config. I've
not looked to deeply at /sbin/lkcd_config, but my guess/belief is that it
just issues ioctls against /dev/dump to inform the kernel where to dump,
etc

Looking at  the "/sbin/lkcd save" side of things, I don't think any of the
'config' side steps are a prereq. This is further evidenced by the fact
that on my system, I do the save first, and have been successfully
collecting dumps.

So, I think my question still stands... Which one is supposed to happen
first?.. And once we decide, we need to either fix the rc.sysinit scripts,
and/or fix the README.lkcd.

 - jim


p.s. I hope I'm not bothering people with these'details'. My goal, is to
have lkcd easily installable by end-users. Confusion in the documentation
will ( I feel) cause users to shy away.

"Tony Dziedzic" <Tony.Dziedzic@xxxxxxxxxxxx>@oss.sgi.com on 10/24/2001
04:10:57 AM

Sent by:  owner-lkcd@xxxxxxxxxxx


To:   James Washer/Beaverton/IBM@IBMUS
cc:   <lkcd@xxxxxxxxxxx>
Subject:  RE: Which first? config or save



I'm not aware of any dependencies in lcrash itself on the configuration
parameters set by "/sbin/lkcd config".  However, doesn't "/sbin/lkcd
save" rely on some values set by the config step?  Perhaps I missed
something in the /sbin/lkcd script processing.

Tony

> -----Original Message-----
> From: James Washer [mailto:washer@xxxxxxxxxx]
> Sent: Tuesday, October 23, 2001 5:26 PM
> To: Tony Dziedzic
> Cc: lkcd@xxxxxxxxxxx
> Subject: RE: Which first? config or save
>
>
>
> Tony,
>
> Are you sure that "Save relies on configuration parameters
> set by config"??
>
> I've looked ( briefly ) at the dump save (lcrash) and don't
> see that it
> requires
> anything from the config step.
>
>
> What did I miss?
>
>  - jim
>
>
>
> "Tony Dziedzic" <Tony.Dziedzic@xxxxxxxxxxxx>@oss.sgi.com on 10/23/2001
> 11:11:51 AM
>
> Sent by:  owner-lkcd@xxxxxxxxxxx
>
>
> To:   James Washer/Beaverton/IBM@IBMUS, <lkcd@xxxxxxxxxxx>
> cc:
> Subject:  RE: Which first? config or save
>
>
>
> Correct order is in the sysinit patch: config first, then save.  (Save
> relies on configuration parameters set by config.)
>
> Tony Dziedzic
> Storigen Systems, Inc.
>
> > -----Original Message-----
> > From: James Washer [mailto:washer@xxxxxxxxxx]
> > Sent: Tuesday, October 23, 2001 1:15 PM
> > To: lkcd@xxxxxxxxxxx
> > Subject: Which first? config or save
> >
> >
> > The patch files for sysinit place '/sbin/lkcd config' before
> > '/sbin/lkcd
> > save',
> > however README.lkcd implies the opposite order.
> >
> > Which is correct?
> >
> >
>
>
>
>




<Prev in Thread] Current Thread [Next in Thread>