lkml.org 
[lkml]   [2002]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: CPU detection broken in 2.5.27?

    On Sun, 21 Jul 2002, Dave Jones wrote:

    > On Sun, Jul 21, 2002 at 06:07:26PM +0200, Markus Pfeiffer wrote:
    >
    > > I just noticed that my /proc/cpuinfo states wrong or incomplete
    > > information about my processor. My PIII-1000M Processor is reported as
    > > 00/0B (Stepping?)
    >
    > Yep, I told Patrick about this last week sometime. The problem is
    > that only later Intels (from P4 onwards iirc) have the
    > name string cpuid function. Without which we need a table to
    > do the family/model/stepping translation to name strings.
    >
    > It's not that much work (and most of it already exists in the
    > kernels before the per-cpu split up).

    Sorry about the delay in fixing this. The fix is really simple - just
    re-add the ID tables for PIIIs. I also added one for P4s, since mine
    wasn't getting automatically named. Though, I don't know what the code
    name for the model is, so it just shows up as "Pentium 4 (Unknown)"...

    -pat

    ===== arch/i386/kernel/cpu/intel.c 1.3 vs edited =====
    --- 1.3/arch/i386/kernel/cpu/intel.c Wed Jul 10 03:46:31 2002
    +++ edited/arch/i386/kernel/cpu/intel.c Tue Jul 23 12:04:48 2002
    @@ -350,6 +350,24 @@
    [8] "Mobile Pentium MMX"
    }
    },
    + { X86_VENDOR_INTEL, 6,
    + {
    + [0] "Pentium Pro A-step",
    + [1] "Pentium Pro",
    + [3] "Pentium II (Klamath)",
    + [5] "Pentium II (Deschutes)",
    + [6] "Mobile Pentium II",
    + [7] "Pentium III (Katmai)",
    + [8] "Pentium III (Coppermine)",
    + [10] "Pentium III (Cascades)",
    + [11] "Pentium III (Tualatin)",
    + }
    + },
    + { X86_VENDOR_INTEL, 15,
    + {
    + [1] "Pentium 4 (Unknown)",
    + }
    + },
    },
    c_init: init_intel,
    c_identify: generic_identify,
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:27    [W:0.023 / U:59.344 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site