Thread (3 messages) 3 messages, 2 authors, 2016-03-06

kexec not working

From: Ronit Halder <hidden>
Date: 2016-03-06 04:15:53

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 [off-list ref] 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" [off-list ref] ???:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help