Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to install smartmontools or equivalent?

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vi02
      last edited by

      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/ld-elf.so.1: Shared object "libcam.so.3" 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=http://www.asterisk.org/]http://www.asterisk.org/].

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • J
        jeroen234
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.