From owner-freebsd-current Fri Oct 20 13:12:14 2000 Delivered-To: freebsd-current@freebsd.org Received: from valcho.net (valcho.net [208.10.211.61]) by hub.freebsd.org (Postfix) with SMTP id 34F5237B479 for ; Fri, 20 Oct 2000 13:12:12 -0700 (PDT) Received: (qmail 42023 invoked by uid 1000); 20 Oct 2000 20:11:44 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 20 Oct 2000 20:11:44 -0000 Date: Fri, 20 Oct 2000 16:11:44 -0400 (EDT) From: Valentin Chopov To: Manfred Antar Cc: current@freebsd.org Subject: sys/i386/i386/machdep.c:cpu_idle() changes causes this Was: Re: kernel trap 12 with interrupts disabled In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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