From owner-cvs-all Tue Sep 12 11:41:59 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C779137B424; Tue, 12 Sep 2000 11:41:56 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA30384; Tue, 12 Sep 2000 11:41:56 -0700 (PDT) (envelope-from bde@FreeBSD.org) Message-Id: <200009121841.LAA30384@freefall.freebsd.org> From: Bruce Evans Date: Tue, 12 Sep 2000 11:41:56 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 trap.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bde 2000/09/12 11:41:56 PDT Modified files: sys/i386/i386 trap.c Log: Quick fix for hang on booting with -d. mtx_enter() was called before curproc was initialized. curproc == NULL was interpreted as matching the process holding Giant... Just skip mtx_enter() and mtx_exit() in trap() if (curproc == NULL && cold) (&& cold for safety). Revision Changes Path 1.154 +5 -3 src/sys/i386/i386/trap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message