[PATCH 0/3] Make kexec work with ibmvscsi/ibmveth

Michael Ellerman michael at ellerman.id.au
Fri Aug 5 11:21:54 EST 2005


On Fri, 5 Aug 2005 08:39, Paul Mackerras wrote:
> Michael Ellerman writes:
> > On our Power5 we have vscsi and veth installed. When trying to kexec a
> > new kernel the vscsi and veth initialisation fails because the previous
> > kernel didn't clean up properly and as far as the Hypervisor is concerned
> > is still connected.
> >
> > The fix is, perhaps, to add a shutdown() function to the vio_driver
> > struct so that vscsi and veth have a chance to disconnect from the
> > Hypervisor at reboot.
>
> But if we are using kexec to do kdump, and the kernel panics, the
> driver's shutdown method won't get called.  We should instead harden
> the driver so that it can cope with the error from the hypervisor and
> recover, I think.

You're right, that's a much better idea.

cheers

-- 
Michael Ellerman
IBM OzLabs

email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050805/145b12ad/attachment.pgp 


More information about the Linuxppc64-dev mailing list