-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kexec new kernel freeze after show Starting new kernel #1319
Comments
|
|
@huangjiansword has your issue been resolved? If so, please close this issue. Thanks. |
Duplicate of #27 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
step 1,build new kernel
I build a new kernel from source 3.18.7+ follow https://www.kernel.org/doc/Documentation/kdump/kdump.txt
CONFIG_KEXEC=y
CONFIG_SYSFS=y
CONFIG_DEBUG_INFO=Y
CONFIG_CRASH_DUMP=y
CONFIG_PROC_VMCORE=y
AUTO_ZRELADDR=y
then I copy new zImage from arch/arm/boot to SD Card /boot, and delete old kernel.img, then rename zImage to kernel.img
then I reboot the pi (A+), everything is OK.
and I checked config parameter with zless /proc/config.gz, it's all correct.
step2:
I install kexec-tools at the new kernel pi.
sudo apt-get install kexec-tools
kexec's version is 2.0.3 ( but I tried to build kexec 2.0.11 and installed, also freeze at the same place)
step 3,run new kernel
when I run this:
sudo kexec --type=zImage /boot/kernel.img --command-line="$(cat /proc/cmdline)"
it show that the device is shutdown and umount local filesystems
but freezed after show "kexec: Starting new kernel"
what's wrong with it?
The text was updated successfully, but these errors were encountered: