Partial success, anyway: hpasm on DL380 G2
From the looks of this thread, I'm not the only one to have problems with this particular package.
Anyway -- I've gotten partial success with FreeBSD 8.0 installed on a Proliant DL380 G2. For those who may wish to try and duplicate my results, here's what I did.
--Downloaded the hpasm version 7.22 package.
--Made sure my kernel had the appropriate COMPAT features in it.
--Tweaked the INSTALL file to make it install the daemon and CLI for FreeBSD4.
--Started the daemon, then tried to use the CLI.
What I found is that the v4 daemon package started and ran without any problem, thus causing my fans to (finally!) slow down, thank $DEITY. The noise was driving me nuts, even with the server in a rack in the garage.
However, I'm unable to use the hpasmcli module at all, with or without the patch. Trying the v4 version without the patch gets the usual permission denied message about getmsg(), and a complaint it can't communicate with the hpasmd daemon.
Trying the v4 version WITH the patch returns an error message about a truncated ELF file, then aborts execution.
FWIW: The v5 daemon won't even run in this environment. The CLI module returned the same getmsg() permission error without the patch, and something bizarre about libthread vs. libpthread with it.
So, in conclusion: The V4 daemon works, but the v4 CLI doesn't. The V5 daemon doesn't work, but the CLI probably would if I could figure out the libpthread mess.
At this point, I've pretty much reached the end of my rope. My coding skills are way back in the mid-70's with DEC BASIC-Plus under RSTS/E on a PDP-11/70, and maybe a tiny bit of embedded stuff here and there.
In other terms, I'm nowhere near enough of a coder to figure this out. I'm hoping my observations here (and I will happily answer any questions if I can) will help those with more programming skill than I to make the hpasm package truly usable on ver. 8 and up.
I might not be able to use the CLI utility, but at least I got my fans to slow down (which was my main goal).
Happy tweaking.