CHANGELOG.txt  README.txt	    build  include  license.txt  scripts  zBoot
CVS	       TROUBLESHOOTING.txt  com    init     linux	 toolkit
Makefile       boot		    docs   kernel   run		 tools

$make clean

========================================= Cleaning Project kernel boot include tools scripts include init zBoot toolkit toolkit/java ========================================= Entering SUBDIR for clean: kernel make[1]: Entering directory `/home/bigbinc/samb/oran/Orange/kernel' make[1]: Warning: File `Makefile' has modification time 1.3e+04 s in the future rm -f asm/*.s rm -f *~ rm -f *.o rm -f .depend make[1]: warning: Clock skew detected. Your build may be incomplete. make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange/kernel' Entering SUBDIR for clean: boot make[1]: Entering directory `/home/bigbinc/samb/oran/Orange/boot' cleaning : boot rm -f bootsect rm -f setup setup.s mini rm -f vmlinux _tmp_* rm -f *.o *.s *~ make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange/boot' Entering SUBDIR for clean: include make[1]: Entering directory `/home/bigbinc/samb/oran/Orange/include' rm -f *~ rm -f asm/*~ rm -f linux/*~ rm -f spirit/*~ rm -f system/*~ make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange/include' Entering SUBDIR for clean: tools make[1]: Entering directory `/home/bigbinc/samb/oran/Orange/tools' rm -f *~ *.o rm -f build rm -f kernel_stats make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange/tools' Entering SUBDIR for clean: scripts make[1]: Entering directory `/home/bigbinc/samb/oran/Orange/scripts' cleaning : scripts rm -f mkdep rm -f *.o *~ make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange/scripts' Entering SUBDIR for clean: include make[1]: Entering directory `/home/bigbinc/samb/oran/Orange/include' rm -f *~ rm -f asm/*~ rm -f linux/*~ rm -f spirit/*~ rm -f system/*~ make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange/include' Entering SUBDIR for clean: init make[1]: Entering directory `/home/bigbinc/samb/oran/Orange/init' cleaning : init rm -f *.o *~ make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange/init' Entering SUBDIR for clean: zBoot make[1]: Entering directory `/home/bigbinc/samb/oran/Orange/zBoot' rm -f *.lnk rm -f *.s *.o rm -f piggyback xtract zboothead.s rm -f zSystem _tmp_* zSystem.out *.map make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange/zBoot' Entering SUBDIR for clean: toolkit make[1]: Entering directory `/home/bigbinc/samb/oran/Orange/toolkit' cleaning : bochs/toolkit directory rm -f *~ *.o rm -f tmp/orange.img rm -f bochs/orange.img rm -f vmlinuz vmlinux rm -f bochs/bochsout.txt rm -f ImageReport.txt make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange/toolkit' Entering SUBDIR for clean: toolkit/java make[1]: Entering directory `/home/bigbinc/samb/oran/Orange/toolkit/java' cleaning : toolkit/java directory rm -Rf build rm -f *~ *.o make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange/toolkit/java' rm -f *~ *.o rm -f .depend rm -f preZSystem preZSystem.map rm -f docs/*~ rm -f vmlinux SrcReport.txt PureReport.txt TotalSrc.txt /home/bigbinc/samb/oran/Orange/scripts/rm_squid ...Removing the *~ files... ...done == cleaning complete ==

$make bochs

====== [ Current Make options ] ================ 'make' and see below [ backup ] - create a zipped version of source [ cvs ] - create a zippped cvs snapshot [ bochs ] - setup a kernel for bochs [ clean ] - start from scratch and remove garbage the best option is to type 'make' twice ================================================ /home/bigbinc/samb/oran/Orange/scripts/check_apps ------------------------------------- [ Checking for { python, bochs, grub, and JAVA_HOME } python check - 01: /usr/bin/python ..... check passed this is good! python check - 02: /usr/local/bin/python ..... check [ [ failed ] ], was not found here. BOCHS check - 01: /usr/local/bin/bochs ..... check [ [ failed ] ], was not found here. BOCHS check - 02: /usr/bin/bochs ..... check [ [ failed ] ], was not found here. GRUB check - 01: /usr/sbin/grub ..... check [ [ failed ] ], was not found here. GRUB check - 02: /usr/local/sbin/grub ..... check [ [ failed ] ], was not found here. JAVA check - 01: /opt/blackdown-jdk-1.4.2.01 ..... check passed this is good! Out of the three programs, only one test must pass. As of 4/4/2004 visit these URLs for downloads http://www.python.org/ http://www.gnu.org/software/grub/ http://bochs.sourceforge.net/ done... ------------------------------------- ==** You have a bad .depend #==== ** You probably should have done [make depend] first ** It is ok... make depend make[1]: Entering directory `/home/bigbinc/samb/oran/Orange' gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c ** Running target dep-files... +++ /home/bigbinc/samb/oran/Orange/scripts/mkdep -- init/*.c > .depend make _sfdep_kernel _FASTDEP_ALL_SUB_DIRS="kernel" make[2]: Entering directory `/home/bigbinc/samb/oran/Orange' make -C kernel fastdep make[3]: Entering directory `/home/bigbinc/samb/oran/Orange/kernel' make[3]: Warning: File `Makefile' has modification time 1.3e+04 s in the future /home/bigbinc/samb/oran/Orange/scripts/mkdep -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -- bad_interrupts.S block_devices.c dma_functions.c empty.c exceptions.S floppy.c fs_buffer.c fs_super.c hardware_interrupts.S hexdump.c interrupts.c kernelhead.S keyboard.c lowlevel.S misc_print.c newfloppy.c scheduler.c system_calls.c time_helpers.c traps.c > .depend make[3]: warning: Clock skew detected. Your build may be incomplete. make[3]: Leaving directory `/home/bigbinc/samb/oran/Orange/kernel' make[2]: Leaving directory `/home/bigbinc/samb/oran/Orange' make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange' ** [WARNING] You will need to re-type 'make' or you can use ** [WARNING] 'make bochs' to build/deploy the kernel exit 1 make: *** [..depend] Error 1

$make bochs

gcc -E -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -traditional boot/bootsect.S -o boot/bootsect.s boot/bootsect.S:329: warning: no newline at end of file as -o boot/bootsect.o boot/bootsect.s ld -Ttext 0x0 -s --oformat binary boot/bootsect.o -o boot/bootsect gcc -E -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -D__ASSEMBLY__ -traditional boot/setup.S -o boot/setup.s boot/setup.S:14: warning: "__ASSEMBLY__" redefined :2: warning: this is the location of the previous definition as -o boot/setup.o boot/setup.s boot/setup.S: Assembler messages: boot/setup.S:292: Warning: indirect lcall without `*' ld -Ttext 0x0 -s --oformat binary -e begtext -o boot/setup boot/setup.o make: Warning: File `kernel/kernelhead.S' has modification time 1.3e+04 s in the future ** Compiling kernel-head.S gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -traditional -c kernel/kernelhead.S -o kernel/kernelhead.o gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c -o init/main.o init/main.c -I/home/bigbinc/samb/oran/Orange/include init/main.c: In function `start_kernel': init/main.c:198: warning: implicit declaration of function `floppy_get_drives' init/main.c: At top level: init/main.c:118: warning: '_draw_char' defined but not used init/main.c:125: warning: 'view_PIC' defined but not used gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c -o init/buildct.o init/buildct.c -I/home/bigbinc/samb/oran/Orange/include gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c -o init/getversion.o init/getversion.c make CFLAGS="-D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common " -C kernel make[1]: Entering directory `/home/bigbinc/samb/oran/Orange/kernel' make[1]: Warning: File `Makefile' has modification time 1.3e+04 s in the future [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S empty.c -o asm/empty.o.s empty.c:22: warning: 'non_function' defined but not used gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c empty.c empty.c:22: warning: 'non_function' defined but not used [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S misc_print.c -o asm/misc_print.o.s misc_print.c:959: warning: '__sscanf' defined but not used misc_print.c:325: warning: '__memset' defined but not used misc_print.c:754: warning: '__snprintf' defined but not used gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c misc_print.c misc_print.c:959: warning: '__sscanf' defined but not used misc_print.c:325: warning: '__memset' defined but not used misc_print.c:754: warning: '__snprintf' defined but not used [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S traps.c -o asm/traps.o.s traps.c: In function `panic': traps.c:112: warning: implicit declaration of function `get_all_registers' traps.c: At top level: traps.c:257: warning: '_set_call_gate' defined but not used gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c traps.c traps.c: In function `panic': traps.c:112: warning: implicit declaration of function `get_all_registers' traps.c: At top level: traps.c:257: warning: '_set_call_gate' defined but not used gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -c -o exceptions.o exceptions.S [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S interrupts.c -o asm/interrupts.o.s interrupts.c:86: warning: type defaults to `int' in declaration of `hw_interrupt_entry_00' interrupts.c:86: warning: data definition has no type or storage class interrupts.c:87: warning: type defaults to `int' in declaration of `hw_interrupt_entry_01' interrupts.c:87: warning: data definition has no type or storage class interrupts.c:88: warning: type defaults to `int' in declaration of `hw_interrupt_entry_06' interrupts.c:88: warning: data definition has no type or storage class interrupts.c: In function `__disable_irq': interrupts.c:151: warning: unused variable `flags' interrupts.c: In function `__enable_irq': interrupts.c:166: warning: unused variable `flags' interrupts.c: In function `handle_interrupt': interrupts.c:222: warning: unused variable `buf' gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c interrupts.c interrupts.c:86: warning: type defaults to `int' in declaration of `hw_interrupt_entry_00' interrupts.c:86: warning: data definition has no type or storage class interrupts.c:87: warning: type defaults to `int' in declaration of `hw_interrupt_entry_01' interrupts.c:87: warning: data definition has no type or storage class interrupts.c:88: warning: type defaults to `int' in declaration of `hw_interrupt_entry_06' interrupts.c:88: warning: data definition has no type or storage class interrupts.c: In function `__disable_irq': interrupts.c:151: warning: unused variable `flags' interrupts.c: In function `__enable_irq': interrupts.c:166: warning: unused variable `flags' interrupts.c: In function `handle_interrupt': interrupts.c:222: warning: unused variable `buf' gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -c -o bad_interrupts.o bad_interrupts.S gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -c -o hardware_interrupts.o hardware_interrupts.S hardware_interrupts.S: Assembler messages: hardware_interrupts.S:110: Warning: line numbers must be positive; line number 0 rejected gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -c -o lowlevel.o lowlevel.S [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S keyboard.c -o asm/keyboard.o.s keyboard.c: In function `load_keyboard_driver': keyboard.c:28: warning: implicit declaration of function `__disable_irq' keyboard.c:30: warning: implicit declaration of function `handle_interrupt' gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c keyboard.c keyboard.c: In function `load_keyboard_driver': keyboard.c:28: warning: implicit declaration of function `__disable_irq' keyboard.c:30: warning: implicit declaration of function `handle_interrupt' [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S scheduler.c -o asm/scheduler.o.s In file included from scheduler.c:58: /home/bigbinc/samb/oran/Orange/include/system/system_calls.h:13: warning: function declaration isn't a prototype /home/bigbinc/samb/oran/Orange/include/system/system_calls.h:20: warning: function declaration isn't a prototype scheduler.c:74: warning: function declaration isn't a prototype scheduler.c: In function `scheduler_timer_helper': scheduler.c:166: warning: unused variable `buf' gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c scheduler.c In file included from scheduler.c:58: /home/bigbinc/samb/oran/Orange/include/system/system_calls.h:13: warning: function declaration isn't a prototype /home/bigbinc/samb/oran/Orange/include/system/system_calls.h:20: warning: function declaration isn't a prototype scheduler.c:74: warning: function declaration isn't a prototype scheduler.c: In function `scheduler_timer_helper': scheduler.c:166: warning: unused variable `buf' [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S floppy.c -o asm/floppy.o.s floppy.c: In function `_get_version': floppy.c:797: warning: unused variable `r' floppy.c: In function `setup_dma_floppy': floppy.c:870: warning: unused variable `_chk_fd_read' floppy.c: In function `floppy_on_interrupt': floppy.c:294: warning: statement with no effect floppy.c: At top level: floppy.c:113: warning: 'private_read_track' defined but not used floppy.c:114: warning: 'private_buffer_track' defined but not used floppy.c:115: warning: 'private_buffer_drive' defined but not used floppy.c:134: warning: 'floppy_specs_size' defined but not used floppy.c:137: warning: 'floppy_specs_track' defined but not used floppy.c:263: warning: '_debug_floppy_timer' defined but not used floppy.c:410: warning: 'debug_floppy_request' defined but not used floppy.c:793: warning: '_get_version' defined but not used floppy.c:962: warning: 'deprecated_turn_floppy_on' defined but not used floppy.c:978: warning: 'deprecated_turn_floppy_off' defined but not used floppy.c:1063: warning: '_setup_dma_floppy_area' defined but not used gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c floppy.c floppy.c: In function `_get_version': floppy.c:797: warning: unused variable `r' floppy.c: In function `setup_dma_floppy': floppy.c:870: warning: unused variable `_chk_fd_read' floppy.c: In function `floppy_on_interrupt': floppy.c:294: warning: statement with no effect floppy.c: At top level: floppy.c:113: warning: 'private_read_track' defined but not used floppy.c:114: warning: 'private_buffer_track' defined but not used floppy.c:115: warning: 'private_buffer_drive' defined but not used floppy.c:134: warning: 'floppy_specs_size' defined but not used floppy.c:137: warning: 'floppy_specs_track' defined but not used floppy.c:263: warning: '_debug_floppy_timer' defined but not used floppy.c:410: warning: 'debug_floppy_request' defined but not used floppy.c:793: warning: '_get_version' defined but not used floppy.c:962: warning: 'deprecated_turn_floppy_on' defined but not used floppy.c:978: warning: 'deprecated_turn_floppy_off' defined but not used floppy.c:1063: warning: '_setup_dma_floppy_area' defined but not used [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S time_helpers.c -o asm/time_helpers.o.s gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c time_helpers.c [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S dma_functions.c -o asm/dma_functions.o.s dma_functions.c: In function `free_dma': dma_functions.c:53: warning: implicit declaration of function `__sprintf' dma_functions.c:54: warning: implicit declaration of function `__puts' gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c dma_functions.c dma_functions.c: In function `free_dma': dma_functions.c:53: warning: implicit declaration of function `__sprintf' dma_functions.c:54: warning: implicit declaration of function `__puts' [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S system_calls.c -o asm/system_calls.o.s system_calls.c: In function `system_debug': system_calls.c:28: warning: implicit declaration of function `__sprintf' system_calls.c:29: warning: implicit declaration of function `__puts' gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c system_calls.c system_calls.c: In function `system_debug': system_calls.c:28: warning: implicit declaration of function `__sprintf' system_calls.c:29: warning: implicit declaration of function `__puts' [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S block_devices.c -o asm/block_devices.o.s gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c block_devices.c [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S fs_super.c -o asm/fs_super.o.s fs_super.c: In function `read_super': fs_super.c:77: warning: implicit declaration of function `check_disk_change' fs_super.c:69: warning: unused variable `s' fs_super.c:72: warning: unused variable `i' fs_super.c:73: warning: unused variable `block' fs_super.c: In function `mount_root': fs_super.c:94: warning: unused variable `i' fs_super.c:95: warning: unused variable `free' fs_super.c:98: warning: unused variable `mi' gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c fs_super.c fs_super.c: In function `read_super': fs_super.c:77: warning: implicit declaration of function `check_disk_change' fs_super.c:69: warning: unused variable `s' fs_super.c:72: warning: unused variable `i' fs_super.c:73: warning: unused variable `block' fs_super.c: In function `mount_root': fs_super.c:94: warning: unused variable `i' fs_super.c:95: warning: unused variable `free' fs_super.c:98: warning: unused variable `mi' [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S fs_buffer.c -o asm/fs_buffer.o.s fs_buffer.c: In function `check_disk_change': fs_buffer.c:45: warning: unused variable `i' fs_buffer.c: In function `_buffer_read': fs_buffer.c:27: warning: '_bh' might be used uninitialized in this function gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c fs_buffer.c fs_buffer.c: In function `check_disk_change': fs_buffer.c:45: warning: unused variable `i' fs_buffer.c: In function `_buffer_read': fs_buffer.c:27: warning: '_bh' might be used uninitialized in this function [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S hexdump.c -o asm/hexdump.o.s hexdump.c: In function `public_hexdump': hexdump.c:25: warning: unused variable `_row_start' gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c hexdump.c hexdump.c: In function `public_hexdump': hexdump.c:25: warning: unused variable `_row_start' [ compiling Standard C file and gcc asm code ] gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -S newfloppy.c -o asm/newfloppy.o.s gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c newfloppy.c ld -m elf_i386 -r -o kernel.o empty.o misc_print.o traps.o exceptions.o interrupts.o bad_interrupts.o hardware_interrupts.o lowlevel.o keyboard.o scheduler.o floppy.o time_helpers.o dma_functions.o system_calls.o block_devices.o fs_super.o fs_buffer.o hexdump.o newfloppy.o sync make[1]: warning: Clock skew detected. Your build may be incomplete. make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange/kernel' ==## Building Drivers ##== ** building drivers and kernel... ** ld -m elf_i386 -Ttext 0x100000 -e stext kernel/kernelhead.o \ init/main.o \ init/buildct.o \ init/getversion.o \ --start-group \ kernel/kernel.o \ --end-group \ -o preZSystem nm preZSystem | grep -v '\(compiled\)\|\(\.o$\)\|\( [aUw] \)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | sort > preZSystem.map ** Building compressed(gzip) kernel tools... ** just created piggy ** Entering zBoot directory...please standby make -C zBoot make[1]: Entering directory `/home/bigbinc/samb/oran/Orange/zBoot' ** ** Creating Kernel gzipped piggy-back ** tmppiggy=_tmp_$$piggy; \ rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk; \ objcopy -O binary -R .note -R .comment -S ../preZSystem $tmppiggy; \ gzip -f -9 < $tmppiggy > $tmppiggy.gz; \ echo "SECTIONS { .data : { input_len = .; LONG(input_data_end - input_data) input_data = .; *(.data) input_data_end = .; }}" > $tmppiggy.lnk; \ ld -r -o piggy.o -b binary $tmppiggy.gz -b elf32-i386 -T $tmppiggy.lnk; \ rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -traditional -c zboothead.S -- (zBoot) Standard C File gcc -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -c -o misc.o misc.c misc.c:313: warning: conflicting types for built-in function 'puts' misc.c: In function `close_output_buffer_if_we_run_high': misc.c:674: warning: unsigned int format, pointer arg (arg 3) misc.c:674: warning: unsigned int format, pointer arg (arg 5) misc.c:676: warning: unsigned int format, pointer arg (arg 3) misc.c: In function `decompress_kernel': misc.c:724: warning: unsigned int format, pointer arg (arg 3) misc.c: In function `gunzip': misc.c:1645: warning: unsigned int format, long int arg (arg 3) misc.c:1645: warning: int format, long int arg (arg 4) misc.c: At top level: misc.c:614: warning: 'setup_normal_output_buffer' defined but not used gcc -E -D__KERNEL__ -I/home/bigbinc/samb/oran/Orange/include -D__ASSEMBLY__ -traditional demo.S -o demo.s as -o demo.o demo.s ** GO! zSystem... ld -m elf_i386 -Ttext 0x100000 -e startup_32 -o zSystem zboothead.o misc.o piggy.o nm zSystem | grep -v '\(compiled\)\|\(\.o$\)\|\( [aUw] \)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | sort > zPIGGY.map make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange/zBoot' gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o tools/build tools/build.c tools/build.c: In function `main': tools/build.c:188: warning: int format, long unsigned int arg (arg 3) make -C tools all make[1]: Entering directory `/home/bigbinc/samb/oran/Orange/tools' [ compiling Standard C file ] gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c kernel_stats.c kernel_stats.c: In function `main': kernel_stats.c:79: warning: int format, long unsigned int arg (arg 3) [ Compiling project ] gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o kernel_stats kernel_stats.o make[1]: Leaving directory `/home/bigbinc/samb/oran/Orange/tools' ==** Running **=========================== ** Compiling Kernel....... ** Target: all to : vmlinux objcopy -O binary -R .note -R .comment -S zBoot/zSystem zBoot/zSystem.out tools/build boot/bootsect boot/setup zBoot/zSystem.out > vmlinux ..Running build... ++ Root device is (0, 0) Boot sector 512 bytes. ++ Setup is 2061 bytes. ++ Sectors: 5 ++ padded setup size: 2560 needed: 2048 System is 25 kB ++ Writing system stdout...ctr: 1609 tools/kernel_stats vmlinux ====== [ Kernel Stats and Size ] ========= ARGS[0] = tools/kernel_stats ARGS[1] = vmlinux OS-Kernel on filesystem is [ 28802 b ] ====== [ End Stats ] ============================ sync python /home/bigbinc/samb/oran/Orange/scripts/get_build.py ** Getting build and writing to file ... [[>> New Build Count: 519 <<]] python /home/bigbinc/samb/oran/Orange/scripts/print_version.py 0 1 18 ...... [ Printing System Version to File ]..... ['0', '1', '18'] Vers: [0.1.18.] ## Copying file to toolkit directory ## now: 'cd toolkit' and type 'ant 'run' ## OR just type ./Run cp -v vmlinux /home/bigbinc/samb/oran/Orange/toolkit/vmlinuz `vmlinux' -> `/home/bigbinc/samb/oran/Orange/toolkit/vmlinuz' make: warning: Clock skew detected. Your build may be incomplete.

$ cd toolkit

bigbinc@ohio toolkit $ ls CVS README.txt Run.Sample bochs grub-0.94 rbochs.bat vmlinuz Clean Report SpiritConfig gdev java scripts Makefile Run WriteDisk grub-0.93 mnt tmp bigbinc@ohio toolkit $ ./Run Error: Invalid permissions, login as 'su' bigbinc@ohio toolkit $ ./Run Error: Invalid permissions, login as 'su'

su Password: [ENTER YOUR PASSWORD HERE]

root@ohio toolkit # ls CVS README.txt Run.Sample bochs grub-0.94 rbochs.bat vmlinuz Clean Report SpiritConfig gdev java scripts Makefile Run WriteDisk grub-0.93 mnt tmp

./Run

===================================== Running.... ===================================== ===================================== NOTE: SpiritLite Version You must change your CUR_DIR ++ Currently: /home/bigbinc/samb/oran/Orange/toolkit chgrp: invalid group name `bigbinc' chgrp: invalid group name `bigbinc' chgrp: invalid group name `bigbinc' 1440+0 records in 1440+0 records out ===================================== Preparing loop back device... ===================================== ===================================== Creating ext2fs... ===================================== Creating ext2 fs... mke2fs 1.35 (28-Feb-2004) Filesystem label= OS type: Linux Block size=1024 (log=0) Fragment size=1024 (log=0) 184 inodes, 1440 blocks 0 blocks (0.00%) reserved for the super user First data block=1 1 block group 8192 blocks per group, 8192 fragments per group 184 inodes per group Writing inode tables: done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 27 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. ===================================== Mounting the loopdevice.... ===================================== tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future TOTAL KERNEL SIZE: 32 kb Creating ROOT directory on loop device... ===================================== Copying file section [begin] ===================================== ===================================== Copying.../home/bigbinc/samb/oran/Orange/toolkit/vmlinuz ===================================== ===================================== Copying.../home/bigbinc/samb/oran/Orange/toolkit/grub-0.94/stage1 ===================================== ===================================== Copying.../home/bigbinc/samb/oran/Orange/toolkit/grub-0.94/stage2 ===================================== ===================================== Copying.../home/bigbinc/samb/oran/Orange/toolkit/grub-0.94/menu.lst ===================================== ++ [ Device Creation Script ] ++ >> Running... >> Creating DEV [ mem c 1 1 root kmem 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/mem-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/mem' >> Creating DEV [ kmem c 1 2 root kmem 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/kmem-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/kmem' >> Creating DEV [ null c 1 3 root sys 666 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/null-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/null' >> Creating DEV [ port c 1 4 root kmem 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/port-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/port' >> Creating DEV [ zero c 1 5 root sys 666 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/zero-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/zero' >> Symlink core -->> /proc/kcore >> Creating DEV [ full c 1 7 root sys 666 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/full-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/full' >> Creating DEV [ tty c 5 0 root tty 666 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/tty-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/tty' >> Symlink fd -->> /proc/self/fd >> Symlink stdin -->> /dev/fd/0 >> Symlink stdout -->> /dev/fd/1 >> Symlink stderr -->> /dev/fd/2 >> Creating DEV [ fd0 b 2 0 root floppy 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd0-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd0' >> Creating DEV [ fd0H1440 b 2 28 root floppy 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd0H1440-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd0H1440' >> Creating DEV [ fd0E2880 b 2 32 root floppy 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd0E2880-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd0E2880' >> Creating DEV [ fd0h1440 b 2 40 root floppy 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd0h1440-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd0h1440' >> Creating DEV [ fd1 b 2 1 root floppy 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd1-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd1' >> Creating DEV [ fd1H1440 b 2 29 root floppy 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd1H1440-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd1H1440' >> Creating DEV [ fd1E2880 b 2 33 root floppy 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd1E2880-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd1E2880' >> Creating DEV [ fd1h1440 b 2 41 root floppy 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd1h1440-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/fd1h1440' >> Creating DEV [ hda b 3 0 root disk 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hda-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hda' >> Creating DEV [ hda1 b 3 1 root disk 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hda1-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hda1' >> Creating DEV [ hda2 b 3 2 root disk 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hda2-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hda2' >> Creating DEV [ hda3 b 3 3 root disk 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hda3-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hda3' >> Creating DEV [ hdb b 3 64 root disk 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hdb-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hdb' >> Creating DEV [ hdb1 b 3 65 root disk 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hdb1-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hdb1' >> Creating DEV [ hdb2 b 3 66 root disk 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hdb2-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hdb2' >> Creating DEV [ hdb3 b 3 67 root disk 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hdb3-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/hdb3' >> Creating DEV [ tty0 c 4 0 root tty 622 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/tty0-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/tty0' >> Symlink console -->> /dev/tty0 >> Creating DEV [ vcs0 c 7 0 root sys 600 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcs0-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcs0' >> Creating DEV [ vcsa c 7 128 root sys 600 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcsa-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcsa' >> Creating DEV [ tty1 c 4 1 root tty 666 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/tty1-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/tty1' >> Creating DEV [ vcs1 c 7 1 root sys 600 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcs1-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcs1' >> Creating DEV [ vcsa1 c 7 129 root sys 600 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcsa1-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcsa1' >> Creating DEV [ tty2 c 4 2 root tty 666 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/tty2-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/tty2' >> Creating DEV [ vcs2 c 7 2 root sys 600 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcs2-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcs2' >> Creating DEV [ vcsa2 c 7 130 root sys 600 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcsa2-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcsa2' >> Creating DEV [ tty3 c 4 3 root tty 666 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/tty3-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/tty3' >> Creating DEV [ vcs3 c 7 3 root sys 600 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcs3-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcs3' >> Creating DEV [ vcsa3 c 7 131 root sys 600 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcsa3-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcsa3' >> Creating DEV [ tty4 c 4 4 root tty 666 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/tty4-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/tty4' >> Creating DEV [ vcs4 c 7 4 root sys 600 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcs4-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcs4' >> Creating DEV [ vcsa4 c 7 132 root sys 600 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcsa4-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/vcsa4' >> Creating DEV [ ttyS0 c 4 64 root tty 666 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/ttyS0-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/ttyS0' >> Creating DEV [ cua0 c 5 64 root uucp 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/cua0-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/cua0' >> Creating DEV [ ttyS1 c 4 65 root tty 666 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/ttyS1-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/ttyS1' >> Creating DEV [ cua1 c 5 65 root uucp 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/cua1-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/cua1' >> Creating DEV [ ttyS2 c 4 66 root tty 666 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/ttyS2-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/ttyS2' >> Creating DEV [ cua2 c 5 66 root uucp 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/cua2-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/cua2' >> Creating DEV [ ttyS3 c 4 67 root tty 666 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/ttyS3-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/ttyS3' >> Creating DEV [ cua3 c 5 67 root uucp 660 ] `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/cua3-' -> `/home/bigbinc/samb/oran/Orange/toolkit/mnt/dev/cua3' ...done [ Device Creation ] ===================================== Running grub section... ===================================== GNU GRUB version 0.94 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> device (fd0) /dev/loop0 grub> root (fd0) Filesystem type is ext2fs, using whole disk grub> setup (fd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... no Running "install /boot/grub/stage1 (fd0) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded Done. grub> quit Closing down system... Waiting until is everything is written... done.... ** ** [ Final Steps ] Enter the 'bochs' directory and make sure ** that the 'orange.img' binary file exists ** then run the bochs application on this image file **