Re: [2.6] Missing L2-cache after warm boot

From: Randy.Dunlap
Date: Mon Dec 01 2003 - 14:42:39 EST


On Mon, 01 Dec 2003 15:04:22 +0100 Jochen Hein <jochen@xxxxxxxxxx> wrote:

|
| I'm running 2.6.0-test11 on an older Thinkpad 390E,
| When booting into 2.6.0-test11 after running Windows2000 I get:
|
...
| Dec 1 14:51:56 gswi1164 kernel: Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
| Dec 1 14:51:56 gswi1164 kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
| Dec 1 14:51:56 gswi1164 kernel: CPU: L1 I cache: 16K, L1 D cache: 16K
...
|
| When booting cold the boot messages are:
|
...
| Dec 1 14:54:57 gswi1164 kernel: Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
| Dec 1 14:54:57 gswi1164 kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
| Dec 1 14:54:57 gswi1164 kernel: CPU: L1 I cache: 16K, L1 D cache: 16K
| Dec 1 14:54:57 gswi1164 kernel: CPU: L2 cache: 256K

Can you apply this patch so that we can see what cache/TLB descriptors
are found during the boot?

--
~Randy


description: dump cache/TLB descriptors while trying to identify them
product_versions: Linux 2.6.0-test11

diffstat:=
arch/i386/kernel/cpu/intel.c | 1 +
1 files changed, 1 insertion(+)

diff -Naurp ./arch/i386/kernel/cpu/intel.c~caches ./arch/i386/kernel/cpu/intel.c
--- ./arch/i386/kernel/cpu/intel.c~caches 2003-11-26 12:43:27.000000000 -0800
+++ ./arch/i386/kernel/cpu/intel.c 2003-12-01 11:04:46.000000000 -0800
@@ -187,6 +187,7 @@ static void __init init_intel(struct cpu
unsigned char des = dp[j];
unsigned char k = 0;

+ printk("CPU: searching for des = 0x%x\n", des);
/* look up this descriptor in the table */
while (cache_table[k].descriptor != 0)
{

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/