Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635558 - sys-apps/kexec-tools-2.0.14 - cannot load /boot/vmlinuz-4.12.12-gentoo
Summary: sys-apps/kexec-tools-2.0.14 - cannot load /boot/vmlinuz-4.12.12-gentoo
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-27 07:33 UTC by ruipan
Modified: 2017-10-28 12:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ruipan 2017-10-27 07:33:59 UTC
1. 
gentoo /etc/local.d # cat /boot/config-4.12.12-gentoo |grep -P "(VMCORE|CRASH_DUMP|RELOCATABLE|SMP)"
CONFIG_X86_64_SMP=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_SMP=y
# CONFIG_X86_VSMP is not set
# CONFIG_MAXSMP is not set
CONFIG_CRASH_DUMP=y
CONFIG_RELOCATABLE=y
CONFIG_PM_SLEEP_SMP=y
CONFIG_PROC_VMCORE=y


2.
gentoo /etc/local.d # cat kdump.start 
#!/bin/bash
kexec -p /boot/vmlinuz-4.12.12-gentoo \
      --initrd=/boot/initramfs-genkernel-x86_64-4.12.12-gentoo \
      --append="root=/dev/vda1 single irqpoll maxcpus=1 reset_devices dolvm softlevel=kdump"

3.
gentoo /etc/local.d # kexec --v
kexec-tools 2.0.14

4.
Unknown type (Reserved) while parsing /sys/firmware/memmap/5/type. Please report this as bug. Using RANGE_RESERVED now.
Unknown type (Reserved) while parsing /sys/firmware/memmap/1/type. Please report this as bug. Using RANGE_RESERVED now.
Unknown type (Reserved) while parsing /sys/firmware/memmap/6/type. Please report this as bug. Using RANGE_RESERVED now.
Unknown type (Reserved) while parsing /sys/firmware/memmap/4/type. Please report this as bug. Using RANGE_RESERVED now.
Unknown type (Reserved) while parsing /sys/firmware/memmap/2/type. Please report this as bug. Using RANGE_RESERVED now.
ELF core (kcore) parse failed
Cannot load /boot/vmlinuz-4.12.12-gentoo
Comment 1 ruipan 2017-10-27 07:36:59 UTC
(In reply to ruipan from comment #0)
> 1. 
> gentoo /etc/local.d # cat /boot/config-4.12.12-gentoo |grep -P
> "(VMCORE|CRASH_DUMP|RELOCATABLE|SMP)"
> CONFIG_X86_64_SMP=y
> CONFIG_GENERIC_SMP_IDLE_THREAD=y
> CONFIG_SMP=y
> # CONFIG_X86_VSMP is not set
> # CONFIG_MAXSMP is not set
> CONFIG_CRASH_DUMP=y
> CONFIG_RELOCATABLE=y
> CONFIG_PM_SLEEP_SMP=y
> CONFIG_PROC_VMCORE=y
> 
> 
> 2.
> gentoo /etc/local.d # cat kdump.start 
> #!/bin/bash
> kexec -p /boot/vmlinuz-4.12.12-gentoo \
>       --initrd=/boot/initramfs-genkernel-x86_64-4.12.12-gentoo \
>       --append="root=/dev/vda1 single irqpoll maxcpus=1 reset_devices dolvm
> softlevel=kdump"
> 
> 3.
> gentoo /etc/local.d # kexec --v
> kexec-tools 2.0.14
> 
> 4.
> Unknown type (Reserved) while parsing /sys/firmware/memmap/5/type. Please
> report this as bug. Using RANGE_RESERVED now.
> Unknown type (Reserved) while parsing /sys/firmware/memmap/1/type. Please
> report this as bug. Using RANGE_RESERVED now.
> Unknown type (Reserved) while parsing /sys/firmware/memmap/6/type. Please
> report this as bug. Using RANGE_RESERVED now.
> Unknown type (Reserved) while parsing /sys/firmware/memmap/4/type. Please
> report this as bug. Using RANGE_RESERVED now.
> Unknown type (Reserved) while parsing /sys/firmware/memmap/2/type. Please
> report this as bug. Using RANGE_RESERVED now.
> ELF core (kcore) parse failed
> Cannot load /boot/vmlinuz-4.12.12-gentoo

in step 4, I exec the /etc/local.d/kdump.start script. It seems kexec-tools 2.0.14 don't support linux 4.12.12? or I did any config wrong in this case. :)