Fix for kexec reboot failing after multiple
Quoted 4 lines · Khalid Aziz
kexec patch I had sent out earlier has bug where it appends "
kexec_reboot" to kernel parameters blindly. After several kexec reboots from kexec'd kernel, kernel parameters line becomes too long and kernel fails to boot. Attached patch will cure this. Patch
This particular problem is not ia64-specific. I have seen it on ia32. Did you fix it in a generic manner (for any $arch) ?
Quoted 6 lines
kexec-ia64-reboot.diff can be applied on top of the previous patch I had sent. Patch 2.6.8.1-kexec3-ia64-2.diff includes this fix and is repalcement for my previous patch.
My current kexec patches for ia64 can also be found at
<http://free.linux.hp.com/~khalid/kexec-ia64/>.
Thanks,
Signature · 1 line
~Randy
Hi Randy,
I do not understand how kernel parameters are passed on other architectures. So I had not attempted to look if this problem plagues other architectures as well. Now in my case, this problem showed up because I have not implemented kernel parameter passing yet. I am simply copying parameters for running kernel into param area for the kexec'd kernel and appending "kexec_reboot" to the parameters since I need to know whether the kernel booting up is cold booted or kexec booted so I can virtualize EFI or not. So I exepcted this problem to be unique to ia64 code.
I will take a look at other architectures as well.
--
Khalid
Quoted 17 lines · Randy.Dunlap
Quoted 4 lines · Khalid Aziz
kexec patch I had sent out earlier has bug where it appends "
kexec_reboot" to kernel parameters blindly. After several kexec reboots from kexec'd kernel, kernel parameters line becomes too long and kernel fails to boot. Attached patch will cure this. PatchThis particular problem is not ia64-specific. I have seen it on ia32. Did you fix it in a generic manner (for any $arch) ?
Quoted 6 lines
kexec-ia64-reboot.diff can be applied on top of the previous patch I had sent. Patch 2.6.8.1-kexec3-ia64-2.diff includes this fix and is repalcement for my previous patch.
My current kexec patches for ia64 can also be found at
<http://free.linux.hp.com/~khalid/kexec-ia64/>.Thanks,
Signature · 3 lines
Khalid Aziz Linux and Open Source Lab (970)898-9214 Hewlett-Packard [email protected] Fort Collins, CO