Kernel exec functions and new problems (long)
Gregg C Levine
hansolofalcon at worldnet.att.net
Sun Apr 13 11:24:00 CEST 2003
Hello again from Gregg C Levine
Well, switching to the latest of Eric's kernel exec tool, has made a
difference. Instead of getting those annoying "oops" messages, I am
now getting something far more meaningful. Although it means nothing
to me, (or it should and I don't know what to look for), it does
indicate, that your assertions Andrew are leaning towards being
correct. Here's the message:
Script started on Sun Apr 13 11:36:57 2003
root at who4:/usr/src/LoBos/work# ./kexec kernel.elf
kexec_load failed: Function not implemented
entry = (nil)
nr_segments = 4
segment[0].buf = 0x80a8ee8
segment[0].bufsz = 158
segment[0].mem = (nil)
segment[0].memsz = 158
segment[1].buf = 0x80a3888
segment[1].bufsz = 55e0
segment[1].mem = 0x10000
segment[1].memsz = 55e0
segment[2].buf = 0x80a8e70
segment[2].bufsz = 0
segment[2].mem = 0x91000
segment[2].memsz = 0
segment[3].buf = 0x40001008
segment[3].bufsz = b48dc
segment[3].mem = 0x100000
segment[3].memsz = 700000
root at who4:/usr/src/LoBos/work# exit
Script done on Sun Apr 13 11:37:15 2003
At a guess, I'd say, it is telling me that the function was not
correctly implemented on this kernel, which is 2.4.20. So, this does
backup that notion that I should grab a copy of the raw 2.4.19
sources. I'll do that later today, and try again. However while
building the version 1.8 tool, I received a number of warnings,
nothing severe just simple warnings. I'll post them after the
signature block.
-------------------
Gregg C Levine hansolofalcon at worldnet.att.net
------------------------------------------------------------
"The Force will be with you...Always." Obi-Wan Kenobi
"Use the Force, Luke." Obi-Wan Kenobi
(This company dedicates this E-Mail to General Obi-Wan Kenobi )
(This company dedicates this E-Mail to Master Yoda )
Script started on Sun Apr 13 11:38:51 2003
root at who4:/usr/src/LoBos/kexec-tools-1.8# make
mkdir -p objdir/kexec
gcc -Wall -g -O2 -fno-strict-aliasing -I./util_lib/include
-DVERSION='"1.8"' -DRELEASE_DATE='"01 December 2002"' -o
objdir/kexec/kexec.o -c kexec/kexec.c
mkdir -p objdir/kexec
gcc -Wall -g -O2 -fno-strict-aliasing -I./util_lib/include
-DVERSION='"1.8"' -DRELEASE_DATE='"01 December 2002"' -o
objdir/kexec/kexec-syscall.o -c kexec/kexec-syscall.c
mkdir -p objdir/kexec
gcc -Wall -g -O2 -fno-strict-aliasing -I./util_lib/include
-DVERSION='"1.8"' -DRELEASE_DATE='"01 December 2002"' -o
objdir/kexec/kexec-x86.o -c kexec/kexec-x86.c
mkdir -p objdir/kexec
gcc -Wall -g -O2 -fno-strict-aliasing -I./util_lib/include
-DVERSION='"1.8"' -DRELEASE_DATE='"01 December 2002"' -o
objdir/kexec/kexec-elf32-x86.o -c kexec/kexec-elf32-x86.c
mkdir -p objdir/kexec
gcc -Wall -g -O2 -fno-strict-aliasing -I./util_lib/include
-DVERSION='"1.8"' -DRELEASE_DATE='"01 December 2002"' -o
objdir/kexec/kexec-bzImage.o -c kexec/kexec-bzImage.c
kexec/kexec-bzImage.c: In function `bzImage_load':
kexec/kexec-bzImage.c:163: warning: `fp_ramdisk' might be used
uninitialized in this function
mkdir -p objdir/kexec
gcc -Wall -g -O2 -fno-strict-aliasing -I./util_lib/include
-DVERSION='"1.8"' -DRELEASE_DATE='"01 December 2002"' -o
objdir/kexec/ifdown.o -c kexec/ifdown.c
mkdir -p objdir/kexec
gcc -Wall -g -O2 -fno-strict-aliasing -I./util_lib/include
-DVERSION='"1.8"' -DRELEASE_DATE='"01 December 2002"' -o
objdir/kexec/x86-setup-32.o -c kexec/x86-setup-32.S
mkdir -p objdir/kexec
gcc -Wall -g -O2 -fno-strict-aliasing -I./util_lib/include
-DVERSION='"1.8"' -DRELEASE_DATE='"01 December 2002"' -o
objdir/kexec/x86-setup-16.o -c kexec/x86-setup-16.S
mkdir -p objdir/kexec
gcc -Wall -g -O2 -fno-strict-aliasing -I./util_lib/include
-DVERSION='"1.8"' -DRELEASE_DATE='"01 December 2002"' -o
objdir/kexec/x86-setup-16-debug.o -c kexec/x86-setup-16-debug.S
/tmp/cc12pRzT.s: Assembler messages:
/tmp/cc12pRzT.s:254: Warning: indirect jmp without `*'
mkdir -p objdir/util_lib
gcc -Wall -g -O2 -fno-strict-aliasing -I./util_lib/include
-DVERSION='"1.8"' -DRELEASE_DATE='"01 December 2002"' -c -o
objdir/util_lib/compute_ip_checksum.o util_lib/compute_ip_checksum.c
mkdir -p objdir
ar rs ./objdir/libutil.a ./objdir/util_lib/compute_ip_checksum.o
mkdir -p objdir/build/sbin
gcc -Wall -g -O2 -fno-strict-aliasing -I./util_lib/include
-DVERSION='"1.8"' -DRELEASE_DATE='"01 December 2002"' -static -o
objdir/build/sbin/kexec ./objdir/kexec/kexec.o
./objdir/kexec/kexec-syscall.o ./objdir/kexec/kexec-x86.o
./objdir/kexec/kexec-elf32-x86.o ./objdir/kexec/kexec-bzImage.o
./objdir/kexec/ifdown.o ./objdir/kexec/x86-setup-32.o
./objdir/kexec/x86-setup-16.o ./objdir/kexec/x86-setup-16-debug.o
./objdir/libutil.a
mkdir -p objdir/kexec_test
gcc -x assembler-with-cpp -E -I./util_lib/include -DVERSION='"1.8"'
-DRELEASE_DATE='"01 December 2002"' -DRELOC=0x10000
kexec_test/kexec_test16.S > objdir/kexec_test/kexec_test16.s
mkdir -p objdir/kexec_test
as -o objdir/kexec_test/kexec_test16.o
objdir/kexec_test/kexec_test16.s
mkdir -p objdir/kexec_test
gcc -x assembler-with-cpp -E -I./util_lib/include -DVERSION='"1.8"'
-DRELEASE_DATE='"01 December 2002"' -DRELOC=0x10000
kexec_test/kexec_test.S > objdir/kexec_test/kexec_test.s
mkdir -p objdir/kexec_test
as -o objdir/kexec_test/kexec_test.o objdir/kexec_test/kexec_test.s
mkdir -p objdir/build/bin
ld -e _start -Ttext 0x10000 ./objdir/kexec_test/kexec_test16.o
./objdir/kexec_test/kexec_test.o -o objdir/build/bin/kexec_test
root at who4:/usr/src/LoBos/kexec-tools-1.8# exit
exit
Script done on Sun Apr 13 11:39:39 2003
And that's what it said. Now where do I install everything?
More information about the coreboot
mailing list