Bug 147674
| Summary: | physical_id field of /proc/cpuinfo contains arbitrary values that change | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 2.1 | Reporter: | Ward Fenton <ward> |
| Component: | kernel | Assignee: | Jim Paradis <jparadis> |
| Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.1 | CC: | bfox, mcclung, michael, nhorman, peterm, riel, tao |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-04-28 15:05:14 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ward Fenton
2005-02-10 14:39:45 UTC
This bug, in 2.1AS as of 2.4.9-e.57, is the same bug reported in #81396. In introducing hyperthreaded cpu support to the kernel, the code in arch/i386/kernel/setup.c initializes phys_proc_id[] only if the cpu is hyperthreaded (num_smp_siblings > 1), whereas the code that then prints phys_proc_id[] into /proc/cpuinfo will run for all CONFIG_SMP kernels. Thus an SMP kernel on a machine with hyperthreading disabled (or unavailable) will end up printing out the uninitialized values from phys_proc_id[] to /proc/cpuinfo. *** Bug 147762 has been marked as a duplicate of this bug. *** Please explain the following encountered with 2.4.9-e.59enterprise using hyperthreading. # grep -E "processor|physical id" /proc/cpuinfo processor : 0 physical id : 661944436 processor : 1 physical id : 538970668 processor : 2 physical id : 538976288 processor : 3 physical id : 538976288 processor : 4 physical id : 538976288 processor : 5 physical id : 538976288 processor : 6 physical id : 538976288 processor : 7 physical id : 538976288 Just so its written down, I believe that if they disable HT in the BIOS, that should prevent this problem from occuring until such time as it can be fixed. The fix has been submitted today for inclusion in the next update. A fix for this problem has just been committed to the RHEL2.1 U7 patch pool this evening (in kernel version 2.4.9-61). An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2005-283.html |