How to install smartmontools or equivalent?

  • I've been getting the following error rolling for the past few days,

    Nov 27 21:21:51         kernel: ad0: error issuing WRITE_DMA command
    Nov 27 21:21:51         kernel: ad0: timeout waiting to issue command
    Nov 27 21:21:51         kernel: ad0: error issuing WRITE_DMA command

    Sometimes to the point where it causes this,

    Fatal trap 12: page fault while in kernel mode
    cpuid = 0; apic id = 00
    fault virtual address   = 0x3b0
    fault code              = supervisor read, page not present
    instruction pointer     = 0x20:0xc05217da
    stack pointer           = 0x28:0xc7d6bcc8
    frame pointer           = 0x28:0xc7d6bcd8
    code segment            = base 0x0, limit 0xfffff, type 0x1b
                            = DPL 0, pres 1, def32 1, gran 1
    processor eflags        = interrupt enabled, resume, IOPL = 0
    current process	        = 2 (g_event)
    trap number             = 12
    panic: page fault
    cpuid = 0

    So, I realize it's the hard drive causing problems.
    I would like to know what I should do.  I think that installing smartmontools and running smartctl can give me more information and tell me whether or not to replace the drive.

    When I ran

    pkg_add -r smartmontools

    everything went fine.

    When I try to run smartctl I get the following error.

    /libexec/ Shared object "" not found, required by "smartctl".

    So is there a pfSense "approved" way of installing this library?  or an even better tool for this purpose?

    I have used GNU/Linux for years and I'm "comfortable" at best with FreeBSD.  I'm willing to try anything to get this box reliable.  The traffic shaping is worth its weight in gold when it comes to VoIP Traffic [Specifically [url=]].

    Thanks in advance.

  • install the dev version of pfsense that is freebsd 6.1 + pfsense gui + dev tools

    pfsense is a version of freebsd with almost all of the freebsd lib and tools removed
    and a gui

Log in to reply