On 09/14/16 at 12:57pm, Hari Bathini wrote:
On Monday 12 September 2016 10:18 PM, Hari Bathini wrote:
> On Monday 12 September 2016 10:08 PM, Hari Bathini wrote:
> > Hi Dave,
> > On Monday 12 September 2016 07:35 AM, Dave Young wrote:
> > > Hi, Hari
> > >
> > > Thanks for sending the patches.
> > >
> > > The issue will not happen if we restore default initrd in patch 2/2,
> > > right? So patch 1/2 is not necessary?
> > Actually, the first reboot after switching over from fadump to kdump
> > still holds the interface name with "kdump-" prefix as we
> > restored
> > the default initrd yet. This patch intents to cover that and also,
> > to restore
> > the original interface name for subsequent reboots..
Another possible case is rebuild may not happen on switching from fadump to
if config files are not changed. I could restore as part of start_dump() but
sound right to me. Posted v2 with this patch intact. Please review..
I got the problem, do you have any method to know the fadump mode
changing? Ideally we should check and rebuild when the mode changes.