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

Paul Mackerras paulus at samba.org
Fri Aug 5 08:39:01 EST 2005


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.

Paul.



More information about the Linuxppc64-dev mailing list