2.4.26 doesn't boot on a 386 without "Unsynced TSC support"

From: Erik Mouw (erik_at_harddisk-recovery.com)
Date: 07/28/04

  • Next message: Karim Yaghmour: "Re: [patch] IRQ threads"
    Date:	Wed, 28 Jul 2004 17:47:49 +0200
    To: linux-kernel@vger.kernel.org
    
    

    Hi,

    I tried to boot 2.4.26 on my good old 386 board, but got a kernel
    panic:

      CPU: 386
      Kernel panic: Kernel compiled for Pentium+, requires TSC feature!

    The error message comes from the function check_config() in
    include/asm-i386/bugs.h (thanks to wli for figuring out faster than I
    did).

    I am sure I selected support for a 80386 CPU, so the error message
    looks wrong to me. CONFIG_M586TSC is not set, but CONFIG_X86_TSC is
    enabled by default. The only way to disable it, is to enable "Unsynced
    TSC support", (CONFIG_X86_TSC_DISABLE).

    The help for CONFIG_X86_TSC_DISABLE mentions to use it for "NUMA
    mult-mode boxes, laptops and other systems suffering from unsynced TSCs
    or TSC drift, which can cause gettimeofday to return non-monotonic
    values." A simple 80386 board doesn't belong to these, and I can't
    remember having problmes with gettimeofday() in the past (IIRC the
    board last ran linux-1.2 or 2.0).

    My question is: is this a code bug, or a documentation bug? Right now,
    I guess 2.4.26 will not run on anything < Pentium without
    CONFIG_X86_TSC_DISABLE enabled.

    Erik

    -- 
    +-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
    | Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Karim Yaghmour: "Re: [patch] IRQ threads"

    Relevant Pages

    • TSC cannot be used as a timesource -> SOLVED
      ... DMA, I always had it off for that disk; ... since its release, kernel 2.6.0 ... TSC cannot be used as a timesource. ... the system clock was running behind ca. 45 minutes! ...
      (Linux-Kernel)
    • Re: LTTng for 2.6.22.1-rt4 (timestamping)
      ... Every RT-kernel, has support ... hardware clock can provide. ... On X86 it will be TSC based, on ARM it can be based om ... I wonder how much time takes this timer read ...
      (Linux-Kernel)
    • Re: Hyper-Threading Vulnerability
      ... >> The apps that bother to use rdtsc vs. gettimeofday need a cheap high res ... >> provides a reliable time source at all, due to SMP and frequency scaling ... > On x86-64 the cost of gettimeofday is the same of the tsc, ... TSC is something only the kernel (or a ...
      (Linux-Kernel)
    • Re: [BUG] APM resume breakage from 2.6.18-rc1 clocksource changes
      ... changes in kernel 2.6.17-git11. ... also chose the TSC. ... sort out why it works w/ ACPI suspend, but not APM, or if the ... So it seems possible that the timer tick will be enabled before the ...
      (Linux-Kernel)
    • Re: measuring rather small (dozens microsecond) CPU times?
      ... Most likely the time spent by your computation would ... > the kernel to not save the TSC counter on process switches? ... Besides reading and reseting the TSC ... read preempt counter p1 ...
      (comp.os.linux.development.apps)