From owner-freebsd-current@FreeBSD.ORG Fri Nov 21 13:41:28 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD06316A4ED for ; Fri, 21 Nov 2003 13:41:28 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 2FFB243FBD for ; Fri, 21 Nov 2003 13:41:28 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 76079 invoked by uid 1000); 21 Nov 2003 21:41:29 -0000 Date: Fri, 21 Nov 2003 13:41:29 -0800 (PST) From: Nate Lawson To: Alex Deiter Message-ID: <20031121134017.P75993@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: panic: NULL softc for 0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 21:41:28 -0000 Sorry to reply to myself. Are you loading acpi as a module and have an SMP box? If so, please try this patch, recompile the module, and go again: retrieving revision 1.32 diff -u -r1.32 Makefile --- Makefile 15 Nov 2003 19:26:06 -0000 1.32 +++ Makefile 21 Nov 2003 21:37:41 -0000 @@ -44,11 +44,14 @@ SRCS+= OsdStream.c OsdSynch.c OsdTable.c OsdEnvironment.c SRCS+= opt_acpi.h opt_bus.h opt_ddb.h SRCS+= device_if.h bus_if.h pci_if.h pcib_if.h isa_if.h +.if ACPI_MAX_THREADS +CFLAGS+=-DACPI_MAX_THREADS=${ACPI_MAX_THREADS} +.endif .if ACPI_NO_SEMAPHORES CFLAGS+=-DACPI_NO_SEMAPHORES .endif -.if ACPI_MAX_THREADS -CFLAGS+=-DACPI_MAX_THREADS=${ACPI_MAX_THREADS} +.if SMP +CFLAGS+=-DSMP .endif # Debugging support