Re: [KEXEC][PATCH] Modified (smaller) x86 kexec hwfixes patch

From: Martin J. Bligh (mbligh@aracnet.com)
Date: Fri Feb 14 2003 - 10:32:18 EST


>> Running on my 4-way P3 test box (just SMP, not NUMA) kexec_test
>> prints this:
>>
>> Synchronizing SCSI caches:
>> Shutting down devices
>> Starting new kernel
>> kexec_test 1.8 starting...
>> eax: 0E1FB007 ebx: 0000011C ecx: 00000000 edx: 00000000
>> esi: 00000000 edi: 00000000 esp: 00000000 ebp: 00000000
>> idt: 00000000 C0000000
>> gdt: 0000006F 000000A0
>> Switching descriptors.
>> Descriptors changed.
>> Legacy pic setup.
>> In real mode.
>>
>> Without that I just get:
>>
>> Synchronizing SCSI caches:
>> Shutting down devices
>> Starting new kernel
>>
>> Can someone interpret?
>
> Besides the fact that you cannot make BIOS calls, and kexec is working
> there is not much to say. You cannot kexec another kernel?

Nope, if I just kexec the same 2.5.59 kernel+kexec patches that I'm booted
on it says:

Synchronizing SCSI caches:
Shutting down devices
Starting new kernel

Could you give me a high-level sketch of what you're doing? kexec -l loads
the new kernel, then what do you do? Drop back into real mode and jump to
the normal kernel entry point? Or decompress by hand, do some alternate
setup of the early page tables and try to jump in at the 32-bit entry point?

Is all I can assume from the above that I crash in the new kernel before
console_init()? Or should I expect something from the decompress code?

Thanks,

M.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:55 EST