Messages in this thread | | | Date | Tue, 24 Feb 2004 17:24:18 -0000 (WET) | Subject | Re: kexec "problem" | From | "Carlos Silva" <> |
| |
> 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 haven't updated for 2.6.3 yet, or even tested it... > but I'll get to it soon. > > -- > ~Randy >
just changed line 13 on kexec.h from: "long kexec_load(void *entry, unsigned long nr_segments, struct kexec_segment *segments, unsigned long);" to: "long kexec_load(void *entry, unsigned long nr_segments, struct kexec_segment *segments, unsigned long flags);"
and it gives me this error: # ./do-kexec.sh /boot/bzImage-2.6.2-g kexec_load failed: Function not implemented 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
- 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/
| |