Compiling kernel module errors with kernel 2.6.32-279
I am trying to compile and install a kernel module on a Red Hat Enterprise Linux 6.3 box. I run into an issue with a redefinition of the __pa() function. I'm not sure this module has been compiled on this version of the kernel. I've done a bunch of programming, but not on Linux. Can anyone help me figure this out?
Thanks, Jeff Here's my make output: Code:
make -C /lib/modules/2.6.32-279.el6.x86_64/build SUBDIRS=/usr/local/src/hpuefi-mod/hpuefi-mod-1.0.3 modules |
Why is this module needed?
|
This module is used to communicate with the BIOS on HP PCs.
|
Communicate with BIOS but it is called hpuefi? Why is this communication needed? Booting? Is the board BIOS or UEFI?
|
It communicates with a HP UEFI enabled BIOS in order to configure settings and flash updates from within Linux.
|
Basically, you are trying to build a module which source comes from HP? Does this source claim to be compatible with your version of kernel? Since RH is providing support for their product, did you contact them?
|
Yes, I'm building a module with source from HP. The source doesn't say it's compatible with this version of the kernel. Maybe I should try contacting Red Hat for support. I was just wondering if anyone had encountered a similar issue with kernel compatibility and had resolved it.
|
Methinks your best bet is to bug HP and RH. Can you provide a link to the module sources (just out of curiosity)?
|
You can get the source for the kernel module from any BIOS update that includes the Linux tools component, such as the one listed below:
http://h20000.www2.hp.com/bizsupport...em=vc-105857-1 |
sp57468.exe is supposed to be Linux update utility ... !?!
|
No, you have to run the executable on a Windows machine to extract the SoftPaq. The extracted files will contain the Linux update tools and the binary of the BIOS update.
|
I see. I do not have Windows. Haven't had it for ten years now. I could install Wine, but it's lots of compiling in Gentoo. End of curiosity.
|
All times are GMT -5. The time now is 03:34 PM. |