Hello again from Gregg C Levine Eric, when you get a chance, can you examine the attached text file? It contains the activities from building the kernel exec tools for 2.5.12 of the kernel sources.
This was built using the current tool chain for Slackware-8.0 for Intel. I am using the Linux-2.4.20 kernel. Also, can you make any recommendations for constructing a ram disk image for a kernel booted using the tools? ------------------- Gregg C Levine hansolofalcon@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 )
Hello again from Gregg C Levine Sorry forgot the subject line! Now resending it, with one. And I also pasting the text file contents below the original message. Everything in the original message applies.
However one I forgot is: Where do I put the created programs? The /usr/bin for one, and the /usr/sbin for the other? Or the directories hanging off the / directory? ------------------- Gregg C Levine hansolofalcon@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 )
-----Original Message----- From: linuxbios-admin@clustermatic.org [mailto:linuxbios- admin@clustermatic.org] On Behalf Of Gregg C Levine Sent: Monday, March 24, 2003 11:08 PM To: Linuxbios Subject: (no subject)
Hello again from Gregg C Levine Eric, when you get a chance, can you examine the attached text file? It contains the activities from building the kernel exec tools for 2.5.12 of the kernel sources.
This was built using the current tool chain for Slackware-8.0 for Intel. I am using the Linux-2.4.20 kernel. Also, can you make any recommendations for constructing a ram disk image for a kernel
booted
using the tools?
Gregg C Levine hansolofalcon@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 Mon Mar 24 22:59:51 2003 root@tardis:/usr/src/LoBos/linux-kernel-patches/kexec/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/ccLM5d5a.s: Assembler messages: /tmp/ccLM5d5a.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@tardis:/usr/src/LoBos/linux-kernel-patches/kexec/kexec-tools-1.8# exit
Script done on Mon Mar 24 23:00:27 2003