Date: Thu, 14 Nov 2002 02:50:03 -0800 (PST) From: "Ulrich Roemer" <roemer@wetteronline.de> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/45198: start of booting, fatal trap 12 Message-ID: <200211141050.gAEAo3Jt064544@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/45198; it has been noted by GNATS. From: "Ulrich Roemer" <roemer@wetteronline.de> To: <freebsd-gnats-submit@freebsd.org>, "Ulrich Roemer" <roemer@wetteronline.de> 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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> I made the following = solution.</FONT></DIV> <DIV><FONT face=3DArial size=3D2> </FONT></DIV> <DIV><FONT face=3DArial size=3D2> in the source clock.c in=20 sys/i386/isa/clock.c there is a new function</FONT></DIV> <DIV><FONT face=3DArial size=3D2><FONT face=3DArial = size=3D2></FONT></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" = size=3D3> <FONT=20 face=3DArial size=3D2>static=20 void<BR>rtc_restore(void)<BR>{</FONT></FONT></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" = size=3D3><FONT=20 face=3DArial size=3D2> /* = Restore all of=20 the RTC's "status" (actually, control) registers.=20 */<BR> writertc(RTC_STATUSB,=20 RTCSB_24HR);<BR> = writertc(RTC_STATUSA,=20 rtc_statusa);<BR> =20 writertc(RTC_STATUSB,=20 rtc_statusb);<BR>}<BR>oid<BR>timer_restore(void)<BR>{</FONT></FONT></FONT= ></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" = size=3D3><FONT=20 face=3DArial size=3D2> =20 i8254_restore(); &nb= sp; =20 /* restore timer_freq and hz = */<BR> =20 rtc_restore();  = ; =20 /* reenable RTC interrupts */<BR>}<BR></FONT></FONT></FONT></DIV> <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" = size=3D3><FONT=20 face=3DArial size=3D2></FONT></FONT></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" = size=3D3><FONT=20 face=3DArial size=3D2>when I get the version before 2 nov 2002 of=20 clock.c</FONT></FONT></FONT></DIV> <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" = size=3D3><FONT=20 face=3DArial size=3D2>and uncomand the apm in the=20 configuration</FONT></FONT></FONT></DIV> <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" = size=3D3><FONT=20 face=3DArial size=3D2> the new kernel works = fine.</FONT></FONT></FONT></DIV> <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" = size=3D3><FONT=20 face=3DArial size=3D2></FONT></FONT></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" = size=3D3><FONT=20 face=3DArial size=3D2>this is my solution in the = moment.</FONT></FONT></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial><FONT size=3D2>The maschine is a intel = scb2 with 2=20 Intel PIII with large cache version.</FONT></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Bye </FONT></DIV> <DIV><FONT face=3DArial size=3D2>Ulrich</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial><FONT=20 size=3D2><FONT> </DIV></FONT></FONT></FONT></BODY></HTML> ------=_NextPart_000_0103_01C28BD3.3AD0D4C0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211141050.gAEAo3Jt064544>