RE: kdump detection in SCSI drivers

2007-10-02 Thread Salyzyn, Mark
Pavel Machek sez: > > Other suggestion which came about was to parse the kernel > > command line and look for "elfcorehdr=". Is this ok? Is > > kernel command line visible to the SCSI drivers? > Kernel command line probably is visible, but I'd recommend > against doing that. Probably just as pregn

Re: kdump detection in SCSI drivers

2007-10-02 Thread Pavel Machek
". Is this ok? Is kernel command line visible > to the SCSI drivers? Kernel command line probably is visible, but I'd recommend against doing that. Pavel > Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org > Subject: Re

RE: kdump detection in SCSI drivers

2007-09-20 Thread Mukker, Atul
achek [mailto:[EMAIL PROTECTED] Sent: Thursday, September 20, 2007 6:43 AM To: Mukker, Atul Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org Subject: Re: kdump detection in SCSI drivers > Hi, > > Is there a standard way for drivers (RAID) to detect if the current > kernel is running in kdu

Re: kdump detection in SCSI drivers

2007-09-20 Thread Pavel Machek
> Hi, > > Is there a standard way for drivers (RAID) to detect if the current > kernel is running in kdump mode? We would like to adjust driver behavior > dynamically when kdump is active by scaling down resources. Perhaps you should be automatically using little resources when little memory is a