From owner-freebsd-stable@FreeBSD.ORG Fri Apr 2 01:52:58 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 2D5A11065670 for ; Fri, 2 Apr 2010 01:52:58 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id AE7AE8FC13 for ; Fri, 2 Apr 2010 01:52:57 +0000 (UTC) Received: by bwz8 with SMTP id 8so1329187bwz.3 for ; Thu, 01 Apr 2010 18:52:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=7t1kQc8KT9h3IhX51axz73eV2ByxGVH7LCIO8atWQWk=; b=MrO3kumOuGOmUkP5+qPm6x6fKT6RxTGHJZrN2F98FXeMxlXIovsWGc68ZwEvkoy4N0 8Fv+Lmdvjl3CJvQ6BokgoXow+OFgCW+5hkVXDpuf39l2353340Sh6J8hmQJ5wI6tSepm euzxJC9ggHim67/vpWgUfyPM5zH2VW5TFUzdA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=H8dpZBPtv0F4r6CazSx8LHYJDdAnZjFGimfs3bJZUqPTYNNr1nHgCcyk/LQiiqZ51E 1amUxwJOfVC8H4+o58a0/i7dM6iv024YJgK/HIxq/CoeQIoWT4BosSyYsqlcPMl97ppL nJma9AnsQoCaEnm3S6rLJ4OAZ5L9CUx72MA48= MIME-Version: 1.0 Received: by 10.204.47.232 with HTTP; Thu, 1 Apr 2010 18:52:54 -0700 (PDT) In-Reply-To: <44FD9C14-7114-4270-A7B6-F029995BA282@gmail.com> References: <44FD9C14-7114-4270-A7B6-F029995BA282@gmail.com> Date: Fri, 2 Apr 2010 05:52:54 +0400 Received: by 10.204.138.219 with SMTP id b27mr2157463bku.139.1270173174703; Thu, 01 Apr 2010 18:52:54 -0700 (PDT) Message-ID: From: pluknet To: Oleg Lomaka Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 01:52:58 -0000 On 1 April 2010 22:18, Oleg Lomaka wrote: > Hello, > > I have a kernel panic when connect to postgresql8.4 server installed in o= ne of jails from another jail. It's 100% reproducible. > Also I have tried to connect from host machine to jailed pg server. That = way it works fine without crash. > > Server configuration uses geli and zfs. Four disks encrypted using geli. = And raidz2 is using ad8.eli, ad10.eli, ad12.eli, ad14.eli providers. All ja= ils located at this raidz2 pool. > > Also I use ezjail for jails management. And it uses NFS to mount director= ies with base system. > > atal double fault > rip =3D 0xffffffff8063510a > rsp =3D 0xffffff80eaec5f50 > rbp =3D 0xffffff80eaec6040 > cpuid =3D 1; apic id =3D 02 > panic: double fault > cpuid =3D 1 > Uptime: 7m11s > Physical memory: 8169 MB > > uname -a > FreeBSD cerberus.regredi.com 8.0-STABLE FreeBSD 8.0-STABLE #7 r206031: Th= u Apr =A01 13:43:57 EEST 2010 =A0 =A0 root@cerberus.regredi.com:/usr/obj/us= r/src/sys/GENERIC =A0amd64 > > Link to dmesg.boot: > http://docs.google.com/leaf?id=3D0B-irbkAqk9i7OGY2ZWJiODgtOWJmMy00NDQ1LTl= iZDctZjU3N2YwNmMxNjZl&hl=3Den > > Link to kernel core backtrace: > http://docs.google.com/Doc?docid=3D0AeirbkAqk9i7ZGc5Yzc2ZndfM2M4NzYydmRw&= hl=3Den Looking at backtrace, I wonder whether tp->t_maxseg changes in tcp_mtudisc() at all. You should be able to extract its value on each 2*n frame in that big recursive call. --=20 wbr, pluknet