Re: [Tails-dev] Shipping a 686-pae kernel

Supprimer ce message

Répondre à ce message
Auteur: anonym
Date:  
À: The Tails public development discussion list
Sujet: Re: [Tails-dev] Shipping a 686-pae kernel
04/09/12 14:52, intrigeri wrote:
> Hi,
>
> for various reasons (supporting big amounts of RAM, supporting >1 CPU
> core, NX bit), we want to ship a 686-pae kernel in addition to the
> current (486, non-SMP) one we already have, and make the bootloader
> autodetect the most appropriate kernel depending on what the
> CPU supports.
>
> Work towards this started a while ago, but tremendous progress was
> made these last days, thanks to a proof-of-concept by Ague that
> allowed me to jump over one of the remaining blockers and bring the
> feature into a state that I think is worth testing.
>
> So, I just merged the feature/multikernel branch into experimental.
>
> Quoting https://tails.boum.org/todo/nx_bit/ the next steps are:
>
> 1. heavily test on bare metal, especially to see if "liveusb-creator
>    crashes on amd64 kernel" affects systems running the 686-pae kernel


The crash occurs on my (64-bit) laptop. :/

Running 'liveusb-creator-launcher -v' with PAE kernel, clicking "Clone &
Install", "Create Live USB", "Next" --> segfault

Terminal output:

    [...]
    [creator:348] ['/sbin/sgdisk', '--print', '/dev/sdc']
    [creator:348] ['/sbin/sgdisk', '--print', '/dev/sdc']
    [creator:348] ['/sbin/sgdisk', '--info', '1', '/dev/sdc']
    *** glibc detected *** /usr/bin/python: malloc(): memory corruption:
    *** 0x0998d270 ***
    ======= Backtrace: =========
    /lib/libc.so.6(+0x6b19a)[0xb74a319a]
    /lib/libc.so.6(+0x6dfb7)[0xb74a5fb7]
    /lib/libc.so.6(__libc_malloc+0x5c)[0xb74a7bfc]
    /usr/lib/libQtCore.so.4(_Z7qMallocj+0x1d)[0xb6ba460d]
    Segmentation fault


I saw other variations on the error, like "double free or
corruption". The segfault always occured at the same time though in my
~5 attempts.

Cheers!