From owner-freebsd-stable@FreeBSD.ORG Sun Feb 21 23:42:41 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB1A31065679 for ; Sun, 21 Feb 2010 23:42:41 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-yx0-f199.google.com (mail-yx0-f199.google.com [209.85.210.199]) by mx1.freebsd.org (Postfix) with ESMTP id 43BA28FC17 for ; Sun, 21 Feb 2010 23:42:40 +0000 (UTC) Received: by yxe37 with SMTP id 37so2533993yxe.27 for ; Sun, 21 Feb 2010 15:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=4LF6KQaUyTTX9KP2QDCzz6hsiMTtPo3X6SqCkNan4lM=; b=StqMlNRxV6g/NKwsdoZ+gI6nW+zGaNhvVcKPfx2lUQ9RcnYRjIGrkvhebAhJ5uX2tC N72De/8gFl2wHkM4EnlTRdejaB4NU8SReW7ICNYbxViB62nqgtZNCHhQ8tpOXe6Ls/pP NR8wOwxuwYcSKr5crXpBQ0UMq8sCioCSpLJFI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=vQdTWmB92RM/pkxbi+VTxrlNT4TcAxyAq5YOwVkKDC34ruBS0GTCMqW3Q+kS3kBl2E sMPTjXQO+pP/eXeDuXQagzNecP49R5VYgGX2vBRytTsM/3qZSJq6U93gCPTf4sn7osTM WgM1JjJW32kO5/mMeNVnQE7otheJ24v0r/tqM= Received: by 10.151.89.35 with SMTP id r35mr2376744ybl.183.1266795754919; Sun, 21 Feb 2010 15:42:34 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 8sm1462870yxg.42.2010.02.21.15.42.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 21 Feb 2010 15:42:33 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sun, 21 Feb 2010 15:41:53 -0800 From: Pyun YongHyeon Date: Sun, 21 Feb 2010 15:41:53 -0800 To: Slawa Olhovchenkov Message-ID: <20100221234153.GA1251@michelle.cdnetworks.com> References: <20100218215039.GK55307@zxy.spb.ru> <20100219001913.GE11675@michelle.cdnetworks.com> <20100219055129.GL55307@zxy.spb.ru> <20100219122415.GR55307@zxy.spb.ru> <20100219190359.GJ11675@michelle.cdnetworks.com> <20100219191103.GT55307@zxy.spb.ru> <20100219200647.GK11675@michelle.cdnetworks.com> <20100219201359.GU55307@zxy.spb.ru> <20100219211201.GL11675@michelle.cdnetworks.com> <20100220214450.GV55307@zxy.spb.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100220214450.GV55307@zxy.spb.ru> User-Agent: Mutt/1.4.2.3i Cc: Nick Rogers , stable@freebsd.org Subject: Re: trap 12: page fault while in kernel mode on 8.0-RELEASE (possibly bge(4) related) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2010 23:42:41 -0000 On Sun, Feb 21, 2010 at 12:44:50AM +0300, Slawa Olhovchenkov wrote: > On Fri, Feb 19, 2010 at 01:12:01PM -0800, Pyun YongHyeon wrote: > > > Normally you should not have any FCS errors, it could be related > > with signal quality and these errors might not be correctly > > counted. > > I can't check cable and switch counters on bge1 before Feb 24. > > > > 3. packets don't lost on sources at Aug'09 > > > > Since I don't have BCM5704 hardware it's hard to find which > > revision may affect to this issue. Could you narrow down which > > revision number started showing the issue? > > I am don't update source between Aug'09 and Feb 16. > There were many bge(4) changes in that time frame. So it's hard to find which commit is guilty for the packet drop issue. If you can narrow down possible changes that might affect the issue that could help me a lot. You can do binary searching technique for the SVN revisions to know possible candidates. http://svn.freebsd.org/viewvc/base/head/sys/dev/bge/if_bge.c > 4. Packets don't lost immediately after reboot. > > PS: I got kernel panic. > I think this is the same crash(NULL pointer dereference in m_copym(9)) as you reported and I think this means the patch I posted did not help to fix the panic issue. > === > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x18 > fault code = supervisor read data, page not present > instruction pointer = 0x20:0xffffffff802eb3b7 > stack pointer = 0x28:0xffffff80001c66e0 > frame pointer = 0x28:0xffffff8 01c6740 > code segment = base 0x0, limi 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 724 (named) > [thread pid 724 tid 100051 ] > Stopped at m_copym+0x37: movl 0x18(%r12),%eax > db> panic > panic: from debugger > cpuid = 0 > Uptime: 1d5h55m33s > Physical memory: 2039 MB > Dumping 1448 MB: 1433 1417 1401