Re: Updated 2.4 TODO List

From: Keith Owens (
Date: Wed Oct 11 2000 - 19:01:25 EST

On Wed, 11 Oct 2000 18:10:40 -0400, wrote:
>Are you sure it was compiled with the correct CPU? If you configure the
>CPU incorrectly (686 when you only have a 586, etc.) the kernel *will*
>refuse to boot.
>Maybe we should have the kernel print the CPU information it was
>compiled with before it does anything else..... It'll make it easier to
>catch what may be a fairly common set of PEBCAK case....

Unfortunately any code like this
        if (a)
                b = 99;
generates conditional move (cmove) instructions on 686. In vsprintf.c
there are several of these constructs, in particular strnlen generates
it. So printk("%s", text) tends to fault as well. Some people have
argued that critical routines should always be compiled with -i386,
unfortunately that includes all of printk and all console handling
(both serial and screen), not really an option.

If anything is going to detect the mismatch and complain, it has to be
the boot loader, after uncompressing and before entering the kernel

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:20 EST