I have to compile a Linux kernel (Debian 2.4.27 Sarge "testing" of Oct 15 2004) for a 486 target. As there the compilation takes about 3 hours, I have connected its Linux hard drive to a Pentium III PC and boot Linux on this computer in order to do the compilation there.
My problem is the following: the .config file contains CONFIG_M486=y and I see from the build messages that all gcc calls run with "-march=i486". Also the newly created kernel boots from the Pentium III PC. However when I then connect the hard disk with the newly created/installed kernel to the 486 target I get a kernel message saying "Kernel panic: Kernel compiled for Pentium+, requires TSC feature!".
This is what I am doing:
Then copy the newly created kernel to /boot and change /boot/grub/menu.lst appropriately.
What's going wrong ?