1 May 2008 13:28
udev rules for kdump
Chandru <chandru <at> in.ibm.com>
2008-05-01 11:28:31 GMT
2008-05-01 11:28:31 GMT
Hi, On a powerpc box when memory or cpu DLPAR operations (memory,cpu addition/deletion) are performed, the /proc/device-tree changes. kexec-tools use the contents of /proc/device-tree and pass some of the information in it to the second kernel while loading the kdump ( second ) kernel. If kdump kernel was loaded in to memory before the dlpar operations, then it's likely that the second kernel will lose the information about the changes in the device tree. Hence restarting kdump service on every dlpar operations will help kdump kernel become aware of the changes in the /proc/device-tree. Following were two lines that may do this job. I tested them and they were working. Pls let me know your thoughts on them. SUBSYSTEM=="cpu", PROGRAM="/etc/init.d/kdump restart" SUBSYSTEM=="memory", PROGRAM="/etc/init.d/kdump restart" Thanks, Chandru -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo <at> vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RSS Feed