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

Michael Ellerman michael at ellerman.id.au
Thu Aug 4 17:14:56 EST 2005


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.

The veth seems to work fine just by calling its remove method.

Just calling remove didn't work for vscsi, so I trialed-and-errored and came
up with something that works.

With these patches I can kexec happily on our Power5 LPAR.

cheers



More information about the Linuxppc64-dev mailing list