Re: kexec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 Also have that kexec@xxxxxxxxxxxxxxxxxxx list.

[]'s


On Thu, Oct 3, 2013 at 10:05 AM, Dmitry Kolesov <apolenary@xxxxxxxxx> wrote:
Hello.

Could anybody help with kexec. I cannot find some informaton from google.
I try to use kexec for fast boot new kernel but I have error below:

# kexec -l /boot/vmlinuz-3.12.0-rc1+ --initrd=/boot/initramfs-3.12.0-rc1+.img --command-line="$(cat /proc/cmdline)"
kexec_load failed: Operation not permitted
entry       = 0x24eff5790 flags = 3e0000
nr_segments = 3
segment[0].buf   = 0x7fd169783210
segment[0].bufsz = 505250
segment[0].mem   = 0x24d000000
segment[0].memsz = 1413000
segment[1].buf   = 0xbc3770
segment[1].bufsz = 4310
segment[1].mem   = 0x24efef000
segment[1].memsz = 5000
segment[2].buf   = 0xbba650
segment[2].bufsz = 90e0
segment[2].mem   = 0x24eff5000
segment[2].memsz = b000

KEXEC option in the config is enabled.

How can I decid this problem?

Regards,
Dmitry

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




--
----------------------------------------------
Leônidas S. Barbosa (Kirotawa)

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux