From owner-freebsd-bugs Thu Nov 14 2:50: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF3ED37B401 for ; Thu, 14 Nov 2002 02:50:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9487943E3B for ; Thu, 14 Nov 2002 02:50:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAEAo3x3064545 for ; Thu, 14 Nov 2002 02:50:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAEAo3Jt064544; Thu, 14 Nov 2002 02:50:03 -0800 (PST) Date: Thu, 14 Nov 2002 02:50:03 -0800 (PST) Message-Id: <200211141050.gAEAo3Jt064544@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Ulrich Roemer" Subject: Re: kern/45198: start of booting, fatal trap 12 Reply-To: "Ulrich Roemer" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/45198; it has been noted by GNATS. From: "Ulrich Roemer" To: , "Ulrich Roemer" Cc: Subject: Re: kern/45198: start of booting, fatal trap 12 Date: Thu, 14 Nov 2002 11:44:46 +0100 This is a multi-part message in MIME format. ------=_NextPart_000_0103_01C28BD3.3AD0D4C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I made the following solution. =20 in the source clock.c in sys/i386/isa/clock.c there is a new function static void rtc_restore(void) { /* Restore all of the RTC's "status" (actually, control) = registers. */ writertc(RTC_STATUSB, RTCSB_24HR); writertc(RTC_STATUSA, rtc_statusa); writertc(RTC_STATUSB, rtc_statusb); } oid timer_restore(void) { i8254_restore(); /* restore timer_freq and hz */ rtc_restore(); /* reenable RTC interrupts */ } when I get the version before 2 nov 2002 of clock.c and uncomand the apm in the configuration the new kernel works fine. this is my solution in the moment. The maschine is a intel scb2 with 2 Intel PIII with large cache = version. Bye=20 Ulrich ------=_NextPart_000_0103_01C28BD3.3AD0D4C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
  I made the following = solution.
 
  in the source clock.c in=20 sys/i386/isa/clock.c there is a new function
 
 static=20 void
rtc_restore(void)
{
 
        /* = Restore all of=20 the RTC's "status" (actually, control) registers.=20 */
        writertc(RTC_STATUSB,=20 RTCSB_24HR);
        = writertc(RTC_STATUSA,=20 rtc_statusa);
       =20 writertc(RTC_STATUSB,=20 rtc_statusb);
}
oid
timer_restore(void)
{
 
       =20 i8254_restore();         &nb= sp;     =20 /* restore timer_freq and hz = */
       =20 rtc_restore();          = ;       =20 /* reenable RTC interrupts */
}
 
when I get the version before 2 nov 2002 of=20 clock.c
and uncomand the  apm in the=20 configuration
 the new kernel works = fine.
 
this is my solution in the = moment.
 
The maschine is a  intel = scb2 with 2=20 Intel PIII with large cache version.
 
Bye
Ulrich
 
 
 
------=_NextPart_000_0103_01C28BD3.3AD0D4C0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message