From owner-FreeBSD-users-jp@jp.freebsd.org  Wed Jan 26 16:25:35 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id QAA13888;
	Wed, 26 Jan 2000 16:25:35 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from zeus.c.oka-pu.ac.jp (zeus.c.oka-pu.ac.jp [163.225.213.7])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id QAA13878
	for <FreeBSD-users-jp@jp.freebsd.org>; Wed, 26 Jan 2000 16:25:32 +0900 (JST)
	(envelope-from watanabe@c.oka-pu.ac.jp)
Received: from localhost (uranus [163.225.213.8])
	by zeus.c.oka-pu.ac.jp (8.9.3/3.7W) with ESMTP id QAA21350
	for <FreeBSD-users-jp@jp.freebsd.org>; Wed, 26 Jan 2000 16:25:23 +0900 (JST)
To: FreeBSD-users-jp@jp.freebsd.org
In-Reply-To: Your message of "Wed, 26 Jan 2000 01:41:38 +0900"
	<200001251641.BAA19909@tasogare.imasy.or.jp>
References: <200001251641.BAA19909@tasogare.imasy.or.jp>
X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <20000126162522Z.watanabe@c.oka-pu.ac.jp>
Date: Wed, 26 Jan 2000 16:25:22 +0900
From: Hirokazu Watanabe <watanabe@c.oka-pu.ac.jp>
X-Dispatcher: imput version 980905(IM100)
Lines: 65
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: FreeBSD-users-jp 49261
Subject: [FreeBSD-users-jp 49261] Re: [Q] /dev/pcaudio was brokon now ?
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: watanabe@c.oka-pu.ac.jp

$BEOJU!w2,;38)N)Bg$G$9!%(B

From: Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
Message-ID: <200001251641.BAA19909@tasogare.imasy.or.jp>

>> $B$H$j$"$($:!$(Bapm $B$rL58z$K(B(disable $B$G$O$J$/40A4$K:o=|(B)$B$9$k$H(B
>> 
>> Timecounter "i8254"  frequency 1193182 Hz
>> Timecounter "TSC"  frequency 400911417 Hz
>> 
>> $B$H$J$k$N$KBP$7$F!$(B apm $B$rF~$l$k$H(B
>> 
>> Timecounter "i8254"  frequency 1193182 Hz
>> 
>> $B$H!$(B"TSC" $B$,>C$($^$9!%$J$s$H$J$/$3$NJU$j$,860x$C$]$$$N$G$9$,!$;d$K$O$3(B
>> $B$l0J>e$OJ,$+$j$^$;$s!%$I$J$?$+%U%)%m!<$7$FD:$1$k$H=u$+$k$N$G$9$,!D!%(B
> 
> `Device busy' $B$J$N$G(B /sys/sys/errno.h $B$r8+$k$H(B
$B!D(B
> $B$H$$$&$o$1$G!"8=>u$G$O(B timecounter $B$H$7$F(B i8254 $B$7$+B8:_$7$J$$>l9g$O(B
> Device busy $B$H$J$k$h$&$G$9!#(B

$B$9$_$^$;$s!$<B$O$=$3$^$G9T$C$F(B dmesg $B$NJQ2=$K5$IU$$$?$s$G$9!D!%(B

$B$=$N8e!$%W%j%s%H%"%&%H$7$F$*$$$?(B clock.c $B$rD/$a$F$$$?$i!$FMA3860x$,H=(B
$BL@$7$^$7$?!%(B

clock.c: In function 'startrtclock':
#if !defined(SMP)
	/*
	 * We can not use the TSC in SMP mode, until we figure out a
	 * cheap (impossible), reliable and precise (yeah right!)  way
	 * to synchronize the TSCs of all the CPUs.
	 * Curse Intel for leaving the counter out of the I/O APIC.
	 */

#if NAPM > 0
	/*
	 * We can not use the TSC if we found an APM bios.  Too many
	 * of them lie about their ability&intention to fiddle the CPU
	 * clock for us to rely on this.  Precise timekeeping on an
	 * APM'ed machine is at best a fools pursuit anyway, since 
	 * any and all of the time spent in various SMM code can't 
	 * be reliably accounted for.  Reading the RTC is your only
	 * source of reliable time info.  The i8254 looses too of course
	 * but we need to have some kind of time...
	 */
	if (apm_version != APMINI_CANTFIND)
		return;
#endif /* NAPM > 0 */
TSC$B=i4|2==hM}(B?
#endif /* !defined(SMP) */

$B!&!&!&$H$$$&$3$H$G!$(Bapm $B$H(B SMP $B$G$OL5M}$_$?$$$G$9$M!D!%(B

$B<j85$N%^%7%s$GL5M}$d$j(B TSC $B$N=i4|2=$r9T$C$F$_$?$H$3$m!$@5>o$=$&$KF0:n(B
$B$7$F$*$j$^$9!%$J$*!$(B apm_version=0 $B$H$J$C$F$$$^$7$?!%(BMSI-6120N $B$G$9!%(B
dmesg $B$G$O(B
apm: found APM BIOS version 1.2
$B$H$J$C$F$$$^$9!%(B

$B!t$G$b(B SMP $B$G;H$($J$+$C$?$i0UL#$J$$$J!D!%(B
----- ----- ----- ----- -----
$B2,;38)N)Bg3XBg3X1!(B $B>pJs7O9)3X8&5f2J(B $BEE;R>pJsDL?.9)3X@l96(B
$B>pJs?tM}3X8&5f<<(B $BEOJU(B $B9@OB(B(6110020)<watanabe@c.oka-pu.ac.jp>
