Project

General

Profile

Actions

Bug #2038

closed

build problem

Added by eric.j.christeson over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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
  • Error code 2
Stop in /usr/src.
  • Error code 1

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

Actions #1

Updated by sepherosa over 13 years ago

On Wed, Mar 30, 2011 at 1:05 AM, ejc <> 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
  • Error code 2
Stop in /usr/src.
  • Error code 1

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

Actions #2

Updated by thomas.nikolajsen over 13 years ago

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
Actions #3

Updated by thomas.nikolajsen over 13 years ago

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
Actions #4

Updated by eric.j.christeson over 13 years ago

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) <> wrote:

Thomas Nikolajsen <> 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 <>
<http://bugs.dragonflybsd.org/issue2038>
_____________________________________________

Actions

Also available in: Atom PDF