From owner-freebsd-stable@FreeBSD.ORG Mon Feb 9 04:31:46 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE1F1106564A; Mon, 9 Feb 2009 04:31:46 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id 4CACA8FC08; Mon, 9 Feb 2009 04:31:45 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from kuzbass.ru (kost [213.184.65.82]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id n1941lej098810; Mon, 9 Feb 2009 11:01:47 +0700 (KRAT) (envelope-from eugen@kuzbass.ru) Message-ID: <498FAA2A.7423AC15@kuzbass.ru> Date: Mon, 09 Feb 2009 10:59:38 +0700 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Cc: kib@freebsd.org Subject: sysctl lock in RELENG_6 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, 09 Feb 2009 04:31:47 -0000 Hi! I've RELENG_6 system controlling local PBX through RS-232 port, sio(4). It also runs syslogd, cron, sshd, bsnmpd and sendmail for outgoing reports. It locks very often: it answers to pings but PBX controlling software stops responding, local and remote login attempts hang due to 'login' process stuck in 'sysctl lock' state. Local consoles do switch with 'Alt-Fn' and DDB works. It shows that sendmail is in 'sysctl lock' state too. This is NanoBSD installation running from IDE flash, it's swapless but I think I could manage to obtain crashdump if there is an interest of it. I've digged commit logs a bit and found this change MFC'd to RELENG_7 but not RELENG_6: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_sysctl.c#rev1.177.6.2 It seems RELENG_6 needs this too, doesn't it? I'm going to merge the change to RELENG_6 and give it a try. Eugene Grosbein