From owner-freebsd-smp Sat Aug 23 23:23:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA15399 for smp-outgoing; Sat, 23 Aug 1997 23:23:32 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA15393 for ; Sat, 23 Aug 1997 23:23:26 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.7/8.8.5) with ESMTP id AAA10435; Sun, 24 Aug 1997 00:23:20 -0600 (MDT) Message-Id: <199708240623.AAA10435@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: dave adkins cc: smp@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include param.h src/sys/i386/isa apic_ipl.s apic_vector.s icu_ipl.s ipl.s ipl_funcs.c src/sys/i386/i386 exception.s locore.s microtime.s simplelock.s In-reply-to: Your message of "Sun, 24 Aug 1997 00:08:06 CDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 24 Aug 1997 00:23:20 -0600 Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, > > - the possibility of deadlock exists, I am committing the code at this > > point so as to exercise it and detect any such cases B4 the > > "giant lock" is removed > ... > My Tyan S1563D 2x200 pentium system dies pretty early with these changes. > I disabled all the sections and reenabled them one by one. The system > continues to boot and run with all sections enabled except REAL_IFCPL. > With REAL_IFCPL enabled the system hangs right after the boot loader > messages and before the copyright and version is printed. this is what I was looking for. try modifying i386/isa/ipl_funcs.c: move all the GENSPL() targets: GENSPL(splbio, cpl |= bio_imask) GENSPL(splclock, cpl = HWI_MASK | SWI_MASK) GENSPL(splimp, cpl |= net_imask) GENSPL(splnet, cpl |= SWI_NET_MASK) GENSPL(splsoftclock, cpl = SWI_CLOCK_MASK) GENSPL(splsofttty, cpl |= SWI_TTY_MASK) GENSPL(splstatclock, cpl |= stat_imask) GENSPL(splvm, cpl |= net_imask | bio_imask) from b4 the GENSPL2() macro to just after it, ie with the 2 existing GENSPL2() targets: GENSPL2(splhigh, cpl = HWI_MASK | SWI_MASK) GENSPL2(spltty, cpl |= tty_imask) then change them all from GENSPL to GENSPL2. reenable REAL_IFCPL and see if that works. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD