From owner-freebsd-stable@FreeBSD.ORG Fri Apr 2 13:15:07 2010 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 DFC09106568E for ; Fri, 2 Apr 2010 13:15:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 6ECD18FC15 for ; Fri, 2 Apr 2010 13:15:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 7EAEC41C798; Fri, 2 Apr 2010 15:15:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id IBJHLyjMYPK6; Fri, 2 Apr 2010 15:15:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id AFA7B41C796; Fri, 2 Apr 2010 15:15:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id D071E4448EC; Fri, 2 Apr 2010 13:12:40 +0000 (UTC) Date: Fri, 2 Apr 2010 13:12:40 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Oleg Lomaka In-Reply-To: <363ECEF2-62D3-4F97-A21D-9E10358A1065@gmail.com> Message-ID: <20100402131114.T40281@maildrop.int.zabbadoz.net> References: <44FD9C14-7114-4270-A7B6-F029995BA282@gmail.com> <20100402120137.E40281@maildrop.int.zabbadoz.net> <363ECEF2-62D3-4F97-A21D-9E10358A1065@gmail.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: panic during work with jailed postgresql8.4 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: Fri, 02 Apr 2010 13:15:08 -0000 On Fri, 2 Apr 2010, Oleg Lomaka wrote: Hey, >>> uname -a >>> FreeBSD cerberus.regredi.com 8.0-STABLE FreeBSD 8.0-STABLE #7 r206031: Thu Apr 1 13:43:57 EEST 2010 root@cerberus.regredi.com:/usr/obj/usr/src/sys/GENERIC amd64 >>> >>> Link to dmesg.boot: >>> http://docs.google.com/leaf?id=0B-irbkAqk9i7OGY2ZWJiODgtOWJmMy00NDQ1LTliZDctZjU3N2YwNmMxNjZl&hl=en >>> >>> Link to kernel core backtrace: >>> http://docs.google.com/Doc?docid=0AeirbkAqk9i7ZGc5Yzc2ZndfM2M4NzYydmRw&hl=en >>> >>> Can I help to spot this trouble by providing additional info? >> >> Looking at the info I doubt it's related to jails or Pg in first >> place. Have you been running that same setup already before your Apr >> 1st, r206031, kernel? If so, from when was your last kernel? > > Yes, this configuration works on another server fine (8.0-STABLE FreeBSD 8.0-STABLE #3 r205202) > > Made few more tests. All tests I make using psql command (as it is 100% reproducible, may be now try spot it using telnet/netcat, without involving pg). psql accomplish login operation fine, panic appears after i run any command like \d, so I think it depends on packet size. > > Current picture is: > 1. When connect from host machine - works fine. > 2. When I connect from other server - works fine. > 3. When connect from another jail on the same box as db's jail (tried from few jails) - kernel fault. > > Also tried security.jail.allow_raw_sockets on/off - nothing changes. In addition to the private mail I have just sent you, the first thing you might try it to updat again; I hadn't realized before that your r206031 seems to be in the middle of a multi-commit merge from two people. It would be worth to update to the latest stable/8 and try again first. /bz -- Bjoern A. Zeeb It will not break if you know what you are doing.