bsnmpd always died on HDD detach
    Mikolaj Golub 
    to.my.trociny at gmail.com
       
    Wed Sep 12 05:58:39 UTC 2012
    
    
  
On Tue, Sep 11, 2012 at 10:16:57PM +0200, Miroslav Lachman wrote:
> (gdb) bt
> #0  0x0000000801046cba in refresh_disk_storage_tbl () from 
> /usr/lib/snmp_hostres.so
> #1  0x00000008010478bd in refresh_device_tbl () from 
> /usr/lib/snmp_hostres.so
> #2  0x0000000801047be6 in start_device_tbl () from /usr/lib/snmp_hostres.so
> #3  0x000000080065fad5 in poll_dispatch () from /lib/libbegemot.so.4
> #4  0x000000000040616a in main ()
> 
> 
> Is it all you need? (I don't know how to use gdb)
> 
> It is on FreeBSD 8.3-RELEASE #0: Mon Apr  9 21:23:18 UTC 2012 
> root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
Not sure we can get more than provided from this core as snmp_hostres
is not built with debugging symbols. You can try rebuilding
snmp_hostres with -g option, intalling and running gdb/bt again
DEBUG_FLAGS=-g make -C /usr/src/usr.sbin/bsnmpd/modules/snmp_hostres clean all install
AFAIK it might work or not. If it does not then wait for another crash :-)
-- 
Mikolaj Golub
    
    
More information about the freebsd-stable
mailing list