Bug #2038
closed
Added by eric.j.christeson over 13 years ago.
Updated over 13 years ago.
Description
I've had a broken kernel build for a couple of days.
objcopy -S -O binary acpi_wakecode.o acpi_wakecode.bin
sh /usr/src/sys/platform/pc32/acpica5/genwakecode.sh > acpi_wakecode.h
Warning: Object directory not changed from original /usr/obj/usr/src/sys/DYN208
make: don't know how to make /usr/src/sys/dev/acpica5/Osd/OsdInterface.c. Stop
Stop in /usr/src.
Stop in /usr/src.
I found this commit:
http://acm.jhu.edu/git/dragonfly.git/commit/?id=c2fc6c5cec697fa92da2d8f5f4e1b839eb62dc54
but it looks like one reference was missed:
diff --git a/sys/conf/files b/sys/conf/files
index 3e188ea..352e955 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@ -2032,7 +2032,6
@ ${OSACPI_MI_DIR}/acpi_timer.c optional acpi
${OSACPI_MI_DIR}/Osd/OsdCache.c optional acpi
${OSACPI_MI_DIR}/Osd/OsdDebug.c optional acpi
${OSACPI_MI_DIR}/Osd/OsdHardware.c optional acpi
-${OSACPI_MI_DIR}/Osd/OsdInterface.c optional acpi
${OSACPI_MI_DIR}/Osd/OsdInterrupt.c optional acpi
${OSACPI_MI_DIR}/Osd/OsdMemory.c optional acpi
${OSACPI_MI_DIR}/Osd/OsdSchedule.c optional acpi
Thanks,
Eric
On Wed, Mar 30, 2011 at 1:05 AM, ejc <eric.j.christeson@gmail.com> wrote:
I've had a broken kernel build for a couple of days.
objcopy -S -O binary acpi_wakecode.o acpi_wakecode.bin
sh /usr/src/sys/platform/pc32/acpica5/genwakecode.sh > acpi_wakecode.h
Warning: Object directory not changed from original /usr/obj/usr/src/sys/DYN208
make: don't know how to make /usr/src/sys/dev/acpica5/Osd/OsdInterface.c. Stop
Stop in /usr/src.
Stop in /usr/src.
I found this commit:
http://acm.jhu.edu/git/dragonfly.git/commit/?id=c2fc6c5cec697fa92da2d8f5f4e1b839eb62dc54
but it looks like one reference was missed:
This file is removed, since it is no longer needed.
I suggest you to do a complete buildkernel instead of quickkernel.
Best Regards,
sephe
Please try lastest master, if you have 'device acpi' in your kernel config.
A fix, which also fixes LINT build, was committed.
It is suggested to not include ACPI in kernel config,
but load from module at boot,
this is described in LINT (but not in acpi.4; will fix).
-thomas
Please respond if the issue is solved,
so we can resolve or close issue;
if no response I will close in a few days.
(btw: acpi.4 man page does describe that ACPI should
not be compiled into kernel, but loaded as module;
I was wrong on the point that it was missing)
-thomas
It's working fine now. I updated to HEAD, removed acpi from my kernel
config, and all is well.
Thanks,
Eric
On Sun, Apr 3, 2011 at 4:08 PM, Thomas Nikolajsen (via DragonFly issue
tracker) <bugs@crater.dragonflybsd.org> wrote:
Thomas Nikolajsen <thomas.nikolajsen@mail.dk> added the comment:
Please respond if the issue is solved,
so we can resolve or close issue;
if no response I will close in a few days.
(btw: acpi.4 man page does describe that ACPI should
not be compiled into kernel, but loaded as module;
I was wrong on the point that it was missing)
-thomas
_____________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue2038>
_____________________________________________
Also available in: Atom
PDF