Hi,
Can anyone who has built a k7sem recently verify that the 'FIXED MTRR set to UC' code is not fouling up the K7sem?
The problem is confirmed, and it is related to enabling ecc in msr. If you comment the code, you should be fine. I guess we need better mechanism to enable or disable in config file.
--- freebios/src/cpu/k7/cpufixup.c.bak 2003-04-09 08:01:08.000000000 +0800 +++ freebios/src/cpu/k7/cpufixup.c 2003-06-24 12:41:43.000000000 +0800 @@ -51,7 +51,7 @@ rdmsr(SYSCFG_MSR, lo, hi); printk_spew("SYSCFG was 0x%x:0x%x\n", hi, lo); lo |= SYSCFG_MSR_MtrrVarDramEn; - lo |= SYSCFG_MSR_SysEccEn; +// lo |= SYSCFG_MSR_SysEccEn; wrmsr(SYSCFG_MSR, lo, hi); rdmsr(SYSCFG_MSR, lo, hi); printk_spew("SYSCFG IS NOW 0x%x:0x%x\n", hi, lo);
-Andrew