Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2000 12:17:08 +0200
From:      sthaug@nethelp.no
To:        j.saito@wanadoo.fr
Cc:        freebsd-smp@FreeBSD.ORG
Subject:   Re: unusually high temperature with smp kernel on ABit BP6
Message-ID:  <54234.967285028@verdi.nethelp.no>
In-Reply-To: Your message of "Sat, 26 Aug 2000 11:50:01 %2B0200 (CEST)"
References:  <Pine.LNX.4.21.0008261056290.325-100000@kintaro>

next in thread | previous in thread | raw e-mail | index | archive | help
> The motherboard temperature keeps getting higher (easily reaching over
> 50°C in some minutes) after booting when a smp kernel is loaded, even if
> the machine is almost 100% idle. With an up kernel, the temperature gets
> down to under 40°C some minutes after the booting.

This was discussed extensively a couple of months ago, and as far as I
remember no completely satisfactory solution was identified. The problem
is that the UP code halts the CPU when it is idle, while SMP code does
not.

I (and several others) have been running with the following simple patch
to /sys/i386/i386/swtch.s. It seems to do the job here.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no
----------------------------------------------------------------------
*** swtch.s.orig	Sun Jan  2 22:36:22 2000
--- swtch.s	Sun May 14 12:19:00 2000
***************
*** 251,259 ****
  
  ENTRY(default_halt)
  	sti
! #ifndef SMP
  	hlt					/* XXX:	 until a wakeup IPI */
! #endif
  	ret
  
  /*
--- 251,259 ----
  
  ENTRY(default_halt)
  	sti
! /* #ifndef SMP */
  	hlt					/* XXX:	 until a wakeup IPI */
! /* #endif */
  	ret
  
  /*


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54234.967285028>