From owner-freebsd-stable@FreeBSD.ORG Mon Sep 10 14:46:19 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4849A106564A for ; Mon, 10 Sep 2012 14:46:19 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 027D98FC0C for ; Mon, 10 Sep 2012 14:46:18 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 444AB28423; Mon, 10 Sep 2012 16:46:17 +0200 (CEST) Received: from [192.168.1.2] (static-84-242-120-26.net.upcbroadband.cz [84.242.120.26]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 8017128427; Mon, 10 Sep 2012 16:46:16 +0200 (CEST) Message-ID: <504DFD37.60105@quip.cz> Date: Mon, 10 Sep 2012 16:46:15 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Mikolaj Golub References: <504D10A7.1070701@quip.cz> <20120910054459.GA57302@gmail.com> In-Reply-To: <20120910054459.GA57302@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: bsnmpd always died on HDD detach X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2012 14:46:19 -0000 Mikolaj Golub wrote: > On Sun, Sep 09, 2012 at 11:56:55PM +0200, Miroslav Lachman wrote: >> I am running bsnmpd with basic snmpd.config (only community and location >> changed). >> >> When there is a problem with HDD and disk disapeared from ATA channel >> (eg.: disc physically removed) the bsnmpd always dumps core: >> >> kernel: pid 1188 (bsnmpd), uid 0: exited on signal 11 (core dumped) >> >> I see this for a long rime on all releases of 7.x and 8.x branches (i386 >> and amd64). I did not tested 9.x. >> >> Is it a known bug, or should I file PR? > > Do you happen to run bsnmp-ucd too? If you do then what version is it? > In bsnmp-ucd-0.3.5 I introduced a bug that lead to bsnmpd crash on a > disk detach. It has been fixed (thanks to Brian Somers) in 0.3.6. No, I never installed bsnmpd-ucd. We are using plain bsnmpd from base without any modules. It is used by MRTG only for network traffic. Nothing else. Miroslav Lachman