Hi can I ask if you know any of the possible reasons for this to happen?

A zImage is compiled (Kernel 2.0.40) and copied to a floppy.

This used to work about a year ago. I have got a fresh kernel tarball and tried that to no avail.

I am guessing I have changed something in the environment or something that is pulled in when the kernel is being built.

I got a fresh tarball of the 2.0.20 kernel and this is the output of the creating the zImage:

Not sure how to debug.

make[2]: Entering directory `/usr/src/linux/arch/i386/lib'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -c -o checksum.o checksum.c
gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -traditional -c semaphore.S -o semaphore.o
rm -f lib.a
ar rcs lib.a checksum.o semaphore.o
make[2]: Leaving directory `/usr/src/linux/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'
ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.o init/main.o init/version.o \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o net/network.a \
fs/filesystems.a \
drivers/block/block.a drivers/char/char.a drivers/net/net.a \
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a -o vmlinux
nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( a \)' | sort > System.map
make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
gcc -D__KERNEL__ -I/usr/src/linux/include -E -D__ELF__ -traditional -DSVGA_MODE=NORMAL_VGA bootsect.S -o bootsect.s
as86 -0 -a -o bootsect.o bootsect.s
ld86 -0 -s -o bootsect bootsect.o
gcc -D__KERNEL__ -I/usr/src/linux/include -E -D__ELF__ -traditional -DSVGA_MODE=NORMAL_VGA setup.S -o setup.s
as86 -0 -a -o setup.o setup.s
ld86 -0 -s -o setup setup.o
make[2]: Entering directory `/usr/src/linux/arch/i386/boot/compressed'
tmppiggy=/tmp/$$piggy; \
rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk; \
if hash encaps 2> /dev/null; then \
objdump -k -q -o 0x100000 /usr/src/linux/vmlinux > $tmppiggy; \
else \
objcopy -O binary -R .note -R .comment -R .stab -R .stabstr /usr/src/linux/vmlinux $tmppiggy; \
fi; \
gzip -f -9 < $tmppiggy > $tmppiggy.gz; \
if hash encaps 2> /dev/null; then \
encaps --target elf32-i386 piggy.o $tmppiggy.gz input_data input_len; \
else \
echo "SECTIONS { .data : { input_len = .; LONG(input_data_end - input_data) input_data = .; *(.data) input_data_end = .; }}" > $tmppiggy.lnk; \
ld -m elf_i386 -m elf_i386 -r -o piggy.o -b binary $tmppiggy.gz -b elf32-i386 -T $tmppiggy.lnk; \
fi; \
rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk
gcc -D__KERNEL__ -I/usr/src/linux/include -traditional -c head.S
gcc -D__KERNEL__ -I/usr/src/linux/include -O2 -DSTDC_HEADERS -c misc.c -o misc.o
ld -m elf_i386 -Ttext 0x1000 -e startup_32 -o vmlinux head.o misc.o piggy.o
make[2]: Leaving directory `/usr/src/linux/arch/i386/boot/compressed'
gcc -I/usr/src/linux/include -D__BFD__ -o tools/build tools/build.c -I/usr/src/linux/include
if hash encaps 2> /dev/null; then \
objdump -k -q -o 0x1000 compressed/vmlinux > compressed/vmlinux.out; \
else \
objcopy -O binary -R .note -R .comment -R .stab -R .stabstr compressed/vmlinux compressed/vmlinux.out; \
tools/build bootsect setup compressed/vmlinux.out CURRENT > zImage