From owner-FreeBSD-tech-jp@jp.freebsd.org  Wed Jun  7 17:19:03 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id RAA12008;
	Wed, 7 Jun 2000 17:19:03 +0900 (JST)
	(envelope-from owner-FreeBSD-tech-jp@jp.FreeBSD.org)
Received: from TYO202.gate.nec.co.jp (TYO202.gate.nec.co.jp [202.247.6.41])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id RAA12003
	for <FreeBSD-tech-jp@jp.freebsd.org>; Wed, 7 Jun 2000 17:19:02 +0900 (JST)
	(envelope-from sumitani@bd2.hnes.nec.co.jp)
Received: from mailsv2.nec.co.jp (mailsv2-le1 [192.168.1.91])
	by TYO202.gate.nec.co.jp (8.9.3/3.7W00052210) with ESMTP id RAA16092
	for <FreeBSD-tech-jp@jp.freebsd.org>; Wed, 7 Jun 2000 17:19:02 +0900 (JST)
Received: from msv1.hnes.nec.co.jp (msv1.hnes.nec.co.jp [133.208.29.138]) by mailsv2.nec.co.jp (8.9.3/3.7W-MAILSV2-NEC) with ESMTP
	id RAA01351 for <FreeBSD-tech-jp@jp.freebsd.org>; Wed, 7 Jun 2000 17:19:01 +0900 (JST)
Received: from bd2.hnes.nec.co.jp
	by msv1.hnes.nec.co.jp (8.8.8/3.6Wpre2-HNES) with ESMTP id RAA07776;
	Wed, 7 Jun 2000 17:18:59 +0900 (JST)
Received: from bd2.hnes.nec.co.jp ([133.208.184.223]) by bd2.hnes.nec.co.jp (8.8.8+2.7Wbeta7/3.4W3) with ESMTP id RAA22040 for <FreeBSD-tech-jp@jp.freebsd.org>; Wed, 7 Jun 2000 17:18:37 +0900 (JST)
Message-ID: <393E0572.42E69A00@bd2.hnes.nec.co.jp>
Date: Wed, 07 Jun 2000 17:18:58 +0900
From: "K.Sumitani" <sumitani@bd2.hnes.nec.co.jp>
X-Mailer: Mozilla 4.7 [ja] (WinNT; I)
X-Accept-Language: ja,en
MIME-Version: 1.0
To: FreeBSD-tech-jp@jp.freebsd.org
References: <393C7CC6.D04F45A2@bd2.hnes.nec.co.jp>
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-tech-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: FreeBSD-tech-jp 2806
Subject: [FreeBSD-tech-jp 2806] Re: SMP + APM panic on 4.0-RELEASE
Errors-To: owner-FreeBSD-tech-jp@jp.freebsd.org
Sender: owner-FreeBSD-tech-jp@jp.freebsd.org
X-Originator: sumitani@bd2.hnes.nec.co.jp

$B$9$_$?$K!w(BNEC$B%=%U%H%&%'%"KLN&$G$9!#(B

$B%F%9%H$"$j$,$H$&$4$6$$$^$9!#!d3'MM(B

send-pr$B$9$k$D$b$j$G$O$$$?$N$G$9$,!"$$$o$5$-$5$s$,"-$N$h$&$K%Q%C%A$rAw$C$F(B
$B2<$5$C$?$N$G2#Ce$7$?$$$H;W$$$^$9!#(B

> Subject: SMP + APM = panic -> fixed!
> Date: Wed, 07 Jun 2000 02:06:15 +0900
> From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
> To: freebsd-current@freebsd.org
> CC: freebsd-smp@freebsd.org, msmith@freebsd.org, jlemon@flugsvamp.com,
>     sumitani@bd2.hnes.nec.co.jp
> 
> Hi,
> 
> We're having this problem for long time (from the old 4.0-CURRENT
> days), but Mr. SUMITANI discovered a bug and fixed it.
> The problem was that we got worng gdt pointer for the current cpu,
> then panic...
> The followings is a patch to fix the problem.  Thanks a lot, SUMITANI-san!
> Please test this and I'll commit & MFC this if we have no problem with
> this fix.
> I love to have APM enabled SMP system with 4.1-RELEASE.

$B$?$@!"(B

> Subject: Re: SMP + APM = panic -> fixed!
> From: Boris Popov <bp@butya.kz>
> 
>         Yes, this fixes panic and even 'halt -p' works as expected. 'zzz'
> command works too, but machine never come back from the suspend mode
> (looks like interrupt controller programmed incorrectly or something
> like this).

$B$J$s$F8@$C$F$$$k$N$G!"(Bpower-off$B0J30$O$d$a$F$*$$$?$[$&$,NI$5$=$&$G$9!#(B

$B;d$O(Bpower-off$B$G$-$l$PK~B-$@$7!"(BAPM$B$G(Bresume$B$9$k$"$?$j$OJY6/$7$F$J$$$N$G(B
$B$3$NJU$G$d$a$F$*$-$^$9!#(B
