Date: Fri, 20 Oct 2000 16:11:44 -0400 (EDT) From: Valentin Chopov <valentin@valcho.net> To: Manfred Antar <null@pozo.com> Cc: current@freebsd.org Subject: sys/i386/i386/machdep.c:cpu_idle() changes causes this Was: Re: kernel trap 12 with interrupts disabled Message-ID: <Pine.BSF.4.21.0010201603470.33857-100000@valcho.net> In-Reply-To: <Pine.BSF.4.21.0010190844080.33857-100000@valcho.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I found that if I remove #ifndef SMP /#endif in:
sys/i386/i386/machdep.c:
void
cpu_idle(void)
{
#ifndef SMP
if (cpu_idle_hlt) {
disable_intr();
if (procrunnable())
enable_intr();
else {
enable_intr();
__asm __volatile("hlt");
}
}
#endif
}
it works again.
I'm running SMP kernel on Dual PIII machine.
Regards,
Val
On Thu, 19 Oct 2000, Valentin Chopov wrote:
> I got the same with addition that the machine hangs:(
>
> Val
>
> On Wed, 18 Oct 2000, Manfred Antar wrote:
>
> > With current kernel I'm getting alot of :
> > kernel trap 12 with interrupts disabled
> > kernel trap 12 with interrupts disabled
> > kernel trap 12 with interrupts disabled
> > kernel trap 12 with interrupts disabled
> > kernel trap 12 with interrupts disabled
> >
> > Kernel from yesterday did not do this.
> > Everything seems to work fine although I think it hung on a "shutdown -r now"
> > I don't have a monitor hooked up to the machine right now, so I have no further info.
> > I'm in process of hooking up a serial console.
> > Manfred
> > ==================================
> > || null@pozo.com ||
> > || Ph. (415) 681-6235 ||
> > ==================================
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-current" in the body of the message
> >
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010201603470.33857-100000>
