Operating System - Linux
1832950 Members
2742 Online
110048 Solutions
New Discussion

Re: insmod cmhp.ko fails (SLES 9)

 
Matthias Redlich
New Member

insmod cmhp.ko fails (SLES 9)

Hello,

we use Proliant DL380 G4 servers with SuSE Linux Enterprise Server version 9 (SLES 9) with Service Pack 1 (needed for SAP) installed. The kernel version is 2.6.5-7.13.

I tried to install and activate the hpasm package but it ends up with a problem concerning the cmhp module.

Running /etc/init.d/hpasm start displays the following error:
.....
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.5-7.139/scripts/Makefile.modpost
scripts/modpost -i /usr/src/linux-2.6.5-7.139-obj/i386/bigsmp/Module.symvers -
s /dev/null /opt/compaq/cmhp/bin/cmhp.o
*** Warning: "cmhpInterruptProcessingThread" [/opt/compaq/cmhp/bin/cmhp.ko] unde
fined!
*** Warning: "cmhp_function_init" [/opt/compaq/cmhp/bin/cmhp.ko] undefined!
*** Warning: "cmhp_function_exit" [/opt/compaq/cmhp/bin/cmhp.ko] undefined!
*** Warning: "cmhp_ioctl" [/opt/compaq/cmhp/bin/cmhp.ko] undefined!
*** Warning: "cmhp_interrupt" [/opt/compaq/cmhp/bin/cmhp.ko] undefined!
*** Warning: "cmhpIoctlGetIMLRequest" [/opt/compaq/cmhp/bin/cmhp.ko] undefined!
gcc -Wp,-MD,/opt/compaq/cmhp/bin/.cmhp.mod.o.d -nostdinc -iwithprefix include
-D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.5-7.139/include -I/usr/sr
c/linux-2.6.5-7.139/ -I -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-ali
asing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -funit-at-a-ti
me -funit-at-a-time -march=pentium2 -mregparm=3 -I/usr/src/linux-2.6.5-7.139/inc
lude/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/usr/src/linux-2.6.
5-7.139/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2 -fomit
-frame-pointer -DKBUILD_BASENAME=cmhp -DKBUILD_MODNAME=cmhp -DMODULE -c -o /opt
/compaq/cmhp/bin/cmhp.mod.o /opt/compaq/cmhp/bin/cmhp.mod.c
ld -m elf_i386 -r -o /opt/compaq/cmhp/bin/cmhp.ko /opt/compaq/cmhp/bin/cmhp.o
/opt/compaq/cmhp/bin/cmhp.mod.o
......
Loading /opt/compaq/cmhp/bin/2.6.5-7.139-bigsmp/cmhp.ko at Mon Jul 4 16:12:23 C
EST 2005 . . .
Reloading the hp ProLiant Memory Hot Plug Driver module . . .
insmod: error inserting '/opt/compaq/cmhp/bin/2.6.5-7.139-bigsmp/cmhp.ko': -1 Op
eration not permitted
WARNING! The hpasm RPM is not compatible with this kernel.
See /opt/compaq/cmhp/cmhp_boot.log for details.
Hint: Look for Compiler or Linker issues.

WARNING! The cmhp driver has failed to load!
------------------

I tried to load the module manually, but running insmod cmhp.ko shows:

insmod: error inserting '/opt/compaq/cmhp/bin/2.6.5-7.139-bigsmp/cmhp.ko': -1 Op
eration not permitted

.. and adds an entry to /var/log/messages:
Jul 4 16:17:56 machine_name kernel: cmhp: module license 'Proprietary - Compaq Technologies Group, L.P.' taints kernel.
Jul 4 16:17:56 machine_name kernel: cmhp: Unable to load module. code = 0x1

I suppose it is a problem concerning compilers (flags or so) or that is has something to do with the Service Pack 1. But this pack is needed for SAP.

I would really appreciate if somebody gave me a hint. Thanks in advance!

Matthias R.
7 REPLIES 7
Matthias Redlich
New Member

Re: insmod cmhp.ko fails (SLES 9)

Additional information: I have just tried to load the cmhp module on a machine running SLES9 without Service Pack 1. The warnings disappeared but insmod still fails with: "insmod: error inserting '/opt/compaq/cmhp/bin/2.6.5-7.97-bigsmp/cmhp.ko': -1 Ope
ration not permitted"
Gopi Sekar
Honored Contributor

Re: insmod cmhp.ko fails (SLES 9)


as what user you are trying to acheive this. I get this error if i do insmod as a normal user instead of root.

if you are doing the same then login as root and try loading the module.

another option would be to use modprobe instead of insmod.

Hope this helps,
Gopi
Never Never Never Giveup
Matthias Redlich
New Member

Re: insmod cmhp.ko fails (SLES 9)

User: root

Thus there should not be any problems concerning permissions (filesystem). I suppose there is a conflict between the cmhp module and another part of the kernel. But I do not have any clue.

Thanks in advance,
Matthias R.
Stuart Browne
Honored Contributor

Re: insmod cmhp.ko fails (SLES 9)

I don't suppose you're missing a '/tmp' filesystem (or it has bad permissions)?

or perhaps does SuSE9.1 use SELinux?
One long-haired git at your service...
Matthias Redlich
New Member

Re: insmod cmhp.ko fails (SLES 9)

No and no ;)

Any other ideas?
Gopi Sekar
Honored Contributor

Re: insmod cmhp.ko fails (SLES 9)


what is your uname -a?
Never Never Never Giveup
Matthias Redlich
New Member

Re: insmod cmhp.ko fails (SLES 9)

Linux machine_name 2.6.5-7.139-bigsmp #1 SMP Fri Jan 14 15:41:33 UTC 2005 i686 i686 i386 GNU/Linux