Bug#754288: /sbin/kexec: kexec fails to boot kernels where CONFIG_RANDOMIZE_BASE=y
Control: tag -1 + moreinfo Hi Thomas, Khalid Aziz wrote (09 Jul 2014 19:19:19 GMT) : This is a known problem in older versions of kexec-tools. A patch was committed to upstream which seems to address this problem (commit 0d526445f3d3f26f50e674d75ceee344c31369f1 - x86, kaslr: add alternative way to locate kernel text mapping area). Your testing of v2.0.7 does not show this works still. This will require more investigation in that case. Any way, I will be releasing v2.0.7 of kexec-tools shortly (before the end of this week). Please test again with the updated package just for grins. Did you test this again with current kexec-tools from Jessie or testing/sid? Cheers, -- intrigeri -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#754288: /sbin/kexec: kexec fails to boot kernels where CONFIG_RANDOMIZE_BASE=y
Control: tag -1 - moreinfo This patch is now included in every stable kernel. For Jessie the patch was first included in 3.16.7-ckt6. So this bug can be closed I guess. Thanks! I'll let the maintainer handle it in their preferred way from this point. Cheers, -- intrigeri -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#754288: /sbin/kexec: kexec fails to boot kernels where CONFIG_RANDOMIZE_BASE=y
Hi intrigeri, you wrote: Did you test this again with current kexec-tools from Jessie or testing/sid? The problem was resolved upstream (kernel) with commit From f285f4a21c3253887caceed493089ece17579d59 Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Thu, 15 Jan 2015 16:51:46 -0800 Subject: x86, boot: Skip relocs when load address unchanged On 64-bit, relocation is not required unless the load address gets changed. Without this, relocations do unexpected things when the kernel is above 4G. Link: http://marc.info/?l=linux-kernelm=142136953524246 This patch is now included in every stable kernel. For Jessie the patch was first included in 3.16.7-ckt6. So this bug can be closed I guess. -Thomas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#754288: /sbin/kexec: kexec fails to boot kernels where CONFIG_RANDOMIZE_BASE=y
Package: kexec-tools Version: 1:2.0.4-1 Severity: important File: /sbin/kexec Dear Maintainer, after creating my own kernel with CONFIG_RANDOMIZE_BASE=y (that's not a debian default) I noticed that the system won't reboot using kexec. I am getting a black screen/CPU will be halted. The machine will need a power cycle. # zgrep 'RANDOMIZE' /proc/config.gz CONFIG_RANDOMIZE_BASE=y CONFIG_RANDOMIZE_BASE_MAX_OFFSET=0x4000 Recompiling the same kernel (I tried 3.4.11 and 3.15.4) without CONFIG_RANDOMIZE_BASE will make kexec work again. I also tested upstream's kexec-tools v2.0.7 to see if this problem is fixed already in a newer version but it isn't. -- System Information: Debian Release: jessie/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages kexec-tools depends on: ii debconf [debconf-2.0] 1.5.53 ii libc6 2.19-4 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
Bug#754288: /sbin/kexec: kexec fails to boot kernels where CONFIG_RANDOMIZE_BASE=y
This is a known problem in older versions of kexec-tools. A patch was committed to upstream which seems to address this problem (commit 0d526445f3d3f26f50e674d75ceee344c31369f1 - x86, kaslr: add alternative way to locate kernel text mapping area). Your testing of v2.0.7 does not show this works still. This will require more investigation in that case. Any way, I will be releasing v2.0.7 of kexec-tools shortly (before the end of this week). Please test again with the updated package just for grins. -- Khalid -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org