Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



On 06.10.2010 12:16, Manuel Bouyer wrote:
> On Tue, Oct 05, 2010 at 11:48:17PM +0000, Jean-Yves Migeon wrote:
>> [...]
>>
>> XXX Currently, savecore(8) will fail to dump a PAE kernel in a !PAE
>>     environment (and reciprocally). So you need to sync and reboot
>>     with a kernel of the same mode as the one that crashed. Once the dump
>>     is successful, this does not matter anymore.
> 
> Doesn't it work with savecore -N /the_right_kernel ?

No; in fact, dumplo is complete garbage, so savecore fails dumping the
image.

I suspect that the KREAD() in savecore.c does not read at the correct
offset, and just sets garbage for dumplo.

I have to see what code path takes savecore with -N, and where it
differs from the case where it goes through getbootfile(3) when the
booted kernel is different from the one that is about to get dumped.

-- 
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost


Home | Main Index | Thread Index | Old Index