<div dir="ltr"><div>Sorry, silly question, but did you try as root? kexec load tries to put the knew kernel on memory and after that tries a syscall to kexec_load to finish with a kexec_reboot, since it handles with mem and syscalls maybe just as a root you will run it properly <br>
<br> Also have that <a href="mailto:kexec@lists.infradead.org">kexec@lists.infradead.org</a> list.<br><br></div>[]'s<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 3, 2013 at 10:05 AM, Dmitry Kolesov <span dir="ltr"><<a href="mailto:apolenary@gmail.com" target="_blank">apolenary@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello.<div><br></div><div>Could anybody help with kexec. I cannot find some informaton from google.</div>
<div>I try to use kexec for fast boot new kernel but I have error below:</div><div><div><br></div><div>
<div># kexec -l /boot/vmlinuz-3.12.0-rc1+ --initrd=/boot/initramfs-3.12.0-rc1+.img --command-line="$(cat /proc/cmdline)"</div><div>kexec_load failed: Operation not permitted</div><div>entry = 0x24eff5790 flags = 3e0000</div>
<div>nr_segments = 3</div><div>segment[0].buf = 0x7fd169783210</div><div>segment[0].bufsz = 505250</div><div>segment[0].mem = 0x24d000000</div><div>segment[0].memsz = 1413000</div><div>segment[1].buf = 0xbc3770</div>
<div>segment[1].bufsz = 4310</div><div>segment[1].mem = 0x24efef000</div><div>segment[1].memsz = 5000</div><div>segment[2].buf = 0xbba650</div><div>segment[2].bufsz = 90e0</div><div>segment[2].mem = 0x24eff5000</div>
<div>segment[2].memsz = b000</div></div></div><div><br></div><div>KEXEC option in the config is enabled.</div><div><br></div><div>How can I decid this problem?</div><div><br></div><div>Regards,</div><div>Dmitry</div></div>
<br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div>----------------------------------------------</div>Leônidas S. Barbosa (Kirotawa)<br><br>
</div>