Re: kexec "problem" [and patch updates]

From: Randy.Dunlap
Date: Thu Feb 26 2004 - 20:03:57 EST


On Tue, 24 Feb 2004 11:02:21 -0000 (WET) Carlos Silva wrote:

| hi guys,
|
| i have just compiled a kernel with the kexec patch. compiled kexec-tools
| and when i try to load a kernel, it gives me this:
| # ./do-kexec.sh /boot/bzImage-2.6.2-g
| kexec_load failed: Invalid argument
| entry = 0x91764
| nr_segments = 2
| segment[0].buf = 0x80b3480
| segment[0].bufsz = 1880
| segment[0].mem = 0x90000
| segment[0].memsz = 1880
| segment[1].buf = 0x40001008
| segment[1].bufsz = 19795a
| segment[1].mem = 0x100000
| segment[1].memsz = 19795a
|
| anyone tried to run kexec and actually did it? i'm trying with kernel 2.6.3
| -

I updated the kexec patch for 2.6.2 and 2.6.3.
It works fine on 2.6.2. It works for me on 2.6.3 if not SMP.
If the kernel is built for SMP, when running kexec, I get a
BUG in arch/i386/kernel/smp.c at line 359.
I'm testing various workarounds for that BUG now.

--
~Randy

kexec updates are at:
http://developer.osdl.org/rddunlap/kexec/2.6.2/
and
http://developer.osdl.org/rddunlap/kexec/2.6.3/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/