Return-path: Received: from out01.mta.xmission.com ([166.70.13.231]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OeZ8P-000724-LN for kexec@lists.infradead.org; Thu, 29 Jul 2010 19:51:18 +0000 Subject: Re: In place kexec References: <4C50A7AD.8040902@zytor.com> <20100729134343.GA31490@shamino.rdu.redhat.com> <4C519853.2040206@zytor.com> <20100729150640.GF31490@shamino.rdu.redhat.com> <4C51BFA5.60507@zytor.com> <4C51C878.2090102@zytor.com> <20100729191654.GB28704@redhat.com> From: ebiederm@xmission.com (Eric W. Biederman) Date: Thu, 29 Jul 2010 12:51:09 -0700 In-Reply-To: <20100729191654.GB28704@redhat.com> (Vivek Goyal's message of "Thu\, 29 Jul 2010 15\:16\:54 -0400") Message-ID: MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Vivek Goyal Cc: Neil Horman , "kexec@lists.infradead.org" , Simon Horman , Andrew Vasquez , "H. Peter Anvin" , linux-driver@qlogic.com Vivek Goyal writes: > On Thu, Jul 29, 2010 at 11:29:12AM -0700, H. Peter Anvin wrote: >> On 07/29/2010 11:06 AM, Eric W. Biederman wrote: >> > >> > Thinking about this I am a bit surprised that you would find >> > DMA left on from a disk driver. Historically disks have been >> > pretty good about shutting off in this scenario. >> > >> > Added to that typically we unmount all filesystems. >> > >> > Calling rmmod on the driver before the final kexec --exec >> > could be interesting, and drivers much more reliably implement >> > .remove than .shutdown. >> > >> > Network drivers are more likely to be a problem, but we should be >> > downing all of the network interfaces before something happens. >> > >> > All of which is to say kexec-in-place has generally been a lot >> > less hassle, because it is so similar to the normal case. >> > >> >> In particular, the supposed corruption comes from the "firmware logging" >> feature in the qla2xxx driver. I'd really like to understand if this is >> a kexec problem or a qla2xxx problem. >> > > kernel_kexec() > kernel_restart_prepare() > device_shutdown() > > I would suspect it to be a qla2xxx driver problem that it did not shut > down the device properly. And device_shutdown calls every drivers .shutdown method. Things like this are always a driver problem. Eric _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec