Re: panic: NULL softc for 0

From: Nate Lawson <nate_at_root.org>
Date: Fri, 21 Nov 2003 13:41:29 -0800 (PST)
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
_at__at_ -44,11 +44,14 _at__at_
 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
Received on Fri Nov 21 2003 - 12:41:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:30 UTC