kexec doesn't load non-elf multiboot images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kexec-tools (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
kexec explictly (in --help and man page) reports to support multiboot format images. That doesn't work for at least some subset of seemingly proper multiboot images. For some context, the goal essentially the same as discussed at [1].
mbchk is from 'multiboot' package (built from source).
Also note that 'qemu-system-
$ dpkg-query --show kexec-tools
kexec-tools 1:2.0.4-1ubuntu1
$ mbchk /boot/grub/
/boot/grub/
/boot/grub/
/boot/grub/
/boot/grub/
/boot/grub/
$ kexec --debug --type multiboot-x86 /boot/grub/
kernel: 0x1767010 kernel_size: 6315
MEMORY RANGES
000000000000010
000000000009f00
00000000000e700
000000000010000
00000000bf76e00
00000000bf77000
00000000bf77e00
00000000bf7d000
00000000bf7ec00
00000000e000000
00000000fee0000
00000000ffc0000
000000010000000
Cannot determine the file type of /boot/grub/
--
[1] http://
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: kexec-tools 1:2.0.4-1ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-8-generic x86_64
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
Date: Tue Mar 25 14:00:01 2014
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: kexec-tools
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- kexec doesn't load multiboot images + kexec doesn't load non-elf multiboot images |
Changed in kexec-tools (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
For convenience, attaching an example 'core.img' i386-pc/ core.img
from a trusty system at /boot/grub/