From owner-freebsd-net@FreeBSD.ORG Thu Mar 1 16:14:40 2007 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22CAF16A40D; Thu, 1 Mar 2007 16:14:40 +0000 (UTC) (envelope-from _pppp@mail.ru) Received: from f42.mail.ru (f42.mail.ru [194.67.57.80]) by mx1.freebsd.org (Postfix) with ESMTP id 595D013C4A6; Thu, 1 Mar 2007 16:14:38 +0000 (UTC) (envelope-from _pppp@mail.ru) Received: from mail by f42.mail.ru with local id 1HMnvQ-000EHa-00; Thu, 01 Mar 2007 19:14:36 +0300 Received: from [81.200.14.42] by koi.mail.ru with HTTP; Thu, 01 Mar 2007 19:14:36 +0300 From: dima <_pppp@mail.ru> To: Gleb Smirnoff Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [81.200.14.42] Date: Thu, 01 Mar 2007 19:14:36 +0300 In-Reply-To: <20070301145233.GR1621@FreeBSD.org> References: <20070301145233.GR1621@FreeBSD.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: Cc: freebsd-net@FreeBSD.org Subject: Re[2]: is CARP still impossible on SMP in 6.2? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dima <_pppp@mail.ru> List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 16:14:40 -0000 > On Wed, Feb 28, 2007 at 06:08:21PM +0300, dima wrote: > d> > On Wed, Feb 28, 2007 at 02:28:13PM +0300, dima wrote: > d> > d> I'm trying to make CARP working on a 2-Xeon hardware. It worked OK on 5.5, but not on 6.2. > d> > d> The result of compiling both > d> > d> options SMP > d> > d> device carp > d> > d> into the kernel makes it crash in 'swi1: net' kernel thread on a random (usually first) use of the CARP facility. > d> > > d> > Can you please provide a backtrace? > d> > d> It's not that easy. The server becomes extremely unstable under these conditions. > d> I tried to build the kernel with '-g' option and included 'dumpdev' in /etc/rc.conf. The server can't even make a memory dump: it either gets one more page fault or just stops responding to anything but Reset key in the beginning of the dump. > d> It's strange since it rebooted well while the kernel was built without debugging symbols and a dumpdev. Any ideas how I can make a memory dump? > > Why do you think the CARP is guilty in this unstableness? Are you triggering > MASTER<->BACKUP events and this causes instability? CARP was my only 3rd subject for investigation. The previous two were polling (which is why I want to upgrade from 5.x to 6.x) and ACPI. I tried to build different kernels but as I included CARP even in GENERIC+SMP I saw the same effect. The server can sometimes hang on 'ifconfig' commands using CARP, but the easier way to reproduce the bug is to connect() to a socket on a CARP address. bind() can have the same effect -- I haven't tested that, but bind to INADDR_ANY works ok.