Red Hat Bugzilla – Bug 161527
/proc/cpuinfo reports cache size is "0"
Last modified: 2007-11-30 17:07:07 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
H/W: Dell Precision Workstation 370n, Pentium 4, 3.80GHz, Intel EM64T1M L2 Cache, 800FSB
2GB 533Mhz DDR2 ECC SDRAM (4X512)
Contents of file /proc/cpuinfo indicates cache size equal 0 :
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) 4 CPU 3.60GHz
stepping : 3
cpu MHz : 3591.124
cache size : 0 KB
physical id : 0
siblings : 1
runqueue : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 3
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm lm
bogomips : 7156.53
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. cat /proc/cpuinfo
Please provide the kernel version that you are using. A fix went into U5
(for Intel Irwindale processors) to add table entries for cache descriptor
codes 0x7D and 0x7F. If you happen to know the cache descriptor code for
the processor(s) in your system, that would also be helpful. (The related
code is in init_intel() in arch/x86_64/kernel/setup.c.)
Thanks in advance.
If that patch, doesn't solve the problem. The output of this utiltiy:
Would be helpful in determining what we need to change here.
heyburn:/proc #11 cat /proc/version
Linux version 2.4.21-4.ELsmp (firstname.lastname@example.org) (gcc version
3.2.3 20030502 (Red Hat Linux 3.2.3-20)) #1 SMP Fri Oct 3 17:52:56 EDT 2003
heyburn:/proc #12 uname -m
Lines that match 'cache' in:
static void __init display_cacheinfo(struct cpuinfo_x86 *c)
c->x86_cache_size = ecx_2 >> 16
(not sure if I am providing you with the correct info. Pls. advise
Terry, I can't believe you're using a kernel released more than a year and
a half ago! Please upgrade to a recent kernel and post your results. I
believe the cache info stuff was added in U2 (and we've already released
U5 plus an E6 security erratum).
The latest released kernel version is 2.4.21-32.0.1.EL. The associated RHN
advisory is RHSA-2005:472.
Yup, that did it.
Linux heyburn 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17 17:52:23 EDT 2005 i686 i686
[tjh@heyburn tjh]# grep cache /proc/cpuinfo
cache size : 2048 KB
My apologies Ernie. I'm a bit of a novice at Linux (for the short time being).
My background is 20yrs of UNIX (Solaris, SunOS, HPUX, BSD) so I am stumbling a
bit to get up to speed here. I have old installations cd set apparently so will
have to check about updates and the like each time I load one.
Many thanks for your help, guidance, & patience. I believe we can close this
No problem, Terry. One of the key values of Red Hat's service is RHN
(Red Hat Network), which allows you to automatically upgrade your systems.
I'll close this BZ appropriately.
A fix for this problem was committed to the RHEL3 U5 patch pool
on 3-Feb-2005 (in kernel version 2.4.21-27.11.EL).
This is really a dup of bug 145775, but I'm not closing this as a
DUP because that other one has restricted access.
Following is the Errata System message that accompanied the release
of U5 (although the latest RHEL3 kernel advisory is now RHSA-2005:472):
"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.