kexec not working

Ronit Halder ronit.linux at gmail.com
Sat Mar 5 23:15:53 EST 2016


Hi Rami,
kexec -p executes normally. Then when I do echo c >
/proc/sysrq-trigger, screen freezes and nothing happens.
But, There is a small thing which is different when I execute echo c >
/proc/sysrq-trigger without kexec -p, the caps lock light blinks.
But in case of kexec -p ... and cho c > /proc/sysrq-trigger, the caps
lock doesn't blink.
Some time screen messes up.

regards,
Ronit

On Sat, Mar 5, 2016 at 11:01 PM, Rami Rosen <roszenrami at gmail.com> wrote:
> Hi Ronit,
> Can you please tell what happens when you ran the "kexec -p" that you
> mentioned ? Do you see any message on screen ? Does it hang immediately ?
> Regards,
> Rami Rosen
>
> בתאריך 6 במרץ 2016 05:23, "Ronit Halder" <ronit.linux at gmail.com> כתב:
>>
>> When I am doing normal load of kernel using kexec, it works.
>>
>> #kexec -l /boot/vmlinuz-4.3.0-crash+
>> --initrd=/boot/initramfs-4.3.0-crash+.img
>> --append="root=/dev/mapper/fedora-root  1 irqpoll maxcpus=1
>> reset_devices"
>>
>> #kexec -e
>>
>>
>> But, when I am doing load on panic using kexec, it isn't working.
>>
>> #kexec -p /boot/vmlinuz-4.3.0-crash+
>> --initrd=/boot/initramfs-4.3.0-crash+.img
>> --append="root=/dev/mapper/fedora-root  1 irqpoll maxcpus=1
>> reset_devices"
>>
>> #echo "1" >/proc/sys/kernel/sysrq
>>
>> #echo c > /proc/sysrq-trigger
>>
>>
>> What am I doing wrong?
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



More information about the Kernelnewbies mailing list