Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2012 08:58:34 +0300
From:      Mikolaj Golub <to.my.trociny@gmail.com>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: bsnmpd always died on HDD detach
Message-ID:  <20120912055831.GA48849@gmail.com>
In-Reply-To: <504F9C39.2070107@quip.cz>
References:  <504D10A7.1070701@quip.cz> <20120910054459.GA57302@gmail.com> <504DFD37.60105@quip.cz> <20120910203511.GA27221@gmail.com> <504F9C39.2070107@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120912055831.GA48849>