Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: -current amd64 does not boot on huge machine (80 cores, RAM 1TB)



On Wed, Oct 05, 2011 at 11:56:09PM +0200, Nicolas Joly wrote:
> (and coretemp via userconf which paniced the machine)

Can you try the following patch? I re-enabled one read from a register via the
recently added rdmsr_safe(), but it could be that it still does not work
(although the code is now pretty much identical with FreeBSD and Linux).

- Jukka.
Index: coretemp.c
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/x86/coretemp.c,v
retrieving revision 1.27
diff -u -p -r1.27 coretemp.c
--- coretemp.c  24 Sep 2011 10:52:56 -0000      1.27
+++ coretemp.c  6 Oct 2011 04:28:07 -0000
@@ -294,6 +294,7 @@ coretemp_tjmax(device_t self)
         * but only consider the interval [70, 100] C as valid.
         * It is not fully known which CPU models have the MSR.
         */
+#if 0
        if (model == 0x0E && extmodel != 0) {
 
                if (rdmsr_safe(MSR_TEMPERATURE_TARGET, &msr) == EFAULT)
@@ -306,6 +307,7 @@ coretemp_tjmax(device_t self)
                        return;
                }
        }
+#endif
 }
 
 static void


Home | Main Index | Thread Index | Old Index