From owner-freebsd-stable@FreeBSD.ORG Mon Feb 5 17:23:25 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB46416A408 for ; Mon, 5 Feb 2007 17:23:25 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from mail.barafranca.com (mail.barafranca.com [67.19.101.164]) by mx1.freebsd.org (Postfix) with ESMTP id A962513C428 for ; Mon, 5 Feb 2007 17:23:25 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from localhost (localhost [127.0.0.1]) by mail.barafranca.com (Postfix) with ESMTP id D65FCC47FF; Mon, 5 Feb 2007 17:26:07 +0000 (UTC) Received: from mail.barafranca.com ([67.19.101.164]) by localhost (mail.barafranca.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 84717-08-2; Mon, 5 Feb 2007 17:25:31 +0000 (UTC) Received: from [192.168.0.1] (a213-22-26-4.cpe.netcabo.pt [213.22.26.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.barafranca.com (Postfix) with ESMTP id 2BE81C488D; Mon, 5 Feb 2007 17:25:29 +0000 (UTC) Message-ID: <45C763EB.4070604@barafranca.com> Date: Mon, 05 Feb 2007 17:05:47 +0000 From: Hugo Silva User-Agent: Thunderbird 1.5.0.7 (X11/20061007) MIME-Version: 1.0 To: Stefan Lambrev , freebsd-stable@freebsd.org References: <45C755F8.90603@sun-fish.com> In-Reply-To: <45C755F8.90603@sun-fish.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at barafranca.com X-Spam-Status: No, score=0 tagged_above=-1 required=4 tests=[none] X-Spam-Score: 0 X-Spam-Level: Cc: Subject: Re: ifconfig carp1 destroy = kernel panic 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, 05 Feb 2007 17:23:25 -0000 Stefan Lambrev wrote: > Hi all, > > This combination of commands lead my freebsd servers to kernel panic. > > ifconfig bge0 192.168.1.1 netmask 255.255.255.0 > ifconfig bge0 alias 10.1.1.1 netmask 255.255.255.0 > ifconfig carp create > ifconfig carp create > ifconfig carp0 192.168.1.222/24 vhid 1 advskew 0 pass somekey > ifconfig carp1 10.1.1.222/24 vhid 2 advskew 0 pass somekey > - to this point everything is ok - > ifconfig carp1 destroy - at this point this will cause kernel panic. > I tested with ifconfig carp1 delete before destroy but the result is > the same. > > tested on freebsd 6.2 pre-release i386 SMP and freebsd 6.2 release > amd64 SMP - in both cases kernel panic. > > This seems very similar to this PR - > http://www.freebsd.org/cgi/query-pr.cgi?pr=92776 > > I'm going to test on 6.2 stable from today, but I'm not very optimistic. > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x24 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc0555bcd > stack pointer = 0x28:0xe4b77bd4 > frame pointer = 0x28:0xe4b77be8 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = resume, IOPL = 0 > current process = 14 (swi1: net) > trap number = 12 > panic: page fault > cpuid = 0 > Uptime: 7m2s > Cannot dump. No dump device defined. > aac0: shutting down controller...done > > P.S. should I open new PR or just follow up to pr #92776 ? > Just for the records, I stumbled upon something similar some time ago while testing with a co-worker. We both had 6.2-PRERELEASE installed. I cannot remember if the same command sequence led to the panic, but we were mimicking each other's commands (with the adequate changes for each host of course), and both machines panicked on the same command. Hugo