Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2003 13:41:29 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Alex Deiter <tiamat@komi.mts.ru>
Cc:        current@freebsd.org
Subject:   Re: panic: NULL softc for 0
Message-ID:  <20031121134017.P75993@root.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031121134017.P75993>