Is pfsense more trouble then its worth Sg2440



  • Hi Guys

    I purchased the sg2440 about 2 years ago and not sure if i am the only one,but the pfsense OS seems unstable where if any minor power shutdown or reboot is down. It is luck of the draw if it will reboot, i have to connect the device via usb to putty and check if it is booting correctly.I wanted to support pfsense by buying the product from them direct but, Case in point today it was fine and then all of a sudden randomly it stopped working, so i had to connect to the sg2440 via putty and now it is stuck in a boot up loop.I have tried fsck and the system is clean.Below is the what appears when pfsense tries to load.

    FYI i am not code savy,

    _ __  / |__  ___ _ __  ___  ___
    | '_ | |/ |/ _ \ ’ / |/ _
    | |
    ) |  _/ | | _/
    | .
    /|
    | |
    /_|| ||/_|
    |
    |

    Welcome to pfSense 2.4.2-RELEASE (Patch 1)…

    savecore: reboot after panic: ffs_valloc: dup alloc
    savecore: writing core to /var/crash/textdump.tar.0
    …ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/freeradius-3.0.15 /usr/local/lib/ipsec /usr/local/lib/mysql /usr/local/lib/nss /usr/local/lib/perl5/5.24/mach/CORE
    32-bit compatibility ldconfig path: /usr/lib32
    done.
    mode = 0100666, inum = 28811917, fs = /
    panic: ffs_valloc: dup alloc
    cpuid = 1
    KDB: enter: panic
    [ thread pid 113 tid 100106 ]
    Stopped at      kdb_enter+0x3b: movq    $0,kdb_why
    db:0:kdb.enter.default> textdump set
    textdump set
    db:0:kdb.enter.default>  capture on
    db:0:kdb.enter.default>  run lockinfo
    db:1:lockinfo> show locks
    No such command
    db:1:locks>  show alllocks
    No such command
    db:1:alllocks>  show lockedvnods
    Locked vnodes
    vnode 0xfffff800395cdb10: tag ufs, type VDIR
        usecount 1, writecount 0, refcount 3 mountedhere 0


  • Galactic Empire Netgate Administrator

    Sorry you’ve had bad experience! Does this happen on its own or did the device lose power at any point?


  • Rebel Alliance

    Sounds like loss of power to the unit to me… This is what they make UPSes for 😉



  • I live in the mountains and lose power almost every storm.  I have my SG-4860 on a dedicated UPS and run NUT mainly to ensure a soft shutdown (as opposed to keep alive).  My system goes down and comes back up just fine every time.  So looking at your log I’d look into a power loss or how to mitigate them.



  • It sounds like your file system may be fubar. Backup your config, and do a fresh install of the latest version and use ZFS. This will make things much more reliable in your situation. But also get a UPS.  😛

    The reinstall process is not bad at all and should take about 30 min from logging into portal.pfsense.org to restoring your config and rebooting.


  • Rebel Alliance

    " I have my SG-4860 on a dedicated UPS"

    Could prob run fo days 😉  if its the only thing on the ups… I have cable modem, switch and 4860 and computer and monitor and a few raspberry pis on 1 ups and still run for 10 mins… Which is quite often enough to ride out the sort of outages we have here.

    I have POE AP on a different UPS… So when there is a power outage I still have network up for tablets, phones



  • Yeah, I don’t play around with my UPS setup. I have two units that would run my home lab for at least 30min each going into a PDU transfer switch so if one unit fails the other takes over. This is ideal for things like routers and switches that normally only have one power cable. Needless to say, I have never had an unintental power failure on my router.  ;D


  • Rebel Alliance

    “each going into a PDU transfer switch so if one unit fails the other takes over.”

    That is a great idea!  So you in a sense double your battery life… The 2nd UPS takes over once the 1st has ran out?  That is a really great idea!!  Link to the PDU your using?



  • @johnpoz:

    " I have my SG-4860 on a dedicated UPS"

    Could prob run fo days 😉  if its the only thing on the ups…

    Yep, will run a few hours.  I have everything wall mounted in chambers under my house.  The UPS was there for the PC that ran my pfSense for years.  When I bought the SG-4860 I just decided to leave everything as was and cut the shelf down.  My only issue with the 4860 is that it didn’t come wall mount ready.  Other wise it works great and was a nice add (wattage wise) for my push to off grid.



  • @johnpoz:

    “each going into a PDU transfer switch so if one unit fails the other takes over.”

    That is a great idea!  So you in a sense double your battery life… The 2nd UPS takes over once the 1st has ran out?  That is a really great idea!!  Link to the PDU your using?

    One UPS is on and under no load while the other is the only one doing anything. If for some reason A cuts out like in the case of a dead battery or a blown fuse etc. It will switch to the other. Each UPS must be sized for worst case scenario as when it switches, your going from 0 to full load instantly.

    Its an APC AP7752. You would probably need pigtails for the plugs but thats cheap enough.

    We use them at work for some of out telecom gear that only has one PSU.


  • Galactic Empire Netgate Administrator

    I too keep all my networking bits on a separate UPS. SG-4860, Turbot Dual-E QC, SG-1000, 24 port switch, ISP modem and AP 🙂


  • Rebel Alliance

    Thanks for the info on the UPS… But its a bit pricey for home use for what it would be doing…  If I needed more run time would just spend the money on a bigger ups for my needs.  Then again the power outages in my area very very rare even with storms.

    My current run time handles the little flicker/brown outs get now and then…


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy