From owner-freebsd-current@FreeBSD.ORG Mon Oct 1 15:05:31 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89B10106566B; Mon, 1 Oct 2012 15:05:31 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 23EF58FC08; Mon, 1 Oct 2012 15:05:30 +0000 (UTC) Received: by vcbfw7 with SMTP id fw7so7435071vcb.13 for ; Mon, 01 Oct 2012 08:05:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RJZPosAQ2ysERHg7zJFYNSuDb5mf6defgtnF3h3EFJY=; b=qkFIJalcpJs+CYQtKQbMeMGqHkUgQd0FQ5rsa6dwiKFRLN+TiaeHRiC5z4HhENNhsD viiAjFnPRCxryT+uYc31gV7qDA+KdxJE4bRtDGNfg8+B7Eb7L3Jg2hCeBlFazh4oxUyU KyCNNiC/n8Ea4SLMwmwrcxPaOXDyMVOPFBzmp+11CXOp1kY81M98aLauAjpfzLaaDQA8 P/ScXGacovV2cOAND558BWsQ1z9ZvQHmZd/VXXHVKKLgAKCwJOmKiP8MoHvoyGOwR0Eu YjUXYcX2ChKSP9XwfMNr2uSpk3pvy0/McM/FnKE6UOpK/EeIHQ9F67s4p3M4lhsIevIF XVkQ== MIME-Version: 1.0 Received: by 10.220.40.14 with SMTP id i14mr8435564vce.68.1349103930181; Mon, 01 Oct 2012 08:05:30 -0700 (PDT) Received: by 10.58.226.163 with HTTP; Mon, 1 Oct 2012 08:05:30 -0700 (PDT) In-Reply-To: <201210010949.08943.jhb@freebsd.org> References: <201210010804.08925.jhb@freebsd.org> <201210010949.08943.jhb@freebsd.org> Date: Mon, 1 Oct 2012 11:05:30 -0400 Message-ID: From: Kim Culhan To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: panic possibly on on bridge member removal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2012 15:05:31 -0000 On Mon, Oct 1, 2012 at 9:49 AM, John Baldwin wrote: > On Monday, October 01, 2012 9:08:30 am Kim Culhan wrote: >> On Mon, Oct 1, 2012 at 8:04 AM, John Baldwin wrote: >> > On Saturday, September 29, 2012 8:40:03 am Kim Culhan wrote: >> >> After a few hours of operation involving tap0 added to the bridge >> >> running openvpn >> >> and shutting down openvpn which removes tap0 from the bridge, the >> >> machine is found to have a panic: >> >> >> >> Fatal trap 12: page fault while in kernel mode >> >> cpuid = 1; apic id = 01 >> >> fault virtual address = 0x188 >> >> fault code = supervisor read data, page not present >> >> instruction pointer = 0x20:0xffffffff82a14f96 >> >> stack pointer = 0x28:0xffffff8000285670 >> >> frame pointer = 0x28:0xffffff80002856b0 >> >> code segment = base 0x0, limit 0xfffff, type 0x1b >> >> = DPL 0, pres 1, long 1, def32 0, gran 1 >> >> processor eflags = interrupt enabled, resume, IOPL = 0 >> >> current process = 12 (swi5: fast taskq) >> >> [ thread pid 12 tid 100022 ] >> >> Stopped at bridge_enqueue+0x86: calll *0x188(%r12) >> >> db> bt >> >> Tracing pid 12 tid 100022 td 0xfffffe0003aff000 >> >> bridge_enqueue() at bridge_enqueue+0x86 >> > >> > Can you run 'gdb /boot/kernel/kernel' and do 'l *bridge_enqueue+0x86'? >> > >> > -- >> > John Baldwin >> >> (gdb) l *bridge_enqueue+0x86 >> No symbol "bridge_enqueue" in current context. >> (gdb) > > Oh, are you using if_bridge.ko as a module? If so, you can try running 'gdb > /boot/kernel/if_bridge.ko' instead. (gdb) l *bridge_enqueue+0x86 0x2f96 is in bridge_enqueue (/usr/src/sys/modules/if_bridge/../../net/if_bridge.c:1810). 1805 continue; 1806 } 1807 m->m_flags &= ~M_VLANTAG; 1808 } 1809 1810 if ((err = dst_ifp->if_transmit(dst_ifp, m))) { 1811 m_freem(m0); 1812 break; 1813 } 1814 } (gdb) -- -lo,