HP Proliant DL320 G2 needs hpasmd - Custom pfSense compilation needed?



  • I am looking at running pfSense 2.1 on an older HP Proliant DL320 G2 (D13).  I had previously documented my efforts to quieten the fans here:

    http://forum.pfsense.org/index.php/topic,65193.msg354612.html#msg354612

    In order to achieve this on FreeBSD (9.1.0 i386), I had to:

    • Ensure that the COMPAT_FREEBSD4 flag was enabled (using grep -i compat /usr/src/sys/i386/conf/KERN );

    • Install the compat4x-i386 package;

    • Extract the contents of http://people.freebsd.org/~jcagle/hpasm-7.22.tar.gz and modify the INSTALL script to accept my version (ie. changing the if statement to accept '9' as valid rather than just 4 or 5 for these older versions of FreeBSD); and

    • Run the modified INSTALL script confirm that hpasmd loads automatically on each reboot.

    Using the instructions here:

    http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso

    would I need to generate my own ISO for each release of pfSense? Or, can anyone suggest an easier way (bonus if it is persistent between upgrades)?



  • While I can install the daemon in the steps described, execution still fails on 2.1:

    [2.1-RELEASE][admin@pfSense.localdomain]/root/hpasm(38): /usr/local/etc/rc.d/hpasm.sh start
    Starting hpasmd
    Bad system call (core dumped)
    
    

    Kernel version:

    [2.1-RELEASE][admin@pfSense.localdomain]/root/hpasm(41): uname -a
    FreeBSD pfSense.localdomain 8.3-RELEASE-p11 FreeBSD 8.3-RELEASE-p11 #0: Wed Sep 11 18:39:44 EDT 2013     root@snapshots-8_3-i386.builders.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8  i386
    

    Can anyone confirm if the COMPAT_FREEBSD4 flag is present in this kernel or not, as the sources are not present on the system for me to check.



  • I'm in the same boat too.

    I've just gotten a perfectly good original Proliant DL320 (no "G", the original) which would otherwise be a fine machine to run pfSense upon, except for the fan noise is intolerable.

    While I was once upon a time very fluent in FreeBSD, it appears that the stock kernel shipped with pfSense is stripped down to base essentials and does not have compat4x or compat5x support built in by default.



  • @cwfnetman:

    I'm in the same boat too.

    I've just gotten a perfectly good original Proliant DL320 (no "G", the original) which would otherwise be a fine machine to run pfSense upon, except for the fan noise is intolerable.

    While I was once upon a time very fluent in FreeBSD, it appears that the stock kernel shipped with pfSense is stripped down to base essentials and does not have compat4x or compat5x support built in by default.

    Well, I wish you luck with it.  The fact I can fix this in FreeBSD tells me that it can be done in pfSense - it just might be a bit of pain to maintain.

    I'm moving on to a new challenge now - running pfSense on a Sun SPARC T5120, so couldn't justify keeping the Proliant any more!



  • I have a collection of old sun hardware and run a solaris server here in the lab. Would be great to have pfsense running on sparc hardware, a none x86 architecture and even more difficult to hack into. Assuming you are serious, just how do you intend to get started on  this ?. I guess you would need to have a build environment in place and the necessary driver sources for the various hardware. Not a trivial task, but I would be interested in having a go at this as well.

    T5120 may be a trifle overkill perhaps, don't you think ?, whereas an older V210 or even a 1u netra 200 series should be more than adequate for the task. Such good hardware to work with…

    Chris



  • Well, having researched the platform a bit more closely, I see that the T5120 (ie, the UltraSPARC T2 architecture) is not supported in FreeBSD.  However, it is supported in OpenBSD 4.4:

    http://www.openbsd.org/sparc64.html

    This does however torpedo my other possible plan, which was to run the T1520 on native FreeBSD and use a JBOD enclosure for ZFS storage.  In addition, OpenBSD devs seem to have very luke-warm feelings about ZFS as a file system.

    So, back to the drawing board I guess.  Maybe I'll run OpenBSD instead, but it still seems overpowered for the task of course.



  • I know this is an old thread, but I MUST get control of these fans on Proliant DL360 G3 server (and similar)

    The fans start off low, and once ANY amount of extra cooling is needed, it goes to 100% and hangs there until rebooted.

    So many have come so close to getting HPASM running, can we now take a stab at it again?

    If no, then here is the ONLY solution to this…

    Load VMware ESXi on these boxes and run the firewall as a single VM on them.
    Then you can load the VMware ESXi drivers that are supported by HP and since ESXi is FREE and WEB BASED, you should be good to go.

    The idea is actually a good one now that i think of it, because I would never have to rebuild my PFsense box again!

    I could just move the VM to any other HW i choose moving forward.


Log in to reply