kdump info request
vgoyal at in.ibm.com
Tue Sep 18 23:53:37 EDT 2007
On Tue, Sep 18, 2007 at 03:13:42PM -0600, Mukker, Atul wrote:
> Hello Vivek, Hari:
> Excuse me for contacting you direct, but seems like you 2 can point me
> to a right direction for a kdump question we have.
> We are trying to make sure our RAID driver works ok when kernel is
> loaded with kdump. Is there a way for driver to detect this condition;
> that is, current kernel is running with kdump. We need this information
> so we can scale down certain operations in the driver.
What do you mean by detecting if current kernel is running with kdump? Do
you mean that you want to know the moment somebody loads a capture kernel
by kexec -p and driver will change some of its behaviour?
I think that's not the right way to go about. Explain the issue
a little bit in detail.
Generally drivers run into issues while initializing in second kernel and
one of the way to handle it is reset the device before going further with
initialization. I am hoping your RAID controller provides some kind of
reset mechanism from software.
More information about the kexec