Package: kexec-tools
Version: 1:2.0.3-2
Severity: important

During boot, I get the following error messages from /etc/init.d/kdump-tools:

Sun May 12 16:55:07 2013: Starting kdump-tools: Unsupported utsname.release: 
3.8-1-amd64
Sun May 12 16:55:07 2013: Cannot load /boot/vmlinuz-3.8-1-amd64
Sun May 12 16:55:07 2013: [....] failed to load kdump kernel ...FAIL failed!

The source of the error messages seems to be the following command invoked by
"/usr/sbin/kdump-config load":

/sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-3.8-1-amd64 
root=UUID=$MY_UUID ro quiet irqpoll maxcpus=1 nousb" 
--initrd=/boot/initrd.img-3.8-1-amd64 /boot/vmlinuz-3.8-1-amd64

The command above prints the following messages:

Unsupported utsname.release: 3.8-1-amd64
Cannot load /boot/vmlinuz-3.8-1-amd64

Running on kernel 3.8.12 from kernel.org does not result in this error.

It seems like /sbin/kexec expects the kernel release to be a major, minor,
patch triplet, which isn't the case in Sid anymore:

uname -a
Linux $HOSTNAME 3.8-1-amd64 #1 SMP Debian 3.8.12-1 x86_64 GNU/Linux

Compare this to uname -a on Wheezy:

Linux $HOSTNAME 3.2.0-4-686-pae #1 SMP Debian 3.2.41-2 i686 GNU/Linux

The parsing of the Linux kernel version is done by the following file in the
kexec-tools package:

./kexec-tools-2.0.3/kexec/kernel_version.c

Possible solutions to this bug:

* Patch kernel_version.c to successfully parse 3.8-1
* Revert the version of the Debian kernel to the same scheme as in Wheezy

--
Stig Inge Lea Bjørnsen
stigi...@pvv.org

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kexec-tools depends on:
ii  debconf [debconf-2.0]  1.5.50
ii  libc6                  2.17-1

kexec-tools recommends no packages.

kexec-tools suggests no packages.

-- debconf information:
  kexec-tools/use_grub_config: false
* kexec-tools/load_kexec: true


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to