System Administration
Showing results for 
Search instead for 
Did you mean: 

ACPI error on redHat ES 5.3 (kernel

Jens Skoglund
Occasional Visitor

ACPI error on redHat ES 5.3 (kernel


When I try to build ACPI for HP SIM, I get the following error:

# make install
make -C /lib/modules/ SUBDIRS=/opt/hp/hpmgmtbase/src/ACPI/dev_acpi clean
make[1]: Entering directory `/mail/src/linux-'
CLEAN /opt/hp/hpmgmtbase/src/ACPI/dev_acpi/.tmp_versions
make[1]: Leaving directory `/mail/src/linux-'
rm -f hpacpitree hpacpiexec
return current;
patching file fixaclinux.h
Hunk #1 FAILED at 72.
Hunk #2 succeeded at 115 (offset 10 lines).
1 out of 2 hunks FAILED -- saving rejects to file fixaclinux.h.rej
make -C /lib/modules/ SUBDIRS=/opt/hp/hpmgmtbase/src/ACPI/dev_acpi modules
make[1]: Entering directory `/mail/src/linux-'
CC [M] /opt/hp/hpmgmtbase/src/ACPI/dev_acpi/dev_acpi.o
/opt/hp/hpmgmtbase/src/ACPI/dev_acpi/dev_acpi.c: In function âdev_acpi_ioctlâ:
/opt/hp/hpmgmtbase/src/ACPI/dev_acpi/dev_acpi.c:1213: error: implicit declaration of function âacpi_bus_generate_eventâ
/opt/hp/hpmgmtbase/src/ACPI/dev_acpi/dev_acpi.c: In function âdev_acpi_initâ:
/opt/hp/hpmgmtbase/src/ACPI/dev_acpi/dev_acpi.c:1890: error: implicit declaration of function âclass_device_createâ
/opt/hp/hpmgmtbase/src/ACPI/dev_acpi/dev_acpi.c: In function âdev_acpi_exitâ:
/opt/hp/hpmgmtbase/src/ACPI/dev_acpi/dev_acpi.c:1902: error: implicit declaration of function âclass_device_destroyâ
make[2]: *** [/opt/hp/hpmgmtbase/src/ACPI/dev_acpi/dev_acpi.o] Error 1
make[1]: *** [_module_/opt/hp/hpmgmtbase/src/ACPI/dev_acpi] Error 2
make[1]: Leaving directory `/mail/src/linux-'
make: *** [dev_acpi] Error 2

We are runing on rx2660.
SupportPack 4.26.

ACPI works on kernel 2.6.18-128 (RedHat standard).

Steven E. Protter
Exalted Contributor

Re: ACPI error on redHat ES 5.3 (kernel


Looks to me why you are not meeting the requirements of the application.

These HP tools are certified only on certain OS version and kernel combination's.

Is your combination certified?

I'm thinking not. These tools use system calls and are sensitive to that.

Steven E Protter
Owner of ISN Corporation
Jens Skoglund
Occasional Visitor

Re: ACPI error on redHat ES 5.3 (kernel

What I can see and read this is okay.
My hardware with my OS is certified.
Can't found if the version of kerenl applicable or not. Only kerenl version 2.6.
Brem Belguebli
Regular Advisor

Re: ACPI error on redHat ES 5.3 (kernel

Correct me if I'm wrong but 2.6.27 doesn't look like the standard RHEL 5.x shipped version which should be 2.6.18.

Have you tried building HP-Sim on the shipped kernel version ?