Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] kexec -p kernel do not load
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Lok
n00b
n00b


Joined: 23 Mar 2006
Posts: 32

PostPosted: Sun Sep 17, 2017 8:15 pm    Post subject: [solved] kexec -p kernel do not load Reply with quote

/boot/kernel-genkernel-x86_64-4.12.12-gentoo-old System kernel config options
/boot/kernel-genkernel-x86_64-4.12.12-gentoo dump-capture kernel


1) System kernel config options

Code:
zcat /proc/config.gz |grep -iE "kexec|CONFIG_SYSFS|CONFIG_DEBUG_INFO"
# CONFIG_SYSFS_DEPRECATED is not set
CONFIG_SYSFS_SYSCALL=y
CONFIG_KEXEC_CORE=y
CONFIG_KEXEC=y
CONFIG_KEXEC_JUMP=y
CONFIG_SYSFS=y
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
CONFIG_DEBUG_INFO_DWARF4=y

2)Dump-capture kernel config options

Code:
zcat /proc/config.gz |grep -iE "CONFIG_CRASH_DUMP|CONFIG_SMP|CONFIG_RELOCATABLE|vmcore"
# CONFIG_SMP is not set
CONFIG_CRASH_DUMP=y
CONFIG_RELOCATABLE=y
CONFIG_PROC_VMCORE=y

Code:
# cat /proc/cmdline
BOOT_IMAGE=/boot/kernel-genkernel-x86_64-4.12.12-gentoo-old root=/dev/sda3 ro crashkernel=64M@16M

Boot into System kernel and run

Code:
# kexec -p /boot/kernel-genkernel-x86_64-4.12.12-gentoo --initrd=/boot/initramfs-genkernel-x86_64-4.12.12-gentoo --append="root=/dev/sda3 1 irqpoll maxcpus=1 reset_devices"

ALt+SysRq+c kernel do not load

Screen foto: http://s018.radikal.ru/i520/1709/5f/d50a892820bf.jpg

[Moderator edit: added [code] tags to preserve output layout. -Hu]


Last edited by Lok on Mon Sep 18, 2017 6:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
Lok
n00b
n00b


Joined: 23 Mar 2006
Posts: 32

PostPosted: Mon Sep 18, 2017 6:59 pm    Post subject: Reply with quote

crashkernel=256M work fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum