[lkml]   [2014]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PROBLEM: [Launchpad #1396889] [Lenovo ThinkPad T400] kexec reboot fails
On 12/06/14 at 04:10am, MegaBrutal wrote:
> 2014-12-01 23:59 GMT+01:00 Kees Cook <>:
> >
> > I suspect you're encountering a subset of the same problems as
> > described in this thread:
> >
> >
> > If you can test those patches, that may help demonstrate their utility.
> >
> > Thanks!
> Bang ji le! It works with the patch you linked, xiexie!
> I suggest it to be merged into mainline.
> Anyway, is there a way to get sure that KASLR actually works now?
> (I.e. how do I know if the kernel is really loaded to a random
> address?)

I usually check the elf header of /proc/kcore which represents the
physical memory of the system and is stored in the ELF core file format.
Without kaslr, the kernel text mapping should be in virtual addr
0xffffffff81000000. With kaslr enabled, the addr would be anywhere
between 0xffffffff80000000 and 0xffffffffc0000000.

> Do you have any idea what might be different with my ThinkPad T400
> that it is the only one of my machines affected?

That's weird. I suggest you check the config file for that running
kernel in your ThinkPad T400. If you have below config, that means your
kernel support kaslr and enable it by default, unless you specify
nokaslr in cmdline to disalbe it.

Different kind of machines should not affect this.


 \ /
  Last update: 2014-12-06 06:41    [W:0.034 / U:1.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site